Skip to content

Commit

Permalink
feat: rack 3 support with rack 2 backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Nov 29, 2024
1 parent cfb6dff commit c534282
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@ if ENV['X_PACT_DEVELOPMENT']
gem "pact-support", path: '../pact-support'
end

if ENV['RACK_VERSION'] == '2'
gem 'rack-reverse-proxy'
else
gem 'rack-reverse-proxy', git: 'https://github.com/samedi/rack-reverse-proxy.git', ref: '06f21feb6afbbf902969c4f1df219df8f2080387'
end
gem 'rack-reverse-proxy', git: 'https://github.com/pact-foundation/rack-reverse-proxy.git',
branch: 'feat/rack_2_and_3_compat'

0 comments on commit c534282

Please sign in to comment.