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

Fix [_1,_2,_3] parameters (conflict with Ruby 2.7.0); Updated gems and ruby versions. #146

Merged
merged 6 commits into from
Dec 26, 2019

Conversation

jasnow
Copy link
Contributor

@jasnow 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.

Copy link
Member

@halostatue halostatue left a 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.

lib/mime/types/logger.rb Outdated Show resolved Hide resolved
mime-types.gemspec Show resolved Hide resolved
@jasnow
Copy link
Contributor Author

jasnow commented Dec 26, 2019

@halostatue - You are welcome to change my changes before releasing them if you wish. Happy Holidays....

@nehresma
Copy link

Bumped into this this morning. Was going to create a PR and saw @jasnow was already on top of it. Thank you!

@jasnow
Copy link
Contributor Author

jasnow commented Dec 26, 2019

U R Welcome

@halostatue halostatue merged commit c446731 into mime-types:master Dec 26, 2019
@halostatue
Copy link
Member

Thanks for your contribution!

mime-types 3.3 was released in September, so this will be version 3.3.1.

@jasnow
Copy link
Contributor Author

jasnow commented Dec 27, 2019

Verified in release 3.3.1 of gem.

tnir added a commit to tnir/rails_sample_app that referenced this pull request May 19, 2021
See mime-types/ruby-mime-types#146

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
lfdebrux added a commit to alphagov/seal that referenced this pull request Jun 16, 2021
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.
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

Successfully merging this pull request may close these issues.

3 participants