mime-types 1.17 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.rdoc +1 -1
- data/{Licence.rdoc → License.rdoc} +0 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/lib/mime/types.rb +3 -3
- data/mime-types.gemspec +8 -8
- metadata +6 -5
data/History.rdoc
CHANGED
File without changes
|
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
== Description
|
4
4
|
|
5
5
|
This library allows for the identification of a file's likely MIME content
|
6
|
-
type. This is release 1.17. The identification of MIME content type is based
|
6
|
+
type. This is release 1.17.1. The identification of MIME content type is based
|
7
7
|
on a file's filename extensions.
|
8
8
|
|
9
9
|
MIME::Types for Ruby originally based on and synchronized with MIME::Types for
|
data/lib/mime/types.rb
CHANGED
@@ -24,7 +24,7 @@ module MIME
|
|
24
24
|
# puts MIME::Type.simplified('x-appl/x-zip') # => 'appl/zip'
|
25
25
|
#
|
26
26
|
class Type
|
27
|
-
VERSION = '1.17'
|
27
|
+
VERSION = '1.17.1'
|
28
28
|
|
29
29
|
include Comparable
|
30
30
|
|
@@ -566,7 +566,7 @@ module MIME
|
|
566
566
|
# = Author
|
567
567
|
# Copyright:: Copyright (c) 2002 - 2009 by Austin Ziegler
|
568
568
|
# <austin@rubyforge.org>
|
569
|
-
# Version:: 1.17
|
569
|
+
# Version:: 1.17.1
|
570
570
|
# Based On:: Perl
|
571
571
|
# MIME::Types[http://search.cpan.org/author/MARKOV/MIME-Types-1.27/MIME/Types.pm],
|
572
572
|
# Copyright (c) 2001 - 2009 by Mark Overmeer
|
@@ -577,7 +577,7 @@ module MIME
|
|
577
577
|
#
|
578
578
|
class Types
|
579
579
|
# The released version of Ruby MIME::Types
|
580
|
-
VERSION = '1.17'
|
580
|
+
VERSION = '1.17.1'
|
581
581
|
|
582
582
|
# The data version.
|
583
583
|
attr_reader :data_version
|
data/mime-types.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "mime-types"
|
5
|
-
s.version = "1.
|
5
|
+
s.version = "1.17.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Austin Ziegler"]
|
9
|
-
s.date = "2011-10-
|
10
|
-
s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.17. 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/\nCopyright:: 2002 - 2011, Austin Ziegler\n Based in part on prior work copyright Mark Overmeer\n\n:include: License.rdoc"
|
9
|
+
s.date = "2011-10-24"
|
10
|
+
s.description = "This library allows for the identification of a file's likely MIME content\ntype. This is release 1.17.1. 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"
|
11
11
|
s.email = ["austin@rubyforge.org"]
|
12
|
-
s.extra_rdoc_files = ["
|
13
|
-
s.files = ["
|
12
|
+
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"]
|
13
|
+
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"]
|
14
14
|
s.homepage = "http://mime-types.rubyforge.org/"
|
15
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
26
|
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
|
27
27
|
s.add_development_dependency(%q<minitest>, [">= 2.6.2"])
|
28
|
-
s.add_development_dependency(%q<nokogiri>, ["~> 1.
|
28
|
+
s.add_development_dependency(%q<nokogiri>, ["~> 1.5"])
|
29
29
|
s.add_development_dependency(%q<minitest>, ["~> 2.0"])
|
30
30
|
s.add_development_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
31
31
|
s.add_development_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
else
|
36
36
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
37
37
|
s.add_dependency(%q<minitest>, [">= 2.6.2"])
|
38
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.
|
38
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
39
39
|
s.add_dependency(%q<minitest>, ["~> 2.0"])
|
40
40
|
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
41
41
|
s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
else
|
47
47
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
48
48
|
s.add_dependency(%q<minitest>, [">= 2.6.2"])
|
49
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.
|
49
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
50
50
|
s.add_dependency(%q<minitest>, ["~> 2.0"])
|
51
51
|
s.add_dependency(%q<hoe-doofus>, ["~> 1.0"])
|
52
52
|
s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mime-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 81
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 17
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 1.17.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Austin Ziegler
|
@@ -155,7 +156,7 @@ dependencies:
|
|
155
156
|
version_requirements: *id009
|
156
157
|
description: |-
|
157
158
|
This library allows for the identification of a file's likely MIME content
|
158
|
-
type. This is release 1.17. The identification of MIME content type is based
|
159
|
+
type. This is release 1.17.1. The identification of MIME content type is based
|
159
160
|
on a file's filename extensions.
|
160
161
|
|
161
162
|
MIME::Types for Ruby originally based on and synchronized with MIME::Types for
|
@@ -186,12 +187,12 @@ extra_rdoc_files:
|
|
186
187
|
- type-lists/text.txt
|
187
188
|
- type-lists/video.txt
|
188
189
|
- History.rdoc
|
189
|
-
-
|
190
|
+
- License.rdoc
|
190
191
|
- README.rdoc
|
191
192
|
files:
|
192
193
|
- .hoerc
|
193
194
|
- History.rdoc
|
194
|
-
-
|
195
|
+
- License.rdoc
|
195
196
|
- Manifest.txt
|
196
197
|
- README.rdoc
|
197
198
|
- Rakefile
|