Closed
Description
We are using net-http-persistent
with faraday
in our neo4j-core
gem.
Faraday.new(url) do |c|
c.request :basic_auth, user, password
c.request :multi_json
c.response :multi_json, symbolize_keys: true, content_type: 'application/json'
c.use Faraday::Adapter::NetHttpPersistent
# c.response :logger, ::Logger.new(STDOUT), bodies: true
c.headers['Content-Type'] = 'application/json'
c.headers['User-Agent'] = @user_agent_string
end
After upgrading to 3.0.0
, it breaks on initialization, with:
/home/vagrant/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/net-http-persistent-3.0.0/lib/net/http/persistent.rb:505:in `initialize': wrong number of arguments (given 2, expected 0) (ArgumentError)
Metadata
Metadata
Assignees
Labels
No labels