-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Avoid warning by explicit new dependencies #1766
Conversation
- base64 will no longer be part of the default gems starting from Ruby 3.4.0 - loggre will no longer be part of the default gems starting from Ruby 3.5.0
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.
Thanks for this. Couple of minor tweaks.
Note this won't hit until v10 (Next version to be released).
cucumber.gemspec
Outdated
@@ -22,6 +22,7 @@ Gem::Specification.new do |s| | |||
s.required_ruby_version = '>= 3.0' | |||
s.required_rubygems_version = '>= 3.2.8' | |||
|
|||
s.add_dependency 'base64', '~> 0' |
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'm not a fan of single number relations, because they don't work as advertised. Can we use an x.y
reference for these
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.
Done
Co-authored-by: Luke Hill <[email protected]>
Thankyou for the contribution |
Thank you for your supports and all your contributions |
Description
New explicit dependencies to avoid warnings:
lib/cucumber.rb:7: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
lib/cucumber/formatter/message.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
Type of change
Please delete options that are not relevant.
work as expected)
Please add an entry to the relevant section of CHANGELOG.md as part of this pull request.
Checklist:
bundle exec rubocop
reports no new offenses