lostisland / faraday_middleware

Various Faraday middlewares for Faraday-based API wrappers
MIT License
556 stars 205 forks source link

ruby 2.7.0 warnings #245

Closed vchepkov closed 4 years ago

vchepkov commented 4 years ago

After upgrade to ruby 2.7.0 warnings are bing emitted:

/usr/local/lib/ruby/gems/2.7.0/gems/faraday_middleware-0.13.1/lib/faraday_middleware/response_middleware.rb:14: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
olleolleolle commented 4 years ago

These warnings, can you find them in current master branch?

vchepkov commented 4 years ago

Sorry, I have checked the latest gem version and the code causing warning by the interpreter was still there.