pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/ruby-mime-types Update ruby-mime-types to 2.6.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4680d169f0b0
branches:  trunk
changeset: 652767:4680d169f0b0
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 07 15:49:54 2015 +0000

description:
Update ruby-mime-types to 2.6.1.

== 2.6.1 / 2015-05-25

* Bugs:
  * Make columnar store handle all supported extensions, not just the first.
  * Avoid circular require when using the columnar store.

== 2.6 / 2015-05-25

* New Feature:
  * Columnar data storage for the MIME::Types registry, contributed by Jeremy
    Evans (@jeremyevans). Reduces default memory use substantially (the mail
    gem drops from 19 Mib to about 3 Mib). Resolves
    {#96}[https://github.com/mime-types/ruby-mime-types/pull/96],
    {#94}[https://github.com/mime-types/ruby-mime-types/issues/94],
    {#83}[https://github.com/mime-types/ruby-mime-types/issues/83]. Partially
    addresses {#64}[https://github.com/mime-types/ruby-mime-types/issues/64]
    and {#62}[https://github.com/mime-types/ruby-mime-types/issues/62].
* Development:
  * Removed caching of deprecation messages in preparation for mime-types 3.0.
    Now, deprecated methods will always warn their deprecation instead of only
    warning once.
  * Added a logger for deprecation messages.
  * Renamed <tt>lib/mime.rb</tt> to <tt>lib/mime/deprecations.rb</tt> to not
    conflict with the {mime}[https://rubygems.org/gems/mime] gem on behalf of
    the maintainers of the {Praxis Framework}[http://praxis-framework.io/].
    Provided by Josep M. Blanquer (@blanquer),
    {#100}[https://github.com/mime-types/ruby-mime-types/pull/100].
  * Added the columnar data conversion tool, also provided by Jeremy Evans.
* Documentation:
  * Improved documentation and ensured that all deprecated methods are marked
    as such in the documentation.
* Development:
  * Added more Ruby variants to Travis CI.
  * Silenced deprecation messages for internal tools. Noisy deprecations are
    noisy, but that's the point.

== 2.5 / 2015-04-25

* Bugs:
  * David Genord (@albus522) fixed a bug in loading MIME::types cache where a
    container loaded from cache did not have the expected +default_proc+,
    {#86}[https://github.com/mime-types/ruby-mime-types/pull/86].
  * Richard Schneeman (@schneems) provided a patch that substantially reduces
    unnecessary allocations.
* Documentation:
  * Tibor Szolár (@flexik) fixed a typo in the README,
    {#82}[https://github.com/mime-types/ruby-mime-types/pull/82]
  * Fixed {#80}[https://github.com/mime-types/ruby-mime-types/issues/80],
    clarifying the relationship of MIME::Type#content_type and
    MIME::Type#simplified, with Ken Ip (@kenips).
* Development:
  * Juanito Fatas (@JuanitoFatas) enabled container mode on Travis CI,
    {#87}[https://github.com/mime-types/ruby-mime-types/pull/87].
* Moved development to a mime-types organization under
  {mime-types/ruby-mime-types}[https://github.com/mime-types/ruby-mime-types].

diffstat:

 mail/ruby-mime-types/Makefile |   4 ++--
 mail/ruby-mime-types/PLIST    |  26 ++++++++++++++++++++------
 mail/ruby-mime-types/distinfo |   8 ++++----
 3 files changed, 26 insertions(+), 12 deletions(-)

diffs (81 lines):

diff -r 55a96d77f0d9 -r 4680d169f0b0 mail/ruby-mime-types/Makefile
--- a/mail/ruby-mime-types/Makefile     Sun Jun 07 15:48:12 2015 +0000
+++ b/mail/ruby-mime-types/Makefile     Sun Jun 07 15:49:54 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2015/02/04 15:17:04 taca Exp $
+# $NetBSD: Makefile,v 1.10 2015/06/07 15:49:54 taca Exp $
 
-DISTNAME=      mime-types-2.4.3
+DISTNAME=      mime-types-2.6.1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 55a96d77f0d9 -r 4680d169f0b0 mail/ruby-mime-types/PLIST
--- a/mail/ruby-mime-types/PLIST        Sun Jun 07 15:48:12 2015 +0000
+++ b/mail/ruby-mime-types/PLIST        Sun Jun 07 15:49:54 2015 +0000
@@ -1,13 +1,10 @@
-@comment $NetBSD: PLIST,v 1.10 2015/02/04 15:17:04 taca Exp $
+@comment $NetBSD: PLIST,v 1.11 2015/06/07 15:49:54 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.autotest
-${GEM_LIBDIR}/.coveralls.yml
 ${GEM_LIBDIR}/.gemtest
+${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.hoerc
-${GEM_LIBDIR}/.minitest.rb
-${GEM_LIBDIR}/.travis.yml
 ${GEM_LIBDIR}/Contributing.rdoc
-${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/History-Types.rdoc
 ${GEM_LIBDIR}/History.rdoc
 ${GEM_LIBDIR}/Licence.rdoc
@@ -15,18 +12,35 @@
 ${GEM_LIBDIR}/README.rdoc
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/data/mime-types.json
+${GEM_LIBDIR}/data/mime.content_type.column
+${GEM_LIBDIR}/data/mime.docs.column
+${GEM_LIBDIR}/data/mime.encoding.column
+${GEM_LIBDIR}/data/mime.friendly.column
+${GEM_LIBDIR}/data/mime.obsolete.column
+${GEM_LIBDIR}/data/mime.references.column
+${GEM_LIBDIR}/data/mime.registered.column
+${GEM_LIBDIR}/data/mime.signature.column
+${GEM_LIBDIR}/data/mime.system.column
+${GEM_LIBDIR}/data/mime.use_instead.column
+${GEM_LIBDIR}/data/mime.xrefs.column
 ${GEM_LIBDIR}/docs/COPYING.txt
 ${GEM_LIBDIR}/docs/artistic.txt
 ${GEM_LIBDIR}/lib/mime-types.rb
-${GEM_LIBDIR}/lib/mime.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/cache.rb
+${GEM_LIBDIR}/lib/mime/types/columnar.rb
+${GEM_LIBDIR}/lib/mime/types/deprecations.rb
 ${GEM_LIBDIR}/lib/mime/types/loader.rb
 ${GEM_LIBDIR}/lib/mime/types/loader_path.rb
+${GEM_LIBDIR}/lib/mime/types/logger.rb
 ${GEM_LIBDIR}/support/apache_mime_types.rb
 ${GEM_LIBDIR}/support/benchmarks/load.rb
+${GEM_LIBDIR}/support/benchmarks/load_allocations.rb
+${GEM_LIBDIR}/support/benchmarks/object_counts.rb
 ${GEM_LIBDIR}/support/convert.rb
+${GEM_LIBDIR}/support/convert/columnar.rb
 ${GEM_LIBDIR}/support/iana_registry.rb
 ${GEM_LIBDIR}/test/bad-fixtures/malformed
 ${GEM_LIBDIR}/test/fixture/json.json
diff -r 55a96d77f0d9 -r 4680d169f0b0 mail/ruby-mime-types/distinfo
--- a/mail/ruby-mime-types/distinfo     Sun Jun 07 15:48:12 2015 +0000
+++ b/mail/ruby-mime-types/distinfo     Sun Jun 07 15:49:54 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2015/02/04 15:17:04 taca Exp $
+$NetBSD: distinfo,v 1.10 2015/06/07 15:49:54 taca Exp $
 
-SHA1 (mime-types-2.4.3.gem) = e554e244b9d3cad00d477d925b49f133318528bf
-RMD160 (mime-types-2.4.3.gem) = 9fd3f60131b36c572db76fc72bb7617816f4b98c
-Size (mime-types-2.4.3.gem) = 118272 bytes
+SHA1 (mime-types-2.6.1.gem) = b85a2bbce1d613d5ab4a6b0e25aad8d77769807c
+RMD160 (mime-types-2.6.1.gem) = cb4642598569f083fa1725062d98f3092b055f44
+Size (mime-types-2.6.1.gem) = 189440 bytes



Home | Main Index | Thread Index | Old Index