Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: Rename ReadySet to Readyset #39

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

ethan-readyset
Copy link
Contributor

Originally, we thought it would make more sense to name our primary module ReadySet, since that is how the word "ReadySet" is stylized elsewhere. However, this forced us to change the name of lib/readyset/lib/readyset.rb to lib/ready_set/lib/ready_set.rb. Because the name of our gem is "readyset" (and not "ready_set"), this broke Rails's autoloading feature, which meant users had to add require: 'ready_set' in their Gemspec to get our gem loaded correctly.

Given all of this, this commit changes the name of the ReadySet module back to Readyset, which allows us to keep our gem named "readyset" while still allowing autoloading to take place.

Originally, we thought it would make more sense to name our primary
module `ReadySet`, since that is how the word "ReadySet" is stylized
elsewhere. However, this forced us to change the name of
`lib/readyset`/`lib/readyset.rb` to `lib/ready_set`/`lib/ready_set.rb`.
Because the name of our gem is "readyset" (and not "ready_set"), this
broke Rails's autoloading feature, which meant users had to add
`require: 'ready_set'` in their Gemspec to get our gem loaded correctly.

Given all of this, this commit changes the name of the `ReadySet` module
back to `Readyset`, which allows us to keep our gem named "readyset"
while still allowing autoloading to take place.
@ethan-readyset
Copy link
Contributor Author

@helpotters You were right about this -- Readyset is better 😛

@helpotters
Copy link
Contributor

Aesthetically, it hurts to write Readyset. Practical, but painful.

@helpotters helpotters added this pull request to the merge queue Nov 30, 2023
Merged via the queue into main with commit 250618e Nov 30, 2023
8 checks passed
helpotters added a commit that referenced this pull request Dec 1, 2023
Originally, we thought it would make more sense to name our primary
module `ReadySet`, since that is how the word "ReadySet" is stylized
elsewhere. However, this forced us to change the name of
`lib/readyset`/`lib/readyset.rb` to `lib/ready_set`/`lib/ready_set.rb`.
Because the name of our gem is "readyset" (and not "ready_set"), this
broke Rails's autoloading feature, which meant users had to add
`require: 'ready_set'` in their Gemspec to get our gem loaded correctly.

Given all of this, this commit changes the name of the `ReadySet` module
back to `Readyset`, which allows us to keep our gem named "readyset"
while still allowing autoloading to take place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants