-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate array and string type initialization
- 2 deprecations: - Array-based MIME::Type initialization - String-based MIME::Type initialization Use of these these will result in deprecation warnings. - Added `logger` to the gemspec to suppress a bundled gem warning with Ruby 3.3.5. This warning should not be showing up until Ruby 3.4.0 is released and will be suppressed in Ruby 3.3.6.
- Loading branch information
1 parent
e8d0b42
commit 79019cb
Showing
12 changed files
with
146 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ exclude: !ruby/regexp '/ | |
fasterer | | ||
pullreview | | ||
rubocop* | | ||
standard* | | ||
travis | | ||
unused | ||
)\.yml$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# -*- encoding: utf-8 -*- | ||
# stub: mime-types 3.5.2 ruby lib | ||
# stub: mime-types 3.6 ruby lib | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "mime-types".freeze | ||
s.version = "3.5.2".freeze | ||
s.version = "3.6".freeze | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= | ||
s.metadata = { "bug_tracker_uri" => "https://github.com/mime-types/ruby-mime-types/issues", "changelog_uri" => "https://github.com/mime-types/ruby-mime-types/blob/master/History.md", "homepage_uri" => "https://github.com/mime-types/ruby-mime-types/", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/mime-types/ruby-mime-types/" } if s.respond_to? :metadata= | ||
s.require_paths = ["lib".freeze] | ||
s.authors = ["Austin Ziegler".freeze] | ||
s.date = "2024-01-02" | ||
s.date = "2024-09-18" | ||
s.description = "The mime-types library provides a library and registry for information about\nMIME content type definitions. It can be used to determine defined filename\nextensions for MIME types, or to use filename extensions to look up the likely\nMIME type definitions.\n\nVersion 3.0 is a major release that requires Ruby 2.0 compatibility and removes\ndeprecated functions. The columnar registry format introduced in 2.6 has been\nmade the primary format; the registry data has been extracted from this library\nand put into {mime-types-data}[https://github.com/mime-types/mime-types-data].\nAdditionally, mime-types is now licensed exclusively under the MIT licence and\nthere is a code of conduct in effect. There are a number of other smaller\nchanges described in the History file.".freeze | ||
s.email = ["[email protected]".freeze] | ||
s.extra_rdoc_files = ["Code-of-Conduct.md".freeze, "Contributing.md".freeze, "History.md".freeze, "Licence.md".freeze, "Manifest.txt".freeze, "README.rdoc".freeze] | ||
|
@@ -18,13 +18,14 @@ Gem::Specification.new do |s| | |
s.licenses = ["MIT".freeze] | ||
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze] | ||
s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze) | ||
s.rubygems_version = "3.5.3".freeze | ||
s.rubygems_version = "3.5.16".freeze | ||
s.summary = "The mime-types library provides a library and registry for information about MIME content type definitions".freeze | ||
|
||
s.specification_version = 4 | ||
|
||
s.add_runtime_dependency(%q<mime-types-data>.freeze, ["~> 3.2015".freeze]) | ||
s.add_development_dependency(%q<minitest>.freeze, ["~> 5.20".freeze]) | ||
s.add_runtime_dependency(%q<logger>.freeze, [">= 0".freeze]) | ||
s.add_development_dependency(%q<minitest>.freeze, ["~> 5.25".freeze]) | ||
s.add_development_dependency(%q<hoe>.freeze, [">= 3.0".freeze, "< 5".freeze]) | ||
s.add_development_dependency(%q<hoe-doofus>.freeze, ["~> 1.0".freeze]) | ||
s.add_development_dependency(%q<hoe-gemspec2>.freeze, ["~> 1.1".freeze]) | ||
|
Oops, something went wrong.