diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a38bde..ccdbab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.0.3 + +Limit json dependency to < 2.11 to avoid potential breaking changes in json gem 2.11.0 + ## 4.0.2 Make overwritten Authorization header possible again. diff --git a/lib/quickpay/api/version.rb b/lib/quickpay/api/version.rb index 4f66171..e7ca6ef 100644 --- a/lib/quickpay/api/version.rb +++ b/lib/quickpay/api/version.rb @@ -1,5 +1,5 @@ module QuickPay module API - VERSION = "4.0.2".freeze + VERSION = "4.0.3".freeze end end diff --git a/quickpay-ruby-client.gemspec b/quickpay-ruby-client.gemspec index c425b9f..1fb11f2 100644 --- a/quickpay-ruby-client.gemspec +++ b/quickpay-ruby-client.gemspec @@ -19,5 +19,6 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "json", "~> 2", ">= 2.5" + # Allow 2.0 through 2.10.X to avoid breaking changes in 2.11.0 + spec.add_dependency "json", "~> 2.0", "< 2.11" end