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.
This commit is contained in:
taca 2018-09-23 15:41:37 +00:00
parent ba3d32f348
commit 26b5b52ffa
3 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2016/10/15 14:00:41 taca Exp $
# $NetBSD: Makefile,v 1.15 2018/09/23 15:41:37 taca Exp $
DISTNAME= mime-types-3.1
DISTNAME= mime-types-3.2.2
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,9 +1,9 @@
@comment $NetBSD: PLIST,v 1.13 2016/10/15 14:00:41 taca Exp $
@comment $NetBSD: PLIST,v 1.14 2018/09/23 15:41:37 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/Code-of-Conduct.rdoc
${GEM_LIBDIR}/Contributing.rdoc
${GEM_LIBDIR}/History.rdoc
${GEM_LIBDIR}/Licence.rdoc
${GEM_LIBDIR}/Code-of-Conduct.md
${GEM_LIBDIR}/Contributing.md
${GEM_LIBDIR}/History.md
${GEM_LIBDIR}/Licence.md
${GEM_LIBDIR}/Manifest.txt
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.14 2016/10/15 14:00:41 taca Exp $
$NetBSD: distinfo,v 1.15 2018/09/23 15:41:37 taca Exp $
SHA1 (mime-types-3.1.gem) = 35e40443ddbed87e9e53c2649179b386472718c3
RMD160 (mime-types-3.1.gem) = 1578ac8f29395ef0f4bb3f47cdd66b288c70fbd6
SHA512 (mime-types-3.1.gem) = 1923ff7032aabbf83569497e0016ea0ff183a13751b0ba0a5b09a132e7c18154bbb19e7d3877adc2e1d21cdff612713201a465f954309794fa1d9b330975a112
Size (mime-types-3.1.gem) = 42496 bytes
SHA1 (mime-types-3.2.2.gem) = c1403f642bf029c7e7cc206816e2538d73b7b9bf
RMD160 (mime-types-3.2.2.gem) = e4cc59b9357981fc243e5dd07904e7154dca03de
SHA512 (mime-types-3.2.2.gem) = e098df6001ddb53225cf2f48df4e13f2cb9c5e86f64dfaebfba82ed9f1d60149b05069800ea14d1d76554d760169f3c3cb506cc3c789c74da7e1c8df61d67b7c
Size (mime-types-3.2.2.gem) = 35840 bytes