mime-types 2.4.3 → 2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.autotest +31 -3
- data/.gitignore +14 -0
- data/.hoerc +19 -1
- data/Contributing.rdoc +10 -3
- data/History-Types.rdoc +36 -3
- data/History.rdoc +84 -45
- data/Licence.rdoc +7 -6
- data/Manifest.txt +1 -4
- data/README.rdoc +52 -41
- data/Rakefile +72 -4
- data/data/mime-types.json +1 -1
- data/lib/mime/type.rb +28 -20
- data/lib/mime/types/cache.rb +1 -0
- data/support/apache_mime_types.rb +4 -0
- data/support/iana_registry.rb +22 -22
- data/test/test_mime_types_cache.rb +12 -0
- metadata +75 -110
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -1
- data/.coveralls.yml +0 -2
- data/.minitest.rb +0 -2
- data/.travis.yml +0 -34
- data/Gemfile +0 -9
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
N2IzN2QyZmUwMTJlNWI4ZjM3MzFjODYwNGI5NTgzYmQ3YmExN2ExMg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3023bc21b31749c2bff1ad6ee0292dc9c31bcf50
|
4
|
+
data.tar.gz: e9bd5ffbd736396869836738617dd3237b0f7e5b
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YjRlZTNmYjZkYzE5ODA2YWJkZmU5MTE1ZGFkNjUxOTkzYjg4NmM0MGI5Nzcz
|
11
|
-
ZmVlNDM0MDExZDgwOWY4ZTA1ZmM2YTZlZjdjNmZhMzVlMzU0YTU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmVlNjRjY2RhNjIxM2IwY2FiZTAwZjYzOWY1MjJkMGU1N2RiM2YyMzcxYTZh
|
14
|
-
YWZmYWI0ODBlM2JkOTg0M2RhMjVlOTc1Mzk3YjA2Y2Y5NzNjMWVjNzJlNDRi
|
15
|
-
N2E3NWViMzliZGJhOTI2OTg3NzkyNTEwODIwMWRiZDllNzc3Njc=
|
6
|
+
metadata.gz: eebe0699ef7e179305c3af7b087e9b2d4f3e384b9d58789bb4547678ea9105d0eb6318a7c6473b520bb899b0c6f785c9315d01e9de976178722af5d12e2cce84
|
7
|
+
data.tar.gz: db62f865e8b7375e970d49ace20d983946d04aad8127c241e05b2ac87623c1b654d21de313086152fa38b9aae03140eb4c793f765b6ab4d865820303fe362b35
|
data/.autotest
CHANGED
@@ -1,7 +1,35 @@
|
|
1
|
-
# -*- ruby
|
1
|
+
# -*- ruby -*-
|
2
2
|
|
3
|
-
require
|
3
|
+
require 'autotest/bundler'
|
4
|
+
require 'autotest/restart'
|
5
|
+
require 'autotest/timestamp'
|
6
|
+
|
7
|
+
def require_plugin(resource)
|
8
|
+
require resource
|
9
|
+
rescue LoadError
|
10
|
+
false
|
11
|
+
end
|
12
|
+
|
13
|
+
require_plugin 'autotest/clear'
|
4
14
|
|
5
15
|
Autotest.add_hook :initialize do |at|
|
6
|
-
at.testlib = "
|
16
|
+
# at.testlib = "minitest/unit"
|
17
|
+
#
|
18
|
+
# at.extra_files << "../some/external/dependency.rb"
|
19
|
+
#
|
20
|
+
# at.libs << ":../some/external"
|
21
|
+
#
|
22
|
+
# at.add_exception "vendor"
|
23
|
+
#
|
24
|
+
# at.add_mapping(/dependency.rb/) do |f, _|
|
25
|
+
# at.files_matching(/test_.*rb$/)
|
26
|
+
# end
|
27
|
+
#
|
28
|
+
# %w(TestA TestB).each do |klass|
|
29
|
+
# at.extra_class_map[klass] = "test/test_misc.rb"
|
30
|
+
# end
|
7
31
|
end
|
32
|
+
|
33
|
+
# Autotest.add_hook :run_command do |at|
|
34
|
+
# system "rake build"
|
35
|
+
# end
|
data/.gitignore
ADDED
data/.hoerc
CHANGED
@@ -1,2 +1,20 @@
|
|
1
1
|
---
|
2
|
-
exclude: !ruby/regexp /
|
2
|
+
exclude: !ruby/regexp '/
|
3
|
+
\.(tmp|swp)$
|
4
|
+
|
|
5
|
+
CVS/
|
6
|
+
|
|
7
|
+
(?i:TAGS)
|
8
|
+
|
|
9
|
+
\.(svn|git|hg|DS_Store|idea|vagrant)\/
|
10
|
+
|
|
11
|
+
Gemfile(?:\.lock)?
|
12
|
+
|
|
13
|
+
type-lists\/
|
14
|
+
|
|
15
|
+
\.(coveralls|pullreview|travis).yml$
|
16
|
+
|
|
17
|
+
\.gemspec
|
18
|
+
|
|
19
|
+
Vagrantfile
|
20
|
+
/x'
|
data/Contributing.rdoc
CHANGED
@@ -88,8 +88,8 @@ Here's the most direct way to get your work merged into the project:
|
|
88
88
|
* Make sure everything still passes by running +rake+.
|
89
89
|
* If necessary, rebase your commits into logical chunks, without errors.
|
90
90
|
* Push the branch up (<tt>git push origin my\_awesome\_feature</tt>).
|
91
|
-
* Create a pull request against
|
92
|
-
change does and the why you think it should be merged.
|
91
|
+
* Create a pull request against mime-types/ruby-mime-types and describe what
|
92
|
+
your change does and the why you think it should be merged.
|
93
93
|
|
94
94
|
=== Contributors
|
95
95
|
|
@@ -105,9 +105,16 @@ Thanks to everyone else who has contributed to mime-types:
|
|
105
105
|
* Hans de Graaff
|
106
106
|
* Henrik Hodne
|
107
107
|
* Martin d'Allens
|
108
|
-
*
|
108
|
+
* Chris Gat
|
109
109
|
* Greg Brockman
|
110
110
|
* Łukasz Śliwa (for the friendly names)
|
111
111
|
* Keerthi Siva
|
112
112
|
* Aaron Patterson
|
113
113
|
* Godfrey Chan
|
114
|
+
* Tibor Szolár
|
115
|
+
* Ken Ip
|
116
|
+
* David Genord
|
117
|
+
* Juanito Fatas
|
118
|
+
* Andy Brody
|
119
|
+
* Aggelow Avgerinos
|
120
|
+
* Richard Schneeman
|
data/History-Types.rdoc
CHANGED
@@ -1,9 +1,42 @@
|
|
1
1
|
= MIME Types Changes by Version
|
2
2
|
|
3
|
+
== 2.5 / 2015-04-25
|
4
|
+
|
5
|
+
* Updated the IANA media registry entries as of release date:
|
6
|
+
* Added MIME types: application/A2L, application/AML, application/ATFX,
|
7
|
+
application/ATXML, application/CDFX\+XML, application/CEA, application/DII,
|
8
|
+
application/DIT, application/jose, application/jose\+json,
|
9
|
+
application/json-seq, application/jwk\+json, application/jwk-set\+json,
|
10
|
+
application/jwt, application/LXF, application/MF4, application/rdap\+json,
|
11
|
+
application/vnd.apache.thrift.compact, vnd.apache.thrift.json,
|
12
|
+
application/vnd.citationstyles.style\+xml, application/vnd.coffeescript,
|
13
|
+
application/vnd.enphase.envoy, application/vnd.fastcopy-disk-image,
|
14
|
+
application/vnd.gerber, application/vnd.gov.sk.e-form\+xml,
|
15
|
+
application/vnd.gov.sk.e-form\+zip,
|
16
|
+
application/vnd.gov.sk.xmldatacontainer\+xml,
|
17
|
+
application/vnd.ims.imsccv1p1, application/vnd.ims.imsccv1p2,
|
18
|
+
application/vnd.ims.imsccv1p3, application/vnd.micro\+json,
|
19
|
+
application/vnd.microsoft.portable-executable,
|
20
|
+
application/vnd.msa-disk-image, application/vnd.oracle.resource\+json,
|
21
|
+
application/vnd.tmd.mediaflex.api\+xml, audio/opus, image/vnd.zbrush.pcx,
|
22
|
+
text/csv-schema, text/markdown (marked as TEMPORARY).
|
23
|
+
* Updated metadata for application/coap-group\+json (RFC7390),
|
24
|
+
application/epub\+zip (now registered), application/merge-patch\+json
|
25
|
+
(RFC7396), application/smil, application/vnd.arastra.swi,
|
26
|
+
application/vnd.geocube\+xml, application/vnd.gmx, application/xhtml\+xml,
|
27
|
+
text/directory.
|
28
|
+
* Andy Brody (@ab) fixed a pair of embarrassing typos in text/csv and
|
29
|
+
text/tab-separated-values,
|
30
|
+
{#89}[https://github.com/mime-types/ruby-mime-types/pull/89].
|
31
|
+
* Aggelos Avgerinos (@eavgerinos) added the unregistered MIME type
|
32
|
+
image/x-ms-bmp with the extension +bmp+,
|
33
|
+
{#90}[https://github.com/mime-types/ruby-mime-types/pull/90].
|
34
|
+
|
3
35
|
== 2.4.2 / 2014-10-15
|
36
|
+
|
4
37
|
* Added application/vnd.ms-outlook as an unregistered MIME type with the
|
5
38
|
extension +msg+. Provided by @keerthisiv in
|
6
|
-
{#72}[https://github.com/
|
39
|
+
{#72}[https://github.com/mime-types/ruby-mime-types/pull/72].
|
7
40
|
|
8
41
|
== 2.4.1 / 2014-10-07
|
9
42
|
|
@@ -61,10 +94,10 @@
|
|
61
94
|
== 2.2 / 2014-03-14
|
62
95
|
* Added <tt>.sj</tt> to +application/javascript+ as provided by Brandon
|
63
96
|
Galbraith (@brandongalbraith) in
|
64
|
-
{#58}[https://github.com/
|
97
|
+
{#58}[https://github.com/mime-types/ruby-mime-types/pull/58].
|
65
98
|
* Marked application/excel and application/x-excel as obsolete in favour of
|
66
99
|
application/vnd.ms-excel per
|
67
|
-
{#60}[https://github.com/
|
100
|
+
{#60}[https://github.com/mime-types/ruby-mime-types/pull/60].
|
68
101
|
* Merged duplicate MIME types into the registered MIME type. The only
|
69
102
|
difference between the MIME types was capitalization; the MIME type registry
|
70
103
|
is case-preserving.
|
data/History.rdoc
CHANGED
@@ -1,8 +1,28 @@
|
|
1
|
+
== 2.5 / 2015-04-25
|
2
|
+
|
3
|
+
* Bugs:
|
4
|
+
* David Genord (@albus522) fixed a bug in loading MIME::types cache where a
|
5
|
+
container loaded from cache did not have the expected +default_proc+,
|
6
|
+
{#86}[https://github.com/mime-types/ruby-mime-types/pull/86].
|
7
|
+
* Richard Schneeman (@schneems) provided a patch that substantially reduces
|
8
|
+
unnecessary allocations.
|
9
|
+
* Documentation:
|
10
|
+
* Tibor Szolár (@flexik) fixed a typo in the README,
|
11
|
+
{#82}[https://github.com/mime-types/ruby-mime-types/pull/82]
|
12
|
+
* Fixed {#80}[https://github.com/mime-types/ruby-mime-types/issues/80],
|
13
|
+
clarifying the relationship of MIME::Type#content_type and
|
14
|
+
MIME::Type#simplified, with Ken Ip (@kenips).
|
15
|
+
* Development:
|
16
|
+
* Juanito Fatas (@JuanitoFatas) enabled container mode on Travis CI,
|
17
|
+
{#87}[https://github.com/mime-types/ruby-mime-types/pull/87].
|
18
|
+
* Moved development to a mime-types organization under
|
19
|
+
{mime-types/ruby-mime-types}[https://github.com/mime-types/ruby-mime-types].
|
20
|
+
|
1
21
|
== 2.4.3 / 2014-10-21
|
2
22
|
|
3
23
|
* Bugs:
|
4
24
|
* Restored Ruby 1.9.2 support by using +private_constant+ conditionally.
|
5
|
-
Fixes {#77}[https://github.com/
|
25
|
+
Fixes {#77}[https://github.com/mime-types/ruby-mime-types/issues/77] found by
|
6
26
|
Kris Leech (@krisleech). The conditional use of +private_constant+ here
|
7
27
|
will be removed for mime-types 3.0, when Ruby 1.9.2 support will be
|
8
28
|
unconditionally removed.
|
@@ -12,10 +32,10 @@
|
|
12
32
|
* Bugs:
|
13
33
|
* Aaron Patterson (@tenderlove) found a loading bug and provided a fix that
|
14
34
|
nearly doubled registry load performance
|
15
|
-
({#74}[https://github.com/
|
35
|
+
({#74}[https://github.com/mime-types/ruby-mime-types/pull/74]).
|
16
36
|
* Godfrey Chan (@chancancode) provided a prophylactic security fix to use
|
17
37
|
<tt>JSON.parse</tt> instead of <tt>JSON.load</tt> in
|
18
|
-
{#75}[https://github.com/
|
38
|
+
{#75}[https://github.com/mime-types/ruby-mime-types/pull/75]. This provides a
|
19
39
|
20% improvement over the already improved result, resulting in a total 55%
|
20
40
|
performance boost.
|
21
41
|
|
@@ -26,7 +46,7 @@ mime-types 2.4 was pulled.
|
|
26
46
|
* Bugs:
|
27
47
|
* Restored the extension sort order from mime-types 1.25.1 and modified
|
28
48
|
MIME::Type#extensions= to no longer sort extensions when set. This resolves
|
29
|
-
{#71}[https://github.com/
|
49
|
+
{#71}[https://github.com/mime-types/ruby-mime-types/issues/71] and should fix
|
30
50
|
Paperclip.
|
31
51
|
* API Changes:
|
32
52
|
* Added MIME::Type#preferred_extension to return the preferred extension for
|
@@ -65,13 +85,13 @@ mime-types 2.4 was pulled.
|
|
65
85
|
== 2.2 / 2014-03-14
|
66
86
|
|
67
87
|
* Clarified contribution guidelines for MIME types. Resolves
|
68
|
-
{#57}[https://github.com/
|
88
|
+
{#57}[https://github.com/mime-types/ruby-mime-types/issues/57].
|
69
89
|
* Fixed a small bug where deprecated methods would warn of deprecation when
|
70
90
|
called by internal methods. Resolves
|
71
|
-
{#60}[https://github.com/
|
91
|
+
{#60}[https://github.com/mime-types/ruby-mime-types/issues/60].
|
72
92
|
* Dropped Code Climate; added Coveralls for test coverage reports.
|
73
93
|
* Removing external references to RubyForge, as it is shutting down. Resolves
|
74
|
-
{#59}[https://github.com/
|
94
|
+
{#59}[https://github.com/mime-types/ruby-mime-types/issues/59].
|
75
95
|
|
76
96
|
== 2.1 / 2014-01-25
|
77
97
|
|
@@ -105,8 +125,8 @@ mime-types 2.4 was pulled.
|
|
105
125
|
* Construction of a MIME::Type can be with any of the following objects:
|
106
126
|
* An array containing a valid content type identifier and an optional array
|
107
127
|
of extensions. This allows MIME::Type.new to be used instead of
|
108
|
-
MIME::Type.from_array for the most common use-case. Fixes
|
109
|
-
https://github.com/
|
128
|
+
MIME::Type.from_array for the most common use-case. Fixes
|
129
|
+
{#43}[https://github.com/mime-types/ruby-mime-types/pull/43].
|
110
130
|
* A Hash containing the output of MIME::Type#to_h, as would be deserialized
|
111
131
|
from the JSON representation of a MIME::Type. This replaces
|
112
132
|
MIME::Type.from_hash using a different parameter set.
|
@@ -125,7 +145,7 @@ mime-types 2.4 was pulled.
|
|
125
145
|
MIME::Type#encode_with and MIME::Type#init_with.
|
126
146
|
* Implemented JSON hash encoding methods.
|
127
147
|
* Added MIME::Type#add_extensions to easily add extensions to a MIME::Type.
|
128
|
-
Fixes #44
|
148
|
+
Fixes {#44}[https://github.com/mime-types/ruby-mime-types/pull/44].
|
129
149
|
* API Changes (MIME::Types):
|
130
150
|
* MIME type caching has been extracted to its own class. It is structurally
|
131
151
|
similar to what was introduced with mime-types 1.25, but is no longer
|
@@ -137,7 +157,7 @@ mime-types 2.4 was pulled.
|
|
137
157
|
* The MIME::Types#type_for platform parameter has been deprecated.
|
138
158
|
* Added the ability for MIME::Types#type_for produce results for multiple
|
139
159
|
filenames or extensions by providing an array as the first parameter. Fixes
|
140
|
-
#42
|
160
|
+
{#42}[https://github.com/mime-types/ruby-mime-types/pull/42].
|
141
161
|
* MIME::Types#add_type_variant and MIME::Types#index_extensions have been
|
142
162
|
deprecated as public methods. They will be private in a future version.
|
143
163
|
* MIME::Types#defined_types, MIME::Types.cache_file,
|
@@ -148,14 +168,15 @@ mime-types 2.4 was pulled.
|
|
148
168
|
MIME::Types::Loader::PATH. +PATH+ is defined in the file
|
149
169
|
lib/mime/types/path.rb so that system packagers only have to modify one
|
150
170
|
file in order to put the registry in a location that is not where a gem
|
151
|
-
version of mime-types would expect it. This resolves issue
|
152
|
-
|
171
|
+
version of mime-types would expect it. This resolves issue
|
172
|
+
{#36}[https://github.com/mime-types/ruby-mime-types/pull/36], reported by
|
173
|
+
@postmodern.
|
153
174
|
* The default registry is now a single file in JSON format. This resolves
|
154
|
-
issue #28
|
155
|
-
|
175
|
+
issue {#28}[https://github.com/mime-types/ruby-mime-types/pull/28] reported
|
176
|
+
by @jasonlor (an error with mime-types in MacRuby).
|
156
177
|
* The default registry is compiled from YAML files in type-lists/, resolving
|
157
|
-
issue #37
|
158
|
-
|
178
|
+
issue {#37}[https://github.com/mime-types/ruby-mime-types/pull/37]
|
179
|
+
reported by @postmodern requesting an easier-to-edit format.
|
159
180
|
* New or Updated MIME Types:
|
160
181
|
* Major updates to the registered MIME type list from IANA using the improved
|
161
182
|
developer tools.
|
@@ -209,7 +230,7 @@ mime-types 2.4 was pulled.
|
|
209
230
|
|
210
231
|
* Code Climate:
|
211
232
|
* Working on improving the quality of the mime-types codebase through the use
|
212
|
-
of Code Climate.
|
233
|
+
of Code Climate.
|
213
234
|
* Simplified MIME::Type.from_array to make more assumptions about assignment.
|
214
235
|
* Documentation:
|
215
236
|
* LeoYoung <mrleoyoung@gmail.com> pointed out that the README.rdoc contained
|
@@ -221,10 +242,10 @@ mime-types 2.4 was pulled.
|
|
221
242
|
for most development purposes. This has been removed to ensure that Travis CI
|
222
243
|
passes on Ruby 1.8.7.
|
223
244
|
* New MIME Types:
|
224
|
-
* 7zip (application/x-7z-compressed). Fixes a request by kodram.
|
225
|
-
https://github.com/
|
226
|
-
* application/x-www-form-urlencoded. Fixes a request by alexkwolfe.
|
227
|
-
https://github.com/
|
245
|
+
* 7zip (application/x-7z-compressed). Fixes a request by @kodram.
|
246
|
+
{#32}[https://github.com/mime-types/ruby-mime-types/issues/32]
|
247
|
+
* application/x-www-form-urlencoded. Fixes a request by @alexkwolfe.
|
248
|
+
{#39}[https://github.com/mime-types/ruby-mime-types/issues/39]
|
228
249
|
* Various new MIME types from IANA:
|
229
250
|
* application/mbms-schedule\+xml from 3GPP and Turcotte.
|
230
251
|
* application/provenance\+xml from W3C and Herman.
|
@@ -243,9 +264,10 @@ mime-types 2.4 was pulled.
|
|
243
264
|
== 1.23 / 2013-04-20
|
244
265
|
|
245
266
|
* New Feature:
|
246
|
-
* Arnaud Meuret (ameuret) suggested that it could be useful if the MIME type
|
247
|
-
collection was enumerable, so he implemented it in
|
248
|
-
|
267
|
+
* Arnaud Meuret (@ameuret) suggested that it could be useful if the MIME type
|
268
|
+
collection was enumerable, so he implemented it in
|
269
|
+
{#30}[https://github.com/mime-types/ruby-mime-types/pull/30]. Thanks for
|
270
|
+
the contribution!
|
249
271
|
* Updated MIME Types:
|
250
272
|
* RFC6910 was adopted (application/call-completion).
|
251
273
|
* RFC6902 was adopted (application/json-patch\+json).
|
@@ -264,7 +286,7 @@ mime-types 2.4 was pulled.
|
|
264
286
|
* New MIME Types:
|
265
287
|
* Added support for 3FR (Hasselblad raw images) files. MIME-Type was obtained
|
266
288
|
by looking at exif data with exiftool. Thanks to cgat for these changes.
|
267
|
-
https://github.com/
|
289
|
+
{#27}[https://github.com/mime-types/ruby-mime-types/pull/27]
|
268
290
|
* Updated MIME Types:
|
269
291
|
* Pulled the latest updates from the IANA MIME-Type registry.
|
270
292
|
* Added support for Ruby 2.0 with Travis CI.
|
@@ -276,7 +298,8 @@ mime-types 2.4 was pulled.
|
|
276
298
|
application/vnd.ms-fontobject, .eot; application/x-chrome-extension, .crx;
|
277
299
|
application/x-web-app-manifest\+json, .webapp; application/x-xpinstall,
|
278
300
|
.xpi; image/svg\+xml, .svg, .svgz; image/webp, .webp; text/cache-manifest,
|
279
|
-
.appcache, .manifest.
|
301
|
+
.appcache, .manifest.
|
302
|
+
#{24}[https://github.com/mime-types/ruby-mime-types/pull/24]
|
280
303
|
* Fixed some Manifest.txt related madness on Travis.
|
281
304
|
|
282
305
|
== 1.20.1 / 2013-01-26
|
@@ -286,18 +309,18 @@ mime-types 2.4 was pulled.
|
|
286
309
|
(application/x-iwork-keynote-sffkey, .key;
|
287
310
|
application/x-iwork-pages-sffpages, .pages;
|
288
311
|
application/x-iwork-numbers-sffnumbers, .numbers).
|
289
|
-
https://github.com/
|
312
|
+
{#20}[https://github.com/mime-types/ruby-mime-types/issue/20]
|
290
313
|
* epub, ibooks, mobi, and DMG content types by Mauricio
|
291
314
|
Linhares (mac:application/x-apple-diskimage, .dmg; application/epub\+zip,
|
292
315
|
.epub; application/x-ibooks\+zip, .ibooks; application/x-mobipocket-ebook,
|
293
|
-
.mobi). https://github.com/
|
316
|
+
.mobi). {#22}[https://github.com/mime-types/ruby-mime-types/issue/22]
|
294
317
|
* rss content type by Garret Alfert (application/rss\+xml, .rss).
|
295
|
-
https://github.com/
|
318
|
+
{#23}[https://github.com/mime-types/ruby-mime-types/issue/23]
|
296
319
|
* Added or updated MIME types from the latest IANA list.
|
297
320
|
* Fixed MIME Types:
|
298
321
|
* Excel macro-enabled spreadsheets had an incorrect extension. Thanks to
|
299
322
|
Rafael Belvederese for reporting this issue.
|
300
|
-
https://github.com/
|
323
|
+
{#21}[https://github.com/mime-types/ruby-mime-types/issue/21]
|
301
324
|
* Enabled for use with travis.
|
302
325
|
* Enabled gem signing.
|
303
326
|
* Fixed an error related to MIME type downloads.
|
@@ -305,41 +328,54 @@ mime-types 2.4 was pulled.
|
|
305
328
|
|
306
329
|
== 1.19 / 2012-06-20
|
307
330
|
* New MIME Types:
|
308
|
-
* XCF Gnome Images (image/x-xcf, image/x-compressed-xcf; .xcf).
|
309
|
-
|
331
|
+
* XCF Gnome Images (image/x-xcf, image/x-compressed-xcf; .xcf).
|
332
|
+
{#17}[https://github.com/mime-types/ruby-mime-types/issue/17]
|
333
|
+
* Types reported in
|
334
|
+
{#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
|
310
335
|
* DV (video/x-dv; .dv)
|
311
336
|
* IVF (video/x-ivf; .ivf)
|
312
337
|
* Matroska (video/x-matroska; .mkv)
|
313
338
|
* Motion JPEG (video/x-motion-jpeg; .mjpg)
|
314
339
|
* RealMedia (official; application/vnd.rn-realmedia; .rm)
|
315
340
|
* New extensions:
|
316
|
-
* dcm (application/dicom);
|
317
|
-
|
341
|
+
* dcm (application/dicom);
|
342
|
+
{#16}[https://github.com/mime-types/ruby-mime-types/issue/16].
|
343
|
+
* Types reported in
|
344
|
+
{#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
|
318
345
|
* 3g2, 3gpp2 (video/3gpp2)
|
319
346
|
* mpeg (video/mpeg)
|
320
347
|
* mxf (application/mxf)
|
321
348
|
* ts (video/MP2T)
|
322
349
|
* ogg (video/ogg)
|
323
350
|
* Fixed MIME Types:
|
324
|
-
* Adobe AIR application installer packages was missing a hyphen.
|
325
|
-
|
351
|
+
* Adobe AIR application installer packages was missing a hyphen.
|
352
|
+
{#13}[https://github.com/mime-types/ruby-mime-types/issue/13]
|
353
|
+
* Types reported in
|
354
|
+
{#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
|
326
355
|
* audio/x-pn-realaudio extension is .ra, not .rm.
|
327
|
-
* Resolved https://github.com/
|
356
|
+
* Resolved {#8}[https://github.com/mime-types/ruby-mime-types/issues/8].
|
357
|
+
Apparently some people run the tests on Linux. Imagine that.
|
328
358
|
|
329
359
|
== 1.18 / 2012-03-20
|
330
360
|
* New MIME Types:
|
331
|
-
* Types reported in
|
361
|
+
* Types reported in
|
362
|
+
#{6}[https://github.com/mime-types/ruby-mime-types/issues/6]:
|
332
363
|
* CoffeeScript (text/x-coffeescript; .coffee; 8bit).
|
333
364
|
* AIR (application/vnd.adobe.air-applicationinstaller-package\+zip, .air; base64).
|
334
365
|
* WOFF (application/font-woff; .woff; base64).
|
335
366
|
* TrueType (application/x-font-truetype; .ttf; base64).
|
336
367
|
* OpenType (application/x-font-opentype; .otf; base64).
|
337
|
-
* WebM (audio/webm, video/webm; .webm).
|
368
|
+
* WebM (audio/webm, video/webm; .webm).
|
369
|
+
{#11}[https://github.com/mime-types/ruby-mime-types/issues/11.]
|
338
370
|
* New extensions:
|
339
371
|
* f4v/f4p (video/mp4, used by Adobe); f4a/fb4 (audio/mp4, used by Adobe).
|
340
372
|
* Bug Fixes:
|
341
|
-
* It was pointed out that Licence.txt was incorrectly named. Fixed by
|
342
|
-
|
373
|
+
* It was pointed out that Licence.txt was incorrectly named. Fixed by
|
374
|
+
renaming to Licence.rdoc (from Issue/Pull Request
|
375
|
+
{#8}[https://github.com/mime-types/ruby-mime-types/issues/8]).
|
376
|
+
* It was pointed out that a plan to have the test output generated
|
377
|
+
automatically never went through.
|
378
|
+
{#10}[https://github.com/mime-types/ruby-mime-types/issues/10]
|
343
379
|
|
344
380
|
== 1.17.2 / 2011-10-25
|
345
381
|
* Bug Fixes:
|
@@ -350,10 +386,13 @@ mime-types 2.4 was pulled.
|
|
350
386
|
* Implemented modern 'hoe' semantics.
|
351
387
|
* Switched to minitest instead of test/unit.
|
352
388
|
* Converted documentation from .txt to .rdoc.
|
353
|
-
* Removed setup.rb.
|
354
|
-
|
389
|
+
* Removed setup.rb.
|
390
|
+
{#3}[https://github.com/mime-types/ruby-mime-types/issues/3]
|
391
|
+
* Should no longer complain about missing RubyGems keys
|
392
|
+
{#2}[https://github.com/mime-types/ruby-mime-types/issues/2]
|
355
393
|
* Added .mp4 and .mpg4 as recognized extensions for
|
356
|
-
|
394
|
+
(application|audio|video)/mp4 per RFC4337.
|
395
|
+
{#1}[https://github.com/mime-types/ruby-mime-types/issues/1]
|
357
396
|
* Added audio/x-aac and .aac per RubyForge issue #28054.
|
358
397
|
* Made it much easier to update MIME types from this point forward.
|
359
398
|
* Updated MIME types from IANA.
|