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

Fix compatibility with --enable-frozen-string-literal #2033

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

casperisfine
Copy link
Contributor

Ever since Ruby 2.3 it has been possible to enable frozen string literals globally via RUBYOPT, and it is scheduled to be the default in Ruby 4.

@@ -48,7 +48,7 @@ gem 'rdiscount', platforms: [:ruby]
gem 'rdoc'
gem 'redcarpet', platforms: [:ruby]
gem 'simplecov', require: false
gem 'slim', '~> 4'
gem 'slim', '~> 5'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I had to upgrade otherwise it was blocking upgrading tilt to 2.2.0 which is needed for this.

@dentarg dentarg force-pushed the frozen-string-literal-compat branch from 3b1604a to 49f319b Compare July 11, 2024 12:51
@dentarg
Copy link
Member

dentarg commented Jul 11, 2024

Are you up for fixing sinatra-contrib too? :)

Ever since Ruby 2.3 it has been possible to enable frozen string
literals globally via `RUBYOPT`, and it is scheduled to be the default
in Ruby 4.
@casperisfine casperisfine force-pushed the frozen-string-literal-compat branch from 49f319b to f06e2d0 Compare July 11, 2024 14:36
@casperisfine
Copy link
Contributor Author

Are you up for fixing sinatra-contrib too? :)

Didn't know it was a thing. Should pass now.

@dentarg dentarg merged commit 973c936 into sinatra:main Jul 11, 2024
25 checks passed
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