kinetic_sdk 5.0.26 → 5.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/README.md +24 -0
  4. data/gems/mime-types-3.6.0/Code-of-Conduct.md +128 -0
  5. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/History.md +18 -0
  6. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/README.rdoc +2 -1
  7. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Rakefile +1 -0
  8. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/type.rb +68 -43
  9. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/container.rb +2 -2
  10. data/gems/mime-types-3.6.0/lib/mime/types/deprecations.rb +56 -0
  11. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/loader.rb +1 -1
  12. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/registry.rb +6 -4
  13. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_type.rb +37 -33
  14. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types.rb +11 -16
  15. data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_class.rb +3 -3
  16. data/gems/{mime-types-data-3.2024.0305/History.md → mime-types-data-3.2025.0107/CHANGELOG.md} +242 -180
  17. data/gems/mime-types-data-3.2025.0107/CODE_OF_CONDUCT.md +128 -0
  18. data/gems/{mime-types-data-3.2024.0305/Contributing.md → mime-types-data-3.2025.0107/CONTRIBUTING.md} +39 -133
  19. data/gems/mime-types-data-3.2025.0107/CONTRIBUTORS.md +52 -0
  20. data/gems/{mime-types-data-3.2024.0305/Licence.md → mime-types-data-3.2025.0107/LICENCE.md} +1 -1
  21. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/Manifest.txt +6 -17
  22. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/README.md +30 -30
  23. data/gems/mime-types-data-3.2025.0107/Rakefile +88 -0
  24. data/gems/mime-types-data-3.2025.0107/SECURITY.md +7 -0
  25. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/content_type_mime.db +4 -3
  26. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/ext_mime.db +4 -3
  27. data/gems/mime-types-data-3.2025.0107/data/mime-types.json +1 -0
  28. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.content_type.column +71 -5
  29. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.docs.column +66 -0
  30. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.encoding.column +66 -0
  31. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.flags.column +70 -4
  32. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.friendly.column +66 -0
  33. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.pext.column +66 -0
  34. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.use_instead.column +69 -3
  35. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/data/mime.xrefs.column +132 -66
  36. data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/lib/mime/types/data.rb +1 -1
  37. data/lib/kinetic_sdk/core/lib/jwt.rb +1 -1
  38. data/lib/kinetic_sdk/core/lib/space.rb +17 -8
  39. data/lib/kinetic_sdk/integrator/integrator-sdk.rb +140 -0
  40. data/lib/kinetic_sdk/integrator/lib/connections.rb +62 -0
  41. data/lib/kinetic_sdk/integrator/lib/executions.rb +38 -0
  42. data/lib/kinetic_sdk/integrator/lib/metadata.rb +31 -0
  43. data/lib/kinetic_sdk/integrator/lib/operations.rb +69 -0
  44. data/lib/kinetic_sdk/task/lib/handlers.rb +18 -5
  45. data/lib/kinetic_sdk/task/lib/trees.rb +3 -2
  46. data/lib/kinetic_sdk/utils/kinetic-http.rb +20 -20
  47. data/lib/kinetic_sdk/version.rb +1 -1
  48. data/lib/kinetic_sdk.rb +3 -2
  49. metadata +60 -66
  50. data/gems/mime-types-3.5.2/Code-of-Conduct.md +0 -73
  51. data/gems/mime-types-3.5.2/lib/mime/types/deprecations.rb +0 -36
  52. data/gems/mime-types-data-3.2024.0305/Code-of-Conduct.md +0 -75
  53. data/gems/mime-types-data-3.2024.0305/Rakefile +0 -170
  54. data/gems/mime-types-data-3.2024.0305/data/mime-types.json +0 -1
  55. data/gems/mime-types-data-3.2024.0305/types/application.yaml +0 -18611
  56. data/gems/mime-types-data-3.2024.0305/types/audio.yaml +0 -1740
  57. data/gems/mime-types-data-3.2024.0305/types/chemical.yaml +0 -71
  58. data/gems/mime-types-data-3.2024.0305/types/conference.yaml +0 -9
  59. data/gems/mime-types-data-3.2024.0305/types/drawing.yaml +0 -15
  60. data/gems/mime-types-data-3.2024.0305/types/font.yaml +0 -65
  61. data/gems/mime-types-data-3.2024.0305/types/image.yaml +0 -1316
  62. data/gems/mime-types-data-3.2024.0305/types/message.yaml +0 -241
  63. data/gems/mime-types-data-3.2024.0305/types/model.yaml +0 -450
  64. data/gems/mime-types-data-3.2024.0305/types/multipart.yaml +0 -179
  65. data/gems/mime-types-data-3.2024.0305/types/text.yaml +0 -1257
  66. data/gems/mime-types-data-3.2024.0305/types/video.yaml +0 -1156
  67. data/gems/mime-types-data-3.2024.0305/types/world.yaml +0 -8
  68. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Contributing.md +0 -0
  69. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Licence.md +0 -0
  70. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/Manifest.txt +0 -0
  71. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/type/columnar.rb +0 -0
  72. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/_columnar.rb +0 -0
  73. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/cache.rb +0 -0
  74. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/columnar.rb +0 -0
  75. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/full.rb +0 -0
  76. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types/logger.rb +0 -0
  77. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime/types.rb +0 -0
  78. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/lib/mime-types.rb +0 -0
  79. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/bad-fixtures/malformed +0 -0
  80. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/json.json +0 -0
  81. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/old-data +0 -0
  82. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/fixture/yaml.yaml +0 -0
  83. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/minitest_helper.rb +0 -0
  84. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_cache.rb +0 -0
  85. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_lazy.rb +0 -0
  86. /data/gems/{mime-types-3.5.2 → mime-types-3.6.0}/test/test_mime_types_loader.rb +0 -0
  87. /data/gems/{mime-types-data-3.2024.0305 → mime-types-data-3.2025.0107}/lib/mime-types-data.rb +0 -0
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ - Demonstrating empathy and kindness toward other people
21
+ - Being respectful of differing opinions, viewpoints, and experiences
22
+ - Giving and gracefully accepting constructive feedback
23
+ - Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ - Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ - The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ - Trolling, insulting or derogatory comments, and personal or political attacks
33
+ - Public or private harassment
34
+ - Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ - Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at [INSERT CONTACT
63
+ METHOD]. All complaints will be reviewed and investigated promptly and fairly.
64
+
65
+ All community leaders are obligated to respect the privacy and security of the
66
+ reporter of any incident.
67
+
68
+ ## Enforcement Guidelines
69
+
70
+ Community leaders will follow these Community Impact Guidelines in determining
71
+ the consequences for any action they deem in violation of this Code of Conduct:
72
+
73
+ ### 1. Correction
74
+
75
+ **Community Impact**: Use of inappropriate language or other behavior deemed
76
+ unprofessional or unwelcome in the community.
77
+
78
+ **Consequence**: A private, written warning from community leaders, providing
79
+ clarity around the nature of the violation and an explanation of why the
80
+ behavior was inappropriate. A public apology may be requested.
81
+
82
+ ### 2. Warning
83
+
84
+ **Community Impact**: A violation through a single incident or series of
85
+ actions.
86
+
87
+ **Consequence**: A warning with consequences for continued behavior. No
88
+ interaction with the people involved, including unsolicited interaction with
89
+ those enforcing the Code of Conduct, for a specified period of time. This
90
+ includes avoiding interactions in community spaces as well as external channels
91
+ like social media. Violating these terms may lead to a temporary or permanent
92
+ ban.
93
+
94
+ ### 3. Temporary Ban
95
+
96
+ **Community Impact**: A serious violation of community standards, including
97
+ sustained inappropriate behavior.
98
+
99
+ **Consequence**: A temporary ban from any sort of interaction or public
100
+ communication with the community for a specified period of time. No public or
101
+ private interaction with the people involved, including unsolicited interaction
102
+ with those enforcing the Code of Conduct, is allowed during this period.
103
+ Violating these terms may lead to a permanent ban.
104
+
105
+ ### 4. Permanent Ban
106
+
107
+ **Community Impact**: Demonstrating a pattern of violation of community
108
+ standards, including sustained inappropriate behavior, harassment of an
109
+ individual, or aggression toward or disparagement of classes of individuals.
110
+
111
+ **Consequence**: A permanent ban from any sort of public interaction within the
112
+ community.
113
+
114
+ ## Attribution
115
+
116
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117
+ version 2.1, available at
118
+ <https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.
119
+
120
+ Community Impact Guidelines were inspired by
121
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
122
+
123
+ For answers to common questions about this code of conduct, see the FAQ at
124
+ <https://www.contributor-covenant.org/faq>. Translations are available at
125
+ <https://www.contributor-covenant.org/translations>.
126
+
127
+ [homepage]: https://www.contributor-covenant.org
128
+ [Mozilla CoC]: https://github.com/mozilla/diversity
@@ -1,4 +1,4 @@
1
- ## Contributing
1
+ # Contributing
2
2
 
3
3
  Contributions to mime-types-data is encouraged in any form: a bug report, new
4
4
  MIME type definitions, or additional code to help manage the MIME types. As with
@@ -10,8 +10,8 @@ acceptance of your code contributions:
10
10
  - Use a thoughtfully-named topic branch that contains your change. Rebase your
11
11
  commits into logical chunks as necessary.
12
12
  - Use [quality commit messages][qcm].
13
- - Do not change the version number; when your patch is accepted and a release
14
- is made, the version will be updated at that point.
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
15
  - Submit a GitHub pull request with your changes.
16
16
  - New or changed behaviours require new or updated documentation.
17
17
 
@@ -21,7 +21,7 @@ implementation that wishes to use the data as a MIME types registry, so I am
21
21
  particularly interested in tools that will create a mime-types-data package for
22
22
  other languages.
23
23
 
24
- ### Adding or Modifying MIME Types
24
+ ## Adding or Modifying MIME Types
25
25
 
26
26
  The Ruby mime-types gem loads its data from files encoded in the `data`
27
27
  directory in this gem by loading `mime-types-data` and reading
@@ -60,7 +60,7 @@ If you are making a change for a private fork, use `rake convert:yaml:json` to
60
60
  convert the YAML to JSON, or `rake convert:yaml:columnar` to convert it to the
61
61
  new columnar format.
62
62
 
63
- #### Updating Types from the IANA or Apache Lists
63
+ ### Updating Types from the IANA or Apache Lists
64
64
 
65
65
  If you are maintaining a private fork and wish to update your copy of the MIME
66
66
  types registry used by this gem, you can do this with the rake tasks:
@@ -70,71 +70,47 @@ $ rake mime:iana
70
70
  $ rake mime:apache
71
71
  ```
72
72
 
73
- ##### A Note on Provisional Types
73
+ #### A Note on Provisional Types
74
74
 
75
- The file `types/provisional-standard-types.yaml` contains the provisionally
76
- registered types from IANA. Per IANA,
75
+ Provisionally registered types from IANA are contained in the `types/*.yaml`
76
+ files. Per IANA,
77
77
 
78
78
  > This registry, unlike some other provisional IANA registries, is only for
79
79
  > temporary use. Entries in this registry are either finalized and moved to the
80
80
  > main media types registry or are abandoned and deleted. Entries in this
81
81
  > registry are suitable for use for development and test purposes only.
82
82
 
83
- The provisional types file is rewritten when updated, so pull requests to
84
- manually promote or customize provisional types (such as with extensions). It is
85
- recommended that any updates required to the data be performed in your
86
- application if you require provisional types.
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
87
 
88
- ### Development Dependencies
88
+ ## Development Dependencies
89
89
 
90
- mime-types-data uses Ryan Davis’s {Hoe}[https://github.com/seattlerb/hoe] to
91
- manage the release process, and it adds a number of rake tasks. You will mostly
92
- be interested in:
90
+ ## Test Dependencies
93
91
 
94
- ```sh
95
- $ rake
96
- ```
97
-
98
- which runs the tests the same way that:
99
-
100
- ```sh
101
- $ rake test
102
- $ rake travis
103
- ```
104
-
105
- will do.
106
-
107
- To assist with the installation of the development dependencies for
108
- mime-types-data, I have provided the simplest possible Gemfile pointing to the
109
- (generated) `mime-types-data.gemspec` file. This will permit you to do:
110
-
111
- ```sh
112
- $ bundle install
113
- ```
114
-
115
- to get the development dependencies. If you aleady have `hoe` installed, you
116
- can accomplish the same thing with:
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.
117
95
 
118
- ```sh
119
- $ rake newb
120
- ```
121
-
122
- This task will install any missing dependencies, run the tests/specs, and
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
123
101
  generate the RDoc.
124
102
 
125
- You can run tests with code coverage analysis by running:
126
-
127
- ```sh
128
- $ rake test:coverage
129
- ```
103
+ You can run tests with code coverage analysis by running `rake test:coverage`.
130
104
 
131
105
  ### Workflow
132
106
 
133
107
  Here's the most direct way to get your work merged into the project:
134
108
 
135
109
  - Fork the project.
136
- - Clone down your fork (`git clone git://github.com/<username>/mime-types-data.git`).
137
- - Create a topic branch to contain your change (`git checkout -b my\_awesome\_feature`).
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`).
138
114
  - Hack away, add tests. Not necessarily in that order.
139
115
  - Make sure everything still passes by running `rake`.
140
116
  - If necessary, rebase your commits into logical chunks, without errors.
@@ -142,103 +118,33 @@ Here's the most direct way to get your work merged into the project:
142
118
  - Create a pull request against mime-types/mime-types-data and describe what
143
119
  your change does and the why you think it should be merged.
144
120
 
145
- ### The Release Process
121
+ ## The Release Process
146
122
 
147
- The release process needs automation; as it includes generating code and
148
- committing to the repository, it is not clear how this will happen safely.
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.
149
126
 
150
127
  1. Review any outstanding issues or pull requests to see if anything needs to be
151
- addressed. This is necessary because there is currently no automated source
152
- for extensions for the thousands of MIME entries. (Suggestions and/or pull
128
+ addressed. This is necessary because there is no automated source for
129
+ extensions for the thousands of MIME entries. (Suggestions and/or pull
153
130
  requests for same would be deeply appreciated.)
154
131
  2. `bundle install`
155
132
  3. `bundle exec rake mime:apache`
156
133
  4. `bundle exec rake mime:iana`
157
134
  5. Review the changes to make sure that the changes are sane. The IANA data
158
135
  source changes from time to time, resulting in big changes or even a broken
159
- step 4. (The most recent change was the addition of the font/\* top-level
136
+ step 4. (The most recent change was the addition of the `font/*` top-level
160
137
  category.)
161
138
  6. `bundle exec rake convert`
162
139
  7. `bundle exec rake update:version`
163
- 8. Write up the changes in History.md. If any PRs have been merged, these should
164
- be noted specifically.
140
+ 8. Write up the changes in `CHANGELOG.md`. If any PRs have been merged, these
141
+ should be noted specifically and contributions should be added in
142
+ `Contributing.md`.
165
143
  9. Commit the changes and push to GitHub.
166
144
  10. `bundle exec rake release VERSION=newversion`
167
145
 
168
- ### Automating the Release
169
-
170
- If anyone wishes to provide suggestions on automation, this would be a two-phase
171
- process:
172
-
173
- 1. A system would need to periodically create PRs to the GitHub repository with
174
- the output of the following commands (steps 2, 3, and 4):
175
-
176
- ```sh
177
- bundle install
178
- bundle exec rake mime:apache
179
- bundle exec rake mime:iana
180
- git add .
181
- git commit -m "[Automated] MIME Type update for $(date)"
182
- # Somehow make the PR from here.
183
- ```
184
-
185
- 2. Once this PR is approved and merged, the next steps would be conversion,
186
- version update, automatic update of History.md, and release (steps 6–10).
187
-
188
- This is based on an issue [#18][].
189
-
190
- ### Contributors
191
-
192
- - Austin Ziegler created mime-types.
193
-
194
- Thanks to everyone else who has contributed to mime-types:
195
-
196
- - Aaron Patterson
197
- - Aggelos Avgerinos
198
- - Alessio Parma
199
- - Alex Balhatchet
200
- - Andre Pankratz
201
- - Andrey Eremin
202
- - Andy Brody
203
- - Arnaud Meuret
204
- - Bradley Meck
205
- - Brandon Galbraith
206
- - Chris Gat
207
- - Chris Salzberg
208
- - David Genord
209
- - Eric Marden
210
- - Garret Alfert
211
- - Godfrey Chan
212
- - Greg Brockman
213
- - Hans de Graaff
214
- - Henrik Hodne
215
- - Jeremy Evans
216
- - John Gardner
217
- - Jon Sneyers
218
- - Jonas Petersen
219
- - Juanito Fatas
220
- - Keerthi Siva
221
- - Ken Ip
222
- - Łukasz Śliwa
223
- - Lucia
224
- - Martin d'Allens
225
- - Mauricio Linhares
226
- - Mohammed Gad
227
- - Myk Klemme
228
- - nycvotes-dev
229
- - Postmodern
230
- - Richard Hirner
231
- - Richard Hurt
232
- - Richard Schneeman
233
- - Robert Buchberger
234
- - Samuel Williams
235
- - Sergio Baptista
236
- - Tao Guo
237
- - Thomas Leese
238
- - Tibor Szolár
239
- - Todd Carrico
240
- - Yoran Brondsema
146
+ This is based on an issue [#18][#18].
241
147
 
242
148
  [qcm]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
243
149
  [rmt]: https://github.com/mime-types/ruby-mime-types/
244
- [#18]: https://github.com/mime-types/mime-types-data/issues/18
150
+ [hoe]: https://github.com/seattlerb/hoe
@@ -0,0 +1,52 @@
1
+ # Contributors
2
+
3
+ - Austin Ziegler created mime-types.
4
+
5
+ Thanks to everyone else who has contributed to mime-types:
6
+
7
+ - Aaron Patterson
8
+ - Aggelos Avgerinos
9
+ - Alessio Parma
10
+ - Alex Balhatchet
11
+ - Andre Pankratz
12
+ - Andrey Eremin
13
+ - Andy Brody
14
+ - Arnaud Meuret
15
+ - Bradley Meck
16
+ - Brandon Galbraith
17
+ - Chris Gat
18
+ - Chris Salzberg
19
+ - David Genord
20
+ - Eric Marden
21
+ - Garret Alfert
22
+ - Godfrey Chan
23
+ - Greg Brockman
24
+ - Hans de Graaff
25
+ - Henrik Hodne
26
+ - Jeremy Evans
27
+ - John Gardner
28
+ - Jon Sneyers
29
+ - Jonas Petersen
30
+ - Juanito Fatas
31
+ - Keerthi Siva
32
+ - Ken Ip
33
+ - Łukasz Śliwa
34
+ - Lucia
35
+ - Martin d'Allens
36
+ - Mauricio Linhares
37
+ - Mohammed Gad
38
+ - Myk Klemme
39
+ - nycvotes-dev
40
+ - Postmodern
41
+ - Richard Hirner
42
+ - Richard Hurt
43
+ - Richard Schneeman
44
+ - Robert Buchberger
45
+ - Samuel Williams
46
+ - Sergio Baptista
47
+ - Shane Eskritt
48
+ - Tao Guo
49
+ - Thomas Leese
50
+ - Tibor Szolár
51
+ - Todd Carrico
52
+ - Yoran Brondsema
@@ -1,6 +1,6 @@
1
1
  ## Licence
2
2
 
3
- - Copyright 2003–2021 Austin Ziegler and other contributors.
3
+ - Copyright 2003–2025 Austin Ziegler and other contributors.
4
4
 
5
5
  The software in this repository is made available under the MIT license.
6
6
 
@@ -1,10 +1,12 @@
1
- Code-of-Conduct.md
2
- Contributing.md
3
- History.md
4
- Licence.md
1
+ CHANGELOG.md
2
+ CODE_OF_CONDUCT.md
3
+ CONTRIBUTING.md
4
+ CONTRIBUTORS.md
5
+ LICENCE.md
5
6
  Manifest.txt
6
7
  README.md
7
8
  Rakefile
9
+ SECURITY.md
8
10
  data/content_type_mime.db
9
11
  data/ext_mime.db
10
12
  data/mime-types.json
@@ -18,16 +20,3 @@ data/mime.use_instead.column
18
20
  data/mime.xrefs.column
19
21
  lib/mime-types-data.rb
20
22
  lib/mime/types/data.rb
21
- types/application.yaml
22
- types/audio.yaml
23
- types/chemical.yaml
24
- types/conference.yaml
25
- types/drawing.yaml
26
- types/font.yaml
27
- types/image.yaml
28
- types/message.yaml
29
- types/model.yaml
30
- types/multipart.yaml
31
- types/text.yaml
32
- types/video.yaml
33
- types/world.yaml
@@ -1,8 +1,8 @@
1
1
  # mime-types-data
2
2
 
3
3
  - home :: https://github.com/mime-types/mime-types-data/
4
- - code :: https://github.com/mime-types/mime-types-data/
5
4
  - issues :: https://github.com/mime-types/mime-types-data/issues
5
+ - code :: https://github.com/mime-types/mime-types-data/
6
6
 
7
7
  ## Description
8
8
 
@@ -13,11 +13,11 @@ extensions to look up the likely MIME type definitions.
13
13
 
14
14
  ### About MIME Media Types
15
15
 
16
- MIME media types are used in MIME-compliant communications, as in e-mail or
17
- HTTP traffic, to indicate the type of content which is transmitted. The
18
- registry provided in mime-types-data contains detailed information about MIME
19
- entities. There are many types defined by RFCs and vendors, so the list is long
20
- but invariably; don't hesitate to offer additional type definitions for
16
+ MIME media types are used in MIME-compliant communications, as in e-mail or HTTP
17
+ traffic, to indicate the type of content which is transmitted. The registry
18
+ provided in mime-types-data contains detailed information about MIME entities.
19
+ There are many types defined by RFCs and vendors, so the list is long but
20
+ invariably; don't hesitate to offer additional type definitions for
21
21
  consideration. MIME type definitions found in mime-types are from RFCs, W3C
22
22
  recommendations, the [IANA Media Types registry][registry], and user
23
23
  contributions. It conforms to RFCs 2045 and 2231.
@@ -26,20 +26,20 @@ contributions. It conforms to RFCs 2045 and 2231.
26
26
 
27
27
  This registry contains the MIME media types in four formats:
28
28
 
29
- - A YAML format matching the Ruby mime-types library objects (MIME::Type).
30
- This is the primary user-editable format for developers. It is _not_
31
- shipped with the gem due to size considerations.
29
+ - A YAML format matching the Ruby mime-types library objects (MIME::Type). This
30
+ is the primary user-editable format for developers. It is _not_ shipped with
31
+ the gem due to size considerations.
32
32
  - A JSON format converted from the YAML format. Prior to Ruby mime-types 3.0,
33
33
  this was the main consumption format and is still recommended for any
34
- implementation that does not wish to implement the columnar format, which
35
- has a significant implementation effort cost.
36
- - An encoded text format splitting the data for each MIME type across
37
- multiple files. This columnar data format reduces the minimal data load
38
- substantially, resulting in a performance improvement at the cost of more
39
- complex code for loading the data on-demand. This is the default format for
40
- Ruby mime-types 3.0.
41
- - An encoded text format for use with [`mini_mime`][] (as of 3.2021.1108). This
42
- can be enabled with:
34
+ implementation that does not wish to implement the columnar format, which has
35
+ a significant implementation effort cost.
36
+ - An encoded text format splitting the data for each MIME type across multiple
37
+ files. This columnar data format reduces the minimal data load substantially,
38
+ resulting in a performance improvement at the cost of more complex code for
39
+ loading the data on-demand. This is the default format for Ruby mime-types
40
+ 3.0.
41
+ - An encoded text format for use with [`mini_mime`][minimime]. This can be
42
+ enabled with:
43
43
 
44
44
  ```ruby
45
45
  MiniMime::Configuration.ext_db_path =
@@ -50,24 +50,24 @@ This registry contains the MIME media types in four formats:
50
50
 
51
51
  ## mime-types-data Modified Semantic Versioning
52
52
 
53
- mime-types-data uses a heavily modified [Semantic Versioning][] scheme to
54
- indicate that the data formats compatibility based on a `SCHEMA` version and
55
- the date of the data update: `SCHEMA.YEAR.MONTHDAY`.
53
+ mime-types-data uses a heavily modified [Semantic Versioning][semver] scheme to
54
+ indicate that the data formats compatibility based on a `SCHEMA` version and the
55
+ date of the data update: `SCHEMA.YEAR.MONTHDAY`.
56
56
 
57
57
  1. If an incompatible data format change is made to any of the supported
58
- formts, `SCHEMA` will be incremented. The current `SCHEMA` is 3, supporting
58
+ formats, `SCHEMA` will be incremented. The current `SCHEMA` is 3, supporting
59
59
  the YAML, JSON, and columnar formats required for Ruby mime-types 3.0.
60
60
 
61
- 2. When the data is updated, the `YEAR.MONTHDAY` combination will be updated.
62
- An update on the last day of October 2015 would be written as `2015.1031`,
61
+ 2. When the data is updated, the `YEAR.MONTHDAY` combination will be updated. An
62
+ update on the last day of October 2015 would be written as `2015.1031`,
63
63
  resulting in the full version of `3.2015.1031`.
64
64
 
65
65
  3. If multiple versions of the data need to be released on the same day due to
66
- error, there will be an additional `REVISION` field incremented on the end
67
- of the version. Thus, if three revisions need to be published on October
68
- 31st, 2015, the last release would be `3.2015.1031.2` (remember that the
69
- first release has an implied `0`.)
66
+ error, there will be an additional `REVISION` field incremented on the end of
67
+ the version. Thus, if three revisions need to be published on October 31st,
68
+ 2015, the last release would be `3.2015.1031.2` (remember that the first
69
+ release has an implied `0`.)
70
70
 
71
71
  [registry]: https://www.iana.org/assignments/media-types/media-types.xhtml
72
- [semantic versioning]: http://semver.org/
73
- [`mini_mime`]: https://github.com/discourse/mini_mime
72
+ [semver]: http://semver.org/
73
+ [minimime]: https://github.com/discourse/mini_mime
@@ -0,0 +1,88 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubygems"
4
+ require "hoe"
5
+ require "rake/clean"
6
+
7
+ $LOAD_PATH.unshift("lib")
8
+ $LOAD_PATH.unshift("support")
9
+
10
+ Hoe.plugin :halostatue
11
+
12
+ Hoe.plugins.delete :debug
13
+ Hoe.plugins.delete :newb
14
+ Hoe.plugins.delete :publish
15
+ Hoe.plugins.delete :signing
16
+
17
+ Hoe.spec "mime-types-data" do
18
+ developer("Austin Ziegler", "halostatue@gmail.com")
19
+
20
+ require_ruby_version ">= 2.0"
21
+
22
+ license "MIT"
23
+
24
+ spec_extras[:metadata] = ->(val) {
25
+ val.merge!({"rubygems_mfa_required" => "true"})
26
+ }
27
+
28
+ extra_dev_deps << ["hoe", "~> 4.0"]
29
+ extra_dev_deps << ["hoe-halostatue", "~> 1.0"]
30
+ extra_dev_deps << ["mime-types", ">= 3.4.0", "< 4"]
31
+ extra_dev_deps << ["nokogiri", "~> 1.6"]
32
+ extra_dev_deps << ["rake", ">= 10.0", "< 14"]
33
+ extra_dev_deps << ["standard", "~> 1.0"]
34
+ end
35
+
36
+ namespace :mime do
37
+ desc "Download the current MIME type registrations from IANA."
38
+ task :iana, [:destination] do |_, args|
39
+ require "iana_registry"
40
+ IANARegistry.download(to: args.destination)
41
+ end
42
+
43
+ desc "Download the current MIME type configuration from Apache."
44
+ task :apache, [:destination] do |_, args|
45
+ require "apache_mime_types"
46
+ ApacheMIMETypes.download(to: args.destination)
47
+ end
48
+ end
49
+
50
+ namespace :release do
51
+ desc "Prepare a new release"
52
+ task :prepare do
53
+ require "prepare_release"
54
+
55
+ PrepareRelease.new
56
+ .download_and_convert
57
+ .write_updated_version
58
+ .write_updated_history
59
+ .rake_git_manifest
60
+ .rake_gemspec
61
+ end
62
+
63
+ desc "Prepare a new release for use with GitHub Actions"
64
+ task :gha do
65
+ require "prepare_release"
66
+
67
+ PrepareRelease.new
68
+ .download_and_convert
69
+ .write_updated_version
70
+ .write_updated_history
71
+ .rake_git_manifest
72
+ .rake_gemspec
73
+ .as_gha_vars
74
+ end
75
+ end
76
+
77
+ desc "Default conversion from YAML to JSON and Columnar"
78
+ task :convert do
79
+ require "prepare_release"
80
+
81
+ PrepareRelease.new.convert_types
82
+ end
83
+
84
+ Rake::Task["gem"].prerequisites.unshift("convert")
85
+ Rake::Task["gem"].prerequisites.unshift("git:manifest")
86
+ Rake::Task["gem"].prerequisites.unshift("gemspec")
87
+
88
+ # vim: syntax=ruby
@@ -0,0 +1,7 @@
1
+ # mime-types-data Security
2
+
3
+ ## Security contact information
4
+
5
+ To report a security vulnerability, please use the
6
+ [Tidelift security contact](https://tidelift.com/security). Tidelift will
7
+ coordinate the fix and disclosure.