Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mail/ruby-mime-types: update to 3.2.2
## 3.2.2 / 2018-08-12 * Hiroto Fukui removed a stray `debugger` statement that I had used in producing v3.2.1. [#137][] ## 3.2.1 / 2018-08-12 * A few bugs related to MIME::Types::Container and its use in the mime-types-data helper tools reared their head because I released 3.2 before verifying against mime-types-data. ## 3.2 / 2018-08-12 * 2 minor enhancements * Janko Marohnić contributed a change to `MIME::Type#priority_order` that should improve on strict sorting when dealing with MIME types that appear to be in the same family even if strict sorting would cause an unregistered type to be sorted first. [#132][] * Dillon Welch contributed a change that added `frozen_string_literal: true` to files so that modern Rubies can automatically reduce duplicate string allocations. [#135][] * 2 bug fixes * Burke Libbey fixed a problem with cached data loading. [#126][] * Resolved an issue where Enumerable#inject returns +nil+ when provided an empty enumerable and a default value has not been provided. This is because when Enumerable#inject isn't provided a starting value, the first value is used as the default value. In every case where this error was happening, the result was supposed to be an array containing Set objects so they can be reduced to a single Set. [#117][], [#127][], [#134][]. * Fixed an uncontrolled growth bug in MIME::Types::Container where a key miss would create a new entry with an empty Set in the container. This was working as designed (this particular feature was heavily used during MIME::Type registry construction), but the design was flawed in that it did not have any way of determining the difference between construction and querying. This would mean that, if you have a function in your web app that queries the MIME::Types registry by extension, the extension registry would grow uncontrollably. [#136][] * Deprecations: * Lazy loading (`$RUBY_MIME_TYPES_LAZY_LOAD`) has been deprecated. * Documentation Changes: * Supporting files are now Markdown instead of rdoc, except for the README. * The history file has been modified to remove all history prior to 3.0. This history can be found in previous commits. * A spelling error was corrected by Edward Betts ([#129][]). * Administrivia: * CI configuration for more modern versions of Ruby were added by Nicolas Leger ([#130][]), Jun Aruga ([#125][]), and Austin Ziegler. Removed ruby-head-clang and rbx (Rubinius) from CI. * Fixed tests which were asserting equality against nil, which will become an error in Minitest 6.
- Loading branch information