Ruby 2.7 deprecation warnings
synthead opened this issue · 1 comments
synthead commented
When running yard-junk
with Ruby 2.7.1, I get the following deprecation warnings:
$ yard-junk
Running YardJunk janitor (version 0.0.7)...
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor.rb:41: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor/base_reporter.rb:45: warning: The called method `stats' is defined here
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor/base_reporter.rb:46: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor/text_reporter.rb:14: warning: The called method `_stats' is defined here
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor/text_reporter.rb:15: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.7/lib/yard-junk/janitor/text_reporter.rb:18: warning: The called method `colorized_stats' is defined here
0 failures, 0 problems (0 seconds to run)
zverok commented
Thanks, I released 0.0.8, which is 2.7 (and hopefully 3.0) compatible.