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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 407b6b3f39d8864db03fcc6ea0188d1e5702e14a9034b224b8f8a59750a139d8
4
- data.tar.gz: 8514ceab66d7117cd381f3096dd3c0e8218c87cfd933fc091b5691273717531e
3
+ metadata.gz: e9bd8d654ca21cd35049714f89a4f480c0285f9dfbdca43ea7f0ec30ac26ffc3
4
+ data.tar.gz: 60d1a83b6955d6aedfdd8ae7327af68902c9b8f06f0017bbf6478840ae23772d
5
5
  SHA512:
6
- metadata.gz: bd84d3815eba7e299393fda98c78f658d318d265d828f487cf7829d5f2db612a74bcca62604467cdab76fdc8fab8e2e2853d13086ce1fdcb30de9342bc346e56
7
- data.tar.gz: f3b1d056bb4979058da50b0920d09dbaf3ff28a62ec27d47e352a62bbe5b22aaf72f3a7056ce784df58310ee2a8f8989cdc746657a40482379c0ce3b952c84bd
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 :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
@@ -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