kinetic_sdk 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. checksums.yaml +7 -0
  2. data/GettingStarted.md +64 -0
  3. data/README.md +383 -0
  4. data/bin/console +12 -0
  5. data/bin/setup +8 -0
  6. data/gems/kontena-websocket-client-0.1.1/Gemfile +4 -0
  7. data/gems/kontena-websocket-client-0.1.1/LICENSE +190 -0
  8. data/gems/kontena-websocket-client-0.1.1/README.md +138 -0
  9. data/gems/kontena-websocket-client-0.1.1/Rakefile +6 -0
  10. data/gems/kontena-websocket-client-0.1.1/benchmark/benchmark-client.rb +45 -0
  11. data/gems/kontena-websocket-client-0.1.1/benchmark/benchmark-em.rb +66 -0
  12. data/gems/kontena-websocket-client-0.1.1/benchmark/benchmark.rb +161 -0
  13. data/gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh +17 -0
  14. data/gems/kontena-websocket-client-0.1.1/benchmark/websocket-echo-server.go +207 -0
  15. data/gems/kontena-websocket-client-0.1.1/examples/websocket-echo-client.rb +80 -0
  16. data/gems/kontena-websocket-client-0.1.1/kontena-websocket-client.gemspec +24 -0
  17. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/client/connection.rb +119 -0
  18. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/client/version.rb +13 -0
  19. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/client.rb +848 -0
  20. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/error.rb +81 -0
  21. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/logging.rb +55 -0
  22. data/gems/kontena-websocket-client-0.1.1/lib/kontena/websocket/openssl_patch.rb +10 -0
  23. data/gems/kontena-websocket-client-0.1.1/lib/kontena-websocket-client.rb +15 -0
  24. data/gems/mime-types-3.1/Code-of-Conduct.rdoc +74 -0
  25. data/gems/mime-types-3.1/Contributing.rdoc +130 -0
  26. data/gems/mime-types-3.1/History.rdoc +658 -0
  27. data/gems/mime-types-3.1/Licence.rdoc +25 -0
  28. data/gems/mime-types-3.1/Manifest.txt +31 -0
  29. data/gems/mime-types-3.1/README.rdoc +202 -0
  30. data/gems/mime-types-3.1/Rakefile +254 -0
  31. data/gems/mime-types-3.1/lib/mime/type/columnar.rb +55 -0
  32. data/gems/mime-types-3.1/lib/mime/type.rb +573 -0
  33. data/gems/mime-types-3.1/lib/mime/types/_columnar.rb +135 -0
  34. data/gems/mime-types-3.1/lib/mime/types/cache.rb +56 -0
  35. data/gems/mime-types-3.1/lib/mime/types/columnar.rb +1 -0
  36. data/gems/mime-types-3.1/lib/mime/types/container.rb +30 -0
  37. data/gems/mime-types-3.1/lib/mime/types/deprecations.rb +32 -0
  38. data/gems/mime-types-3.1/lib/mime/types/full.rb +17 -0
  39. data/gems/mime-types-3.1/lib/mime/types/loader.rb +148 -0
  40. data/gems/mime-types-3.1/lib/mime/types/logger.rb +37 -0
  41. data/gems/mime-types-3.1/lib/mime/types/registry.rb +81 -0
  42. data/gems/mime-types-3.1/lib/mime/types.rb +228 -0
  43. data/gems/mime-types-3.1/lib/mime-types.rb +1 -0
  44. data/gems/mime-types-3.1/test/bad-fixtures/malformed +9 -0
  45. data/gems/mime-types-3.1/test/fixture/json.json +1 -0
  46. data/gems/mime-types-3.1/test/fixture/old-data +9 -0
  47. data/gems/mime-types-3.1/test/fixture/yaml.yaml +55 -0
  48. data/gems/mime-types-3.1/test/minitest_helper.rb +13 -0
  49. data/gems/mime-types-3.1/test/test_mime_type.rb +603 -0
  50. data/gems/mime-types-3.1/test/test_mime_types.rb +161 -0
  51. data/gems/mime-types-3.1/test/test_mime_types_cache.rb +109 -0
  52. data/gems/mime-types-3.1/test/test_mime_types_class.rb +155 -0
  53. data/gems/mime-types-3.1/test/test_mime_types_lazy.rb +43 -0
  54. data/gems/mime-types-3.1/test/test_mime_types_loader.rb +32 -0
  55. data/gems/mime-types-data-3.2016.0521/Code-of-Conduct.md +75 -0
  56. data/gems/mime-types-data-3.2016.0521/Contributing.md +157 -0
  57. data/gems/mime-types-data-3.2016.0521/History.md +351 -0
  58. data/gems/mime-types-data-3.2016.0521/Licence.md +25 -0
  59. data/gems/mime-types-data-3.2016.0521/Manifest.txt +18 -0
  60. data/gems/mime-types-data-3.2016.0521/README.md +61 -0
  61. data/gems/mime-types-data-3.2016.0521/Rakefile +80 -0
  62. data/gems/mime-types-data-3.2016.0521/data/mime-types.json +1 -0
  63. data/gems/mime-types-data-3.2016.0521/data/mime.content_type.column +1964 -0
  64. data/gems/mime-types-data-3.2016.0521/data/mime.docs.column +1964 -0
  65. data/gems/mime-types-data-3.2016.0521/data/mime.encoding.column +1964 -0
  66. data/gems/mime-types-data-3.2016.0521/data/mime.flags.column +1964 -0
  67. data/gems/mime-types-data-3.2016.0521/data/mime.friendly.column +1964 -0
  68. data/gems/mime-types-data-3.2016.0521/data/mime.pext.column +1964 -0
  69. data/gems/mime-types-data-3.2016.0521/data/mime.use_instead.column +1964 -0
  70. data/gems/mime-types-data-3.2016.0521/data/mime.xrefs.column +1964 -0
  71. data/gems/mime-types-data-3.2016.0521/lib/mime/types/data.rb +21 -0
  72. data/gems/mime-types-data-3.2016.0521/lib/mime-types-data.rb +3 -0
  73. data/gems/multipart-post-2.0.0/Gemfile +14 -0
  74. data/gems/multipart-post-2.0.0/History.txt +60 -0
  75. data/gems/multipart-post-2.0.0/Manifest.txt +9 -0
  76. data/gems/multipart-post-2.0.0/README.md +77 -0
  77. data/gems/multipart-post-2.0.0/Rakefile +9 -0
  78. data/gems/multipart-post-2.0.0/lib/composite_io.rb +108 -0
  79. data/gems/multipart-post-2.0.0/lib/multipart_post.rb +9 -0
  80. data/gems/multipart-post-2.0.0/lib/multipartable.rb +29 -0
  81. data/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +27 -0
  82. data/gems/multipart-post-2.0.0/lib/parts.rb +96 -0
  83. data/gems/multipart-post-2.0.0/multipart-post.gemspec +22 -0
  84. data/gems/multipart-post-2.0.0/test/multibyte.txt +1 -0
  85. data/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +110 -0
  86. data/gems/multipart-post-2.0.0/test/test_composite_io.rb +115 -0
  87. data/gems/multipart-post-2.0.0/test/test_parts.rb +86 -0
  88. data/gems/parallel-1.12.1/MIT-LICENSE.txt +20 -0
  89. data/gems/parallel-1.12.1/lib/parallel/processor_count.rb +93 -0
  90. data/gems/parallel-1.12.1/lib/parallel/version.rb +3 -0
  91. data/gems/parallel-1.12.1/lib/parallel.rb +500 -0
  92. data/gems/ruby-progressbar-1.9.0/LICENSE.txt +19 -0
  93. data/gems/ruby-progressbar-1.9.0/README.md +38 -0
  94. data/gems/ruby-progressbar-1.9.0/Rakefile +2 -0
  95. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +183 -0
  96. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +99 -0
  97. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  98. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +96 -0
  99. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +29 -0
  100. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +43 -0
  101. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +107 -0
  102. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +13 -0
  103. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +5 -0
  104. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  105. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +27 -0
  106. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +59 -0
  107. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +36 -0
  108. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +3 -0
  109. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +68 -0
  110. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  111. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +33 -0
  112. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
  113. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +118 -0
  114. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +25 -0
  115. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +1 -0
  116. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +25 -0
  117. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +30 -0
  118. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +72 -0
  119. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +3 -0
  120. data/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +18 -0
  121. data/gems/slugify-1.0.7/README +18 -0
  122. data/gems/slugify-1.0.7/lib/slugify.rb +1012 -0
  123. data/gems/slugify-1.0.7/lib/slugify_string.rb +11 -0
  124. data/gems/slugify-1.0.7/tests/slugify_test.rb +116 -0
  125. data/gems/slugify-1.0.7/tests/string_slugify_test.rb +23 -0
  126. data/gems/websocket-driver-0.6.5/CHANGELOG.md +123 -0
  127. data/gems/websocket-driver-0.6.5/LICENSE.md +22 -0
  128. data/gems/websocket-driver-0.6.5/README.md +369 -0
  129. data/gems/websocket-driver-0.6.5/examples/tcp_server.rb +28 -0
  130. data/gems/websocket-driver-0.6.5/ext/websocket-driver/Makefile +264 -0
  131. data/gems/websocket-driver-0.6.5/ext/websocket-driver/WebsocketMaskService.java +55 -0
  132. data/gems/websocket-driver-0.6.5/ext/websocket-driver/extconf.rb +4 -0
  133. data/gems/websocket-driver-0.6.5/ext/websocket-driver/websocket_mask.bundle +0 -0
  134. data/gems/websocket-driver-0.6.5/ext/websocket-driver/websocket_mask.c +41 -0
  135. data/gems/websocket-driver-0.6.5/ext/websocket-driver/websocket_mask.o +0 -0
  136. data/gems/websocket-driver-0.6.5/lib/websocket/driver/client.rb +140 -0
  137. data/gems/websocket-driver-0.6.5/lib/websocket/driver/draft75.rb +102 -0
  138. data/gems/websocket-driver-0.6.5/lib/websocket/driver/draft76.rb +96 -0
  139. data/gems/websocket-driver-0.6.5/lib/websocket/driver/event_emitter.rb +54 -0
  140. data/gems/websocket-driver-0.6.5/lib/websocket/driver/headers.rb +45 -0
  141. data/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi/frame.rb +20 -0
  142. data/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi/message.rb +31 -0
  143. data/gems/websocket-driver-0.6.5/lib/websocket/driver/hybi.rb +406 -0
  144. data/gems/websocket-driver-0.6.5/lib/websocket/driver/proxy.rb +68 -0
  145. data/gems/websocket-driver-0.6.5/lib/websocket/driver/server.rb +80 -0
  146. data/gems/websocket-driver-0.6.5/lib/websocket/driver/stream_reader.rb +55 -0
  147. data/gems/websocket-driver-0.6.5/lib/websocket/driver.rb +199 -0
  148. data/gems/websocket-driver-0.6.5/lib/websocket/http/headers.rb +112 -0
  149. data/gems/websocket-driver-0.6.5/lib/websocket/http/request.rb +45 -0
  150. data/gems/websocket-driver-0.6.5/lib/websocket/http/response.rb +29 -0
  151. data/gems/websocket-driver-0.6.5/lib/websocket/http.rb +15 -0
  152. data/gems/websocket-driver-0.6.5/lib/websocket/mask.rb +14 -0
  153. data/gems/websocket-driver-0.6.5/lib/websocket/websocket_mask.rb +2 -0
  154. data/gems/websocket-driver-0.6.5/lib/websocket_mask.bundle +0 -0
  155. data/gems/websocket-driver-0.6.5-java/CHANGELOG.md +123 -0
  156. data/gems/websocket-driver-0.6.5-java/LICENSE.md +22 -0
  157. data/gems/websocket-driver-0.6.5-java/README.md +369 -0
  158. data/gems/websocket-driver-0.6.5-java/examples/tcp_server.rb +28 -0
  159. data/gems/websocket-driver-0.6.5-java/ext/websocket-driver/WebsocketMaskService.java +55 -0
  160. data/gems/websocket-driver-0.6.5-java/ext/websocket-driver/extconf.rb +4 -0
  161. data/gems/websocket-driver-0.6.5-java/ext/websocket-driver/websocket_mask.c +41 -0
  162. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/client.rb +140 -0
  163. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/draft75.rb +102 -0
  164. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/draft76.rb +96 -0
  165. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/event_emitter.rb +54 -0
  166. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/headers.rb +45 -0
  167. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/hybi/frame.rb +20 -0
  168. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/hybi/message.rb +31 -0
  169. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/hybi.rb +406 -0
  170. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/proxy.rb +68 -0
  171. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/server.rb +80 -0
  172. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver/stream_reader.rb +55 -0
  173. data/gems/websocket-driver-0.6.5-java/lib/websocket/driver.rb +199 -0
  174. data/gems/websocket-driver-0.6.5-java/lib/websocket/http/headers.rb +112 -0
  175. data/gems/websocket-driver-0.6.5-java/lib/websocket/http/request.rb +45 -0
  176. data/gems/websocket-driver-0.6.5-java/lib/websocket/http/response.rb +29 -0
  177. data/gems/websocket-driver-0.6.5-java/lib/websocket/http.rb +15 -0
  178. data/gems/websocket-driver-0.6.5-java/lib/websocket/mask.rb +14 -0
  179. data/gems/websocket-driver-0.6.5-java/lib/websocket/websocket_mask.rb +2 -0
  180. data/gems/websocket-driver-0.6.5-java/lib/websocket_mask.jar +0 -0
  181. data/gems/websocket-extensions-0.1.3/CHANGELOG.md +15 -0
  182. data/gems/websocket-extensions-0.1.3/LICENSE.md +20 -0
  183. data/gems/websocket-extensions-0.1.3/README.md +313 -0
  184. data/gems/websocket-extensions-0.1.3/lib/websocket/extensions/parser.rb +111 -0
  185. data/gems/websocket-extensions-0.1.3/lib/websocket/extensions.rb +181 -0
  186. data/lib/kinetic-sdk.rb +1 -0
  187. data/lib/kinetic_sdk/bridgehub/bridgehub-sdk.rb +80 -0
  188. data/lib/kinetic_sdk/bridgehub/lib/access_keys.rb +67 -0
  189. data/lib/kinetic_sdk/bridgehub/lib/bridge.rb +69 -0
  190. data/lib/kinetic_sdk/discussions/discussions-sdk.rb +165 -0
  191. data/lib/kinetic_sdk/discussions/lib/discussions.rb +107 -0
  192. data/lib/kinetic_sdk/discussions/lib/invitations.rb +120 -0
  193. data/lib/kinetic_sdk/discussions/lib/messages.rb +190 -0
  194. data/lib/kinetic_sdk/discussions/lib/meta.rb +14 -0
  195. data/lib/kinetic_sdk/discussions/lib/participants.rb +64 -0
  196. data/lib/kinetic_sdk/discussions/lib/related_items.rb +54 -0
  197. data/lib/kinetic_sdk/discussions/lib/websockets.rb +96 -0
  198. data/lib/kinetic_sdk/filehub/filehub-sdk.rb +80 -0
  199. data/lib/kinetic_sdk/filehub/lib/access_keys.rb +67 -0
  200. data/lib/kinetic_sdk/filehub/lib/filestores.rb +67 -0
  201. data/lib/kinetic_sdk/request_ce/lib/attribute_definitions.rb +153 -0
  202. data/lib/kinetic_sdk/request_ce/lib/bridges.rb +66 -0
  203. data/lib/kinetic_sdk/request_ce/lib/categories.rb +34 -0
  204. data/lib/kinetic_sdk/request_ce/lib/datastore_form.rb +110 -0
  205. data/lib/kinetic_sdk/request_ce/lib/datastore_submissions.rb +157 -0
  206. data/lib/kinetic_sdk/request_ce/lib/form.rb +99 -0
  207. data/lib/kinetic_sdk/request_ce/lib/form_types.rb +51 -0
  208. data/lib/kinetic_sdk/request_ce/lib/jwt.rb +55 -0
  209. data/lib/kinetic_sdk/request_ce/lib/kapp.rb +93 -0
  210. data/lib/kinetic_sdk/request_ce/lib/meta.rb +14 -0
  211. data/lib/kinetic_sdk/request_ce/lib/oauth.rb +37 -0
  212. data/lib/kinetic_sdk/request_ce/lib/security_policy_definitions.rb +157 -0
  213. data/lib/kinetic_sdk/request_ce/lib/space.rb +89 -0
  214. data/lib/kinetic_sdk/request_ce/lib/submissions.rb +215 -0
  215. data/lib/kinetic_sdk/request_ce/lib/system_api.rb +69 -0
  216. data/lib/kinetic_sdk/request_ce/lib/teams.rb +113 -0
  217. data/lib/kinetic_sdk/request_ce/lib/users.rb +245 -0
  218. data/lib/kinetic_sdk/request_ce/lib/webhook_jobs.rb +142 -0
  219. data/lib/kinetic_sdk/request_ce/lib/webhooks.rb +192 -0
  220. data/lib/kinetic_sdk/request_ce/request-ce-sdk.rb +153 -0
  221. data/lib/kinetic_sdk/task/lib/access_keys.rb +94 -0
  222. data/lib/kinetic_sdk/task/lib/categories.rb +190 -0
  223. data/lib/kinetic_sdk/task/lib/config.rb +202 -0
  224. data/lib/kinetic_sdk/task/lib/engine.rb +42 -0
  225. data/lib/kinetic_sdk/task/lib/environment.rb +14 -0
  226. data/lib/kinetic_sdk/task/lib/errors.rb +165 -0
  227. data/lib/kinetic_sdk/task/lib/groups.rb +112 -0
  228. data/lib/kinetic_sdk/task/lib/handlers.rb +105 -0
  229. data/lib/kinetic_sdk/task/lib/health.rb +28 -0
  230. data/lib/kinetic_sdk/task/lib/license.rb +52 -0
  231. data/lib/kinetic_sdk/task/lib/policy_rules.rb +166 -0
  232. data/lib/kinetic_sdk/task/lib/setup.rb +56 -0
  233. data/lib/kinetic_sdk/task/lib/sources.rb +134 -0
  234. data/lib/kinetic_sdk/task/lib/tasks.rb +17 -0
  235. data/lib/kinetic_sdk/task/lib/trees.rb +274 -0
  236. data/lib/kinetic_sdk/task/lib/users.rb +75 -0
  237. data/lib/kinetic_sdk/task/task-sdk.rb +92 -0
  238. data/lib/kinetic_sdk/utils/kinetic-http-headers.rb +150 -0
  239. data/lib/kinetic_sdk/utils/kinetic-http-response.rb +75 -0
  240. data/lib/kinetic_sdk/utils/kinetic-http.rb +552 -0
  241. data/lib/kinetic_sdk/utils/logger.rb +70 -0
  242. data/lib/kinetic_sdk/utils/random.rb +30 -0
  243. data/lib/kinetic_sdk/version.rb +7 -0
  244. data/lib/kinetic_sdk.rb +57 -0
  245. metadata +414 -0
@@ -0,0 +1,157 @@
1
+ ## Contributing
2
+
3
+ Contributions to mime-types-data is encouraged in any form: a bug report, new
4
+ MIME type defintions, 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
14
+ is 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
30
+ files 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
34
+ in `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: !ruby/hash:MIME::Types::Container
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
55
+ convert the YAML files to JSON prior to a new release. I would rather not have
56
+ to verify that the JSON matches the YAML changes, which is why it is not
57
+ necessary to 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
+ $ rake mime:iana
69
+ $ rake mime:apache
70
+
71
+ ### Development Dependencies
72
+
73
+ mime-types-data uses Ryan Davis’s {Hoe}[https://github.com/seattlerb/hoe] to
74
+ manage the release process, and it adds a number of rake tasks. You will mostly
75
+ be interested in:
76
+
77
+ $ rake
78
+
79
+ which runs the tests the same way that:
80
+
81
+ $ rake test
82
+ $ rake travis
83
+
84
+ will do.
85
+
86
+ To assist with the installation of the development dependencies for
87
+ mime-types-data, I have provided the simplest possible Gemfile pointing to the
88
+ (generated) `mime-types-data.gemspec` file. This will permit you to do:
89
+
90
+ $ bundle install
91
+
92
+ to get the development dependencies. If you aleady have `hoe` installed, you
93
+ can accomplish the same thing with:
94
+
95
+ $ rake newb
96
+
97
+ This task will install any missing dependencies, run the tests/specs, and
98
+ generate the RDoc.
99
+
100
+ You can run tests with code coverage analysis by running:
101
+
102
+ $ rake test:coverage
103
+
104
+ ### Workflow
105
+
106
+ Here's the most direct way to get your work merged into the project:
107
+
108
+ * Fork the project.
109
+ * Clone down your fork (`git clone
110
+ git://github.com/<username>/mime-types-data.git`).
111
+ * Create a topic branch to contain your change (`git checkout -b
112
+ my\_awesome\_feature`).
113
+ * Hack away, add tests. Not necessarily in that order.
114
+ * Make sure everything still passes by running `rake`.
115
+ * If necessary, rebase your commits into logical chunks, without errors.
116
+ * Push the branch up (`git push origin my\_awesome\_feature`).
117
+ * Create a pull request against mime-types/mime-types-data and describe what
118
+ your change does and the why you think it should be merged.
119
+
120
+ ### Contributors
121
+
122
+ * Austin Ziegler created mime-types.
123
+
124
+ Thanks to everyone else who has contributed to mime-types:
125
+
126
+ * Aaron Patterson
127
+ * Aggelos Avgerinos
128
+ * Andre Pankratz
129
+ * Andy Brody
130
+ * Arnaud Meuret
131
+ * Brandon Galbraith
132
+ * Chris Gat
133
+ * David Genord
134
+ * Eric Marden
135
+ * Garret Alfert
136
+ * Godfrey Chan
137
+ * Greg Brockman
138
+ * Hans de Graaff
139
+ * Henrik Hodne
140
+ * Jeremy Evans
141
+ * Juanito Fatas
142
+ * Łukasz Śliwa
143
+ * Keerthi Siva
144
+ * Ken Ip
145
+ * Martin d'Allens
146
+ * Mauricio Linhares
147
+ * nycvotes-dev
148
+ * Postmodern
149
+ * Richard Hirner
150
+ * Richard Hurt
151
+ * Richard Schneeman
152
+ * Tao Guo
153
+ * Tibor Szolár
154
+ * Todd Carrico
155
+
156
+ [qcm]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
157
+ [rmt]: https://github.com/mime-types/ruby-mime-types/
@@ -0,0 +1,351 @@
1
+ # MIME Types Changes by Version
2
+
3
+ ## 3.2016.0521 / 2016-05-21
4
+
5
+ * Updated the known extension list for application/octet-stream and
6
+ application/pgp-encrypted to include gpg as an extension. Fixes
7
+ [#3](https://github.com/mime-types/mime-types-data/pull/3) by Tao Guo
8
+ (@taoza).
9
+ * Updated the IANA media registry entries as of release date:
10
+
11
+ * Updated metadata for application/EmergencyCallData.Comment\+xml,
12
+ application/EmergencyCallData.DeviceInfo\+xml,
13
+ application/EmergencyCallData.ProviderInfo\+xml,
14
+ application/EmergencyCallData.ServiceInfo\+xml,
15
+ application/EmergencyCallData.SubscriberInfo\+xml,
16
+ application/ogg, application/problem\+json, application/problem\+xml,
17
+ audio/ogg, text/markdown, video/H265, video/ogg.
18
+ * Added application/efi, application/vnd.3gpp.sms\+xml,
19
+ application/vnd.3lightssoftware.imagescal,
20
+ application/vnd.coreos.ignition\+json, application/vnd.oma.lwm2m\+json,
21
+ application/vnd.onepager, application/vnd.quarantainenet,
22
+ application/vnd.vel\+json, image/emf, image/wmf, text/prs.prop.logic.
23
+ * image/bmp has a draft RFC which would make it official; it has been
24
+ finally been registered. As such, this version *reverses* the
25
+ use-instead relationship of image/bmp and image/x-bmp.
26
+
27
+ * This version requires mime-types 3.1 or later to manage data because of an
28
+ issue with JSON data encoding for the `xrefs` field.
29
+
30
+ ## 3.2016.0221 / 2016-02-21
31
+
32
+ * Updated the known extensions list for audio/mp4.
33
+ * Updated the IANA media registry entries as of release date:
34
+
35
+ * Updated metadata for 3GPP-defined types (there are many),
36
+ application/cdni, and application/rfc+xml.
37
+ * Added application/EmergencyCallData.Comment+xml,
38
+ application/EmergencyCallData.DeviceInfo+xml,
39
+ application/EmergencyCallData.ProviderInfo+xml,
40
+ application/EmergencyCallData.ServiceInfo+xml,
41
+ application/ppsp-tracker+json, application/problem+json,
42
+ application/problem+xml, application/vnd.filmit.zfc,
43
+ application/vnd.hdt, application/vnd.mapbox-vector-tile,
44
+ application/vnd.ms-PrintDeviceCapabilities+xml,
45
+ application/vnd.ms-PrintSchemaTicket+xml,
46
+ application/vnd.ms-windows.nwprinting.oob, application/vnd.tml,
47
+ model/vnd.rosette.annotated-data-model, and video/H265.
48
+
49
+ * Updated to [Contributor Covenant 1.4][Code of Conduct].
50
+ * Shift the support code in this repository to be developed with Ruby 2.3.
51
+ This involves:
52
+
53
+ * Adding `frozen_string_literal: true` to all Ruby files.
54
+ * Applied some recommended readability and performance suggestions from
55
+ Rubocop. Ignored some style recommendations, too.
56
+ * Replaced some cases of `foo.bar rescue nil` with `foo&.bar`.
57
+
58
+ ## 3.2015.1120 / 2015-11-20
59
+
60
+ * Extracted from [ruby-mime-types][rmt].
61
+ * Added a [Code of Conduct][].
62
+ * The versioning has changed to be semantic on format plus date in two parts.
63
+
64
+ * All registry formats have been updated to remove deprecated data.
65
+ * The columnar format has been updated to store three boolean flags in a
66
+ single flags file.
67
+
68
+ * Updated the conversion and management utilities to work with
69
+ ruby-mime-types 3.x.
70
+
71
+ * Updated the IANA media registry entries as of release date:
72
+
73
+ * Updated metadata for application/scim+json, audio/G711-0, text/markdown.
74
+
75
+ * Added application/cdni, application/csvm+json, application/rfc+xml,
76
+ application/vnd.3gpp.access-transfer-events+xml,
77
+ application/vnd.3gpp.srvcc-ext+xml, application/vnd.3gpp.SRVCC-info+xml,
78
+ application/vnd.ms-windows.devicepairing,
79
+ application/vnd.ms-windows.wsd.oob, application/vnd.oxli.countgraph,
80
+ application/vnd.pagerduty+json, video/VP8.
81
+
82
+ ## 2.6.2 / 2015-09-13
83
+
84
+ * Updated the IANA media registry entries as of release date:
85
+
86
+ * Updated metadata for application/cals-1840, application/index.obj,
87
+ application/ocsp-response, application/vnd.dtg.local.html,
88
+ application/vnd.pwg-multiplexed, audio/G7221, audio/opus.
89
+
90
+ * Added application/pkcs12, application/scim+json, multipart/form-data.
91
+ application/vnd.3gpp-prose+xml, application/vnd.3gpp-prose-pc3ch+xml,
92
+ application/vnd.3gpp.mid-call+xml,
93
+ application/vnd.3gpp-state-and-event-info+xml,
94
+ application.3gpp.ussd+xml, application/vnd.anki,
95
+ application/vnd.biopax.rdf+xml, application/vnd.drive+json,
96
+ application/vnd.firemonkeys.cloudcell,
97
+ application/vnd.hyperdrive+json, application/vnd.openblox.game+xml,
98
+ application/vnd.openblox.game-binary, application/vnd.uri-map,
99
+ audio/G711-0, image/vnd.mozilla.apng.
100
+
101
+ ## 2.6 / 2015-05-25
102
+
103
+ * Steven Michael Thomas (@stevenmichaelthomas) added `woff2` as an extension
104
+ to application/font-woff,
105
+ [ruby-mime-types#99](https://github.com/mime-types/ruby-mime-types/pull/99).
106
+ * Updated the IANA media registry entries as of release date:
107
+ * Updated metadata for application/jose, application/jose+json,
108
+ application/jwk+json, application/jwk-set+json, application/jwt to
109
+ reflect the adoption of RFC7519.
110
+ * Added application/vnd.balsamiq.bmpr.
111
+
112
+ ## 2.5 / 2015-04-25
113
+
114
+ * Updated the IANA media registry entries as of release date:
115
+ * Added MIME types: application/A2L, application/AML, application/ATFX,
116
+ application/ATXML, application/CDFX+XML, application/CEA,
117
+ application/DII, application/DIT, application/jose,
118
+ application/jose+json, application/json-seq, application/jwk+json,
119
+ application/jwk-set+json, application/jwt, application/LXF,
120
+ application/MF4, application/rdap+json,
121
+ application/vnd.apache.thrift.compact, vnd.apache.thrift.json,
122
+ application/vnd.citationstyles.style+xml, application/vnd.coffeescript,
123
+ application/vnd.enphase.envoy, application/vnd.fastcopy-disk-image,
124
+ application/vnd.gerber, application/vnd.gov.sk.e-form+xml,
125
+ application/vnd.gov.sk.e-form+zip,
126
+ application/vnd.gov.sk.xmldatacontainer+xml,
127
+ application/vnd.ims.imsccv1p1, application/vnd.ims.imsccv1p2,
128
+ application/vnd.ims.imsccv1p3, application/vnd.micro+json,
129
+ application/vnd.microsoft.portable-executable,
130
+ application/vnd.msa-disk-image, application/vnd.oracle.resource+json,
131
+ application/vnd.tmd.mediaflex.api+xml, audio/opus,
132
+ image/vnd.zbrush.pcx, text/csv-schema, text/markdown (marked as
133
+ TEMPORARY).
134
+ * Updated metadata for application/coap-group+json (RFC7390),
135
+ application/epub+zip (now registered), application/merge-patch+json
136
+ (RFC7396), application/smil, application/vnd.arastra.swi,
137
+ application/vnd.geocube+xml, application/vnd.gmx,
138
+ application/xhtml+xml, text/directory.
139
+ * Andy Brody (@ab) fixed a pair of embarrassing typos in text/csv and
140
+ text/tab-separated-values,
141
+ [ruby-mime-types#89](https://github.com/mime-types/ruby-mime-types/pull/89).
142
+ * Aggelos Avgerinos (@eavgerinos) added the unregistered MIME type
143
+ image/x-ms-bmp with the extension `bmp`,
144
+ [ruby-mime-types#90](https://github.com/mime-types/ruby-mime-types/pull/90).
145
+
146
+ ## 2.4.2 / 2014-10-15
147
+
148
+ * Added application/vnd.ms-outlook as an unregistered MIME type with the
149
+ extension `msg`. Provided by @keerthisiv in
150
+ [ruby-mime-types#72](https://github.com/mime-types/ruby-mime-types/pull/72).
151
+
152
+ ## 2.4.1 / 2014-10-07
153
+
154
+ * Changed the sort order of many of the extensions to restore behaviour from
155
+ mime-types 1.25.1.
156
+ * Added `friendly` MIME::Type descriptions where known.
157
+ * Added `reg`, `ps1`, and `vbs` extensions to application/x-msdos-program and
158
+ application/x-msdownload.
159
+ * Updated the IANA media registry entries as of release date.
160
+ * Several MIME types had updated metadata (application/alto-*, RFC7285;
161
+ application/calendar+json, RFC7265; application/http, RFC7230;
162
+ application/xml, RFC7303; application/xml-dtd, RFC7303;
163
+ application/xml-external-parsed-entity, RFC7303; audio/AMR-WB, RFC4867;
164
+ audio/aptx, RFC7310; message/http, RFC7230; multipart/byteranges,
165
+ RFC7233; text/xml, RFC7303; text/xml-external-parsed-entity, RFC7303)
166
+ * MIME::Type application/EDI-Consent was renamed to
167
+ application/EDI-consent.
168
+ * Obsoleted application/vnd.informix-visionary in favour of
169
+ application/vnd.visionary. Obsoleted
170
+ application/vnd.nokia.n-gage.symbian.install with no replacement.
171
+ * Added MIME types: application/ATF, application/coap-group+json,
172
+ application/DCD, application/merge-patch+json, application/scaip+xml,
173
+ application/vnd.apache.thrift.binary, application/vnd.artsquare,
174
+ application/vnd.doremir.scorecloud-binary-document,
175
+ application/vnd.dzr, application/vnd.maxmind.maxmind-db,
176
+ application/vnd.ntt-local.ogw_remote-access, application/xml-patch+xml,
177
+ image/vnd.tencent.tap.
178
+
179
+ ## 2.3 / 2014-05-23
180
+
181
+ * Updated the IANA media registry entries as of release date.
182
+ * Several MIME types had additional metadata added on the most recent
183
+ import.
184
+ * MIME::Type application/pidfxml was renamed to application/pidf+xml.
185
+ * Added MIME types: application/3gpdash-qoe-report+xml,
186
+ application/alto-costmap+json, application/alto-costmapfilter+json,
187
+ application/alto-directory+json, application/alto-endpointcost+json,
188
+ application/alto-endpointcostparams+json,
189
+ application/alto-endpointprop+json,
190
+ application/alto-endpointpropparams+json, application/alto-error+json,
191
+ application/alto-networkmap+json,
192
+ application/alto-networkmapfilter+json, application/calendar+json,
193
+ application/vnd.debian.binary-package, application/vnd.geo+json,
194
+ application/vnd.ims.lis.v2.result+json,
195
+ application/vnd.ims.lti.v2.toolconsumerprofile+json,
196
+ application/vnd.ims.lti.v2.toolproxy+json,
197
+ application/vnd.ims.lti.v2.toolproxy.id+json,
198
+ application/vnd.ims.lti.v2.toolsettings+json,
199
+ application/vnd.ims.lti.v2.toolsettings.simple+json,
200
+ application/vnd.mason+json, application/vnd.miele+json,
201
+ application/vnd.ms-3mfdocument, application/vnd.panoply,
202
+ application/vnd.valve.source.material, application/vnd.yaoweme,
203
+ audio/aptx, image/vnd.valve.source.texture, model/vnd.opengex,
204
+ model/vnd.valve.source.compiled-map, model/x3d+fastinfoset,
205
+ text/cache-manifest
206
+
207
+ ## 2.2 / 2014-03-14
208
+ * Added <tt>.sj</tt> to `application/javascript` as provided by Brandon
209
+ Galbraith (@brandongalbraith) in
210
+ [ruby-mime-types#58](https://github.com/mime-types/ruby-mime-types/pull/58).
211
+ * Marked application/excel and application/x-excel as obsolete in favour of
212
+ application/vnd.ms-excel per
213
+ [ruby-mime-types#60](https://github.com/mime-types/ruby-mime-types/pull/60).
214
+ * Merged duplicate MIME types into the registered MIME type. The only
215
+ difference between the MIME types was capitalization; the MIME type
216
+ registry is case-preserving.
217
+ * Affected MIME types: application/vnd.3M.Post-it-Notes,
218
+ application/vnd.FloGraphIt, application/vnd.HandHeld-Entertainment+xml,
219
+ application/vnd.hp-HPGL, application/vnd.hp-PCL,
220
+ application/vnd.hp-PCLXL, application/vnd.ibm.MiniPay,
221
+ application/vnd.Kinar, application/vnd.MFER,
222
+ application/vnd.Mobius.DAF, application/vnd.Mobius.DIS,
223
+ application/vnd.Mobius.MBK, application/vnd.Mobius.MSL,
224
+ application/vnd.Mobius.MQY, application/vnd.Mobius.PLC,
225
+ application/vnd.Mobius.TXF,
226
+ application/vnd.ms-excel.addin.macroEnabled.12,
227
+ application/vnd.ms-excel.sheet.binary.macroEnabled.12,
228
+ application/vnd.ms-excel.sheet.macroEnabled.12,
229
+ application/vnd.ms-excel.template.macroEnabled.12,
230
+ application/vnd.ms-powerpoint.addin.macroEnabled.12,
231
+ application/vnd.ms-powerpoint.presentation.macroEnabled.12,
232
+ application/vnd.ms-powerpoint.slide.macroEnabled.12,
233
+ application/vnd.ms-powerpoint.slideshow.macroEnabled.12,
234
+ application/vnd.ms-powerpoint.template.macroEnabled.12,
235
+ application/vnd.ms-word.document.macroEnabled.12,
236
+ application/vnd.ms-word.template.macroEnabled.12,
237
+ application/vnd.novadigm.EDM, application/vnd.novadigm.EDX,
238
+ application/vnd.novadigm.EXT, application/vnd.Quark.QuarkXPress,
239
+ application/vnd.SimTech-MindMapper, audio/AMR-WB, video/H261,
240
+ video/H263, video/H264, video/JPEG, video/MJ2.
241
+
242
+ * Updated the IANA media registry entries as of release date.
243
+ * Registered type person names have been updated from surname only to
244
+ full name.
245
+ * Several types had updated RFC or draft RFC references.
246
+ * Added application/bacnet-xdd+zip, application/cms,
247
+ application/load-control+xml, application/PDX, application/ttml+xml,
248
+ application/vnd.collection.doc+json,
249
+ application/vnd.iptc.g2.catalogitem+xml, application/vnd.pcos,
250
+ text/parameters, text/vnd.a, video/iso.segment
251
+
252
+ ## 2.1 / 2014-01-25
253
+
254
+ * The IANA media type registry format changed, resulting in updates to most
255
+ of the 1,427 registered MIME types.
256
+ * Many registered MIME types have had some metadata updates due to the
257
+ change in the IANA registry format.
258
+ * MIME types having a publicly available registry application now
259
+ include a link to that file in references.
260
+ * Added `xrefs` data as discovered (see the API changes noted above).
261
+ * The Apache mime types configuration has been added to track additional
262
+ common but unregistered MIME types and known extensions for those MIME
263
+ types. This has affected many of the available MIME types.
264
+ * Added newly registered MIME types:
265
+ * application/emotionml+xml, application/ODX, application/prs.hpub+zip,
266
+ application/vcard+json, application/vnd.bekitzur-stech+json,
267
+ application/vnd.etsi.timestamp-token,
268
+ application/vnd.oma.cab-feature-handler+xml,
269
+ application/vnd.openeye.oeb, application/vnd.tcpdump.pcap,
270
+ audio/amr-wb, model/x3d+xml, model/x3d-vrml
271
+ * Added 180 unregistered MIME types from the Apache list:
272
+ * application/applixware, application/cu-seeme, application/docbook+xml,
273
+ application/gml+xml, application/gpx+xml, application/gxf,
274
+ application/java-archive, application/java-serialized-object,
275
+ application/java-vm, application/jsonml+json, application/metalink+xml,
276
+ application/omdoc+xml, application/onenote, application/pics-rules,
277
+ application/rsd+xml, application/ssdl+xml,
278
+ application/vnd.3m.post-it-notes, application/vnd.amazon.ebook,
279
+ application/vnd.anser-web-funds-transfer-initiation,
280
+ application/vnd.curl.car, application/vnd.curl.pcurl,
281
+ application/vnd.dolby.mlp, application/vnd.ds-keypoint,
282
+ application/vnd.flographit, application/vnd.handheld-entertainment+xml,
283
+ application/vnd.hp-hpgl, application/vnd.hp-pcl,
284
+ application/vnd.hp-pclxl, application/vnd.ibm.minipay,
285
+ application/vnd.kinar, application/vnd.mfer,
286
+ application/vnd.mobius.daf, application/vnd.mobius.dis,
287
+ application/vnd.mobius.mbk, application/vnd.mobius.mqy,
288
+ application/vnd.mobius.msl, application/vnd.mobius.plc,
289
+ application/vnd.mobius.txf,
290
+ application/vnd.ms-excel.addin.macroenabled.12,
291
+ application/vnd.ms-excel.sheet.binary.macroenabled.12,
292
+ application/vnd.ms-excel.sheet.macroenabled.12,
293
+ application/vnd.ms-excel.template.macroenabled.12,
294
+ application/vnd.ms-pki.seccat, application/vnd.ms-pki.stl,
295
+ application/vnd.ms-powerpoint.addin.macroenabled.12,
296
+ application/vnd.ms-powerpoint.presentation.macroenabled.12,
297
+ application/vnd.ms-powerpoint.slide.macroenabled.12,
298
+ application/vnd.ms-powerpoint.slideshow.macroenabled.12,
299
+ application/vnd.ms-powerpoint.template.macroenabled.12,
300
+ application/vnd.ms-word.document.macroenabled.12,
301
+ application/vnd.ms-word.template.macroenabled.12,
302
+ application/vnd.novadigm.edm, application/vnd.novadigm.edx,
303
+ application/vnd.novadigm.ext, application/vnd.quark.quarkxpress,
304
+ application/vnd.rim.cod, application/vnd.rn-realmedia-vbr,
305
+ application/vnd.simtech-mindmapper, application/vnd.symbian.install,
306
+ application/winhlp, application/x-abiword,
307
+ application/x-ace-compressed, application/x-authorware-bin,
308
+ application/x-authorware-map, application/x-authorware-seg,
309
+ application/x-bittorrent, application/x-blorb, application/x-bzip,
310
+ application/x-cbr, application/x-cfs-compressed, application/x-chat,
311
+ application/x-conference, application/x-dgc-compressed,
312
+ application/x-doom, application/x-dtbncx+xml, application/x-dtbook+xml,
313
+ application/x-dtbresource+xml, application/x-envoy, application/x-eva,
314
+ application/x-font-bdf, application/x-font-ghostscript,
315
+ application/x-font-linux-psf, application/x-font-otf,
316
+ application/x-font-pcf, application/x-font-snf, application/x-font-ttf,
317
+ application/x-font-type1, application/x-freearc,
318
+ application/x-gca-compressed, application/x-glulx,
319
+ application/x-gnumeric, application/x-gramps-xml,
320
+ application/x-install-instructions, application/x-iso9660-image,
321
+ application/x-lzh-compressed, application/x-mie,
322
+ application/x-ms-application, application/x-ms-shortcut,
323
+ application/x-ms-xbap, application/x-msbinder,
324
+ application/x-mscardfile, application/x-msclip,
325
+ application/x-msmediaview, application/x-msmetafile,
326
+ application/x-msmoney, application/x-mspublisher,
327
+ application/x-msschedule, application/x-msterminal,
328
+ application/x-mswrite, application/x-nzb, application/x-pkcs12,
329
+ application/x-pkcs7-certificates, application/x-pkcs7-certreqresp,
330
+ application/x-research-info-systems, application/x-silverlight-app,
331
+ application/x-sql, application/x-stuffitx, application/x-subrip,
332
+ application/x-t3vm-image, application/x-tads, application/x-tex-tfm,
333
+ application/x-tgif, application/x-xfig, application/x-xliff+xml,
334
+ application/x-xz, application/x-zmachine, application/xaml+xml,
335
+ application/xproc+xml, application/xspf+xml, audio/adpcm, audio/amr-wb,
336
+ audio/AMR-WB, audio/midi, audio/s3m, audio/silk, audio/x-caf,
337
+ audio/x-flac, audio/x-matroska, audio/x-mpegurl, audio/xm,
338
+ chemical/x-cdx, chemical/x-cif, chemical/x-cmdf, chemical/x-cml,
339
+ chemical/x-csml, image/sgi, image/vnd.ms-photo, image/x-3ds,
340
+ image/x-cmx, image/x-freehand, image/x-icon, image/x-mrsid-image,
341
+ image/x-pcx, image/x-tga, model/x3d+binary, model/x3d+vrml, text/plain,
342
+ text/vnd.curl.dcurl, text/vnd.curl.mcurl, text/vnd.curl.scurl,
343
+ text/x-asm, text/x-c, text/x-fortran, text/x-java-source, text/x-nfo,
344
+ text/x-opml, text/x-pascal, text/x-sfv, text/x-uuencode, video/h261,
345
+ video/h263, video/h264, video/jpeg, video/jpm, video/mj2, video/x-f4v,
346
+ video/x-m4v, video/x-mng, video/x-ms-vob, video/x-smv
347
+ * Merged the non-standard VMS platform text/plain with the standard
348
+ text/plain.
349
+
350
+ [rmt]: https://github.com/mime-types/ruby-mime-types
351
+ [Code of Conduct]: Code-of-Conduct.md
@@ -0,0 +1,25 @@
1
+ ## Licence
2
+
3
+ * Copyright 2003–2016 Austin Ziegler and other contributors.
4
+
5
+ The software in this repository is made available under the MIT license.
6
+
7
+ ### MIT License
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
10
+ this software and associated documentation files (the "Software"), to deal in
11
+ the Software without restriction, including without limitation the rights to
12
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13
+ of the Software, and to permit persons to whom the Software is furnished to do
14
+ so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in all
17
+ copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
@@ -0,0 +1,18 @@
1
+ Code-of-Conduct.md
2
+ Contributing.md
3
+ History.md
4
+ Licence.md
5
+ Manifest.txt
6
+ README.md
7
+ Rakefile
8
+ data/mime-types.json
9
+ data/mime.content_type.column
10
+ data/mime.docs.column
11
+ data/mime.encoding.column
12
+ data/mime.flags.column
13
+ data/mime.friendly.column
14
+ data/mime.pext.column
15
+ data/mime.use_instead.column
16
+ data/mime.xrefs.column
17
+ lib/mime-types-data.rb
18
+ lib/mime/types/data.rb
@@ -0,0 +1,61 @@
1
+ # mime-types-data
2
+
3
+ * home :: https://github.com/mime-types/mime-types-data/
4
+ * code :: https://github.com/mime-types/mime-types-data/
5
+ * issues :: https://github.com/mime-types/mime-types-data/issues
6
+
7
+ ## Description
8
+
9
+ mime-types-data provides a registry for information about MIME media type
10
+ definitions. It can be used with the Ruby mime-types library or other software
11
+ to determine defined filename extensions for MIME types, or to use filename
12
+ extensions to look up the likely MIME type definitions.
13
+
14
+ ### About MIME Media Types
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
21
+ consideration. MIME type definitions found in mime-types are from RFCs, W3C
22
+ recommendations, the [IANA Media Types registry][registry], and user
23
+ contributions. It conforms to RFCs 2045 and 2231.
24
+
25
+ ### Data Formats Supported in this Registry
26
+
27
+ This registry contains the MIME media types in three formats:
28
+
29
+ * A YAML format matching the Ruby mime-types library objects (MIME::Type).
30
+ This is the primary user-editable format.
31
+ * A JSON format converted from the YAML format. Prior to Ruby mime-types 3.0,
32
+ this was the main consumption format and is still recommended for any
33
+ implementation that does not wish to implement the columnar format.
34
+ * An encoded text format splitting the data for each MIME type across
35
+ multiple files. This columnar data format reduces the minimal data load
36
+ substantially, resulting in a performance improvement at the cost of more
37
+ complex code for loading the data on-demand. This is the default format for
38
+ Ruby mime-types 3.0.
39
+
40
+ ## mime-types-data Modified Semantic Versioning
41
+
42
+ mime-types-data uses a heavily modified [Semantic Versioning][] scheme to
43
+ indicate that the data formats compatibility based on a `SCHEMA` version and
44
+ the date of the data update: `SCHEMA.YEAR.MONTHDAY`.
45
+
46
+ 1. If an incompatible data format change is made to any of the supported
47
+ formts, `SCHEMA` will be incremented. The current `SCHEMA` is 3, supporting
48
+ the YAML, JSON, and columnar formats required for Ruby mime-types 3.0.
49
+
50
+ 2. When the data is updated, the `YEAR.MONTHDAY` combination will be updated.
51
+ An update on the last day of October 2015 would be written as `2015.1031`,
52
+ resulting in the full version of `3.2015.1031`.
53
+
54
+ 3. If multiple versions of the data need to be released on the same day due to
55
+ error, there will be an additional `REVISION` field incremented on the end
56
+ of the version. Thus, if three revisions need to be published on October
57
+ 31st, 2015, the last release would be `3.2015.1031.2` (remember that the
58
+ first release has an implied `0`.)
59
+
60
+ [registry]: https://www.iana.org/assignments/media-types/media-types.xhtml
61
+ [Semantic Versioning]: http://semver.org/