Basic Info
- Faraday Version: 0.15.4
- Ruby Version: 2.7.0-preview1
Issue description
Getting this warning after upgrading to Ruby 2.7.0-preview1:
faraday-0.15.4/lib/faraday/options.rb:166: warning: Capturing the
given block using Proc.new is deprecated; use `&block` instead
and
faraday-0.15.4/lib/faraday/rack_builder.rb:55: warning: Capturing the
given block using Proc.new is deprecated; use `&block` instead
Steps to reproduce
Just upgrade a repo to Ruby 2.7.0-preview1 and then run "rake" command.
Here is a link to other repos working on this issue:
https://github.com/aws/aws-sdk-ruby/issues/2058