mime-types/ruby-mime-types

Ruby 2.7.0 uses "_1", "_2", "_3" as "numbered parameters"

jasnow opened this issue · 2 comments

Ruby 2.7.0 uses "_1", etc as "numbered parameters"
Here is an article about them:
https://prathamesh.tech/2019/12/25/all-you-need-to-know-about-ruby-2-7

/Users/USER/.rvm/gems/ruby-2.7.0@ruby2.7-rails5.2/gems/
mime-types-3.3/lib/mime/types/logger.rb:30: 
warning: `_1' is reserved for numbered parameter; consider another name

/Users/USER.rvm/gems/ruby-2.7.0@ruby2.7-rails5.2/gems/
mime-types-3.3/lib/mime/types/logger.rb:30: 
warning: `_2' is reserved for numbered parameter; consider another name

/Users/USER/.rvm/gems/ruby-2.7.0@ruby2.7-rails5.2/gems/
mime-types-3.3/lib/mime/types/logger.rb:30: 
warning: `_3' is reserved for numbered parameter; consider another name

A pull request would be greatly appreciated on this that also expands Travis to use 2.7.

See PR #146.