-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 2.5 support, drop 2.2. #1813
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
unless RUBY_PLATFORM == 'java' | ||
major, minor, patch = Rack.release.split('.').map(&:to_i) | ||
patch ||= 0 # rack <= 1.5.2 does not specify patch version | ||
pending 'Rack 1.5.3 or 1.6.1 required' unless major >= 2 || (major >= 1 && ((minor == 5 && patch >= 3) || (minor >= 6))) | ||
pending 'Rack 1.5.5 or 1.6.1 required' unless major >= 2 || (major >= 1 && ((minor == 5 && patch >= 5) || (minor >= 6))) | ||
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. this should not be changed, see #1066 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. @dm1try You are right. Thanks for catching that. Is it a proper way to remove conditional pending test and update the gem dependency? 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. @darren987469 no worries, I addressed this in 87b6243 |
||
end | ||
|
||
expect(JSON.parse(app.call(env)[2].body.first)['params_keys']).to match_array('test') | ||
|
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 going to remove this "appraisal", as it was added specifically for fixing #1066(missing patch version in
rack
1.5.2).any objections?
moreover, now I think it does not worth it :)