remove ruby 2.7 deprecation

spec/faraday/response/logger_spec.rb:73: warning: Using the last argument as
keyword parameters is deprecated; maybe ** should be added to the call

lib/faraday/logging/formatter.rb:13: warning: The called method 'initialize'
is defined here
This commit is contained in:
technoweenie 2019-12-30 08:11:59 -07:00
parent 61d466df87
commit df5fc690df

View File

@ -69,10 +69,6 @@ RSpec.describe Faraday::Response::Logger do
context 'with custom formatter' do
let(:formatter_class) do
Class.new(Faraday::Logging::Formatter) do
def initialize(*args)
super
end
def request(_env)
info 'Custom log formatter request'
end