mime-types 1.16 → 3.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.standard.yml +4 -0
- data/Code-of-Conduct.md +73 -0
- data/Contributing.md +133 -0
- data/History.md +335 -0
- data/Licence.md +25 -0
- data/Manifest.txt +27 -7
- data/README.rdoc +194 -0
- data/Rakefile +191 -278
- data/lib/mime/type/columnar.rb +57 -0
- data/lib/mime/type.rb +660 -0
- data/lib/mime/types/_columnar.rb +137 -0
- data/lib/mime/types/cache.rb +54 -0
- data/lib/mime/types/columnar.rb +3 -0
- data/lib/mime/types/container.rb +96 -0
- data/lib/mime/types/deprecations.rb +36 -0
- data/lib/mime/types/full.rb +19 -0
- data/lib/mime/types/loader.rb +159 -0
- data/lib/mime/types/logger.rb +37 -0
- data/lib/mime/types/registry.rb +90 -0
- data/lib/mime/types.rb +197 -715
- data/lib/mime-types.rb +3 -0
- data/test/bad-fixtures/malformed +9 -0
- data/test/fixture/json.json +1 -0
- data/test/fixture/old-data +9 -0
- data/test/fixture/yaml.yaml +55 -0
- data/test/minitest_helper.rb +10 -0
- data/test/test_mime_type.rb +585 -284
- data/test/test_mime_types.rb +134 -83
- data/test/test_mime_types_cache.rb +118 -0
- data/test/test_mime_types_class.rb +164 -0
- data/test/test_mime_types_lazy.rb +49 -0
- data/test/test_mime_types_loader.rb +32 -0
- metadata +295 -110
- data/History.txt +0 -107
- data/Install.txt +0 -17
- data/Licence.txt +0 -15
- data/README.txt +0 -28
- data/lib/mime/types.rb.data +0 -1324
- data/mime-types.gemspec +0 -43
- data/setup.rb +0 -1585
- data.tar.gz.sig +0 -2
- metadata.gz.sig +0 -0
data/mime-types.gemspec
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{mime-types}
|
5
|
-
s.version = "1.16"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Austin Ziegler"]
|
9
|
-
s.cert_chain = ["/Users/austin/.gem/gem-public_cert.pem"]
|
10
|
-
s.date = %q{2009-03-01}
|
11
|
-
s.description = %q{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.}
|
12
|
-
s.email = ["austin@rubyforge.org"]
|
13
|
-
s.extra_rdoc_files = ["History.txt", "Install.txt", "Licence.txt", "README.txt"]
|
14
|
-
s.files = ["History.txt", "Install.txt", "Licence.txt", "Manifest.txt", "README.txt", "Rakefile", "lib/mime/types.rb", "lib/mime/types.rb.data", "setup.rb", "test/test_mime_type.rb", "test/test_mime_types.rb"]
|
15
|
-
s.has_rdoc = true
|
16
|
-
s.homepage = %q{http://mime-types.rubyforge.org/}
|
17
|
-
s.rdoc_options = ["--main", "README.txt"]
|
18
|
-
s.require_paths = ["lib"]
|
19
|
-
s.rubyforge_project = %q{mime-types}
|
20
|
-
s.rubygems_version = %q{1.3.1}
|
21
|
-
s.signing_key = %q{/Users/austin/.gem/gem-private_key.pem}
|
22
|
-
s.summary = %q{Manages a MIME Content-Type database that will return the Content-Type for a given filename.}
|
23
|
-
s.test_files = ["test/test_mime_type.rb", "test/test_mime_types.rb"]
|
24
|
-
|
25
|
-
if s.respond_to? :specification_version then
|
26
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
27
|
-
s.specification_version = 2
|
28
|
-
|
29
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
30
|
-
s.add_development_dependency(%q<archive-tar-minitar>, ["~> 0.5.1"])
|
31
|
-
s.add_development_dependency(%q<nokogiri>, ["~> 1.2.1"])
|
32
|
-
s.add_development_dependency(%q<hoe>, [">= 1.8.3"])
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<archive-tar-minitar>, ["~> 0.5.1"])
|
35
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.2.1"])
|
36
|
-
s.add_dependency(%q<hoe>, [">= 1.8.3"])
|
37
|
-
end
|
38
|
-
else
|
39
|
-
s.add_dependency(%q<archive-tar-minitar>, ["~> 0.5.1"])
|
40
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.2.1"])
|
41
|
-
s.add_dependency(%q<hoe>, [">= 1.8.3"])
|
42
|
-
end
|
43
|
-
end
|