We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18c0b49 commit a21928cCopy full SHA for a21928c
algolia.gemspec
@@ -35,7 +35,8 @@ Gem::Specification.new do |spec|
35
spec.add_development_dependency 'rake'
36
spec.add_development_dependency 'rubocop', '<= 0.82.0'
37
38
- spec.add_dependency 'faraday', ['>= 0.15', '< 2.0']
+ spec.add_dependency 'faraday', ['>= 0.15', '< 3']
39
+ spec.add_dependency 'faraday-net_http_persistent', ['>= 0.15', '< 3']
40
spec.add_dependency 'multi_json', '~> 1.0'
41
spec.add_dependency 'net-http-persistent'
42
lib/algolia/transport/transport.rb
@@ -1,4 +1,6 @@
1
require 'faraday'
2
+# this is the default adapter and it needs to be required to be registered.
3
+require 'faraday/net_http_persistent'
4
5
module Algolia
6
module Transport
0 commit comments