Skip to content

Commit 6f8661e

Browse files
committed
Allow faraday 2.x
Fixes #37
1 parent 434457b commit 6f8661e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/orchestrator_client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
require 'json'
44
require 'openssl'
55
require 'faraday'
6+
require 'faraday/net_http_persistent'
67

78
class OrchestratorClient
89
require 'orchestrator_client/error'

orchestrator_client.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
1515
s.license = "Apache-2.0"
1616
s.require_paths = ["lib"]
1717

18-
s.add_dependency 'faraday', '~> 1.4'
19-
s.add_dependency 'net-http-persistent', '~> 4.0'
18+
s.add_dependency 'faraday', '>= 1.4', '< 3.0'
19+
s.add_dependency 'faraday-net_http_persistent', '>= 1.0', '< 3.0'
2020
end

0 commit comments

Comments
 (0)