From a82ff6d0cf504ab963bde95540ca939ca8a9c4ca Mon Sep 17 00:00:00 2001 From: taca Date: Sat, 15 Oct 2016 14:00:41 +0000 Subject: [PATCH] Update ruby-mime-types to 3.1. == 3.1 / 2016-05-22 * 1 documentation change: * Tim Smith (@tas50) updated the build badges to be SVGs to improve readability on high-density (retina) screens with pull request {#112}[https://github.com/mime-types/ruby-mime-types/pull/112]. * 3 bug fixes * A test for MIME::Types::Cache fails under Ruby 2.3 because of frozen strings, {#118}[https://github.com/mime-types/ruby-mime-types/issues/118]. This has been fixed. * The JSON data has been incorrectly encoded since the release of mime-types 3 on the +xrefs+ field, because of the switch to using a Set to store cross-reference information. This has been fixed. * A tentative fix for {#117}[https://github.com/mime-types/ruby-mime-types/issues/117] has been applied, removing the only circular require dependencies that exist (and for which there was code to prevent, but the current fix is simpler). I have no way to verify this fix and depending on how things are loaded by +delayed_job+, this fix may not be sufficient. * 1 governance change * Updated to {Contributor Covenant 1.4}[Code-of-Conduct_rdoc.html]. --- mail/ruby-mime-types/Makefile | 6 ++++-- mail/ruby-mime-types/PLIST | 13 ++----------- mail/ruby-mime-types/distinfo | 10 +++++----- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/mail/ruby-mime-types/Makefile b/mail/ruby-mime-types/Makefile index 1dc719410a64c..c68b880d8ba5f 100644 --- a/mail/ruby-mime-types/Makefile +++ b/mail/ruby-mime-types/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2015/12/13 16:44:57 taca Exp $ +# $NetBSD: Makefile,v 1.14 2016/10/15 14:00:41 taca Exp $ -DISTNAME= mime-types-3.0 +DISTNAME= mime-types-3.1 CATEGORIES= www MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,5 +8,7 @@ HOMEPAGE= https://github.com/mime-types/ruby-mime-types/ COMMENT= Definition of MIME types for Ruby LICENSE= ruby-license OR artistic OR gnu-gpl-v2 OR gnu-gpl-v3 +DEPENDS+= ${RUBY_PKGPREFIX}-mime-types-data>=3.2015<4:../../mail/ruby-mime-types-data + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/ruby-mime-types/PLIST b/mail/ruby-mime-types/PLIST index 031cd35e8bbba..37cc808571731 100644 --- a/mail/ruby-mime-types/PLIST +++ b/mail/ruby-mime-types/PLIST @@ -1,9 +1,5 @@ -@comment $NetBSD: PLIST,v 1.12 2015/12/13 16:44:57 taca Exp $ +@comment $NetBSD: PLIST,v 1.13 2016/10/15 14:00:41 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem -${GEM_LIBDIR}/.autotest -${GEM_LIBDIR}/.gemtest -${GEM_LIBDIR}/.gitignore -${GEM_LIBDIR}/.hoerc ${GEM_LIBDIR}/Code-of-Conduct.rdoc ${GEM_LIBDIR}/Contributing.rdoc ${GEM_LIBDIR}/History.rdoc @@ -15,6 +11,7 @@ ${GEM_LIBDIR}/lib/mime-types.rb ${GEM_LIBDIR}/lib/mime/type.rb ${GEM_LIBDIR}/lib/mime/type/columnar.rb ${GEM_LIBDIR}/lib/mime/types.rb +${GEM_LIBDIR}/lib/mime/types/_columnar.rb ${GEM_LIBDIR}/lib/mime/types/cache.rb ${GEM_LIBDIR}/lib/mime/types/columnar.rb ${GEM_LIBDIR}/lib/mime/types/container.rb @@ -23,12 +20,6 @@ ${GEM_LIBDIR}/lib/mime/types/full.rb ${GEM_LIBDIR}/lib/mime/types/loader.rb ${GEM_LIBDIR}/lib/mime/types/logger.rb ${GEM_LIBDIR}/lib/mime/types/registry.rb -${GEM_LIBDIR}/support/benchmarks/load.rb -${GEM_LIBDIR}/support/benchmarks/load_allocations.rb -${GEM_LIBDIR}/support/benchmarks/object_counts.rb -${GEM_LIBDIR}/support/profile/columnar.rb -${GEM_LIBDIR}/support/profile/columnar_full.rb -${GEM_LIBDIR}/support/profile/full.rb ${GEM_LIBDIR}/test/bad-fixtures/malformed ${GEM_LIBDIR}/test/fixture/json.json ${GEM_LIBDIR}/test/fixture/old-data diff --git a/mail/ruby-mime-types/distinfo b/mail/ruby-mime-types/distinfo index 52aa8219eb40f..d5e4d477abd41 100644 --- a/mail/ruby-mime-types/distinfo +++ b/mail/ruby-mime-types/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2015/12/13 16:44:57 taca Exp $ +$NetBSD: distinfo,v 1.14 2016/10/15 14:00:41 taca Exp $ -SHA1 (mime-types-3.0.gem) = 08d930fefe3ef87df50326f5928d7824f467accb -RMD160 (mime-types-3.0.gem) = 22459a5c2df4f67b2c5f948a79b12c262c9fa76c -SHA512 (mime-types-3.0.gem) = 762ad862714f31cf68c9f872f23efc9c85ab0ab4f451553dd4a7ec30ac5bfce804037a413ae05bad253f4a4f82ba6578e3f3e87aa11b5e525d3f237fdf547850 -Size (mime-types-3.0.gem) = 44032 bytes +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