Skip to content

Conversation

avk
Copy link
Contributor

@avk avk commented Oct 2, 2024

mime-types 3.6.0 warns "MIME::Type.MIME::Type.new when called with a String is deprecated."

change introduced in and syntax borrowed from:
mime-types/ruby-mime-types@8512c15

avk and others added 2 commits October 2, 2024 12:34
mime-types 3.6.0 warns "MIME::Type.MIME::Type.new when called with a String is deprecated."

change introduced in and syntax borrowed from:
mime-types/ruby-mime-types@8512c15
to one that supports modern ruby.
@flavorjones
Copy link
Member

@avk Thank you for this PR! While we're here, I added a commit which bumps the minimum version of the mime-types gem to 3.3.0, which is the first version that supports Ruby 2.7+.

@flavorjones flavorjones merged commit 2ae412a into sparklemotion:main Oct 2, 2024
9 checks passed
@flavorjones
Copy link
Member

Released in https://github.com/sparklemotion/mechanize/releases/tag/v2.12.2

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.

2 participants