mime-types-data 3.2023.0218 → 3.2023.0808
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Contributing.md +1 -0
- data/History.md +18 -0
- data/Rakefile +32 -17
- data/data/content_type_mime.db +1 -0
- data/data/ext_mime.db +2 -0
- data/data/mime-types.json +1 -1
- data/data/mime.content_type.column +46 -2
- data/data/mime.docs.column +44 -0
- data/data/mime.encoding.column +44 -0
- data/data/mime.flags.column +46 -2
- data/data/mime.friendly.column +44 -0
- data/data/mime.pext.column +44 -0
- data/data/mime.use_instead.column +46 -2
- data/data/mime.xrefs.column +82 -38
- data/lib/mime/types/data.rb +1 -1
- data/types/application.yaml +309 -20
- data/types/audio.yaml +3 -3
- data/types/image.yaml +28 -17
- data/types/message.yaml +27 -0
- data/types/model.yaml +9 -0
- data/types/text.yaml +49 -2
- data/types/video.yaml +1 -1
- metadata +38 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a19c3bd85061bbd48efa2631fc4633bc5ff144ee65e1b973de94fc66fc75f9
|
4
|
+
data.tar.gz: 2a3c26c1f26f7fde78c4fd9961497d3e6a24fbf9d7338231321c2b3a1d81c23f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcab22c27d9615b018a47cb8a16692331c434a5b28c09fc4bed284548aad422b9fd31fd25a461863c4f060b203cb8e42de7b584f10cb88cd1babc1c797d8aa8a
|
7
|
+
data.tar.gz: 33dade12e4b2e11c8c900b815435640913ebee583c2ef04c61c1f0a58f5d890b345eee564f479283de37d5b7a2b94632e0e247932177c261e9f896b3ad2a4b40
|
data/Contributing.md
CHANGED
data/History.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
<!-- automatic-release -->
|
4
4
|
|
5
|
+
## 3.2023.0808 / 2023-08-08
|
6
|
+
|
7
|
+
- - Updated the Apache and IANA media registry entries as of release date
|
8
|
+
|
9
|
+
## 3.2023.0218.1 / 2023-02-18
|
10
|
+
|
11
|
+
- When this data library was created in 2015, I made the decision based on
|
12
|
+
information available to deprecate `text/javascript` in favour of
|
13
|
+
`application/javascript`. Since the previous update (2022-01-05), IANA has
|
14
|
+
officially deprecated `application/javascript` in favour of
|
15
|
+
`text/javascript`. Samuel Williams discovered this in [#55][] by noting
|
16
|
+
that all `js` types were marked obsolete in version 3.2023.0218.
|
17
|
+
|
18
|
+
A hotfix has been applied to resolve this. However, note that
|
19
|
+
`application/javascript` will not be returned by default, only
|
20
|
+
`text/javascript`.
|
21
|
+
|
5
22
|
## 3.2023.0218 / 2023-02-18
|
6
23
|
|
7
24
|
- Updated the Apache and IANA media registry entries as of release date.
|
@@ -521,6 +538,7 @@
|
|
521
538
|
[#52]: https://github.com/mime-types/mime-types-data/pull/52
|
522
539
|
[#53]: https://github.com/mime-types/mime-types-data/pull/53
|
523
540
|
[#54]: https://github.com/mime-types/mime-types-data/issues/54
|
541
|
+
[#55]: https://github.com/mime-types/mime-types-data/issues/55
|
524
542
|
[rmt]: https://github.com/mime-types/ruby-mime-types
|
525
543
|
[code of conduct]: Code-of-Conduct.md
|
526
544
|
[mini_mime]: https://github.com/discourse/mini_mime/issues/41
|
data/Rakefile
CHANGED
@@ -6,29 +6,31 @@ require "rake/clean"
|
|
6
6
|
|
7
7
|
Hoe.plugin :doofus
|
8
8
|
Hoe.plugin :gemspec2
|
9
|
-
Hoe.plugin :
|
10
|
-
Hoe.plugin :
|
11
|
-
Hoe.plugin :email unless ENV["CI"] || ENV["TRAVIS"]
|
9
|
+
Hoe.plugin :git2
|
10
|
+
Hoe.plugin :rubygems
|
12
11
|
|
13
12
|
Hoe.spec "mime-types-data" do
|
14
13
|
developer("Austin Ziegler", "halostatue@gmail.com")
|
15
14
|
|
16
|
-
require_ruby_version ">= 2.0"
|
17
|
-
|
18
15
|
self.history_file = "History.md"
|
19
16
|
self.readme_file = "README.md"
|
20
17
|
|
21
18
|
license "MIT"
|
22
19
|
|
23
|
-
|
20
|
+
require_ruby_version ">= 2.0"
|
21
|
+
|
22
|
+
spec_extras[:metadata] = ->(val) { val["rubygems_mfa_required"] = "true" }
|
23
|
+
|
24
|
+
extra_dev_deps << ["hoe", "~> 4.0"]
|
24
25
|
extra_dev_deps << ["hoe-doofus", "~> 1.0"]
|
25
26
|
extra_dev_deps << ["hoe-gemspec2", "~> 1.1"]
|
26
27
|
extra_dev_deps << ["hoe-git2", "~> 1.7"]
|
27
28
|
extra_dev_deps << ["hoe-rubygems", "~> 1.0"]
|
28
|
-
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|
29
29
|
extra_dev_deps << ["mime-types", ">= 3.4.0", "< 4"]
|
30
|
-
extra_dev_deps << ["
|
30
|
+
extra_dev_deps << ["nokogiri", "~> 1.6"]
|
31
31
|
extra_dev_deps << ["psych", "~> 3.0"]
|
32
|
+
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|
33
|
+
extra_dev_deps << ["standard", "~> 1.0"]
|
32
34
|
end
|
33
35
|
|
34
36
|
$LOAD_PATH.unshift "lib"
|
@@ -36,7 +38,7 @@ $LOAD_PATH.unshift "support"
|
|
36
38
|
|
37
39
|
def new_version
|
38
40
|
version =
|
39
|
-
IO.read("lib/mime/types/data.rb").scan(/VERSION = ['"](\d\.\d{4}\.\d{4})['"]/).flatten.first
|
41
|
+
IO.read("lib/mime/types/data.rb").scan(/VERSION = ['"](\d\.\d{4}\.\d{4}(?:\.\d+)?)['"]/).flatten.first
|
40
42
|
|
41
43
|
major = Gem::Version.new(version).canonical_segments.first
|
42
44
|
minor = Date.today.strftime("%Y.%m%d")
|
@@ -74,6 +76,19 @@ namespace :release do
|
|
74
76
|
}
|
75
77
|
end
|
76
78
|
|
79
|
+
desc "Prepare a new release for use with GitHub Actions"
|
80
|
+
task :gha do
|
81
|
+
require "prepare_release"
|
82
|
+
|
83
|
+
pr = PrepareRelease.new
|
84
|
+
pr.download_and_convert
|
85
|
+
pr.write_updated_version
|
86
|
+
pr.write_updated_history
|
87
|
+
pr.rake_git_manifest
|
88
|
+
pr.rake_gemspec
|
89
|
+
pr.as_gha_vars
|
90
|
+
end
|
91
|
+
|
77
92
|
desc "Prepare a new automatic release"
|
78
93
|
task automatic: :__pull do
|
79
94
|
if system("git diff --quiet --exit-code") == false
|
@@ -89,29 +104,29 @@ end
|
|
89
104
|
namespace :convert do
|
90
105
|
namespace :yaml do
|
91
106
|
desc "Convert from YAML to JSON"
|
92
|
-
task :json, [:source, :destination, :multiple_files]
|
107
|
+
task :json, [:source, :destination, :multiple_files] do |_, args|
|
93
108
|
require "convert"
|
94
|
-
Convert.from_yaml_to_json(args)
|
109
|
+
Convert.from_yaml_to_json(from: args.source, to: args.destination, multiple_files: args.multiple_files)
|
95
110
|
end
|
96
111
|
|
97
112
|
desc "Convert from YAML to Columnar"
|
98
|
-
task :columnar, [:source, :destination]
|
113
|
+
task :columnar, [:source, :destination] do |_, args|
|
99
114
|
require "convert/columnar"
|
100
|
-
Convert::Columnar.from_yaml_to_columnar(args)
|
115
|
+
Convert::Columnar.from_yaml_to_columnar(from: args.source, to: args.destination)
|
101
116
|
end
|
102
117
|
|
103
118
|
desc "Convert from YAML to mini_mime db format"
|
104
|
-
task :mini_mime, [:source, :destination]
|
119
|
+
task :mini_mime, [:source, :destination] do |_, args|
|
105
120
|
require "convert/mini_mime_db"
|
106
|
-
Convert::MiniMimeDb.from_yaml_to_mini_mime(args)
|
121
|
+
Convert::MiniMimeDb.from_yaml_to_mini_mime(from: args.source, to: args.destination)
|
107
122
|
end
|
108
123
|
end
|
109
124
|
|
110
125
|
namespace :json do
|
111
126
|
desc "Convert from JSON to YAML"
|
112
|
-
task :yaml, [:source, :destination, :multiple_files]
|
127
|
+
task :yaml, [:source, :destination, :multiple_files] do |_, args|
|
113
128
|
require "convert"
|
114
|
-
Convert.from_json_to_yaml(args)
|
129
|
+
Convert.from_json_to_yaml(from: args.source, to: args.destination, multiple_files: args.multiple_files)
|
115
130
|
end
|
116
131
|
end
|
117
132
|
end
|
data/data/content_type_mime.db
CHANGED
@@ -224,6 +224,7 @@ xbd application/vnd.fujixerox.docuworks.binder
|
|
224
224
|
fzs application/vnd.fuzzysheet base64
|
225
225
|
txd application/vnd.genomatix.tuxedo base64
|
226
226
|
ggb application/vnd.geogebra.file base64
|
227
|
+
ggs application/vnd.geogebra.slides base64
|
227
228
|
ggt application/vnd.geogebra.tool base64
|
228
229
|
gex application/vnd.geometry-explorer base64
|
229
230
|
gxt application/vnd.geonext base64
|
data/data/ext_mime.db
CHANGED
@@ -121,6 +121,7 @@ chrt application/vnd.kde.kchart
|
|
121
121
|
cif chemical/x-cif base64
|
122
122
|
cii application/vnd.anser-web-certificate-issue-initiation base64
|
123
123
|
cil application/vnd.ms-artgalry base64
|
124
|
+
cjs text/javascript quoted-printable
|
124
125
|
cla application/vnd.claymore base64
|
125
126
|
class application/octet-stream base64
|
126
127
|
clkk application/vnd.crick.clicker.keyboard base64
|
@@ -312,6 +313,7 @@ gdl model/vnd.gdl
|
|
312
313
|
geo application/vnd.dynageo base64
|
313
314
|
gex application/vnd.geometry-explorer base64
|
314
315
|
ggb application/vnd.geogebra.file base64
|
316
|
+
ggs application/vnd.geogebra.slides base64
|
315
317
|
ggt application/vnd.geogebra.tool base64
|
316
318
|
ghf application/vnd.groove-help base64
|
317
319
|
gif image/gif base64
|