From e93788accbc01131e490b2ed10ad347ab0bffe8e Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Thu, 15 Sep 2022 15:28:13 +0200 Subject: [PATCH] Restrict URI gem to < 0.11.0 The URI gem has changed its public API with this version, breaking compatibility with the largely unmaintained `data_uri` gem. This fixes the co-dependency issue for now; once this PR in `data_uri` is merged we can update to the newest `uri` gem: https://github.com/dball/data_uri/pull/10 --- friendly_shipping.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/friendly_shipping.gemspec b/friendly_shipping.gemspec index 312f052c..3cd63de7 100644 --- a/friendly_shipping.gemspec +++ b/friendly_shipping.gemspec @@ -28,6 +28,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "nokogiri", "~> 1.6" spec.add_runtime_dependency "physical", "~> 0.4", ">= 0.4.4" spec.add_runtime_dependency "rest-client", "~> 2.0" + spec.add_runtime_dependency "uri", "< 0.11.0" spec.required_ruby_version = '>= 2.5' spec.add_development_dependency "bundler", ">= 2.1.4", "< 3"