Skip to content
New issue

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

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

Already on GitHub? # to your account

Change version constant naming pattern #2748

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

r7kamura
Copy link
Contributor

@r7kamura r7kamura commented Aug 7, 2024

Because of the restriction that Ruby constant names must always begin with [A-Z], it would be desirable to make sure that this restriction is satisfied when naming dynamic constants.

It was implemented well in carrierwave v2, but when object_id was removed from the constant name at a9de756, Uploader prefix was also removed at the same time for some reason.

@mshibuya mshibuya merged commit d1509b3 into carrierwaveuploader:master Aug 25, 2024
13 checks passed
@mshibuya
Copy link
Member

Ah I didn't realize this point. Thank you so much!

@r7kamura r7kamura deleted the version-const-name branch August 26, 2024 05:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version names starting with underscore and numbers lead to NameError
2 participants