Ruby 2.3 warnings: method redefined; discarding old wait_timeout= / wait_overtime= / service_past_wait=
dentarg opened this issue · 0 comments
dentarg commented
In addition to the warnings from #116, Ruby 2.3 shows some additional warnings
Repro code: https://github.com/dentarg/gists/tree/master/gists/rack-timeout-9fcf (commit)
Ruby 2.3.3
$ ruby -w test.rb
/Users/dentarg/.gem/ruby/2.3.3/gems/rack-timeout-0.4.2/lib/rack/timeout/legacy.rb:21: warning: method redefined; discarding old wait_timeout=
/Users/dentarg/.gem/ruby/2.3.3/gems/rack-timeout-0.4.2/lib/rack/timeout/legacy.rb:21: warning: method redefined; discarding old wait_overtime=
/Users/dentarg/.gem/ruby/2.3.3/gems/rack-timeout-0.4.2/lib/rack/timeout/legacy.rb:21: warning: method redefined; discarding old service_past_wait=
Loaded suite test
Started
/Users/dentarg/.gem/ruby/2.3.3/gems/rack-timeout-0.4.2/lib/rack/timeout/logging-observer.rb:31: warning: instance variable @logger not initialized
...