-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add Ruby 3.4 support #133
Add Ruby 3.4 support #133
Conversation
Ruby 3.4 is removing the `base64` default gem to [became bundled](https://rubyreferences.github.io/rubychanges/3.4.html#default-gems-that-became-bundled) Making the current webmock (v3.16.2) gem incompatible because it has a dependency on the `base64` gem, to fix it we are bumping webmock to v3.20.0 which [removed the `base64`](bblimke/webmock#1046) dependency. > [!NOTE] > As an alternative solution, we can leave the current `webmock` version untoched and add the `base64` gem as a dependency.
249076e
to
816e5b6
Compare
next_rails.gemspec
Outdated
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec| | |||
spec.homepage = "https://github.com/fastruby/next_rails" | |||
spec.license = "MIT" | |||
|
|||
spec.required_ruby_version = ">= 2.0" | |||
spec.required_ruby_version = ">= 2.0", "< 3.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it would be ideal to block supported Ruby versions to make sure users can rely on it, happy to remove it if you don't find it valuable tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuanVqz I like these changes but I'd like to skip the change limiting the required ruby version.
Description
Ruby 3.4 is removing the
base64
default gem to became bundledMaking the current webmock (v3.16.2) gem incompatible because it has a dependency on the
base64
gem,to fix it we are bumping webmock to v3.20.0 which removed the
base64
dependency.Note
As an alternative solution, we can leave the current
webmock
version untochedand add the
base64
gem as a dependency.Motivation and Context
Increase the compatibility of the project with the latest Ruby versions.
How Has This Been Tested?
Screenshots:
I will abide by the code of conduct