-
Notifications
You must be signed in to change notification settings - Fork 51
Allow concurrent-ruby >= 1.3.7 #231
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,14 +17,16 @@ Gem::Specification.new do |spec| | |
| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
| spec.require_paths = ["lib"] | ||
|
|
||
| spec.required_ruby_version = '>= 2.1.0' | ||
| spec.required_ruby_version = '>= 2.5.0' | ||
|
|
||
| spec.add_dependency "treetop", "~> 1.5.3" | ||
| spec.add_dependency "activesupport", "~> 6" | ||
| spec.add_dependency "slop", "~> 3.4" | ||
| spec.add_dependency "memoist", "~> 0.11.0" | ||
| # https://stackoverflow.com/questions/79360526/uninitialized-constant-activesupportloggerthreadsafelevellogger-nameerror | ||
| spec.add_dependency "concurrent-ruby", "<= 1.3.4" | ||
| # >= 1.3.7 fixes GHSA-h8w8-99g7-qmvj, GHSA-wv3x-4vxv-whpp and GHSA-6wx8-w4f5-wwcr | ||
| spec.add_dependency "concurrent-ruby", ">= 1.3.7" | ||
| # required at load time by lib/xdrgen.rb; no longer a default gem on Ruby >= 3.5 | ||
| spec.add_dependency "logger" | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ruby 3.5 is not released yet (current stable is 3.4.10; 3.5 exists only as a preview), so it cannot go into the required matrix. I also ran the suite on 3.5.0preview1: it fails before reaching this change, because the pry dev dependency hits another Ruby 3.5 default-gem removal (cannot load such file -- ostruct). Bringing xdrgen to Ruby 3.5 therefore needs its own change beyond this security bump; the logger dependency here is forward-looking and has no effect on currently supported Rubies. Happy to follow up with a matrix update once 3.5 is stable, if the maintainers want that. |
||
|
|
||
| spec.add_development_dependency "bundler", "~> 2" | ||
| spec.add_development_dependency "rake", "~> 12.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.
Done in 99390b9: required_ruby_version is now >= 2.5.0, matching the floor activesupport 6 already imposes.