From 5e1aa13e2930331eb62fb2eaab2dd5f9bb2976ec Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 6 Jan 2022 17:03:14 +0000 Subject: [PATCH] Update adapter dependencies in Gemspec Adapters v2 have hard dependencies, hence can't be used with Faraday v1 --- faraday.gemspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faraday.gemspec b/faraday.gemspec index 3392a3cb8..c587393d8 100644 --- a/faraday.gemspec +++ b/faraday.gemspec @@ -18,11 +18,11 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength spec.add_dependency 'faraday-em_http', '~> 1.0' spec.add_dependency 'faraday-em_synchrony', '~> 1.0' spec.add_dependency 'faraday-excon', '~> 1.1' - spec.add_dependency 'faraday-httpclient', '< 3' + spec.add_dependency 'faraday-httpclient', '~> 1.0' spec.add_dependency 'faraday-multipart', '~> 1.0' - spec.add_dependency 'faraday-net_http', '< 3' - spec.add_dependency 'faraday-net_http_persistent', '< 3' - spec.add_dependency 'faraday-patron', '< 3' + spec.add_dependency 'faraday-net_http', '~> 1.0' + spec.add_dependency 'faraday-net_http_persistent', '~> 1.0' + spec.add_dependency 'faraday-patron', '~> 1.0' spec.add_dependency 'faraday-rack', '~> 1.0' spec.add_dependency 'faraday-retry', '~> 1.0' spec.add_dependency 'ruby2_keywords', '>= 0.0.4'