Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jasnow opened this issue Dec 25, 2019 · 2 comments
Closed

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

jasnow opened this issue Dec 25, 2019 · 2 comments

Comments

@jasnow
Copy link
Contributor

jasnow commented Dec 25, 2019

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
@halostatue
Copy link
Member

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

@jasnow
Copy link
Contributor Author

jasnow commented Dec 26, 2019

See PR #146.

@jasnow jasnow closed this as completed Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants