jump to navigation

mime-types version 1.16 has been released!
Monday, 2 March 2009

Posted by austin in: Ruby, trackback

After an excessive amount of time, I’ve released MIME::Types 1.16. The primary purpose of this release is compatibility with Ruby 1.9.1, but I haven’t ignored the latest IANA registered types. I have also picked up a few other types that others submitted as patches and scanned through the latest version (1.27) of the Perl MIME::Types library.

MIME::Types for Ruby allows for the identification of a file’s likely MIME content type based on the file’s filename extension, or provides a list of extensions associated with a MIME content type, if known.

MIME::Types for Ruby originally based on and synchronized with the Perl version by Mark Overmeer, copyright 2001 – 2009. As of version 1.15, the data format for the MIME::Type list has changed and synchronization, if it happens, will be sporadic at best. The preferred source of input for a MIME::Type is the IANA registered list.

Copyright: 2002 – 2009, Austin Ziegler; based on prior work copyright Mark Overmeer.

Licence Notes

MIME::Types is available under Ruby’s disjunctive licence with the GNU GPL or the Perl Artistic licence. See the file Licence.txt in the package for full details.

Requirements and Installation

MIME::Types has been tested with Ruby 1.8.6, Ruby 1.8.7, Ruby 1.9.1, JRuby 1.1.6 (in Ruby 1.8 mode), and MacRuby 0.3.

MIME::Types can be installed with:

% ruby setup.rb

Alternatively, you can use the RubyGems version of MIME::Types available as mime-types-1.16.gem from the usual sources.

MIME::Types 1.16

Comments»

no comments yet - be the first?


By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. The owner of this site reserves the right to delete any comment for any reason. Anonymous comments are not allowed: if you wish to make a comment on any post on this site, you must be willing to own your words with either a valid email address that the site owner can verify or your URL must point to a valid site identifying you. Pseudonymous comments that can be validated as noted above are permitted. Anonymous comments will be deleted.