Files | Admin

Notes:

Release Name: 1.20.1

Notes:
This library allows for the identification of a file's likely MIME content
type. This is release 1.20.1 with new MIME types. The identification of MIME
content type is based on a file's filename extensions.

MIME types are used in MIME-compliant communications, as in e-mail or
HTTP traffic, to indicate the type of content which is transmitted.
MIME::Types provides the ability for detailed information about MIME
entities (provided as a set of MIME::Type objects) to be determined and
used programmatically. There are many types defined by RFCs and vendors,
so the list is long but not complete; don't hesitate to ask to add
additional information. This library follows the IANA collection of MIME
types (see below for reference).

MIME::Types for Ruby was originally based on and synchronized with MIME::Types
for Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
format for the MIME::Type list has changed and the synchronization will no
longer happen.

MIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It
follows the official {IANA registry}[http://www.iana.org/assignments/media-types/]
({ftp}[ftp://ftp.iana.org/assignments/media-types]) with some unofficial types
added from the the {LTSW collection}[http://www.ltsw.se/knbase/internet/mime.htp].


Changes: == 1.20.1 / 2013-01-26 * New MIME Types: * Apple iWork document types added by Hans de Graaff (application/x-iwork-keynote-sffkey, .key; application/x-iwork-pages-sffpages, .pages; application/x-iwork-numbers-sffnumbers, .numbers). https://github.com/halostatue/mime-types/issue/20 * epub, ibooks, mobi, and DMG content types by Mauricio Linhares (mac:application/x-apple-diskimage, .dmg; application/epub\+zip, .epub; application/x-ibooks\+zip, .ibooks; application/x-mobipocket-ebook, .mobi). https://github.com/halostatue/mime-types/issue/22 * rss content type by Garret Alfert (application/rss\+xml, .rss). https://github.com/halostatue/mime-types/issue/23 * Added or updated MIME types from the latest IANA list. * Fixed MIME Types: * Excel macro-enabled spreadsheets had an incorrect extension. Thanks to Rafael Belvederese for reporting this issue. https://github.com/halostatue/mime-types/issue/21 * Enabled for use with travis. * Enabled gem signing. * Fixed an error related to MIME type downloads. * This was previously published as 1.20, but I had forgotten some attributions.