Skip to content
Commits on Feb 22, 2016
Commits on Sep 14, 2015
  1. Merge pull request #105 from JuanitoFatas/doc/readme

    Fix a section link in README.rdoc [ci skip]
    committed Sep 13, 2015
Commits on Sep 2, 2015
  1. Merge pull request #109 from mattbeedle/fix-typo

    Fix typo in MIME::Type::Columnar
    committed Sep 2, 2015
Commits on Sep 1, 2015
  1. Fix typo in MIME::Type::Columnar

    mattbeedle committed Sep 1, 2015
Commits on Aug 24, 2015
  1. Merge pull request #108 from losadaem/107-each-with-object

    'each_with_object' passes the given object as last argument.
    committed Aug 24, 2015
  2. @losadaem
Commits on May 28, 2015
  1. @JuanitoFatas
Commits on May 27, 2015
  1. @JuanitoFatas
Commits on May 25, 2015
  1. Final 2.6.1 release activity.

    committed May 25, 2015
  2. Merge pull request #104 from jeremyevans/261

    Bump version to 2.6.1
    committed May 25, 2015
  3. @jeremyevans

    Bump version to 2.6.1

    jeremyevans committed May 25, 2015
  4. Merge pull request #103 from jeremyevans/fix_columnar_ext

    Record all extensions when using the columnar store
    committed May 25, 2015
  5. Merge pull request #102 from jeremyevans/no_circ_req

    Avoid circular require when you do require 'mime/types/columnar'
    committed May 25, 2015
  6. @jeremyevans
  7. @jeremyevans
  8. Merge pull request #101 from mime-types/2.6-work

    Release 2.6
    Fixes #83 (Decrease Memory Usage).
    Fixes #84 (Requiring mime/types accounts for 2% of all application RAM).
    Based on and Fixes #96.
    committed May 25, 2015
  9. mime-types 2.6 release ready code.

    - Extend documentation.
    - Add a logger and logger configuration.
    - Add more tests to Travis.
    - Update MIME registry.
    committed May 12, 2015
  10. Make column format optional, JSON is default.

    - For mime-types 2.6, columnar support is opt-in and will not be changed to
      default until mime-types 3.0. Restore JSON by default with
      mime/types/columnar for enabling it.
    - Rename from .txt to .column; fix some of the type errors in conversion caused
      by previously undetected bad data.
    - Keep the PATH protocol even though none of the Linux distributions are using
      it now.
    - Fix up the conversion method and benchmarking.
    committed May 12, 2015
  11. Deprecations are noisy, now.

    committed May 12, 2015
  12. @jeremyevans

    Use text-based columnar storage

    This changes the default data for mime-types from a JSON file to a set of text
    files, with one line per mime type, and one file per mime type attribute. This
    only loads the content_type and extensions for mime-types by default, reducing
    default memory usage of mime-types from over 22MB to just over 2MB.
    Additionally, it speeds up requiring from 0.38 seconds to about 0.10 seconds.
    Even when loading all of the attributes for the mime types, the memory usage of
    mime-types stays under 11MB, though load time increases to 0.52 seconds. I
    think that is an acceptable trade off.
    If the txt files are shipped instead of the json file, there is also a disk
    space savings of 167KB (392KB instead of 560KB).
    rake convert:yaml:txt has been added for converting the yaml files to the
    necessary txt files. In order to get the conversion to work, I had to make
    convert.rb turn on lazy loading for mime types.
    This should be completely backwards compatible if a path is given containing
    the types. The only current backwards compatibility difference is for the
    "text/directory - DEPRECATED by RFC6350" mime type, which looks to me like an
    invalid mime type anyway, and probably should be removed.
    * Pool encoding strings. Use a single string for each encoding. This decreases
      the number of encoding strings stored by default from 1909 to 4, saving about
      700KB of memory by default on 64-bit MRI.
    * While here, reduce object allocations while loading data from the mime type
      txt files.
    * Clear cache file in lazy test. This was causing the test-order dependent bug
      on JRuby. The clear_cache_file code was taken from the cache test.
    jeremyevans committed with Apr 25, 2015
Commits on May 24, 2015
  1. Merge pull request #100 from blanquer/avoid_mime_gem_conflict

    Avoid conflict with existing `mime` gem
    committed May 23, 2015
  2. @blanquer

    Avoid conflict with existing `mime` gem

    * Moved lib/mime.rb away from top-level (otherwise the loading paths would use the file instead of the existing gem’s).
    * Still apply the compatibility patch on the `MIME` module.
    blanquer committed May 22, 2015
Commits on May 12, 2015
  1. Merge pull request #99 from stevenmichaelthomas/feature_add-woff2-to-…

    Add woff2 to application/font-woff extensions
    committed May 12, 2015
  2. @stevenmichaelthomas
Commits on Apr 27, 2015
Commits on Apr 25, 2015
  1. --amend

    committed Apr 25, 2015
  2. Release mime-types 2.5.

    - The home for mime-types has changed. It is no longer, but instead
    - Updated the documentation to point to the new home.
    committed Apr 25, 2015
  3. Updated MIME types from IANA.

    committed Apr 24, 2015
  4. Fix an incomplete IANA registry import change.

    - Handle text-based obsoletions.
    - Add a new `xref` type, 'notes'.
    - Remove some workarounds for broken links that are no longer broken.
    committed Apr 24, 2015
Something went wrong with that request. Please try again.