Skip to content

Commit 481eab9

Browse files
committed
fix: json load diff regression downstream, relax restrictions
1 parent b5a9600 commit 481eab9

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ gemspec
1212

1313
gem "rspec-mocks", "3.13.5"
1414
gem "appraisal", "~> 2.5"
15+
gem "pact-support", github: "pact-foundation/pact-support", branch: "fix/json_load_regression"
1516

1617
if ENV['X_PACT_DEVELOPMENT']
1718
gem "pact-support", path: '../pact-support'

pact.gemspec

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,8 @@ Gem::Specification.new do |gem|
4444
gem.add_runtime_dependency 'string_pattern', '~> 2.0'
4545
gem.add_runtime_dependency 'jsonpath', '~> 1.0'
4646

47-
# These are pinned to specific versions due to issues with later versions
48-
gem.add_runtime_dependency "pact-support" , "~> 1.21", "1.21.2"
49-
if ENV['RACK_VERSION'] == '2'
50-
gem.add_runtime_dependency 'pact-mock_service', '>= 3.3.1', '~> 3.0', '< 3.12'
51-
else
52-
gem.add_runtime_dependency 'pact-mock_service', '~> 3.0', '>= 3.3.1'
53-
end
47+
gem.add_runtime_dependency "pact-support" , "~> 1.21", ">=1.21.2"
48+
gem.add_runtime_dependency 'pact-mock_service', '~> 3.0', '>= 3.3.1'
5449
gem.add_development_dependency 'fakefs', '2.4'
5550
gem.add_development_dependency 'hashie', '~> 5.0'
5651
gem.add_development_dependency 'faraday-multipart', '~> 1.0'

0 commit comments

Comments
 (0)