From c534282c933d51f533cbfbd5917a941571baa233 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 29 Nov 2024 18:43:21 +0000 Subject: [PATCH] feat: rack 3 support with rack 2 backwards compat --- Gemfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 2f660f2..099b114 100644 --- a/Gemfile +++ b/Gemfile @@ -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'