Sha256: ec2a721e4fed4da16ee16d3e244db553e302c09af033dd08329eac98344f0488

Contents?: true

Size: 628 Bytes

Versions: 43

Compression:

Stored size: 628 Bytes

Contents

# -*- ruby encoding: utf-8 -*-

class MIME::Types::Loader
  # The path that will be used for loading the MIME::Types data. The default
  # location is __FILE__/../../../../data, which is where the data lives
  # in the gem installation of the mime-types library.
  #
  # The MIME::Types::Loader will load all JSON or columnar files contained in
  # this path.
  #
  # System repackagers note: this is the constant that you would change if
  # you repackage mime-types for your system. It is recommended that the
  # path be something like /usr/share/ruby/mime-types/.
  PATH = File.expand_path('../../../../data', __FILE__)
end

Version data entries

43 entries across 41 versions & 11 rubygems

Version Path
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.7 vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.6 vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.5 vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.4 vendor/bundle/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/mime-types-2.99.3/lib/mime/types/loader_path.rb
tdiary-5.0.2 vendor/bundle/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
mime-types-2.99.3 lib/mime/types/loader_path.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
tdiary-5.0.1 vendor/bundle/gems/mime-types-2.99.2/lib/mime/types/loader_path.rb
mime-types-2.99.2 lib/mime/types/loader_path.rb