mime-types-data 3.2023.0218.1 → 3.2024.0206

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 407b6b3f39d8864db03fcc6ea0188d1e5702e14a9034b224b8f8a59750a139d8
4
- data.tar.gz: 8514ceab66d7117cd381f3096dd3c0e8218c87cfd933fc091b5691273717531e
3
+ metadata.gz: c776f033aea997e912f6e3259b479bb631bb3e4dcbc727cc6837eb4116b6b54c
4
+ data.tar.gz: 5a0627c50628f2d0584716555cb1c3b086508af3031f60e3ef27786ce2701ae1
5
5
  SHA512:
6
- metadata.gz: bd84d3815eba7e299393fda98c78f658d318d265d828f487cf7829d5f2db612a74bcca62604467cdab76fdc8fab8e2e2853d13086ce1fdcb30de9342bc346e56
7
- data.tar.gz: f3b1d056bb4979058da50b0920d09dbaf3ff28a62ec27d47e352a62bbe5b22aaf72f3a7056ce784df58310ee2a8f8989cdc746657a40482379c0ce3b952c84bd
6
+ metadata.gz: 75828473367fe71eefc516c12e2db6a5f0c2bf133caec1ef50d3d47036aa621cc05e9466e0d1e7b62b0d2deeca35848b2d2b2a57150e79f7d237984f4322af69
7
+ data.tar.gz: 5a0d111ab30050bd1498a7a6fd7b1b89386be00e7c27ecab3ceda59b54ab159f047ad6d230b4e7d971151662afc0c531021242b72e516018fb194349d5a2568a
data/History.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  <!-- automatic-release -->
4
4
 
5
+ ## 3.2024.0206 / 2024-02-06
6
+
7
+ - - Updated the Apache and IANA media registry entries as of release date
8
+
9
+ ## 3.2024.0102 / 2024-01-02
10
+
11
+ - - Updated the Apache and IANA media registry entries as of release date
12
+
13
+ ## 3.2023.1205 / 2023-12-05
14
+
15
+ - - Updated the Apache and IANA media registry entries as of release date
16
+
17
+ ## 3.2023.1107 / 2023-11-07
18
+
19
+ - - Updated the Apache and IANA media registry entries as of release date
20
+
21
+ ## 3.2023.1003 / 2023-10-03
22
+
23
+ - - Updated the Apache and IANA media registry entries as of release date
24
+
25
+ ## 3.2023.0905 / 2023-09-05
26
+
27
+ - - Updated the Apache and IANA media registry entries as of release date
28
+
29
+ ## 3.2023.0808 / 2023-08-08
30
+
31
+ - - Updated the Apache and IANA media registry entries as of release date
32
+
5
33
  ## 3.2023.0218.1 / 2023-02-18
6
34
 
7
35
  - 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 :git
10
- Hoe.plugin :travis
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
- extra_dev_deps << ["nokogiri", "~> 1.6"]
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 << ["standardrb", "~> 1.0"]
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] => :support do |_, args|
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] => :support do |_, args|
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] => :support do |_, args|
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] => :support do |_, args|
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
@@ -138,7 +153,7 @@ namespace :update do
138
153
  - Updated the Apache and IANA media registry entries as of release date.
139
154
  NOTE
140
155
 
141
- updated = history.sub(/<!-- automatic-release -->\n/, note)
156
+ updated = history.sub("<!-- automatic-release -->\n", note)
142
157
 
143
158
  IO.write("History.md", updated)
144
159
  end
@@ -73,6 +73,7 @@ pkipath application/pkix-pkipath
73
73
  pki application/pkixcmp base64
74
74
  pls application/pls+xml base64
75
75
  eps application/postscript 8bit
76
+ prql application/prql base64
76
77
  cw application/prs.cww base64
77
78
  rnd application/prs.nprend base64
78
79
  pskcxml application/pskc+xml base64
@@ -224,6 +225,7 @@ xbd application/vnd.fujixerox.docuworks.binder
224
225
  fzs application/vnd.fuzzysheet base64
225
226
  txd application/vnd.genomatix.tuxedo base64
226
227
  ggb application/vnd.geogebra.file base64
228
+ ggs application/vnd.geogebra.slides base64
227
229
  ggt application/vnd.geogebra.tool base64
228
230
  gex application/vnd.geometry-explorer base64
229
231
  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
@@ -475,6 +477,7 @@ m14 application/x-msmediaview
475
477
  m1v video/mpeg base64
476
478
  m21 application/mp21 base64
477
479
  m2a audio/mpeg base64
480
+ m2t video/MP2T base64
478
481
  m2ts video/MP2T base64
479
482
  m2v video/mpeg base64
480
483
  m3a audio/mpeg base64
@@ -725,6 +728,7 @@ pqa application/vnd.palm
725
728
  prc application/vnd.palm base64
726
729
  pre application/vnd.lotus-freelance base64
727
730
  prf application/pics-rules base64
731
+ prql application/prql base64
728
732
  ps application/postscript 8bit
729
733
  ps1 application/x-msdos-program base64
730
734
  psb application/vnd.3gpp.pic-bw-small base64