Skip to content

Commit

Permalink
Update rack from 1.5.2 to 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
darren987469 committed Nov 3, 2018
1 parent 9c942f4 commit 022a642
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ matrix:
- rvm: 2.5.3
gemfile: gemfiles/rack_edge.gemfile
- rvm: 2.5.3
gemfile: gemfiles/rack_1.5.2.gemfile
gemfile: gemfiles/rack_1.5.5.gemfile
- rvm: 2.5.3
gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.5.3
Expand All @@ -32,15 +32,15 @@ matrix:
- rvm: 2.4.5
gemfile: gemfiles/rack_edge.gemfile
- rvm: 2.4.5
gemfile: gemfiles/rack_1.5.2.gemfile
gemfile: gemfiles/rack_1.5.5.gemfile
- rvm: 2.4.5
gemfile: gemfiles/rails_5.gemfile
- rvm: 2.3.8
gemfile: Gemfile
- rvm: 2.3.8
gemfile: gemfiles/rack_edge.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rack_1.5.2.gemfile
gemfile: gemfiles/rack_1.5.5.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails_5.gemfile
- rvm: 2.2.10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source 'https://rubygems.org'

gem 'rack', '1.5.2'
gem 'rack', '1.5.5'

group :development, :test do
gem 'bundler'
Expand Down
2 changes: 1 addition & 1 deletion spec/grape/integration/rack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
end

expect(JSON.parse(app.call(env)[2].body.first)['params_keys']).to match_array('test')
Expand Down

0 comments on commit 022a642

Please sign in to comment.