mime-types-data 3.2016.0521 → 3.2022.0105
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Code-of-Conduct.md +22 -22
- data/Contributing.md +156 -72
- data/History.md +461 -310
- data/Licence.md +9 -10
- data/Manifest.txt +16 -0
- data/README.md +38 -26
- data/Rakefile +114 -39
- data/data/content_type_mime.db +878 -0
- data/data/ext_mime.db +1198 -0
- data/data/mime-types.json +1 -1
- data/data/mime.content_type.column +432 -13
- data/data/mime.docs.column +419 -0
- data/data/mime.encoding.column +419 -0
- data/data/mime.flags.column +2383 -1964
- data/data/mime.friendly.column +419 -0
- data/data/mime.pext.column +419 -0
- data/data/mime.use_instead.column +420 -1
- data/data/mime.xrefs.column +567 -148
- data/lib/mime/types/data.rb +2 -2
- data/lib/mime-types-data.rb +1 -1
- data/types/application.yaml +17299 -0
- data/types/audio.yaml +1716 -0
- data/types/chemical.yaml +71 -0
- data/types/conference.yaml +9 -0
- data/types/drawing.yaml +15 -0
- data/types/font.yaml +65 -0
- data/types/image.yaml +1252 -0
- data/types/message.yaml +205 -0
- data/types/model.yaml +390 -0
- data/types/multipart.yaml +179 -0
- data/types/provisional-standard-types.yaml +145 -0
- data/types/text.yaml +1166 -0
- data/types/video.yaml +1121 -0
- data/types/world.yaml +8 -0
- metadata +86 -25
data/lib/mime/types/data.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module MIME
|
4
4
|
class Types
|
5
5
|
module Data
|
6
|
-
VERSION =
|
6
|
+
VERSION = "3.2022.0105"
|
7
7
|
|
8
8
|
# The path that will be used for loading the MIME::Types data. The
|
9
9
|
# default location is __FILE__/../../../../data, which is where the data
|
@@ -15,7 +15,7 @@ module MIME
|
|
15
15
|
# System maintainer note: this is the constant to change when packaging
|
16
16
|
# mime-types for your system. It is recommended that the path be
|
17
17
|
# something like /usr/share/ruby/mime-types/.
|
18
|
-
PATH = File.expand_path(
|
18
|
+
PATH = File.expand_path("../../../../data", __FILE__)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
data/lib/mime-types-data.rb
CHANGED