58 строки
4.4 KiB
Ruby
58 строки
4.4 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "mime-types"
|
|
s.version = "1.17.2"
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
s.authors = ["Austin Ziegler"]
|
|
s.date = "2011-10-25"
|
|
s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.17.2. The identification of MIME content type is based\non a file's filename extensions.\n\nMIME::Types for Ruby originally based on and synchronized with MIME::Types for\nPerl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data\nformat for the MIME::Type list has changed and the synchronization will no\nlonger happen.\n\nHomepage:: http://mime-types.rubyforge.org/\nGitHub:: http://github.com/halostatue/mime-types/\nCopyright:: 2002 - 2011, Austin Ziegler\n Based in part on prior work copyright Mark Overmeer\n\n:include: License.rdoc"
|
|
s.email = ["austin@rubyforge.org"]
|
|
s.extra_rdoc_files = ["Manifest.txt", "type-lists/application.txt", "type-lists/audio.txt", "type-lists/image.txt", "type-lists/message.txt", "type-lists/model.txt", "type-lists/multipart.txt", "type-lists/text.txt", "type-lists/video.txt", "History.rdoc", "License.rdoc", "README.rdoc"]
|
|
s.files = [".hoerc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/mime/types.rb", "lib/mime/types/application", "lib/mime/types/application.mac", "lib/mime/types/application.nonstandard", "lib/mime/types/application.obsolete", "lib/mime/types/audio", "lib/mime/types/audio.nonstandard", "lib/mime/types/audio.obsolete", "lib/mime/types/image", "lib/mime/types/image.nonstandard", "lib/mime/types/image.obsolete", "lib/mime/types/message", "lib/mime/types/message.obsolete", "lib/mime/types/model", "lib/mime/types/multipart", "lib/mime/types/multipart.nonstandard", "lib/mime/types/multipart.obsolete", "lib/mime/types/other.nonstandard", "lib/mime/types/text", "lib/mime/types/text.nonstandard", "lib/mime/types/text.obsolete", "lib/mime/types/text.vms", "lib/mime/types/video", "lib/mime/types/video.nonstandard", "lib/mime/types/video.obsolete", "mime-types.gemspec", "test/test_mime_type.rb", "test/test_mime_types.rb", "type-lists/application.txt", "type-lists/audio.txt", "type-lists/image.txt", "type-lists/message.txt", "type-lists/model.txt", "type-lists/multipart.txt", "type-lists/text.txt", "type-lists/video.txt", "License.rdoc", ".gemtest"]
|
|
s.homepage = "http://mime-types.rubyforge.org/"
|
|
s.rdoc_options = ["--main", "README.rdoc"]
|
|
s.require_paths = ["lib"]
|
|
s.rubyforge_project = "mime-types"
|
|
s.rubygems_version = "1.8.10"
|
|
s.summary = "This library allows for the identification of a file's likely MIME content type"
|
|
s.test_files = ["test/test_mime_type.rb", "test/test_mime_types.rb"]
|
|
|
|
if s.respond_to? :specification_version then
|
|
s.specification_version = 3
|
|
|
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
s.add_development_dependency(%q<minitest>, [">= 2.6.2"])
|
|
s.add_development_dependency(%q<nokogiri>, ["~> 1.5"])
|
|
s.add_development_dependency(%q<minitest>, ["~> 2.0"])
|
|
s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<hoe-git>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<hoe>, ["~> 2.12"])
|
|
else
|
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
s.add_dependency(%q<minitest>, [">= 2.6.2"])
|
|
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
|
s.add_dependency(%q<minitest>, ["~> 2.0"])
|
|
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-git>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe>, ["~> 2.12"])
|
|
end
|
|
else
|
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
s.add_dependency(%q<minitest>, [">= 2.6.2"])
|
|
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
|
s.add_dependency(%q<minitest>, ["~> 2.0"])
|
|
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-git>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
|
s.add_dependency(%q<hoe>, ["~> 2.12"])
|
|
end
|
|
end
|