zverok/yard-junk

More Ruby 2.7 deprecation warnings

synthead opened this issue · 4 comments

When running yard-junk with Ruby 2.7.1, I get the following deprecation warnings:

$ yard-junk
Running YardJunk janitor (version 0.0.8)...

/home/max/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/yard-junk-0.0.8/lib/yard-junk/janitor.rb:42: 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.8/lib/yard-junk/janitor/base_reporter.rb:46: warning: The called method `stats' is defined here

0 failures, 0 problems (0 seconds to run)

Duplicate of #30, but I am not able to comment or reopen #30, so I'm filing a new issue here.

Ugh, indeed, sorry for that. 0.0.9 should have no warnings, please check (not closing this one in case I still screwed it up)