statsd-instrument decorators are throwing warnings on Ruby 2.7:
DEPRECATION WARNING: /tmp/bundle/ruby/2.7.0/gems/statsd-instrument-2.9.2/lib/statsd/instrument/strict.rb:130: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
xxxxxx:103: warning: The called method `XXXXXX' is defined here
(called from block (3 levels) in statsd_measure at /tmp/bundle/ruby/2.7.0/gems/statsd-instrument-2.9.2/lib/statsd/instrument/strict.rb:130)
While not very elegant, the ruby2_keywords modifier is the only proper way to do blind argument forwarding on both 2.6 and 2.7 without warnings.
statsd-instrument
decorators are throwing warnings on Ruby 2.7:While not very elegant, the
ruby2_keywords
modifier is the only proper way to do blind argument forwarding on both 2.6 and 2.7 without warnings.