mime-types 1.17.2 → 1.18
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/.gitignore +8 -0
- data/.hoerc +0 -2
- data/History.rdoc +16 -12
- data/Licence.rdoc +12 -0
- data/Manifest.txt +2 -1
- data/README.rdoc +6 -6
- data/Rakefile +1 -2
- data/lib/mime/types.rb +18 -13
- data/lib/mime/types/application +3 -0
- data/lib/mime/types/application.nonstandard +5 -2
- data/lib/mime/types/audio +32 -31
- data/lib/mime/types/text.nonstandard +1 -0
- data/lib/mime/types/video +7 -6
- data/mime-types.gemspec +15 -15
- data/test/test_mime_type.rb +1 -1
- metadata +152 -157
- data/License.rdoc +0 -10
data/.gitignore
ADDED
data/.hoerc
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
---
|
2
2
|
publish_on_announce: false
|
3
3
|
exclude: !ruby/regexp /\.(?:svn|git)|(?:\.(?:swp|hoerc|DS_Store)|~|email.txt)$|(?:coverage|type-lists)\//
|
4
|
-
signing_key_file: ~/.gem/gem-private_key.pem
|
5
|
-
signing_cert_file: ~/.gem/gem-public_cert.pem
|
6
4
|
blogs:
|
7
5
|
- user: user
|
8
6
|
url: url
|
data/History.rdoc
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
== MIME::Types 1.18 / 2012-03-20
|
2
|
+
* New MIME Types:
|
3
|
+
* Types reported in Issue #6 (https://github.com/halostatue/mime-types/issues/6):
|
4
|
+
* CoffeeScript (text/x-coffeescript; .coffee; 8bit).
|
5
|
+
* AIR (application/vnd.adobe.air-applicationinstaller-package+zip, .air; base64).
|
6
|
+
* WOFF (application/font-woff; .woff; base64).
|
7
|
+
* TrueType (application/x-font-truetype; .ttf; base64).
|
8
|
+
* OpenType (application/x-font-opentype; .otf; base64).
|
9
|
+
* WebM (audio/webm, video/webm; .webm). Issue #11 (https://github.com/halostatue/mime-types/issues/11).
|
10
|
+
* New extensions:
|
11
|
+
* f4v/f4p (video/mp4, used by Adobe); f4a/fb4 (audio/mp4, used by Adobe).
|
12
|
+
* Bug Fixes:
|
13
|
+
* It was pointed out that Licence.txt was incorrectly named. Fixed by renaming to Licence.rdoc (from Issue/Pull Request #8, https://github.com/halostatue/mime-types/issues/8).
|
14
|
+
* It was pointed out that a plan to have the test output generated automatically never went through. Issue #10 (https://github.com/halostatue/mime-types/issues/10)
|
15
|
+
|
1
16
|
== MIME::Types 1.17.2 / 2011-10-25
|
2
17
|
* Bug Fixes:
|
3
18
|
* Fixed an issue with Ruby 1.9 and file encoding.
|
@@ -51,7 +66,7 @@
|
|
51
66
|
* Added two new best-guess implementations of functions found in Perl's
|
52
67
|
MIME::Types implementation (1.13). Do not rely on these until the purpose
|
53
68
|
and implementation is stabilised.
|
54
|
-
* Updated the MIME list to reflect changes noted by
|
69
|
+
* Updated the MIME list to reflect changes noted by
|
55
70
|
Ville Skyttä <ville.skytta@iki.fi>.
|
56
71
|
* Added a new constant to MIME::Types, DATA_VERSION. This will allow the Ruby
|
57
72
|
version number to be updated separately from the Perl version while keeping
|
@@ -115,14 +130,3 @@
|
|
115
130
|
|
116
131
|
== MIME::Types 1.003
|
117
132
|
* Initial release based on Perl MIME::Types 1.003.
|
118
|
-
|
119
|
-
== Copyright
|
120
|
-
MIME::Types
|
121
|
-
A Ruby implementation of a MIME Types information library. Based in spirit
|
122
|
-
on the Perl MIME::Types information library by Mark Overmeer.
|
123
|
-
http://rubyforge.org/projects/mime-types/
|
124
|
-
|
125
|
-
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl
|
126
|
-
Artistic licence. See Licence.txt for more information.
|
127
|
-
|
128
|
-
Copyright 2003 - 2009 Austin Ziegler
|
data/Licence.rdoc
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
== Licence
|
2
|
+
|
3
|
+
This software is available under a triple disjunctive licence:
|
4
|
+
{Ruby's licence}[http://www.ruby-lang.org/en/LICENSE.txt],
|
5
|
+
the
|
6
|
+
{Perl Artistic licence}[http://www.perl.com/pub/a/language/misc/Artistic.html],
|
7
|
+
or the {GNU GPL version 2}[http://www.gnu.org/licenses/old-licenses/gpl-2.0.html]
|
8
|
+
(or at your option, any later verison).
|
9
|
+
|
10
|
+
If you do not accept one of these licences, you may not use this software.
|
11
|
+
|
12
|
+
* Copyright 2003–2012 Austin Ziegler.
|
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= MIME::Types for Ruby
|
2
2
|
|
3
|
+
home :: http://mime-types.rubyforge.org/
|
4
|
+
code :: https://github.com/halostatue/mime-types/
|
5
|
+
bugs :: https://github.com/halostatue/mime-types/issues
|
6
|
+
rdoc :: http://mime-types.rubyforge.org/
|
7
|
+
|
3
8
|
== Description
|
4
9
|
|
5
10
|
This library allows for the identification of a file's likely MIME content
|
@@ -11,9 +16,4 @@ Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
|
|
11
16
|
format for the MIME::Type list has changed and the synchronization will no
|
12
17
|
longer happen.
|
13
18
|
|
14
|
-
|
15
|
-
GitHub:: http://github.com/halostatue/mime-types/
|
16
|
-
Copyright:: 2002 - 2011, Austin Ziegler
|
17
|
-
Based in part on prior work copyright Mark Overmeer
|
18
|
-
|
19
|
-
:include: License.rdoc
|
19
|
+
:include: Licence.rdoc
|
data/Rakefile
CHANGED
@@ -14,8 +14,7 @@ spec = Hoe.spec 'mime-types' do
|
|
14
14
|
|
15
15
|
developer('Austin Ziegler', 'austin@rubyforge.org')
|
16
16
|
|
17
|
-
self.
|
18
|
-
self.remote_rdoc_dir = 'rdoc'
|
17
|
+
self.remote_rdoc_dir = '.'
|
19
18
|
self.rsync_args << ' --exclude=statsvn/'
|
20
19
|
|
21
20
|
self.history_file = 'History.rdoc'
|
data/lib/mime/types.rb
CHANGED
@@ -24,7 +24,8 @@ module MIME
|
|
24
24
|
# puts MIME::Type.simplified('x-appl/x-zip') # => 'appl/zip'
|
25
25
|
#
|
26
26
|
class Type
|
27
|
-
|
27
|
+
# The released version of Ruby MIME::Types
|
28
|
+
VERSION = '1.18'
|
28
29
|
|
29
30
|
include Comparable
|
30
31
|
|
@@ -44,7 +45,7 @@ module MIME
|
|
44
45
|
LTSW_URL = "http://www.ltsw.se/knbase/internet/%s.htp"
|
45
46
|
CONTACT_URL = "http://www.iana.org/assignments/contact-people.htm#%s"
|
46
47
|
|
47
|
-
# Returns +true+ if the simplified type matches the current
|
48
|
+
# Returns +true+ if the simplified type matches the current
|
48
49
|
def like?(other)
|
49
50
|
if other.respond_to?(:simplified)
|
50
51
|
@simplified == other.simplified
|
@@ -138,7 +139,7 @@ module MIME
|
|
138
139
|
# x-chemical/x-pdb => pdb
|
139
140
|
attr_reader :sub_type
|
140
141
|
# Returns the media type of the unmodified MIME type.
|
141
|
-
#
|
142
|
+
#
|
142
143
|
# text/plain => plain
|
143
144
|
# x-chemical/x-pdb => x-pdb
|
144
145
|
attr_reader :raw_sub_type
|
@@ -185,7 +186,7 @@ module MIME
|
|
185
186
|
# The regexp for the operating system that this MIME::Type is specific
|
186
187
|
# to.
|
187
188
|
attr_accessor :system
|
188
|
-
remove_method :system= ;
|
189
|
+
remove_method :system= ;
|
189
190
|
def system=(os) #:nodoc:
|
190
191
|
if os.nil? or os.kind_of?(Regexp)
|
191
192
|
@system = os
|
@@ -359,7 +360,7 @@ module MIME
|
|
359
360
|
# end
|
360
361
|
def from_hash(hash) #:yields MIME::Type.new:
|
361
362
|
type = {}
|
362
|
-
hash.each_pair do |k, v|
|
363
|
+
hash.each_pair do |k, v|
|
363
364
|
type[k.to_s.tr('A-Z', 'a-z').gsub(/-/, '_').to_sym] = v
|
364
365
|
end
|
365
366
|
|
@@ -400,7 +401,7 @@ module MIME
|
|
400
401
|
t.registered = mime_type.registered?
|
401
402
|
|
402
403
|
mime_type.docs && t.docs = mime_type.docs.dup
|
403
|
-
|
404
|
+
|
404
405
|
end
|
405
406
|
|
406
407
|
yield m if block_given?
|
@@ -566,7 +567,7 @@ module MIME
|
|
566
567
|
# = Author
|
567
568
|
# Copyright:: Copyright (c) 2002 - 2009 by Austin Ziegler
|
568
569
|
# <austin@rubyforge.org>
|
569
|
-
# Version:: 1.
|
570
|
+
# Version:: 1.18
|
570
571
|
# Based On:: Perl
|
571
572
|
# MIME::Types[http://search.cpan.org/author/MARKOV/MIME-Types-1.27/MIME/Types.pm],
|
572
573
|
# Copyright (c) 2001 - 2009 by Mark Overmeer
|
@@ -577,7 +578,7 @@ module MIME
|
|
577
578
|
#
|
578
579
|
class Types
|
579
580
|
# The released version of Ruby MIME::Types
|
580
|
-
VERSION =
|
581
|
+
VERSION = MIME::Type::VERSION
|
581
582
|
|
582
583
|
# The data version.
|
583
584
|
attr_reader :data_version
|
@@ -651,10 +652,12 @@ module MIME
|
|
651
652
|
# filename extension. If +platform+ is +true+, then only file types that
|
652
653
|
# are specific to the current platform will be returned.
|
653
654
|
#
|
655
|
+
# This will always return an array.
|
656
|
+
#
|
654
657
|
# puts "MIME::Types.type_for('citydesk.xml')
|
655
|
-
# =>
|
658
|
+
# => [application/xml, text/xml]
|
656
659
|
# puts "MIME::Types.type_for('citydesk.gif')
|
657
|
-
# =>
|
660
|
+
# => [image/gif]
|
658
661
|
def type_for(filename, platform = false)
|
659
662
|
ext = filename.chomp.downcase.gsub(/.*\./o, '')
|
660
663
|
list = @extension_index[ext]
|
@@ -765,7 +768,7 @@ module MIME
|
|
765
768
|
|
766
769
|
begin
|
767
770
|
m = TEXT_FORMAT_RE.match(item).captures
|
768
|
-
rescue Exception
|
771
|
+
rescue Exception
|
769
772
|
puts "#{filename}:#{index}: Parsing error in MIME type definitions."
|
770
773
|
puts "=> #{line}"
|
771
774
|
raise
|
@@ -814,10 +817,12 @@ module MIME
|
|
814
817
|
# its filename extension. If +platform+ is +true+, then only file
|
815
818
|
# types that are specific to the current platform will be returned.
|
816
819
|
#
|
820
|
+
# This will always return an array.
|
821
|
+
#
|
817
822
|
# puts "MIME::Types.type_for('citydesk.xml')
|
818
|
-
# =>
|
823
|
+
# => [application/xml, text/xml]
|
819
824
|
# puts "MIME::Types.type_for('citydesk.gif')
|
820
|
-
# =>
|
825
|
+
# => [image/gif]
|
821
826
|
def type_for(filename, platform = false)
|
822
827
|
@__types__.type_for(filename, platform)
|
823
828
|
end
|
data/lib/mime/types/application
CHANGED
@@ -53,6 +53,7 @@ application/fastinfoset 'IANA,[ITU-T ASN.1 Rapporteur]
|
|
53
53
|
application/fastsoap 'IANA,[ITU-T ASN.1 Rapporteur]
|
54
54
|
application/fits 'IANA,RFC4047
|
55
55
|
application/font-tdpfr @pfr 'IANA,RFC3073
|
56
|
+
application/font-woff @woff :base64 'W3C,{WOFF=http://www.w3.org/TR/WOFF/#appendix-b}
|
56
57
|
application/framework-attributes+xml 'IANA,RFC6230
|
57
58
|
application/held+xml 'IANA,RFC5985
|
58
59
|
application/http 'IANA,RFC2616
|
@@ -247,6 +248,7 @@ application/vnd.accpac.simply.aso 'IANA,[Leow]
|
|
247
248
|
application/vnd.accpac.simply.imp 'IANA,[Leow]
|
248
249
|
application/vnd.acucobol 'IANA,[Lubin]
|
249
250
|
application/vnd.acucorp @atc,acutc :7bit 'IANA,[Lubin]
|
251
|
+
application/vnd.adobe.air-applicationinstaller-package+zip @air :base64
|
250
252
|
application/vnd.adobe.fxp 'IANA,[Brambley],[Heintz]
|
251
253
|
application/vnd.adobe.partial-upload 'IANA,[Otala]
|
252
254
|
application/vnd.adobe.xdp+xml 'IANA,[Brinkman]
|
@@ -259,6 +261,7 @@ application/vnd.airzip.filesecure.azs 'IANA,[Mould],[Clueit]
|
|
259
261
|
application/vnd.americandynamics.acc 'IANA,[Sands]
|
260
262
|
application/vnd.amiga.ami @ami 'IANA,[Blumberg]
|
261
263
|
application/vnd.amundsen.maze+xml 'IANA,[Amundsen]
|
264
|
+
application/vnd.android.package-archive @apk
|
262
265
|
application/vnd.anser-web-certificate-issue-initiation 'IANA,[Mori]
|
263
266
|
application/vnd.antix.game-component 'IANA,[Shelton]
|
264
267
|
application/vnd.apple.installer+xml 'IANA,[Bierman]
|
@@ -53,6 +53,8 @@ application/x-drafting
|
|
53
53
|
application/x-dvi @dvi :base64 'LTSW
|
54
54
|
application/x-dxf
|
55
55
|
application/x-excel
|
56
|
+
application/x-font-truetype @ttf :base64
|
57
|
+
application/x-font-opentype @otf :base64
|
56
58
|
application/x-fractals
|
57
59
|
application/x-futuresplash @spl
|
58
60
|
application/x-ghostview
|
@@ -76,11 +78,14 @@ application/x-macbinary
|
|
76
78
|
application/x-maker @frm,maker,frame,fm,fb,book,fbdoc =use-instead:application/vnd.framemaker
|
77
79
|
application/x-mathematica-old
|
78
80
|
application/x-mif @mif 'LTSW
|
81
|
+
application/x-ms-wmd @wmd
|
82
|
+
application/x-ms-wmz @wmz
|
79
83
|
application/x-msaccess @mda,mdb,mde,mdf
|
80
84
|
application/x-msdos-program @cmd,bat,com,exe :base64
|
81
85
|
application/x-msdownload @exe,com :base64
|
82
86
|
application/x-netcdf @nc,cdf
|
83
87
|
application/x-ns-proxy-autoconfig @pac
|
88
|
+
application/x-opera-extension @oex
|
84
89
|
application/x-pagemaker @pm,pm5,pt5
|
85
90
|
application/x-perl @pl,pm :8bit
|
86
91
|
application/x-pgp
|
@@ -110,5 +115,3 @@ application/x-ustar @ustar :base64 'LTSW
|
|
110
115
|
application/x-wais-source @src 'LTSW
|
111
116
|
application/x-wordperfect6.1 @wp6
|
112
117
|
application/x-x509-ca-cert @crt :base64
|
113
|
-
application/x-ms-wmz @wmz
|
114
|
-
application/x-ms-wmd @wmd
|
data/lib/mime/types/audio
CHANGED
@@ -2,16 +2,27 @@ audio/1d-interleaved-parityfec 'IANA,RFC6015
|
|
2
2
|
audio/32kadpcm 'IANA,RFC3802,RFC2421
|
3
3
|
audio/3gpp 'IANA,RFC3839,RFC6381
|
4
4
|
audio/3gpp2 'IANA,RFC4393,RFC6381
|
5
|
+
audio/ac3 'IANA,RFC4184
|
5
6
|
audio/AMR @amr :base64 'RFC4867
|
6
7
|
audio/AMR-WB @awb :base64 'RFC4867
|
8
|
+
audio/amr-wb+ 'IANA,RFC4352
|
9
|
+
audio/asc 'IANA,RFC6295
|
7
10
|
audio/ATRAC-ADVANCED-LOSSLESS 'IANA,RFC5584
|
8
11
|
audio/ATRAC-X 'IANA,RFC5584
|
9
12
|
audio/ATRAC3 'IANA,RFC5584
|
13
|
+
audio/basic @au,snd :base64 'IANA,RFC2045,RFC2046
|
10
14
|
audio/BV16 'IANA,RFC4298
|
11
15
|
audio/BV32 'IANA,RFC4298
|
16
|
+
audio/clearmode 'IANA,RFC4040
|
12
17
|
audio/CN 'IANA,RFC3389
|
13
18
|
audio/DAT12 'IANA,RFC3190
|
19
|
+
audio/dls 'IANA,RFC4613
|
20
|
+
audio/dsr-es201108 'IANA,RFC3557
|
21
|
+
audio/dsr-es202050 'IANA,RFC4060
|
22
|
+
audio/dsr-es202211 'IANA,RFC4060
|
23
|
+
audio/dsr-es202212 'IANA,RFC4060
|
14
24
|
audio/DVI4 'IANA,RFC4856
|
25
|
+
audio/eac3 'IANA,RFC4598
|
15
26
|
audio/EVRC @evc 'IANA,RFC4788
|
16
27
|
audio/EVRC-QCP 'IANA,RFC3625
|
17
28
|
audio/EVRC0 'IANA,RFC4788
|
@@ -22,6 +33,8 @@ audio/EVRCB1 'IANA,RFC4788
|
|
22
33
|
audio/EVRCWB 'IANA,RFC5188
|
23
34
|
audio/EVRCWB0 'IANA,RFC5188
|
24
35
|
audio/EVRCWB1 'IANA,RFC5188
|
36
|
+
audio/example 'IANA,RFC4735
|
37
|
+
audio/fwdred 'IANA,RFC6354
|
25
38
|
audio/G719 'IANA,RFC5404
|
26
39
|
audio/G722 'IANA,RFC4856
|
27
40
|
audio/G7221 'IANA,RFC5577
|
@@ -38,62 +51,49 @@ audio/G729E 'IANA,RFC4856
|
|
38
51
|
audio/GSM 'IANA,RFC4856
|
39
52
|
audio/GSM-EFR 'IANA,RFC4856
|
40
53
|
audio/GSM-HR-08 'IANA,RFC5993
|
54
|
+
audio/iLBC 'IANA,RFC3952
|
55
|
+
audio/ip-mr_v2.5 'IANA,RFC6262
|
41
56
|
audio/L16 @l16 'IANA,RFC4856
|
42
57
|
audio/L20 'IANA,RFC3190
|
43
58
|
audio/L24 'IANA,RFC3190
|
44
59
|
audio/L8 'IANA,RFC4856
|
45
60
|
audio/LPC 'IANA,RFC4856
|
46
|
-
audio/
|
61
|
+
audio/mobile-xmf 'IANA,RFC4723
|
62
|
+
audio/mp4 @mp4,mpg4,f4a,f4b 'IANA,RFC4337,{Adobe=http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.html}
|
63
|
+
audio/MP4A-LATM @m4a 'IANA,RFC6416
|
47
64
|
audio/MPA 'IANA,RFC3555
|
65
|
+
audio/mpa-robust 'IANA,RFC5219
|
66
|
+
audio/mpeg @mpga,mp2,mp3 :base64 'IANA,RFC3003
|
67
|
+
audio/mpeg4-generic 'IANA,RFC3640,RFC5691,RFC6295
|
68
|
+
audio/ogg @ogg 'IANA,RFC5334
|
69
|
+
audio/parityfec 'IANA,RFC5109
|
48
70
|
audio/PCMA 'IANA,RFC4856
|
49
71
|
audio/PCMA-WB 'IANA,RFC5391
|
50
72
|
audio/PCMU 'IANA,RFC4856
|
51
73
|
audio/PCMU-WB 'IANA,RFC5391
|
74
|
+
audio/prs.sid 'IANA,[Walleij]
|
52
75
|
audio/QCELP 'IANA,RFC3555,RFC3625
|
53
76
|
audio/RED 'IANA,RFC3555
|
54
|
-
audio/SMV @smv 'IANA,RFC3558
|
55
|
-
audio/SMV-QCP 'IANA,RFC3625
|
56
|
-
audio/SMV0 'IANA,RFC3558
|
57
|
-
audio/UEMCLIP 'IANA,RFC5686
|
58
|
-
audio/VDVI 'IANA,RFC4856
|
59
|
-
audio/VMR-WB 'IANA,RFC4348,RFC4424
|
60
|
-
audio/ac3 'IANA,RFC4184
|
61
|
-
audio/amr-wb+ 'IANA,RFC4352
|
62
|
-
audio/asc 'IANA,RFC6295
|
63
|
-
audio/basic @au,snd :base64 'IANA,RFC2045,RFC2046
|
64
|
-
audio/clearmode 'IANA,RFC4040
|
65
|
-
audio/dls 'IANA,RFC4613
|
66
|
-
audio/dsr-es201108 'IANA,RFC3557
|
67
|
-
audio/dsr-es202050 'IANA,RFC4060
|
68
|
-
audio/dsr-es202211 'IANA,RFC4060
|
69
|
-
audio/dsr-es202212 'IANA,RFC4060
|
70
|
-
audio/eac3 'IANA,RFC4598
|
71
|
-
audio/example 'IANA,RFC4735
|
72
|
-
audio/fwdred 'IANA,RFC6354
|
73
|
-
audio/iLBC 'IANA,RFC3952
|
74
|
-
audio/ip-mr_v2.5 'IANA,RFC6262
|
75
|
-
audio/mobile-xmf 'IANA,RFC4723
|
76
|
-
audio/mp4 @mp4,mpg4 'IANA,RFC4337
|
77
|
-
audio/mpa-robust 'IANA,RFC5219
|
78
|
-
audio/mpeg @mpga,mp2,mp3 :base64 'IANA,RFC3003
|
79
|
-
audio/mpeg4-generic 'IANA,RFC3640,RFC5691,RFC6295
|
80
|
-
audio/ogg 'IANA,RFC5334
|
81
|
-
audio/parityfec 'IANA,RFC5109
|
82
|
-
audio/prs.sid 'IANA,[Walleij]
|
83
77
|
audio/rtp-enc-aescm128 'IANA,[3GPP]
|
84
78
|
audio/rtp-midi 'IANA,RFC6295
|
85
79
|
audio/rtx 'IANA,RFC4588
|
80
|
+
audio/SMV @smv 'IANA,RFC3558
|
81
|
+
audio/SMV-QCP 'IANA,RFC3625
|
82
|
+
audio/SMV0 'IANA,RFC3558
|
86
83
|
audio/sp-midi 'IANA,[Kosonen],[T. White=T.White]
|
87
84
|
audio/speex 'IANA,RFC5574
|
88
85
|
audio/t140c 'IANA,RFC4351
|
89
86
|
audio/t38 'IANA,RFC4612
|
90
87
|
audio/telephone-event 'IANA,RFC4733
|
91
88
|
audio/tone 'IANA,RFC4733
|
89
|
+
audio/UEMCLIP 'IANA,RFC5686
|
92
90
|
audio/ulpfec 'IANA,RFC5109
|
91
|
+
audio/VDVI 'IANA,RFC4856
|
92
|
+
audio/VMR-WB 'IANA,RFC4348,RFC4424
|
93
93
|
audio/vnd.3gpp.iufp 'IANA,[Belling]
|
94
94
|
audio/vnd.4SB 'IANA,[De Jaham]
|
95
|
-
audio/vnd.CELP 'IANA,[De Jaham]
|
96
95
|
audio/vnd.audiokoz 'IANA,[DeBarros]
|
96
|
+
audio/vnd.CELP 'IANA,[De Jaham]
|
97
97
|
audio/vnd.cisco.nse 'IANA,[Kumar]
|
98
98
|
audio/vnd.cmles.radio-events 'IANA,[Goulet]
|
99
99
|
audio/vnd.cns.anp1 'IANA,[McLaughlin]
|
@@ -129,3 +129,4 @@ audio/vnd.sealedmedia.softseal.mpeg @smp3,smp,s1m 'IANA,[Petersen]
|
|
129
129
|
audio/vnd.vmx.cvsd 'IANA,[Vaudreuil]
|
130
130
|
audio/vorbis 'IANA,RFC5215
|
131
131
|
audio/vorbis-config 'IANA,RFC5215
|
132
|
+
audio/webm @webm '{WebM=http://www.webmproject.org/code/specs/container/}
|
data/lib/mime/types/video
CHANGED
@@ -6,6 +6,7 @@ video/BMPEG 'IANA,RFC3555
|
|
6
6
|
video/BT656 'IANA,RFC3555
|
7
7
|
video/CelB 'IANA,RFC3555
|
8
8
|
video/DV 'IANA,RFC3189
|
9
|
+
video/example 'IANA,RFC4735
|
9
10
|
video/H261 'IANA,RFC4587
|
10
11
|
video/H263 'IANA,RFC3555
|
11
12
|
video/H263-1998 'IANA,RFC4629
|
@@ -14,18 +15,16 @@ video/H264 'IANA,RFC6184
|
|
14
15
|
video/H264-RCDO 'IANA,RFC6185
|
15
16
|
video/H264-SVC 'IANA,RFC6190
|
16
17
|
video/JPEG 'IANA,RFC3555
|
18
|
+
video/jpeg2000 'IANA,RFC5371,RFC5372
|
17
19
|
video/MJ2 @mj2,mjp2 'IANA,RFC3745
|
18
20
|
video/MP1S 'IANA,RFC3555
|
19
21
|
video/MP2P 'IANA,RFC3555
|
20
22
|
video/MP2T 'IANA,RFC3555
|
23
|
+
video/mp4 @mp4,mpg4,f4v,f4p 'IANA,RFC4337,RFC6381,{Adobe=http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.html}
|
21
24
|
video/MP4V-ES 'IANA,RFC6416
|
22
|
-
video/MPV 'IANA,RFC3555
|
23
|
-
video/SMPTE292M 'IANA,RFC3497
|
24
|
-
video/example 'IANA,RFC4735
|
25
|
-
video/jpeg2000 'IANA,RFC5371,RFC5372
|
26
|
-
video/mp4 @mp4,mpg4 'IANA,RFC4337,RFC6381
|
27
25
|
video/mpeg @mp2,mpe,mp3g,mpg :base64 'IANA,RFC2045,RFC2046
|
28
26
|
video/mpeg4-generic 'IANA,RFC3640
|
27
|
+
video/MPV 'IANA,RFC3555
|
29
28
|
video/nv 'IANA,RFC4856
|
30
29
|
video/ogg @ogv 'IANA,RFC5334
|
31
30
|
video/parityfec 'IANA,RFC5109
|
@@ -34,6 +33,7 @@ video/quicktime @qt,mov :base64 'IANA,[Lindner]
|
|
34
33
|
video/raw 'IANA,RFC4175
|
35
34
|
video/rtp-enc-aescm128 'IANA,[3GPP]
|
36
35
|
video/rtx 'IANA,RFC4588
|
36
|
+
video/SMPTE292M 'IANA,RFC3497
|
37
37
|
video/ulpfec 'IANA,RFC5109
|
38
38
|
video/vc1 'IANA,RFC4425
|
39
39
|
video/vnd.CCTV 'IANA,[Rottmann]
|
@@ -59,10 +59,11 @@ video/vnd.mpegurl @mxu,m4u :8bit 'IANA,[Recktenwald]
|
|
59
59
|
video/vnd.ms-playready.media.pyv 'IANA,[DiAcetis]
|
60
60
|
video/vnd.nokia.interleaved-multimedia @nim 'IANA,[Kangaslampi]
|
61
61
|
video/vnd.nokia.videovoip 'IANA,[Nokia]
|
62
|
-
video/vnd.objectvideo @mp4 'IANA,[Clark]
|
62
|
+
video/vnd.objectvideo @mp4,m4v 'IANA,[Clark]
|
63
63
|
video/vnd.sealed.mpeg1 @s11 'IANA,[Petersen]
|
64
64
|
video/vnd.sealed.mpeg4 @smpg,s14 'IANA,[Petersen]
|
65
65
|
video/vnd.sealed.swf @sswf,ssw 'IANA,[Petersen]
|
66
66
|
video/vnd.sealedmedia.softseal.mov @smov,smo,s1q 'IANA,[Petersen]
|
67
67
|
video/vnd.uvvu.mp4 'IANA,[Dolan]
|
68
68
|
video/vnd.vivo @viv,vivo 'IANA,[Wolfe]
|
69
|
+
video/webm @webm '{WebM=http://www.webmproject.org/code/specs/container/}
|
data/mime-types.gemspec
CHANGED
@@ -2,20 +2,20 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "mime-types"
|
5
|
-
s.version = "1.
|
5
|
+
s.version = "1.18"
|
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 = "
|
10
|
-
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\
|
9
|
+
s.date = "2012-03-21"
|
10
|
+
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\n:include: Licence.rdoc"
|
11
11
|
s.email = ["austin@rubyforge.org"]
|
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", "
|
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", "
|
12
|
+
s.extra_rdoc_files = ["History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "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", "Licence.rdoc", "README.rdoc"]
|
13
|
+
s.files = [".gitignore", ".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", ".gemtest"]
|
14
14
|
s.homepage = "http://mime-types.rubyforge.org/"
|
15
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubyforge_project = "mime-types"
|
18
|
-
s.rubygems_version = "1.8.
|
18
|
+
s.rubygems_version = "1.8.19"
|
19
19
|
s.summary = "This library allows for the identification of a file's likely MIME content type"
|
20
20
|
s.test_files = ["test/test_mime_type.rb", "test/test_mime_types.rb"]
|
21
21
|
|
@@ -24,34 +24,34 @@ Gem::Specification.new do |s|
|
|
24
24
|
|
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
|
-
s.add_development_dependency(%q<minitest>, ["
|
27
|
+
s.add_development_dependency(%q<minitest>, ["~> 2.11"])
|
28
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
28
29
|
s.add_development_dependency(%q<nokogiri>, ["~> 1.5"])
|
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"])
|
32
32
|
s.add_development_dependency(%q<hoe-git>, ["~> 1.0"])
|
33
33
|
s.add_development_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
34
|
-
s.add_development_dependency(%q<hoe>, ["~>
|
34
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.0"])
|
35
35
|
else
|
36
36
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
37
|
-
s.add_dependency(%q<minitest>, ["
|
37
|
+
s.add_dependency(%q<minitest>, ["~> 2.11"])
|
38
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
38
39
|
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
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"])
|
42
42
|
s.add_dependency(%q<hoe-git>, ["~> 1.0"])
|
43
43
|
s.add_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
44
|
-
s.add_dependency(%q<hoe>, ["~>
|
44
|
+
s.add_dependency(%q<hoe>, ["~> 3.0"])
|
45
45
|
end
|
46
46
|
else
|
47
47
|
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
48
|
-
s.add_dependency(%q<minitest>, ["
|
48
|
+
s.add_dependency(%q<minitest>, ["~> 2.11"])
|
49
|
+
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
49
50
|
s.add_dependency(%q<nokogiri>, ["~> 1.5"])
|
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"])
|
53
53
|
s.add_dependency(%q<hoe-git>, ["~> 1.0"])
|
54
54
|
s.add_dependency(%q<hoe-seattlerb>, ["~> 1.0"])
|
55
|
-
s.add_dependency(%q<hoe>, ["~>
|
55
|
+
s.add_dependency(%q<hoe>, ["~> 3.0"])
|
56
56
|
end
|
57
57
|
end
|
data/test/test_mime_type.rb
CHANGED
@@ -6,7 +6,7 @@ require 'minitest/autorun'
|
|
6
6
|
|
7
7
|
class TestMIME_Type < MiniTest::Unit::TestCase
|
8
8
|
def yaml_mime_type_from_array
|
9
|
-
|
9
|
+
MIME::Type.from_array('text/x-yaml', %w(yaml yml), '8bit', 'linux')
|
10
10
|
end
|
11
11
|
|
12
12
|
def setup
|
metadata
CHANGED
@@ -1,183 +1,187 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mime-types
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1.18'
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 17
|
9
|
-
- 2
|
10
|
-
version: 1.17.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Austin Ziegler
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-21 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rubyforge
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 7
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 0
|
32
|
-
- 4
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 2.0.4
|
34
22
|
type: :development
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: minitest
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
25
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.0.4
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: minitest
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2.11'
|
50
38
|
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: nokogiri
|
54
39
|
prerelease: false
|
55
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '2.11'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rdoc
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
56
49
|
none: false
|
57
|
-
requirements:
|
50
|
+
requirements:
|
58
51
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 5
|
64
|
-
version: "1.5"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.10'
|
65
54
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: minitest
|
69
55
|
prerelease: false
|
70
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.10'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: nokogiri
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
71
65
|
none: false
|
72
|
-
requirements:
|
66
|
+
requirements:
|
73
67
|
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
77
|
-
- 2
|
78
|
-
- 0
|
79
|
-
version: "2.0"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.5'
|
80
70
|
type: :development
|
81
|
-
version_requirements: *id004
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: hoe-doofus
|
84
71
|
prerelease: false
|
85
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.5'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: hoe-doofus
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
86
81
|
none: false
|
87
|
-
requirements:
|
82
|
+
requirements:
|
88
83
|
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 1
|
93
|
-
- 0
|
94
|
-
version: "1.0"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.0'
|
95
86
|
type: :development
|
96
|
-
version_requirements: *id005
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: hoe-gemspec
|
99
87
|
prerelease: false
|
100
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
89
|
none: false
|
102
|
-
requirements:
|
90
|
+
requirements:
|
103
91
|
- - ~>
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: hoe-gemspec
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.0'
|
110
102
|
type: :development
|
111
|
-
version_requirements: *id006
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: hoe-git
|
114
103
|
prerelease: false
|
115
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: hoe-git
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
116
113
|
none: false
|
117
|
-
requirements:
|
114
|
+
requirements:
|
118
115
|
- - ~>
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
121
|
-
segments:
|
122
|
-
- 1
|
123
|
-
- 0
|
124
|
-
version: "1.0"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.0'
|
125
118
|
type: :development
|
126
|
-
version_requirements: *id007
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: hoe-seattlerb
|
129
119
|
prerelease: false
|
130
|
-
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
121
|
none: false
|
132
|
-
requirements:
|
122
|
+
requirements:
|
133
123
|
- - ~>
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '1.0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: hoe-seattlerb
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '1.0'
|
140
134
|
type: :development
|
141
|
-
version_requirements: *id008
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: hoe
|
144
135
|
prerelease: false
|
145
|
-
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: hoe
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
146
145
|
none: false
|
147
|
-
requirements:
|
146
|
+
requirements:
|
148
147
|
- - ~>
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
|
151
|
-
segments:
|
152
|
-
- 2
|
153
|
-
- 12
|
154
|
-
version: "2.12"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '3.0'
|
155
150
|
type: :development
|
156
|
-
|
157
|
-
|
158
|
-
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '3.0'
|
158
|
+
description: ! 'This library allows for the identification of a file''s likely MIME
|
159
|
+
content
|
160
|
+
|
159
161
|
type. This is release 1.17.2. The identification of MIME content type is based
|
160
|
-
|
161
|
-
|
162
|
+
|
163
|
+
on a file''s filename extensions.
|
164
|
+
|
165
|
+
|
162
166
|
MIME::Types for Ruby originally based on and synchronized with MIME::Types for
|
167
|
+
|
163
168
|
Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data
|
169
|
+
|
164
170
|
format for the MIME::Type list has changed and the synchronization will no
|
171
|
+
|
165
172
|
longer happen.
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
Based in part on prior work copyright Mark Overmeer
|
171
|
-
|
172
|
-
:include: License.rdoc
|
173
|
-
email:
|
173
|
+
|
174
|
+
|
175
|
+
:include: Licence.rdoc'
|
176
|
+
email:
|
174
177
|
- austin@rubyforge.org
|
175
178
|
executables: []
|
176
|
-
|
177
179
|
extensions: []
|
178
|
-
|
179
|
-
|
180
|
+
extra_rdoc_files:
|
181
|
+
- History.rdoc
|
182
|
+
- Licence.rdoc
|
180
183
|
- Manifest.txt
|
184
|
+
- README.rdoc
|
181
185
|
- type-lists/application.txt
|
182
186
|
- type-lists/audio.txt
|
183
187
|
- type-lists/image.txt
|
@@ -186,13 +190,11 @@ extra_rdoc_files:
|
|
186
190
|
- type-lists/multipart.txt
|
187
191
|
- type-lists/text.txt
|
188
192
|
- type-lists/video.txt
|
189
|
-
|
190
|
-
-
|
191
|
-
- README.rdoc
|
192
|
-
files:
|
193
|
+
files:
|
194
|
+
- .gitignore
|
193
195
|
- .hoerc
|
194
196
|
- History.rdoc
|
195
|
-
-
|
197
|
+
- Licence.rdoc
|
196
198
|
- Manifest.txt
|
197
199
|
- README.rdoc
|
198
200
|
- Rakefile
|
@@ -235,38 +237,31 @@ files:
|
|
235
237
|
- .gemtest
|
236
238
|
homepage: http://mime-types.rubyforge.org/
|
237
239
|
licenses: []
|
238
|
-
|
239
240
|
post_install_message:
|
240
|
-
rdoc_options:
|
241
|
+
rdoc_options:
|
241
242
|
- --main
|
242
243
|
- README.rdoc
|
243
|
-
require_paths:
|
244
|
+
require_paths:
|
244
245
|
- lib
|
245
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
246
247
|
none: false
|
247
|
-
requirements:
|
248
|
-
- -
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
|
251
|
-
|
252
|
-
- 0
|
253
|
-
version: "0"
|
254
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ! '>='
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
252
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
253
|
none: false
|
256
|
-
requirements:
|
257
|
-
- -
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
|
260
|
-
segments:
|
261
|
-
- 0
|
262
|
-
version: "0"
|
254
|
+
requirements:
|
255
|
+
- - ! '>='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
263
258
|
requirements: []
|
264
|
-
|
265
259
|
rubyforge_project: mime-types
|
266
|
-
rubygems_version: 1.8.
|
260
|
+
rubygems_version: 1.8.19
|
267
261
|
signing_key:
|
268
262
|
specification_version: 3
|
269
|
-
summary: This library allows for the identification of a file's likely MIME content
|
270
|
-
|
263
|
+
summary: This library allows for the identification of a file's likely MIME content
|
264
|
+
type
|
265
|
+
test_files:
|
271
266
|
- test/test_mime_type.rb
|
272
267
|
- test/test_mime_types.rb
|
data/License.rdoc
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
== License
|
2
|
-
|
3
|
-
This software is available under a triple disjunctive license:
|
4
|
-
{Ruby's license}[http://www.ruby-lang.org/en/LICENSE.txt],
|
5
|
-
the
|
6
|
-
{Perl Artistic license}[http://www.perl.com/pub/a/language/misc/Artistic.html],
|
7
|
-
or the {GNU GPL version 2}[http://www.gnu.org/licenses/old-licenses/gpl-2.0.html]
|
8
|
-
(or at your option, any later verison).
|
9
|
-
|
10
|
-
If you do not accept one of these licences, you may not use this software.
|