mime-types-data 3.2023.0218.1 → 3.2023.1003
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +12 -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 +53 -2
- data/data/mime.docs.column +51 -0
- data/data/mime.encoding.column +51 -0
- data/data/mime.flags.column +52 -1
- data/data/mime.friendly.column +51 -0
- data/data/mime.pext.column +51 -0
- data/data/mime.use_instead.column +52 -1
- data/data/mime.xrefs.column +89 -38
- data/lib/mime/types/data.rb +1 -1
- data/types/application.yaml +355 -20
- data/types/audio.yaml +3 -3
- data/types/image.yaml +36 -17
- data/types/message.yaml +27 -0
- data/types/model.yaml +9 -0
- data/types/text.yaml +58 -0
- 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: e9bd8d654ca21cd35049714f89a4f480c0285f9dfbdca43ea7f0ec30ac26ffc3
|
4
|
+
data.tar.gz: 60d1a83b6955d6aedfdd8ae7327af68902c9b8f06f0017bbf6478840ae23772d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d4ec3d423ae7de41ac5a0127656ee5f5d7edf395b23d050167027c3dad9fd966cc7f7a34855071e2409724b6e6a222372a156ea30941fe7515e267ccadd658f
|
7
|
+
data.tar.gz: 68865589a8f1b781b8f1ae08e479d09a2336d8c499624b21030acd5b01c4ec04922448a4b831be487b7c8af4438a04973ae9f797d7934710e3043ad5cfb2b58b
|
data/History.md
CHANGED
@@ -2,6 +2,18 @@
|
|
2
2
|
|
3
3
|
<!-- automatic-release -->
|
4
4
|
|
5
|
+
## 3.2023.1003 / 2023-10-03
|
6
|
+
|
7
|
+
- - Updated the Apache and IANA media registry entries as of release date
|
8
|
+
|
9
|
+
## 3.2023.0905 / 2023-09-05
|
10
|
+
|
11
|
+
- - Updated the Apache and IANA media registry entries as of release date
|
12
|
+
|
13
|
+
## 3.2023.0808 / 2023-08-08
|
14
|
+
|
15
|
+
- - Updated the Apache and IANA media registry entries as of release date
|
16
|
+
|
5
17
|
## 3.2023.0218.1 / 2023-02-18
|
6
18
|
|
7
19
|
- When this data library was created in 2015, I made the decision based on
|
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
|