httprb / http

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
MIT License
3.01k stars 321 forks source link

Using the last argument as keyword parameters is deprecated #609

Open Duartemartins opened 4 years ago

Duartemartins commented 4 years ago

I'm getting this issue since updating to Ruby 2.7.1, specifically:

/Users/duartemartins/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/http-4.4.1/lib/http/response/body.rb:49: warning: Using the last argument as keyword parameters is deprecated

I've tried adding export RUBYOPT='-W:no-deprecated -W:no-experimental' to .zschrc to no avail.