Skip to content

Commit a47d731

Browse files
Lock JSON version until find route cause
1 parent 6f5e66d commit a47d731

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ gem "simplecov"
99
gem "simplecov-console"
1010
gem "webmock"
1111

12+
# Latest version will break the HTTP request
13+
gem "json", "~> 2.10.0"
14+
1215
# Specify your gem's dependencies in quickpay-ruby-client.gemspec
1316
gemspec

quickpay-ruby-client.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ Gem::Specification.new do |spec|
1919
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2020
spec.require_paths = ["lib"]
2121

22-
spec.add_dependency "json", "~> 2", ">= 2.5"
22+
# Locking to 2.10.0 to avoid breaking changes in 2.11.0
23+
spec.add_dependency "json", "~> 2", "~> 2.10"
2324
end

0 commit comments

Comments
 (0)