rubygem-mime-types_1.25.1_all.deb

STEP 1: Have you installed this repository?

If not, run this installation script command:

curl -s https://packagecloud.io/install/repositories/allan/vendor/script.deb.sh | sudo bash
copy
curl -s https://packagecloud.io/install/repositories/allan/vendor/script.deb.sh | sudo bash

STEP 2: Install the package
sudo apt-get install rubygem-mime-types=1.25.1

This library allows for the identification of a file's likely MIME content

Full description:
  This library allows for the identification of a file's likely MIME content
 type. This is release 1.25.1, fixing an issue with priority comparison for
 mime-types 1.x. The current release is 2.0, which only supports Ruby 1.9 or
 later.
 .
 Release 1.25.1 contains all features of 1.25, including the experimental
 caching and lazy loading functionality. The caching and lazy loading features
 were initially implemented by Greg Brockman (gdb). As these features are
 experimental, they are disabled by default and must be enabled through the use
 of environment variables. The cache is invalidated on a per-version basis; the
 cache for version 1.25 will not be reused for any later version.
 .
 To use lazy loading, set the environment variable +RUBY_MIME_TYPES_LAZY_LOAD+
 to any value other than 'false'. When using lazy loading, the initial startup
 of MIME::Types is around 12–25× faster than normal startup (on my system,
 normal startup is about 90 ms; lazy startup is about 4 ms). This isn't
 generally useful, however, as the MIME::Types database has not been loaded.
 Lazy startup and load is just *slightly* faster—around 1 ms. The real advantage
 comes from using the cache.
 .
 To enable the cache, set the environment variable +RUBY_MIME_TYPES_CACHE+ to a
 filename where MIME::Types will have read-write access. The first time a new
 version of MIME::Types is run using this file, it will be created, taking a
 little longer than normal. Subsequent loads using the same cache file will be
 approximately 3½× faster (25 ms) than normal loads. This can be combined with
 +RUBY_MIME_TYPES_LAZY_LOAD+, but this is *not* recommended in a multithreaded
 or multiprocess environment where all threads or processes will be using the
 same cache file.
 .
 As the caching interface is still experimental, the only values cached are the
 default MIME::Types database, not any custom MIME::Types added by users.
 .
 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 MIME::Types for Perl by Mark
 Overmeer, copyright 2001 - 2009.
 .
 MIME::Types 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.

Checksums

MD5 71c26b6c0b0e61004ea5717074375588
SHA1 42761b36df7a84b7634eb2a69a025f5d5d0a04dd
SHA256 39d55e1da2c074639ef687b8cd7f1c6f1e36083ef53b162d1e5998af1a8532ea
SHA512 d5a51f7e81a443804b9a192eb8f2ccd6c543ad898bd665bbc1159da1499e0e7b116e7e64e632eeabf446ef4f242321627e7f9fdee52bd4c37846fcb68042738e

Provides

  • rubygem-mime-types

Files

  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/lib/mime/types/application.nonstandard
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/lib/mime/types/application.mac
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/lib/mime/types/application
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/lib/mime/types.rb
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/lib/mime-types.rb
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/History.rdoc
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/Gemfile
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/docs/COPYING.txt
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/docs/artistic.txt
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/Contributing.rdoc
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/.travis.yml
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/.hoerc
  • /var/lib/gems/2.1.0/gems/mime-types-1.25.1/.gemtest
  • /var/lib/gems/2.1.0/cache/mime-types-1.25.1.gem
  • /usr/share/doc/rubygem-mime-types/changelog.gz

Uploaded

almost 8 years ago

Package Size

114 KB

Installed Size

240 KB

Downloads

10

wget

wget --content-disposition "https://packagecloud.io/allan/vendor/packages/debian/jessie/rubygem-mime-types_1.25.1_all.deb/download.deb?distro_version_id=25"

Homepage

http://mime-types.rubyforge.org/