mime-types-data 3.2024.1001 → 3.2025.0318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mime-types-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2024.1001
4
+ version: 3.2025.0318
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Ziegler
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-02 00:00:00.000000000 Z
10
+ date: 2025-03-19 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: hoe
@@ -25,61 +24,19 @@ dependencies:
25
24
  - !ruby/object:Gem::Version
26
25
  version: '4.0'
27
26
  - !ruby/object:Gem::Dependency
28
- name: hoe-doofus
27
+ name: hoe-halostatue
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '1.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.0'
41
- - !ruby/object:Gem::Dependency
42
- name: hoe-gemspec2
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.1'
55
- - !ruby/object:Gem::Dependency
56
- name: hoe-git2
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.7'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.7'
69
- - !ruby/object:Gem::Dependency
70
- name: hoe-rubygems
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.0'
32
+ version: '2.0'
76
33
  type: :development
77
34
  prerelease: false
78
35
  version_requirements: !ruby/object:Gem::Requirement
79
36
  requirements:
80
37
  - - "~>"
81
38
  - !ruby/object:Gem::Version
82
- version: '1.0'
39
+ version: '2.0'
83
40
  - !ruby/object:Gem::Dependency
84
41
  name: mime-types
85
42
  requirement: !ruby/object:Gem::Requirement
@@ -148,26 +105,6 @@ dependencies:
148
105
  - - "~>"
149
106
  - !ruby/object:Gem::Version
150
107
  version: '1.0'
151
- - !ruby/object:Gem::Dependency
152
- name: rdoc
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- version: '4.0'
158
- - - "<"
159
- - !ruby/object:Gem::Version
160
- version: '7'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: '4.0'
168
- - - "<"
169
- - !ruby/object:Gem::Version
170
- version: '7'
171
108
  description: |-
172
109
  mime-types-data provides a registry for information about MIME media type
173
110
  definitions. It can be used with the Ruby mime-types library or other software
@@ -178,18 +115,20 @@ email:
178
115
  executables: []
179
116
  extensions: []
180
117
  extra_rdoc_files:
181
- - Code-of-Conduct.md
182
- - Contributing.md
183
- - History.md
184
- - Licence.md
118
+ - CHANGELOG.md
119
+ - CODE_OF_CONDUCT.md
120
+ - CONTRIBUTING.md
121
+ - CONTRIBUTORS.md
122
+ - LICENCE.md
185
123
  - Manifest.txt
186
124
  - README.md
187
125
  - SECURITY.md
188
126
  files:
189
- - Code-of-Conduct.md
190
- - Contributing.md
191
- - History.md
192
- - Licence.md
127
+ - CHANGELOG.md
128
+ - CODE_OF_CONDUCT.md
129
+ - CONTRIBUTING.md
130
+ - CONTRIBUTORS.md
131
+ - LICENCE.md
193
132
  - Manifest.txt
194
133
  - README.md
195
134
  - Rakefile
@@ -207,27 +146,15 @@ files:
207
146
  - data/mime.xrefs.column
208
147
  - lib/mime-types-data.rb
209
148
  - lib/mime/types/data.rb
210
- - types/application.yaml
211
- - types/audio.yaml
212
- - types/chemical.yaml
213
- - types/conference.yaml
214
- - types/drawing.yaml
215
- - types/example.yaml
216
- - types/font.yaml
217
- - types/haptics.yaml
218
- - types/image.yaml
219
- - types/message.yaml
220
- - types/model.yaml
221
- - types/multipart.yaml
222
- - types/text.yaml
223
- - types/video.yaml
224
- - types/world.yaml
225
149
  homepage: https://github.com/mime-types/mime-types-data/
226
150
  licenses:
227
151
  - MIT
228
152
  metadata:
153
+ homepage_uri: https://github.com/mime-types/mime-types-data/
154
+ bug_tracker_uri: https://github.com/mime-types/mime-types-data/issues
155
+ source_code_uri: https://github.com/mime-types/mime-types-data/
156
+ changelog_uri: https://github.com/mime-types/mime-types-data/blob/main/CHANGELOG.md
229
157
  rubygems_mfa_required: 'true'
230
- post_install_message:
231
158
  rdoc_options:
232
159
  - "--main"
233
160
  - README.md
@@ -244,8 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
171
  - !ruby/object:Gem::Version
245
172
  version: '0'
246
173
  requirements: []
247
- rubygems_version: 3.5.16
248
- signing_key:
174
+ rubygems_version: 3.6.6
249
175
  specification_version: 4
250
176
  summary: mime-types-data provides a registry for information about MIME media type
251
177
  definitions
data/Contributing.md DELETED
@@ -1,203 +0,0 @@
1
- # Contributing
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.
17
-
18
- Although mime-types-data was extracted from the [Ruby mime-types][rmt] gem and
19
- the support files are written in Ruby, the _target_ of mime-types-data is any
20
- implementation that wishes to use the data as a MIME types registry, so I am
21
- particularly interested in tools that will create a mime-types-data package for
22
- other languages.
23
-
24
- ## Adding or Modifying MIME Types
25
-
26
- The Ruby mime-types gem loads its data from files encoded in the `data`
27
- directory in this gem by loading `mime-types-data` and reading
28
- 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.
31
-
32
- New or modified MIME types should be edited in the appropriate YAML file under
33
- `types`. The format is as shown below for the `application/xml` MIME type in
34
- `types/application.yml`.
35
-
36
- ```yaml
37
- - !ruby/object:MIME::Type
38
- content-type: application/xml
39
- encoding: 8bit
40
- extensions:
41
- - xml
42
- - xsl
43
- references:
44
- - IANA
45
- - RFC3023
46
- xrefs:
47
- rfc:
48
- - rfc3023
49
- registered: true
50
- ```
51
-
52
- There are other fields that can be added, matching the fields discussed in the
53
- documentation for MIME::Type. Pull requests for MIME types should just contain
54
- the changes to the YAML files for the new or modified MIME types; I will convert
55
- the YAML files to JSON prior to a new release. I would rather not have to verify
56
- that the JSON matches the YAML changes, which is why it is not necessary to
57
- convert for the pull request.
58
-
59
- If you are making a change for a private fork, use `rake convert:yaml:json` to
60
- convert the YAML to JSON, or `rake convert:yaml:columnar` to convert it to the
61
- new columnar format.
62
-
63
- ### Updating Types from the IANA or Apache Lists
64
-
65
- If you are maintaining a private fork and wish to update your copy of the MIME
66
- types registry used by this gem, you can do this with the rake tasks:
67
-
68
- ```sh
69
- $ rake mime:iana
70
- $ rake mime:apache
71
- ```
72
-
73
- #### A Note on Provisional Types
74
-
75
- Provisionally registered types from IANA are contained in the `types/*.yaml`
76
- files. Per IANA,
77
-
78
- > This registry, unlike some other provisional IANA registries, is only for
79
- > temporary use. Entries in this registry are either finalized and moved to the
80
- > main media types registry or are abandoned and deleted. Entries in this
81
- > registry are suitable for use for development and test purposes only.
82
-
83
- Provisional types are rewritten when updated, so pull requests to manually
84
- customize provisional types (such as with extensions) are considered lower
85
- priority. It is recommended that any updates required to the data be performed
86
- in your application if you require provisional types.
87
-
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:
108
-
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.
120
-
121
- ## The Release Process
122
-
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.
126
-
127
- 1. Review any outstanding issues or pull requests to see if anything needs to be
128
- addressed. This is necessary because there is no automated source for
129
- extensions for the thousands of MIME entries. (Suggestions and/or pull
130
- requests for same would be deeply appreciated.)
131
- 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
135
- source changes from time to time, resulting in big changes or even a broken
136
- step 4. (The most recent change was the addition of the `font/*` top-level
137
- category.)
138
- 6. `bundle exec rake convert`
139
- 7. `bundle exec rake update:version`
140
- 8. Write up the changes in `History.md`. If any PRs have been merged, these
141
- should be noted specifically and contributions should be added in
142
- `Contributing.md`.
143
- 9. Commit the changes and push to GitHub.
144
- 10. `bundle exec rake release VERSION=newversion`
145
-
146
- This is based on an issue [#18][#18].
147
-
148
- ### Contributors
149
-
150
- - Austin Ziegler created mime-types.
151
-
152
- Thanks to everyone else who has contributed to mime-types:
153
-
154
- - Aaron Patterson
155
- - Aggelos Avgerinos
156
- - Alessio Parma
157
- - Alex Balhatchet
158
- - Andre Pankratz
159
- - Andrey Eremin
160
- - Andy Brody
161
- - Arnaud Meuret
162
- - Bradley Meck
163
- - Brandon Galbraith
164
- - Chris Gat
165
- - Chris Salzberg
166
- - David Genord
167
- - Eric Marden
168
- - Garret Alfert
169
- - Godfrey Chan
170
- - Greg Brockman
171
- - Hans de Graaff
172
- - Henrik Hodne
173
- - Jeremy Evans
174
- - John Gardner
175
- - Jon Sneyers
176
- - Jonas Petersen
177
- - Juanito Fatas
178
- - Keerthi Siva
179
- - Ken Ip
180
- - Łukasz Śliwa
181
- - Lucia
182
- - Martin d'Allens
183
- - Mauricio Linhares
184
- - Mohammed Gad
185
- - Myk Klemme
186
- - nycvotes-dev
187
- - Postmodern
188
- - Richard Hirner
189
- - Richard Hurt
190
- - Richard Schneeman
191
- - Robert Buchberger
192
- - Samuel Williams
193
- - Sergio Baptista
194
- - Shane Eskritt
195
- - Tao Guo
196
- - Thomas Leese
197
- - Tibor Szolár
198
- - Todd Carrico
199
- - Yoran Brondsema
200
-
201
- [qcm]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
202
- [rmt]: https://github.com/mime-types/ruby-mime-types/
203
- [hoe]: https://github.com/seattlerb/hoe