mime-types 1.25 → 1.25.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjkzNjc3YzY2ZTY3YTU2MDhkYjE3MzQ0MThmZWI0NjU5NWEzMDA1Mg==
4
+ NDkxYjM0NzgyN2YxNTIxMTNiZjc3NThkMjEzZjViNzAyMmE2NjYyYg==
5
5
  data.tar.gz: !binary |-
6
- MzY2ZmU2Nzc4YzNhZjJiMTYzNjc0ODdiMzc2NjE3NzQ1MTk3YzE5ZQ==
6
+ MzZiYzc4YTQ2NmQ5MjE5MGJiYTQxOTlmMGE3M2Q3MWUzZWI3N2E3MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmU3NTI2ZDQ3MjdlNWQ2YWYwNjNkNDkwNDEyNGYzZGRiZTYyMjNjMzY1MTQw
10
- MjIxZmFkZmRhNTNmNmJhNWZmYWExZjllYWMxOWZjZjFmZGI1ODc4MTZiOGEz
11
- YWI2NGVjNjAyNmIyYzI5MTc0MzNjNjJiMDRlZDdkN2I1NzVhNGE=
9
+ Zjk0NGFhYTBjMzNmN2YxOTYwZWU0NzM2MmJlZTQ0ZjE4NzU1YTk5MDVkNTQ5
10
+ Y2Y5MDk5MjA4YmI3ZTc1MWY1NDljZGJlYTg3NGU5NzcwY2I5MzRhMDc0Mzkw
11
+ NTNiYjI4NDMxNTU0NzhjZjFmYjFhNGE4ZDJhNjUzYTdkNjVjYzc=
12
12
  data.tar.gz: !binary |-
13
- Nzk0Mjg1NWViZTRkZWRjNzliZmY4OTFlOTQ3ODgxYjI2MWJjY2IzNTg5NDlk
14
- Nzc5OGY3MTY0NDA1Y2Q5ZjUwYzQ1YzRkZmE1N2M2MWEwMjVkNDMzMjFmZmVi
15
- YjJkY2U0MzMzM2QwYjg0ZDNhODlhNDQ4OTMxOTZiN2Y0MjRjZDY=
13
+ Zjk4MzQyODgwODQyOWZiN2ZhYWE0YWJmNmY1MjIwNTAxM2ZiYjQ0OGMwOGNj
14
+ ODAyYmUzZjQ5NmVkMzk0MzJmZmZhZmRiMzBiNzllMWQ5ZDA2OTA0ZjQxMTIw
15
+ MjI4Njg0YmQ4YmUwNDgxZDg4OGRhMzQ2NDMzOTM5OTdlMjRhMzc=
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,10 @@
1
+ == 1.25.1 / 201-11-24
2
+
3
+ * Bugs:
4
+ * Fix an issue with priority comparison in the 1.x release series. Found by
5
+ sdbondi. This issue does not exist in the 2.x release series.
6
+ https://github.com/halostatue/mime-types/issues/47
7
+
1
8
  == 1.25 / 2013-08-30
2
9
 
3
10
  * New Features:
@@ -10,14 +10,16 @@ continuous integration :: {<img src="https://travis-ci.org/halostatue/mime-types
10
10
  == Description
11
11
 
12
12
  This library allows for the identification of a file's likely MIME content
13
- type. This is release 1.25, adding experimental caching and lazy loading
14
- functionality.
13
+ type. This is release 1.25.1, fixing an issue with priority comparison for
14
+ mime-types 1.x. The current release is 2.0, which only supports Ruby 1.9 or
15
+ later.
15
16
 
16
- The caching and lazy loading features were initially implemented by Greg
17
- Brockman (gdb). As these features are experimental, they are disabled by
18
- default and must be enabled through the use of environment variables. The cache
19
- is invalidated on a per-version basis; the cache for version 1.25 will not be
20
- reused for version 1.26.
17
+ Release 1.25.1 contains all features of 1.25, including the experimental
18
+ caching and lazy loading functionality. The caching and lazy loading features
19
+ were initially implemented by Greg Brockman (gdb). As these features are
20
+ experimental, they are disabled by default and must be enabled through the use
21
+ of environment variables. The cache is invalidated on a per-version basis; the
22
+ cache for version 1.25 will not be reused for any later version.
21
23
 
22
24
  To use lazy loading, set the environment variable +RUBY_MIME_TYPES_LAZY_LOAD+
23
25
  to any value other than 'false'. When using lazy loading, the initial startup
@@ -48,8 +50,7 @@ complete; don't hesitate to ask to add additional information. This library
48
50
  follows the IANA collection of MIME types (see below for reference).
49
51
 
50
52
  MIME::Types for Ruby was originally based on MIME::Types for Perl by Mark
51
- Overmeer, copyright 2001 - 2009. As of version 1.15, the data format for the
52
- MIME::Type list has changed and the synchronization will no longer happen.
53
+ Overmeer, copyright 2001 - 2009.
53
54
 
54
55
  MIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It
55
56
  tracks the {IANA registry}[http://www.iana.org/assignments/media-types/]
@@ -33,7 +33,7 @@ module MIME
33
33
  #
34
34
  class Type
35
35
  # The released version of Ruby MIME::Types
36
- VERSION = '1.25'
36
+ VERSION = '1.25.1'
37
37
 
38
38
  include Comparable
39
39
 
@@ -97,9 +97,11 @@ module MIME
97
97
  elsif platform? != other.platform?
98
98
  platform? ? 1 : -1 # generic < platform
99
99
  elsif complete? != other.complete?
100
- pc = complete? ? -1 : 1 # complete < incomplete
100
+ complete? ? -1 : 1 # complete < incomplete
101
101
  elsif obsolete? != other.obsolete?
102
- pc = obsolete? ? 1 : -1 # current < obsolete
102
+ obsolete? ? 1 : -1 # current < obsolete
103
+ else
104
+ 0
103
105
  end
104
106
 
105
107
  if pc.zero? and obsolete? and (use_instead != other.use_instead)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mime-types
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.25'
4
+ version: 1.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Ziegler
@@ -36,7 +36,7 @@ cert_chain:
36
36
  SlF1Y3hPVG1URjFOYkxGcGlSd1FVWjF6b1piTmcyZTdtU2hjL2VleG5WTFdL
37
37
  Rkt4Um9QNgpLUGozV29EK3NwQjhmQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
38
38
  LS0tLS0K
39
- date: 2013-08-30 00:00:00.000000000 Z
39
+ date: 2013-11-24 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubyforge
@@ -195,20 +195,24 @@ dependencies:
195
195
  description: ! 'This library allows for the identification of a file''s likely MIME
196
196
  content
197
197
 
198
- type. This is release 1.25, adding experimental caching and lazy loading
198
+ type. This is release 1.25.1, fixing an issue with priority comparison for
199
199
 
200
- functionality.
200
+ mime-types 1.x. The current release is 2.0, which only supports Ruby 1.9 or
201
201
 
202
+ later.
202
203
 
203
- The caching and lazy loading features were initially implemented by Greg
204
204
 
205
- Brockman (gdb). As these features are experimental, they are disabled by
205
+ Release 1.25.1 contains all features of 1.25, including the experimental
206
206
 
207
- default and must be enabled through the use of environment variables. The cache
207
+ caching and lazy loading functionality. The caching and lazy loading features
208
208
 
209
- is invalidated on a per-version basis; the cache for version 1.25 will not be
209
+ were initially implemented by Greg Brockman (gdb). As these features are
210
210
 
211
- reused for version 1.26.
211
+ experimental, they are disabled by default and must be enabled through the use
212
+
213
+ of environment variables. The cache is invalidated on a per-version basis; the
214
+
215
+ cache for version 1.25 will not be reused for any later version.
212
216
 
213
217
 
214
218
  To use lazy loading, set the environment variable +RUBY_MIME_TYPES_LAZY_LOAD+
@@ -265,9 +269,7 @@ description: ! 'This library allows for the identification of a file''s likely M
265
269
 
266
270
  MIME::Types for Ruby was originally based on MIME::Types for Perl by Mark
267
271
 
268
- Overmeer, copyright 2001 - 2009. As of version 1.15, the data format for the
269
-
270
- MIME::Type list has changed and the synchronization will no longer happen.
272
+ Overmeer, copyright 2001 - 2009.
271
273
 
272
274
 
273
275
  MIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It
metadata.gz.sig CHANGED
Binary file