diff --git a/lib/orchestrator_client.rb b/lib/orchestrator_client.rb index 97ed4d4..490c525 100644 --- a/lib/orchestrator_client.rb +++ b/lib/orchestrator_client.rb @@ -3,6 +3,7 @@ require 'json' require 'openssl' require 'faraday' +require 'faraday/net_http_persistent' class OrchestratorClient require 'orchestrator_client/error' diff --git a/orchestrator_client.gemspec b/orchestrator_client.gemspec index 84b991b..c402066 100644 --- a/orchestrator_client.gemspec +++ b/orchestrator_client.gemspec @@ -15,6 +15,6 @@ Gem::Specification.new do |s| s.license = "Apache-2.0" s.require_paths = ["lib"] - s.add_dependency 'faraday', '~> 1.4' - s.add_dependency 'net-http-persistent', '~> 4.0' + s.add_dependency 'faraday', '>= 1.4', '< 3.0' + s.add_dependency 'faraday-net_http_persistent', '>= 1.0', '< 3.0' end