This library allows for the identification of a file's likely MIME content type. This is release 1.17.1. The identification of MIME content type is based on a file's filename extensions. MIME::Types for Ruby 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. Homepage:: http://mime-types.rubyforge.org/ GitHub:: http://github.com/halostatue/mime-types/ Copyright:: 2002 - 2011, Austin Ziegler Based in part on prior work copyright Mark Overmeer :include: License.rdoc
Gemfile gem 'mime-types', '~> 1.17.1'
install gem install mime-types -v 1.17.1