Skip to content

Commit

Permalink
Update rack requirement from ~> 2.2 to ~> 3.0 (#1549)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] committed Jan 20, 2024
1 parent f56e938 commit cd2cdfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -10,7 +10,7 @@ group :development, :test do
gem 'bake-test-external'
gem 'coveralls_reborn', require: false
gem 'pry'
gem 'rack', '~> 2.2'
gem 'rack', '~> 3.0'
gem 'rake'
gem 'rspec', '~> 3.7'
gem 'rspec_junit_formatter', '~> 0.4'
Expand Down
3 changes: 2 additions & 1 deletion spec/faraday/params_encoders/nested_spec.rb
Expand Up @@ -62,7 +62,8 @@
it 'encodes rack compat' do
params = { a: [{ one: '1', two: '2' }, '3', ''] }
result = Faraday::Utils.unescape(Faraday::NestedParamsEncoder.encode(params)).split('&')
expected = Rack::Utils.build_nested_query(params).split('&')
escaped = Rack::Utils.build_nested_query(params)
expected = Rack::Utils.unescape(escaped).split('&')
expect(result).to match_array(expected)
end

Expand Down

0 comments on commit cd2cdfd

Please sign in to comment.