mime-types-data 3.2025.0107 → 3.2025.0220

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: 229d5d91e22284486fbeb71852e3ef452f3d0b4d877a0a3c7b845f4e5e49c63c
4
- data.tar.gz: 2bc93a84c9ec78aa965f68543cf3695fe465e5c1008004652733851436b910ba
3
+ metadata.gz: 335e91bdeffdddf816f95c795c8181d90054c62ab203da8e9fc7bba4d401cd32
4
+ data.tar.gz: e134b524974d525e0bd986038913f80ccdb22732e7e3ad90dd2ecd605882e709
5
5
  SHA512:
6
- metadata.gz: f030825ca967f02c10157881239d60948aec1f62fedffe42aee21d9ab9589c0e8bd8f59e5eca22da793e1a9349ccde8b424de4795b421d4178dfbd3db3a01f64
7
- data.tar.gz: 673ae24984555c01b7c76cd28d77bb1776c5bb8b5f7dc93264d0873a0217944f1a0e2a2f851decc6f56448b34adfa16a8b1197595b584bdfebec073d5fe817a8
6
+ metadata.gz: 35ba10a184bd975861f12d56876e2a942c8cceb5b6cf35bb0922265fdd6899202db9692ea2c4288c39ac65065cecb6a20138b87b64c0b2e4e84eae1e4670938b
7
+ data.tar.gz: 6ff470db525f3f5f68e81272ce9fc56d56ea5a5dd4f80c7ff00c1bf610dbecf41c0697a1cfcc117e24c396810cac65b470fa4f05e67909210e00463399c01789
data/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  <!-- automatic-release -->
4
4
 
5
+ ## 3.2025.0220 / 2025-02-20
6
+
7
+ - Updated the Apache and IANA media registry entries as of release date
8
+
9
+ - Added [trusted publishing][tp] for fully automated releases. Developed by
10
+ Samuel Giddins in [#109][pull-109], merged manually with some updates.
11
+
12
+ ## 3.2025.0204 / 2025-02-04
13
+
14
+ - Updated the Apache and IANA media registry entries as of release date
15
+
16
+ - Added the Changelog URL to the README so that RubyGems.org is updated with the
17
+ `changelog_uri` on release. Contributed by Mark Young in [#96][pull-96].
18
+
19
+ - Fixed an issue with automated releases that added thousands of files because
20
+ `vendor/` was no longer ignored.
21
+
22
+ - Fixed the automated release builder process to handle the case when the
23
+ `automatic-release` tag is followed by a `## NEXT / YYYY-MM-DD` header so that
24
+ changes merged normally are picked up on automatic releases. [#98][pull-98]
25
+
5
26
  ## 3.2025.0107 / 2025-01-07
6
27
 
7
28
  - Updated the Apache and IANA media registry entries as of release date
@@ -40,7 +61,7 @@
40
61
  - Updated the Apache and IANA media registry entries as of release date.
41
62
 
42
63
  - Added `.jxl` extension for `image/jxl`. Contributed by Shane Eskritt in
43
- [#81][#81].
64
+ [#81][pull-81].
44
65
 
45
66
  ## 3.2024.0806 / 2024-08-06
46
67
 
@@ -55,7 +76,7 @@
55
76
  - This update adds a new `haptics/` group with three media types defined.
56
77
 
57
78
  - Moved extensions from `audio/x-aac` to `audio/aac` and mark `audio/x-aac` as
58
- obsolete. Based on [#77][#77] by Samuel Williams.
79
+ obsolete. Based on [#77][pull-77] by Samuel Williams.
59
80
 
60
81
  - Made the same changes for `audio/flac` and `audio/matroska`.
61
82
 
@@ -118,8 +139,8 @@
118
139
  information available to deprecate `text/javascript` in favour of
119
140
  `application/javascript`. Since the previous update (2022-01-05), IANA has
120
141
  officially deprecated `application/javascript` in favour of `text/javascript`.
121
- Samuel Williams discovered this in [#55][#55] by noting that all `js` types
122
- were marked obsolete in version 3.2023.0218.
142
+ Samuel Williams discovered this in [#55][issue-55] by noting that all `js`
143
+ types were marked obsolete in version 3.2023.0218.
123
144
 
124
145
  A hotfix has been applied to resolve this. However, note that
125
146
  `application/javascript` will not be returned by default, only
@@ -130,15 +151,15 @@
130
151
  - Updated the Apache and IANA media registry entries as of release date.
131
152
 
132
153
  - Mohammed Gad added the `jfif` file extension for `image/jpeg` text format.
133
- [#52][#52]
154
+ [#52][pull-52]
134
155
 
135
156
  - Reworked the loading of IANA provisional media registries to merge them into
136
157
  the top-level media-type registries instead of a standalone registry file.
137
- [#53][#53] originally identified by Chris Salzberg in [#50][#50].
158
+ [#53][pull-53] originally identified by Chris Salzberg in [#50][pull-50].
138
159
 
139
160
  It is worth noting that this is an _imperfect_ solution as if a media type is
140
161
  provisionally registered and withdrawn, it will linger in the registry with no
141
- clean way of identifying them at the moment. See [#54][#54].
162
+ clean way of identifying them at the moment. See [#54][issue-54].
142
163
 
143
164
  This release also fixes [ruby-mime-types#163][ruby-mime-types#163], where logs
144
165
  show "Type application/netcdf is already registered as a variant of
@@ -149,25 +170,25 @@
149
170
  - Updated the Apache and IANA media registry entries as of release date.
150
171
 
151
172
  - Fixed an incorrect definition of `image/bmp`, which had been marked obsolete
152
- and later registered. Fixed [#48][#48], found by William T. Nelson.
173
+ and later registered. Fixed [#48][issue-48], found by William T. Nelson.
153
174
 
154
175
  ## 3.2021.1115 / 2021-11-15
155
176
 
156
177
  - Updated the Apache and IANA media registry entries as of release date.
157
178
 
158
179
  - Added conversion utilities that support the `mini_mime` data format. These
159
- have been ported from the [mini_mime][mini_mime] repository. [#47][#47]
180
+ have been ported from the [mini\_mime][mini_mime] repository. [#47][pull-47]
160
181
 
161
- - Added IANA provisional media registries. Added some notes to Contributing.md
182
+ - Added IANA provisional media registries. Added some notes to CONTRIBUTING.md
162
183
  about the transient nature of the provisional registration data. This was
163
- triggered in part by a pull request by Jon Sneyers. Thanks! [#45][#45],
164
- [#43][#43]
184
+ triggered in part by a pull request by Jon Sneyers. Thanks! [#45][pull-45],
185
+ [#43][pull-43]
165
186
 
166
187
  ## 3.2021.0901 / 2021-09-01
167
188
 
168
189
  - Updated the Apache and IANA media registry entries as of release date.
169
190
 
170
- - Added file extension for WebVTT text format. [#46][#46]
191
+ - Added file extension for WebVTT text format. [#46][pull-46]
171
192
 
172
193
  ## 3.2021.0704 / 2021-07-04
173
194
 
@@ -177,7 +198,7 @@
177
198
 
178
199
  - Updated the Apache and IANA media registry entries as of release date.
179
200
 
180
- - Added file extension for AVIF video format. [#40][#40]
201
+ - Added file extension for AVIF video format. [#40][pull-40]
181
202
 
182
203
  ## 3.2021.0212 / 2021-02-12
183
204
 
@@ -192,67 +213,68 @@
192
213
 
193
214
  - Updated the IANA media registry entries as of release date.
194
215
 
195
- - Added `application/x-zip-compressed`. [#36][#36]
216
+ - Added `application/x-zip-compressed`. [#36][pull-36]
196
217
 
197
218
  - Updated the contributing guide to include information about the release
198
- process as described in [#18][#18]
219
+ process as described in [#18][issue-18]
199
220
 
200
- - Corrected a misspelling of Yoran Brondsemas name. Sorry, Yoran. [#35][#35]
221
+ - Corrected a misspelling of Yoran Brondsema's name. Sorry, Yoran.
222
+ [#35][pull-35]
201
223
 
202
224
  ## 3.2020.0512 / 2020-05-12
203
225
 
204
226
  - Updated the IANA media registry entries as of release date.
205
227
 
206
- - Added file extensions for HEIC image types. [#34][#34]
228
+ - Added file extensions for HEIC image types. [#34][pull-34]
207
229
 
208
230
  ## 3.2020.0425 / 2020-04-25
209
231
 
210
232
  - Updated the IANA media registry entries as of release date.
211
233
 
212
234
  - Added several RAW image types based on data from GNOME RAW Thumbnailer.
213
- [#33][#33] fixing [#32][#32]
235
+ [#33][pull-33] fixing [#32][issue-32]
214
236
 
215
- - Added `audio/wav`. [#31][#31]
237
+ - Added `audio/wav`. [#31][pull-31]
216
238
 
217
- - Added a type for Smarttech notebook files. [#30][#30]
239
+ - Added a type for Smarttech notebook files. [#30][pull-30]
218
240
 
219
- - Added an alias for audio/m4a files. [#29][#29]
241
+ - Added an alias for audio/m4a files. [#29][pull-29]
220
242
 
221
- - Added application/x-ms-dos-executable. [#28][#28]
243
+ - Added application/x-ms-dos-executable. [#28][pull-28]
222
244
 
223
245
  ## 3.2019.1009 / 2019-10-09
224
246
 
225
247
  - Updated the IANA media registry entries as of release date.
226
248
 
227
249
  - Reordered the `.ai` extension so that it is not the preferred extension for
228
- `application/pdf` [#24][#24]
250
+ `application/pdf` [#24][pull-24]
229
251
 
230
252
  ## 3.2019.0904 / 2019-09-04
231
253
 
232
254
  - Updated the IANA media registry entries as of release date.
233
255
 
234
256
  - Moved the `.ai` extension from `application/postscript` to `application/pdf`.
235
- [#23][#23] fixing [#22][#22]
257
+ [#23][pull-23] fixing [#22][issue-22]
236
258
 
237
259
  ## 3.2019.0331 / 2019-03-31
238
260
 
239
261
  - Updated the IANA media registry entries as of release date.
240
262
 
241
- - Added support for `application/wasm` with extension `.wasm`. [#21][#21]
263
+ - Added support for `application/wasm` with extension `.wasm`. [#21][pull-21]
242
264
 
243
- - Fixed `application/ecmascript` extensions. [#20][#20]
265
+ - Fixed `application/ecmascript` extensions. [#20][pull-20]
244
266
 
245
267
  ## 3.2018.0812 / 2018-08-12
246
268
 
247
- - Added `.xsd` extension to `text/xml`. [#10][#10]
269
+ - Added `.xsd` extension to `text/xml`. [#10][pull-10]
248
270
 
249
271
  - Added `.js` and `.mjs` extensions to `text/ecmascript` and `text/javascript`.
250
- [#11][#11]
272
+ [#11][pull-11]
251
273
 
252
- - Added `.ipa` extension to `application/octet-stream`. [#12][#12]
274
+ - Added `.ipa` extension to `application/octet-stream`. [#12][pull-12]
253
275
 
254
276
  - Moved extensions `.markdown` and `.md` and added `.mkd` extension to
255
- `text/markdown`. [#13][#13]
277
+ `text/markdown`. [#13][pull-13]
256
278
 
257
279
  - Because of a bug found with mime-types 3 before 3.2.1, this version requires
258
280
  mime-types 3.1 or later to manage data.
@@ -271,7 +293,7 @@
271
293
  - Updated the known extension list for application/octet-stream and
272
294
  application/pgp-encrypted to include gpg as an extension. Fixes
273
295
  [#3](https://github.com/mime-types/mime-types-data/pull/3) by Tao Guo
274
- (@taoza).
296
+ ([@taoza](https://github.com/taoza)).
275
297
  - Updated the IANA media registry entries as of release date:
276
298
 
277
299
  - Updated metadata for application/EmergencyCallData.Comment+xml,
@@ -324,7 +346,7 @@
324
346
  ## 3.2015.1120 / 2015-11-20
325
347
 
326
348
  - Extracted from [ruby-mime-types][rmt].
327
- - Added a [Code of Conduct].
349
+ - Added a [Code of Conduct][Code of Conduct].
328
350
  - The versioning has changed to be semantic on format plus date in two parts.
329
351
 
330
352
  - All registry formats have been updated to remove deprecated data.
@@ -365,7 +387,7 @@
365
387
 
366
388
  ## 2.6 / 2015-05-25
367
389
 
368
- - Steven Michael Thomas (@stevenmichaelthomas) added `woff2` as an extension to
390
+ - Steven Michael Thomas ([@stevenmichaelthomas](https://github.com/stevenmichaelthomas)) added `woff2` as an extension to
369
391
  application/font-woff, [ruby-mime-types#99][ruby-mime-types#99].
370
392
  - Updated the IANA media registry entries as of release date:
371
393
  - Updated metadata for application/jose, application/jose+json,
@@ -397,17 +419,17 @@
397
419
  (RFC7396), application/smil, application/vnd.arastra.swi,
398
420
  application/vnd.geocube+xml, application/vnd.gmx, application/xhtml+xml,
399
421
  text/directory.
400
- - Andy Brody (@ab) fixed a pair of embarrassing typos in text/csv and
422
+ - Andy Brody ([@ab](https://github.com/ab)) fixed a pair of embarrassing typos in text/csv and
401
423
  text/tab-separated-values,
402
424
  [ruby-mime-types#89](https://github.com/mime-types/ruby-mime-types/pull/89).
403
- - Aggelos Avgerinos (@eavgerinos) added the unregistered MIME type
425
+ - Aggelos Avgerinos ([@eavgerinos](https://github.com/eavgerinos)) added the unregistered MIME type
404
426
  image/x-ms-bmp with the extension `bmp`,
405
427
  [ruby-mime-types#90](https://github.com/mime-types/ruby-mime-types/pull/90).
406
428
 
407
429
  ## 2.4.2 / 2014-10-15
408
430
 
409
431
  - Added application/vnd.ms-outlook as an unregistered MIME type with the
410
- extension `msg`. Provided by @keerthisiv in
432
+ extension `msg`. Provided by [@keerthisiv](https://github.com/keerthisiv) in
411
433
  [ruby-mime-types#72](https://github.com/mime-types/ruby-mime-types/pull/72).
412
434
 
413
435
  ## 2.4.1 / 2014-10-07
@@ -465,7 +487,7 @@
465
487
  ## 2.2 / 2014-03-14
466
488
 
467
489
  - Added <tt>.sj</tt> to `application/javascript` as provided by Brandon
468
- Galbraith (@brandongalbraith) in
490
+ Galbraith ([@brandongalbraith](https://github.com/brandongalbraith)) in
469
491
  [ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
470
492
  - Marked application/excel and application/x-excel as obsolete in favour of
471
493
  application/vnd.ms-excel per
@@ -629,8 +651,11 @@
629
651
  [#55]: https://github.com/mime-types/mime-types-data/issues/55
630
652
  [#77]: https://github.com/mime-types/mime-types-data/pull/77
631
653
  [#81]: https://github.com/mime-types/mime-types-data/pull/81
654
+ [#96]: https://github.com/mime-types/mime-types-data/pull/96
655
+ [#98]: https://github.com/mime-types/mime-types-data/pull/98
632
656
  [rmt]: https://github.com/mime-types/ruby-mime-types
633
- [code of conduct]: Code-of-Conduct.md
657
+ [code of conduct]: CODE_OF_CONDUCT.md
634
658
  [mini_mime]: https://github.com/discourse/mini_mime/issues/41
635
659
  [ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
636
660
  [ruby-mime-types#163]: https://github.com/mime-types/ruby-mime-types/issues/163
661
+ [tp]: https://guides.rubygems.org/trusted-publishing/
data/CONTRIBUTING.md CHANGED
@@ -1,19 +1,38 @@
1
1
  # Contributing
2
2
 
3
- Contributions to mime-types-data is encouraged in any form: a bug report, new
4
- MIME type definitions, or additional code to help manage the MIME types. As with
5
- many of my projects, I have a few suggestions for improving the chance of
6
- acceptance of your code contributions:
7
-
8
- - The support files are written in Ruby and should remain in the coding style
9
- that already exists, and I use hoe for releasing the mime-types-data RubyGem.
10
- - Use a thoughtfully-named topic branch that contains your change. Rebase your
11
- commits into logical chunks as necessary.
12
- - Use [quality commit messages][qcm].
13
- - Do not change the version number; when your patch is accepted and a release is
14
- made, the version will be updated at that point.
15
- - Submit a GitHub pull request with your changes.
16
- - New or changed behaviours require new or updated documentation.
3
+ Contribution to mime-types-data is encouraged in any form: a bug report, new
4
+ MIME type definitions, or additional code to help manage the MIME types. There
5
+ are a few DOs and DON'Ts for contributions.
6
+
7
+ - DO:
8
+
9
+ - Keep the coding style that already exists for any updated Ruby code (support
10
+ or otherwise). I use [Standard Ruby][standardrb] for linting and formatting.
11
+
12
+ - Use thoughtfully-named topic branches for contributions. Rebase your commits
13
+ into logical chunks as necessary.
14
+
15
+ - Use [quality commit messages][qcm].
16
+
17
+ - Add your name or GitHub handle to `CONTRIBUTORS.md` and a record in the
18
+ `CHANGELOG.md` as a separate commit from your main change. (Follow the style
19
+ in the `CHANGELOG.md` and provide a link to your PR.)
20
+
21
+ - DO NOT:
22
+
23
+ - Modify `VERSION` in `lib/mime/types/data.rb`. When your patch is accepted
24
+ and a release is made, the version will be updated at that point. Most
25
+ likely, once merged, your release will be rolled into the next automatic
26
+ release.
27
+
28
+ - Modify `mime-types-data.gemspec`; it is a generated file. (You _may_ use
29
+ `rake gemspec` to regenerate it if your change involves metadata related to
30
+ gem itself).
31
+
32
+ - Modify the `Gemfile`.
33
+
34
+ - Modify any files in `data/`. Any changes to be captured here will be
35
+ automatically updated on the next release.
17
36
 
18
37
  Although mime-types-data was extracted from the [Ruby mime-types][rmt] gem and
19
38
  the support files are written in Ruby, the _target_ of mime-types-data is any
@@ -26,8 +45,12 @@ other languages.
26
45
  The Ruby mime-types gem loads its data from files encoded in the `data`
27
46
  directory in this gem by loading `mime-types-data` and reading
28
47
  MIME::Types::Data::PATH. These files are compiled files from the collection of
29
- data in the `types` directory. Pull requests that include changes to these files
30
- will require amendment to revert these files.
48
+ data in the `types` directory.
49
+
50
+ > [!WARNING]
51
+ >
52
+ > Pull requests that include changes to files in `data/` will require amendment
53
+ > to revert these files.
31
54
 
32
55
  New or modified MIME types should be edited in the appropriate YAML file under
33
56
  `types`. The format is as shown below for the `application/xml` MIME type in
@@ -85,66 +108,43 @@ customize provisional types (such as with extensions) are considered lower
85
108
  priority. It is recommended that any updates required to the data be performed
86
109
  in your application if you require provisional types.
87
110
 
88
- ## Development Dependencies
89
-
90
- ## Test Dependencies
91
-
92
- mime-types-data uses Ryan Davis’s [Hoe][hoe] to manage the release process, and
93
- it adds a number of rake tasks. You will mostly be interested in `rake`, which
94
- runs tests the same way that `rake test` does.
95
-
96
- To assist with the installation of the development dependencies for mime-types,
97
- I have provided the simplest possible Gemfile pointing to the (generated)
98
- `mime-types-data.gemspec` file. This permits `bundle install` for dependencies.
99
- If you already have `hoe` installed, you can accomplish the same thing with
100
- `rake newb`. This task will install any missing dependencies, run the tests, and
101
- generate the RDoc.
102
-
103
- You can run tests with code coverage analysis by running `rake test:coverage`.
104
-
105
- ### Workflow
106
-
107
- Here's the most direct way to get your work merged into the project:
111
+ ## The Release Process
108
112
 
109
- - Fork the project.
110
- - Clone down your fork
111
- (`git clone git://github.com/<username>/mime-types-data.git`).
112
- - Create a topic branch to contain your change
113
- (`git checkout -b my\_awesome\_feature`).
114
- - Hack away, add tests. Not necessarily in that order.
115
- - Make sure everything still passes by running `rake`.
116
- - If necessary, rebase your commits into logical chunks, without errors.
117
- - Push the branch up (`git push origin my\_awesome\_feature`).
118
- - Create a pull request against mime-types/mime-types-data and describe what
119
- your change does and the why you think it should be merged.
113
+ The release process is almost completely automated, where upstream MIME types
114
+ will be updated weekly (on Tuesdays) and be presented in a reviewable pull
115
+ request. Once merged, I need to perform a release and the update is complete.
120
116
 
121
- ## The Release Process
117
+ With the addition of [trusted publishing][tp], there should no longer be a need
118
+ for manual releases outside of the update cycle. Pull requests merged between
119
+ cycles will be released on the next cycle.
122
120
 
123
- The release process is much more automated than it used to be, as regular
124
- updates are performed with GitHub actions on Tuesdays. Before release, however,
125
- a final step of checking for IANA updates should be performed.
121
+ If it becomes necessary to perform a manual release, IANA updates should be
122
+ performed manually.
126
123
 
127
124
  1. Review any outstanding issues or pull requests to see if anything needs to be
128
125
  addressed. This is necessary because there is no automated source for
129
126
  extensions for the thousands of MIME entries. (Suggestions and/or pull
130
127
  requests for same would be deeply appreciated.)
131
128
  2. `bundle install`
132
- 3. `bundle exec rake mime:apache`
133
- 4. `bundle exec rake mime:iana`
134
- 5. Review the changes to make sure that the changes are sane. The IANA data
129
+ 3. Review the changes to make sure that the changes are sane. The IANA data
135
130
  source changes from time to time, resulting in big changes or even a broken
136
131
  step 4. (The most recent change was the addition of the `font/*` top-level
137
132
  category.)
138
- 6. `bundle exec rake convert`
139
- 7. `bundle exec rake update:version`
140
- 8. Write up the changes in `CHANGELOG.md`. If any PRs have been merged, these
133
+ 4. Write up the changes in `CHANGELOG.md`. If any PRs have been merged, these
141
134
  should be noted specifically and contributions should be added in
142
135
  `Contributing.md`.
143
- 9. Commit the changes and push to GitHub.
144
- 10. `bundle exec rake release VERSION=newversion`
136
+ 5. Ensure that the `VERSION` in `lib/mime/types/data.rb` is updated with the
137
+ current date UTC.
138
+ 6. Run `rake gemspec` to ensure that `mime-types.gemspec` has been updated.
139
+ 7. Commit the changes and push to GitHub. The automated trusted publishing
140
+ workflow will pick up the changes.
145
141
 
146
- This is based on an issue [#18][#18].
142
+ This is based on an issue [#18][issue-18].
147
143
 
144
+ [issue-18]: https://github.com/mime-types/mime-types-data/issues/18
145
+ [hoe]: https://github.com/seattlerb/hoe
148
146
  [qcm]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
147
+ [release-gem]: https://github.com/rubygems/release-gem
149
148
  [rmt]: https://github.com/mime-types/ruby-mime-types/
150
- [hoe]: https://github.com/seattlerb/hoe
149
+ [standardrb]: https://github.com/standardrb/standard
150
+ [tp]: https://guides.rubygems.org/trusted-publishing/
data/CONTRIBUTORS.md CHANGED
@@ -32,6 +32,7 @@ Thanks to everyone else who has contributed to mime-types:
32
32
  - Ken Ip
33
33
  - Łukasz Śliwa
34
34
  - Lucia
35
+ - Mark Young
35
36
  - Martin d'Allens
36
37
  - Mauricio Linhares
37
38
  - Mohammed Gad
@@ -42,6 +43,7 @@ Thanks to everyone else who has contributed to mime-types:
42
43
  - Richard Hurt
43
44
  - Richard Schneeman
44
45
  - Robert Buchberger
46
+ - Samuel Giddins
45
47
  - Samuel Williams
46
48
  - Sergio Baptista
47
49
  - Shane Eskritt
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  - home :: https://github.com/mime-types/mime-types-data/
4
4
  - issues :: https://github.com/mime-types/mime-types-data/issues
5
5
  - code :: https://github.com/mime-types/mime-types-data/
6
+ - changelog :: https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md
6
7
 
7
8
  ## Description
8
9
 
data/Rakefile CHANGED
@@ -17,6 +17,8 @@ Hoe.plugins.delete :signing
17
17
  Hoe.spec "mime-types-data" do
18
18
  developer("Austin Ziegler", "halostatue@gmail.com")
19
19
 
20
+ self.trusted_release = ENV["rubygems_release_gem"] == "true"
21
+
20
22
  require_ruby_version ">= 2.0"
21
23
 
22
24
  license "MIT"
@@ -26,7 +28,7 @@ Hoe.spec "mime-types-data" do
26
28
  }
27
29
 
28
30
  extra_dev_deps << ["hoe", "~> 4.0"]
29
- extra_dev_deps << ["hoe-halostatue", "~> 1.0"]
31
+ extra_dev_deps << ["hoe-halostatue", "~> 2.0"]
30
32
  extra_dev_deps << ["mime-types", ">= 3.4.0", "< 4"]
31
33
  extra_dev_deps << ["nokogiri", "~> 1.6"]
32
34
  extra_dev_deps << ["rake", ">= 10.0", "< 14"]
@@ -47,6 +49,11 @@ namespace :mime do
47
49
  end
48
50
  end
49
51
 
52
+ task :version do
53
+ require "mime/types/data"
54
+ puts MIME::Types::Data::VERSION
55
+ end
56
+
50
57
  namespace :release do
51
58
  desc "Prepare a new release"
52
59
  task :prepare do