From a9b7dd4877de3863ecb63b8c7e8122e128228e73 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Thu, 26 Dec 2019 14:40:11 -0500 Subject: [PATCH] Prepare for 3.3.1 release - Administrative and Ruby 2.7 bugfix --- Contributing.md | 2 ++ History.md | 17 +++++++++++++++++ README.rdoc | 9 +-------- lib/mime/type.rb | 2 +- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/Contributing.md b/Contributing.md index 746a1d7..c06ead2 100644 --- a/Contributing.md +++ b/Contributing.md @@ -99,6 +99,7 @@ Thanks to everyone else who has contributed to mime-types over the years: * Aaron Patterson * Aggelos Avgerinos +* Al Snow * Andre Pankratz * Andy Brody * Arnaud Meuret @@ -127,6 +128,7 @@ Thanks to everyone else who has contributed to mime-types over the years: * Nicolas Leger * Nicholas La Roux * nycvotes-dev +* Olle Jonsson * Postmodern * Richard Hirner * Richard Hurt diff --git a/History.md b/History.md index f76661b..50d5944 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,18 @@ +## 3.3.1 / 2019-12-26 + +* 1 minor bugfix: + + * Al Snow fixed a warning with MIME::Types::Logger producing a warning + because Ruby 2.7 introduces numbered block parameters. Because of the + way that the MIME::Types::Logger works for deprecation messages, the + initializer parameters had been named `_1`, `_2`, and `_3`. This has + now been resolved. [#146][] + +* Administrivia: + + * Olle Jonsson removed an outdated Travis configuration option (`sudo: + false`). [#142][] + ## 3.3 / 2019-09-04 * 1 minor enhancement @@ -218,6 +233,8 @@ [#137]: https://github.com/mime-types/ruby-mime-types/pull/137 [#139]: https://github.com/mime-types/ruby-mime-types/pull/139 [#141]: https://github.com/mime-types/ruby-mime-types/pull/141 +[#142]: https://github.com/mime-types/ruby-mime-types/pull/142 +[#146]: https://github.com/mime-types/ruby-mime-types/pull/146 [Code-of-Conduct.md]: Code-of-Conduct_md.html [Contributor Covenant]: http://contributor-covenant.org [mime-types-data]: https://github.com/mime-types/mime-types-data diff --git a/README.rdoc b/README.rdoc index 10f8e97..76e7d16 100644 --- a/README.rdoc +++ b/README.rdoc @@ -4,6 +4,7 @@ home :: https://github.com/mime-types/ruby-mime-types/ code :: https://github.com/mime-types/ruby-mime-types/ bugs :: https://github.com/mime-types/ruby-mime-types/issues rdoc :: http://rdoc.info/gems/mime-types/ +clog :: https://github.com/mime-types/ruby-mime-types/blob/master/History.md continuous integration :: {Build Status}[https://travis-ci.org/mime-types/ruby-mime-types] test coverage :: {Coverage Status}[https://coveralls.io/github/mime-types/ruby-mime-types?branch=master] @@ -35,14 +36,6 @@ recommendations, the {IANA Media Types registry}[https://www.iana.org/assignments/media-types/media-types.xhtml], and user contributions. It conforms to RFCs 2045 and 2231. -=== mime-types 1.x End of Life - -mime-types 1.x is no longer supported as of 2015-10-27. - -=== mime-types 2.x End of Life - -mime-types 2.x is no longer supported as of 2017-11-21. - === mime-types 3.x Users are encouraged to upgrade to mime-types 3.x as soon as is practical. diff --git a/lib/mime/type.rb b/lib/mime/type.rb index 8d58b81..07e1ad3 100644 --- a/lib/mime/type.rb +++ b/lib/mime/type.rb @@ -57,7 +57,7 @@ def to_s end # The released version of the mime-types library. - VERSION = '3.3' + VERSION = '3.3.1' include Comparable