pact-foundation / pact-ruby

Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://pact.io
MIT License
2.17k stars 216 forks source link

Update rack-test dependency to allow v2 #271

Closed jmortlock closed 2 years ago

jmortlock commented 2 years ago

I was adding pact to a newish Rails project and hit an issue with rack-test (https://github.com/rack/rack-test/blob/main/History.md) dependency.

Bundler could not find compatible versions for gem "rack-test":
  In snapshot (Gemfile.lock):
    rack-test (= 2.0.2)

  In Gemfile:
    rails (~> 6.1) was resolved to 6.1.6.1, which depends on
      actionpack (= 6.1.6.1) was resolved to 6.1.6.1, which depends on
        rack-test (>= 0.6.3)

    pact was resolved to 1.17.0, which depends on
      rack-test (~> 0.6.2)

This change updates ruby-pact to allow v2 of rack-test

jmortlock commented 2 years ago

Oops just noticed another PR with the same change

bethesque commented 2 years ago

See https://github.com/pact-foundation/pact-ruby/pull/271

bethesque commented 2 years ago

Sorry, see https://github.com/pact-foundation/pact-ruby/pull/268

bethesque commented 2 years ago

New version of pact gem released with this change.