Hello community,
here is the log from the commit of package rubygem-mime-types for
openSUSE:Factory checked in at 2014-03-18 14:04:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mime-types (Old)
and /work/SRC/openSUSE:Factory/.rubygem-mime-types.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mime-types"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-mime-types/rubygem-mime-types.changes
2013-11-07 08:46:23.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-mime-types.new/rubygem-mime-types.changes
2014-03-18 14:04:42.000000000 +0100
@@ -1,0 +2,33 @@
+Sat Mar 15 18:45:59 UTC 2014 - [email protected]
+
+- updated to version 2.2
+ * Clarified contribution guidelines for MIME types. Resolves
+ {#57}[https://github.com/halostatue/mime-types/issues/57].
+ * Fixed a small bug where deprecated methods would warn of deprecation when
+ called by internal methods. Resolves
+ {#60}[https://github.com/halostatue/mime-types/issues/60].
+ * Dropped Code Climate; added Coveralls for test coverage reports.
+ * Removing external references to RubyForge, as it is shutting down. Resolves
+ {#59}[https://github.com/halostatue/mime-types/issues/59].
+
+-------------------------------------------------------------------
+Sun Feb 23 09:24:52 UTC 2014 - [email protected]
+
+- updated to version 2.1
+ * API Changes (MIME::Type):
+ * Added MIME::Type#xrefs and MIME::Type#xref_urls that have better handling
+ of types of reference information. MIME::Type#references= has been
+ deprecated. In a future release, both MIME::Type#references will be turned
+ into a short-hand view on MIME::Type#xrefs, MIME::Type#urls will be an
+ alias for MIME::Type#xref_urls, and MIME::Type#references= will be
removed.
+ * New or Updated MIME Types:
+ * This information is now tracked in History-Types.rdoc.
+ * MIME Type Development Tools
+ * The IANA registry format changed, breaking the IANA registry tool
+ previously used. Rewrote IANADownloader and IANADownloader::Parser as
+ IANARegistryParser using the XML form.
+ * The LTSW list has been dropped as it has not been updated since 2002.
+ * The default Apache MIME types configuration list is now used to enrich
MIME
+ type data with additional extension information.
+
+-------------------------------------------------------------------
Old:
----
mime-types-2.0.gem
New:
----
mime-types-2.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-mime-types.spec ++++++
--- /var/tmp/diff_new_pack.eF11IB/_old 2014-03-18 14:04:42.000000000 +0100
+++ /var/tmp/diff_new_pack.eF11IB/_new 2014-03-18 14:04:42.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-mime-types
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,17 @@
Name: rubygem-mime-types
-Version: 2.0
+Version: 2.2
Release: 0
%define mod_name mime-types
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 1
+BuildRequires: ruby-macros >= 3
Requires: ruby >= 1.9.2
-BuildRequires: ruby-devel >= 1.9.2
+BuildRequires: ruby >= 1.9.2
BuildRequires: rubygem(rdoc) > 3.10
-Url: http://mime-types.rubyforge.org/
+Url: https://github.com/halostatue/mime-types/
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Summary: The mime-types library provides a library and registry for
License: MIT and Artistic-2.0 and GPL-2.0
@@ -48,18 +48,22 @@
add additional type definitions (see Contributing.rdoc). The primary sources
for MIME type definitions found in mime-types is the IANA collection of
registrations (see below for the link), RFCs, and W3C recommendations.
-The mime-types library uses semantic versioning. This is release 2.0; there
-are
-incompatible changes in the API provided by mime-types, mostly around registry
-initialization (see History.rdoc for full details), and the removal of support
-for Ruby 1.8 interpreters.
+This is release 2.2,
+mostly changing how the MIME type registry is updated from
+the IANA registry (the format of which was incompatibly changed shortly before
+this release) and taking advantage of the extra data available from IANA
+registry in the form of MIME::Type#xrefs. In addition, the {LTSW
+list}[http://www.ltsw.se/knbase/internet/mime.htp] has been dropped as a
+supported list.
+As a reminder, mime-types 2.x is no longer compatible with Ruby 1.8 and
+mime-types 1.x is only being maintained for security issues. No new MIME types
+or features will be added.
mime-types (previously called MIME::Types for Ruby) was originally based on
MIME::Types for Perl by Mark Overmeer, copyright 2001 - 2009. It is built to
-conform to the MIME types of RFCs 2045 and 2231. It tracks the {IANA
-registry}[http://www.iana.org/assignments/media-types/]
-({ftp}[ftp://ftp.iana.org/assignments/media-types]) with some unofficial types
-added from the {LTSW collection}[http://www.ltsw.se/knbase/internet/mime.htp]
-and added by the users of mime-types.
+conform to the MIME types of RFCs 2045 and 2231. It tracks the {IANA Media
+Types
+registry}[https://www.iana.org/assignments/media-types/media-types.xhtml]
+with some types added by the users of mime-types.
%package doc
Summary: RDoc documentation for %{mod_name}
@@ -88,23 +92,23 @@
%install
%gem_install -f
mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.rdoc
%buildroot/%{_docdir}/%{name}/History.rdoc
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc
%buildroot/%{_docdir}/%{name}/README.rdoc
+ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc
%buildroot/%{_docdir}/%{name}/History.rdoc
+ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc
%buildroot/%{_docdir}/%{name}/README.rdoc
%files
%defattr(-,root,root,-)
%{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%exclude %{gem_base}/gems/%{mod_full_name}/test
+%{gem_base}/specifications/%{mod_full_name}.gemspec
%files doc
%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
%files testsuite
%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%{gem_base}/gems/%{mod_full_name}/test
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]