-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix [_1,_2,_3] parameters (conflict with Ruby 2.7.0); Updated gems and ruby versions. #146
Conversation
jasnow
commented
Dec 26, 2019
- Fix [_1,_2,_3] parameters as they are numbered parameters in Ruby 2.7.0.
- Updated gems and ruby versions in .travis.yml file.
- Add 2.7.0 to .travis.yml file.
- Removed 2.1.0 from .travis.yml file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the changes here will disappear as soon as I try to release the new version because releases are managed with Hoe.
@halostatue - You are welcome to change my changes before releasing them if you wish. Happy Holidays.... |
Bumped into this this morning. Was going to create a PR and saw @jasnow was already on top of it. Thank you! |
U R Welcome |
Thanks for your contribution! mime-types 3.3 was released in September, so this will be version 3.3.1. |
Verified in release 3.3.1 of gem. |
See mime-types/ruby-mime-types#146 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from 3.2.2 to 3.3.1: - [Changelog](https://github.com/mime-types/ruby-mime-types/blob/master/History.md) - [Commits](mime-types/ruby-mime-types@v3.2.2...v3.3.1) --- Updated to include [mime-types/ruby-mimetypes#176](mime-types/ruby-mime-types#146) which silences the warnings about `MIME::Types::Logger`: ``` ./seal/.bundle/ruby/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: `_1' is reserved for numbered parameter; consider another name ./seal/.bundle/ruby/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: `_2' is reserved for numbered parameter; consider another name ./seal/.bundle/ruby/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: `_3' is reserved for numbered parameter; consider another name ``` Used `bundle update mime-types` to do the bump.