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,658 @@
1
+ == 3.1 / 2016-05-22
2
+
3
+ * 1 documentation change:
4
+
5
+ * Tim Smith (@tas50) updated the build badges to be SVGs to improve
6
+ readability on high-density (retina) screens with pull request
7
+ {#112}[https://github.com/mime-types/ruby-mime-types/pull/112].
8
+
9
+ * 3 bug fixes
10
+
11
+ * A test for MIME::Types::Cache fails under Ruby 2.3 because of frozen
12
+ strings, {#118}[https://github.com/mime-types/ruby-mime-types/issues/118].
13
+ This has been fixed.
14
+
15
+ * The JSON data has been incorrectly encoded since the release of mime-types
16
+ 3 on the +xrefs+ field, because of the switch to using a Set to store
17
+ cross-reference information. This has been fixed.
18
+
19
+ * A tentative fix for
20
+ {#117}[https://github.com/mime-types/ruby-mime-types/issues/117] has been
21
+ applied, removing the only circular require dependencies that exist (and
22
+ for which there was code to prevent, but the current fix is simpler).
23
+ I have no way to verify this fix and depending on how things are loaded by
24
+ +delayed_job+, this fix may not be sufficient.
25
+
26
+ * 1 governance change
27
+
28
+ * Updated to {Contributor Covenant 1.4}[Code-of-Conduct_rdoc.html].
29
+
30
+ == 3.0 / 2015-11-21
31
+
32
+ * 2 governance changes
33
+
34
+ * This project and the related mime-types-data project are now exclusively
35
+ MIT licensed. Resolves
36
+ {#95}[https://github.com/mime-types/ruby-mime-types/issues/95].
37
+
38
+ * All projects under the mime-types organization now have a standard code of
39
+ conduct adapted from the {Contributor
40
+ Covenant}[http://contributor-covenant.org]. This text can be found in the
41
+ {Code-of-Conduct.rdoc}[Code-of-Conduct_rdoc.html] file.
42
+
43
+ * 3 major changes
44
+
45
+ * All methods deprecated in mime-types 2.x have been removed.
46
+ * mime-types now requires Ruby 2.0 compatibility or later. Resolves
47
+ {#97}[https://github.com/mime-types/ruby-mime-types/issues/97].
48
+ * The registry data has been removed from mime-types and put into
49
+ mime-types-data, maintained and released separately. It can be found at
50
+ {mime-types-data}[https://github.com/mime-types/mime-types-data].
51
+
52
+ * 17 minor changes:
53
+
54
+ * MIME::Type changes:
55
+
56
+ * Changed the way that simplified types representations are creatd to
57
+ reflect the fact that +x-+ prefixes are no longer considered special
58
+ according to IANA. A simplified MIME type is case-folded to lowercase. A
59
+ new keyword parameter, +remove_x_prefix+, can be provided to remove +x-+
60
+ prefixes.
61
+ * Improved initialization with an Array works so that extensions do not
62
+ need to be wrapped in another array. This means that <tt>%w(text/yaml
63
+ yaml yml)</tt> works in the same way that <tt>['text/yaml', %w(yaml
64
+ yml)]</tt> did (and still does).
65
+ * Changed +priority_compare+ to conform with attributes that no longer
66
+ exist.
67
+ * Changed the internal implementation of extensions to use a frozen Set.
68
+ * When extensions are set or modified with +add_extensions+, the primary
69
+ registry will be informed of a need to reindex extensions. Resolves
70
+ {#84}[https://github.com/mime-types/ruby-mime-types/issues/84].
71
+ * The preferred extension can be set explicitly. If not set, it will be the
72
+ first extension. If the preferred extension is not in the extension list,
73
+ it will be added.
74
+ * Improved how xref URLs are generated.
75
+ * Converted +obsolete+, +registered+ and +signature+ to attr_accessors.
76
+
77
+ * MIME::Types changes:
78
+
79
+ * Modified MIME::Types.new to track instances of MIME::Types so that they
80
+ can be told to reindex the extensions as necessary.
81
+ * Removed +data_version+ attribute.
82
+ * Changed #[] so that the +complete+ and +registered+ flags are keywords
83
+ instead of a generic options parameter.
84
+ * Extracted the class methods to a separate file.
85
+ * Changed the container implementation to use a Set instead of an Array to
86
+ prevent data duplication. Resolves
87
+ {#79}[https://github.com/mime-types/ruby-mime-types/issues/79].
88
+
89
+ * MIME::Types::Cache changes:
90
+
91
+ * Caching is now based on the data gem version instead of the mime-types
92
+ version.
93
+ * Caching is compatible with columnar registry stores.
94
+
95
+ * MIME::Types::Loader changes:
96
+
97
+ * MIME::Types::Loader::PATH has been removed and replaced with
98
+ MIME::Types::Data::PATH from the mime-types-data gem. The environment
99
+ variable RUBY_MIME_TYPES_DATA is still used.
100
+ * Support for the long-deprecated mime-types v1 format has been removed.
101
+ * The registry is default loaded from the columnar store by default. The
102
+ internal format of the columnar store has changed; many of the boolean
103
+ flags are now loaded from a single file. Resolves
104
+ {#85}[https://github.com/mime-types/ruby-mime-types/85].
105
+
106
+ == 2.6.2 / 2015-09-13
107
+
108
+ * Bugs:
109
+ * Emilio Losada (@losadaem) fixed an error where +each_with_object+'s block
110
+ parameters are the inverse of those used by +inject+. Resolves
111
+ {#107}[https://github.com/mime-types/ruby-mime-types/issues/107] with pull
112
+ request {#108}[https://github.com/mime-types/ruby-mime-types/pull/108].
113
+ * Matt Beedle (@mattbeedle) fixed a typo in MIME::Type::Columnar negatively
114
+ affecting people who use the +use_instead+ functionality. Resolved in
115
+ {#109}[https://github.com/mime-types/ruby-mime-types/pull/109].
116
+ * Documentation:
117
+ * Juanito Fatas (@JuanitoFatas) fixed a documentation issue with the README
118
+ not properly linking internally on the generated rdoc source. Resolved with
119
+ {#105}[https://github.com/mime-types/ruby-mime-types/pull/105].
120
+ * Development:
121
+ * Fixed a minor issue in the IANA registry parser that would generate empty
122
+ +text+ xrefs if the +text+ section was empty.
123
+
124
+ == 2.6.1 / 2015-05-25
125
+
126
+ * Bugs:
127
+ * Make columnar store handle all supported extensions, not just the first.
128
+ Resolved in {#103}[https://github.com/mime-types/ruby-mime-types/pull/103]
129
+ by Jeremy Evans (@jeremyevans).
130
+ * Avoid circular require when using the columnar store. Resolved in
131
+ {#102}[https://github.com/mime-types/ruby-mime-types/pull/102] by
132
+ Jeremy Evans (@jeremyevans).
133
+
134
+ == 2.6 / 2015-05-25
135
+
136
+ * New Feature:
137
+ * Columnar data storage for the MIME::Types registry, contributed by Jeremy
138
+ Evans (@jeremyevans). Reduces default memory use substantially (the mail
139
+ gem drops from 19 Mib to about 3 Mib). Resolves
140
+ {#96}[https://github.com/mime-types/ruby-mime-types/pull/96],
141
+ {#94}[https://github.com/mime-types/ruby-mime-types/issues/94],
142
+ {#83}[https://github.com/mime-types/ruby-mime-types/issues/83]. Partially
143
+ addresses {#64}[https://github.com/mime-types/ruby-mime-types/issues/64]
144
+ and {#62}[https://github.com/mime-types/ruby-mime-types/issues/62].
145
+ * Development:
146
+ * Removed caching of deprecation messages in preparation for mime-types 3.0.
147
+ Now, deprecated methods will always warn their deprecation instead of only
148
+ warning once.
149
+ * Added a logger for deprecation messages.
150
+ * Renamed <tt>lib/mime.rb</tt> to <tt>lib/mime/deprecations.rb</tt> to not
151
+ conflict with the {mime}[https://rubygems.org/gems/mime] gem on behalf of
152
+ the maintainers of the {Praxis Framework}[http://praxis-framework.io/].
153
+ Provided by Josep M. Blanquer (@blanquer),
154
+ {#100}[https://github.com/mime-types/ruby-mime-types/pull/100].
155
+ * Added the columnar data conversion tool, also provided by Jeremy Evans.
156
+ * Documentation:
157
+ * Improved documentation and ensured that all deprecated methods are marked
158
+ as such in the documentation.
159
+ * Development:
160
+ * Added more Ruby variants to Travis CI.
161
+ * Silenced deprecation messages for internal tools. Noisy deprecations are
162
+ noisy, but that's the point.
163
+
164
+ == 2.5 / 2015-04-25
165
+
166
+ * Bugs:
167
+ * David Genord (@albus522) fixed a bug in loading MIME::Types cache where a
168
+ container loaded from cache did not have the expected +default_proc+,
169
+ {#86}[https://github.com/mime-types/ruby-mime-types/pull/86].
170
+ * Richard Schneeman (@schneems) provided a patch that substantially reduces
171
+ unnecessary allocations.
172
+ * Documentation:
173
+ * Tibor Szolár (@flexik) fixed a typo in the README,
174
+ {#82}[https://github.com/mime-types/ruby-mime-types/pull/82]
175
+ * Fixed {#80}[https://github.com/mime-types/ruby-mime-types/issues/80],
176
+ clarifying the relationship of MIME::Type#content_type and
177
+ MIME::Type#simplified, with Ken Ip (@kenips).
178
+ * Development:
179
+ * Juanito Fatas (@JuanitoFatas) enabled container mode on Travis CI,
180
+ {#87}[https://github.com/mime-types/ruby-mime-types/pull/87].
181
+ * Moved development to a mime-types organization under
182
+ {mime-types/ruby-mime-types}[https://github.com/mime-types/ruby-mime-types].
183
+
184
+ == 2.4.3 / 2014-10-21
185
+
186
+ * Bugs:
187
+ * Restored Ruby 1.9.2 support by using +private_constant+ conditionally.
188
+ Fixes {#77}[https://github.com/mime-types/ruby-mime-types/issues/77] found by
189
+ Kris Leech (@krisleech). The conditional use of +private_constant+ here
190
+ will be removed for mime-types 3.0, when Ruby 1.9.2 support will be
191
+ unconditionally removed.
192
+
193
+ == 2.4.2 / 2014-10-15
194
+
195
+ * Bugs:
196
+ * Aaron Patterson (@tenderlove) found a loading bug and provided a fix that
197
+ nearly doubled registry load performance
198
+ ({#74}[https://github.com/mime-types/ruby-mime-types/pull/74]).
199
+ * Godfrey Chan (@chancancode) provided a prophylactic security fix to use
200
+ <tt>JSON.parse</tt> instead of <tt>JSON.load</tt> in
201
+ {#75}[https://github.com/mime-types/ruby-mime-types/pull/75]. This provides a
202
+ 20% improvement over the already improved result, resulting in a total 55%
203
+ performance boost.
204
+
205
+ == 2.4.1 / 2014-10-07
206
+
207
+ mime-types 2.4 was pulled.
208
+
209
+ * Bugs:
210
+ * Restored the extension sort order from mime-types 1.25.1 and modified
211
+ MIME::Type#extensions= to no longer sort extensions when set. This resolves
212
+ {#71}[https://github.com/mime-types/ruby-mime-types/issues/71] and should fix
213
+ Paperclip.
214
+ * API Changes:
215
+ * Added MIME::Type#preferred_extension to return the preferred extension for
216
+ the MIME type. This should be used in preference to the current mechanism
217
+ used by many clients, <tt>type.extensions.first</tt>. This will allow the
218
+ implementation to change over time.
219
+ * Added MIME::Type#friendly based on the concept presented by Łukasz Śliwa’s
220
+ {friendly_mime}[https://github.com/lukaszsliwa/friendly_mime] gem. The
221
+ initial English data for this is pulled from +friendly_mime+.
222
+ * Added MIME::Type#i18n_key and MIME::Type.i18n_key to represent and convert
223
+ MIME content types as translation keys for the I18n library.
224
+
225
+ * MIME Type Development Tools:
226
+ * Adding documentation to conversion methods.
227
+ * Adding some robustness to missing Nokogiri support.
228
+ * Extending coverage to fully cover new code. Tests now cover all of
229
+ mime-types.
230
+
231
+ == 2.3 / 2014-05-23
232
+
233
+ * Bugs:
234
+ * Fixed a bug in <tt>MIME::Types#type_for</tt> where type specifications that
235
+ did not match a MIME::Type would be returned as +nil+ inside the returned
236
+ array. This was incorrect behaviour as those values should not have been
237
+ returned, resulting in an empty array.
238
+ * MIME Type Development Tools:
239
+ * As always, there are bugs in the IANA registry because it's manually
240
+ maintained. Some robustness has been added to properly writing file
241
+ template references where the file template reference is not a full media
242
+ type specification (e.g., 'amr-wb\+' instead of 'audio/amr-wb\+').
243
+ * Both the IANA and Apache import tools were unnecessarily case-sensitive in
244
+ matching against already-existing MIME types, resulting in extra work to
245
+ weed out duplicates that differed only in the case of the canonical content
246
+ type. This has been fixed.
247
+
248
+ == 2.2 / 2014-03-14
249
+
250
+ * Clarified contribution guidelines for MIME types. Resolves
251
+ {#57}[https://github.com/mime-types/ruby-mime-types/issues/57].
252
+ * Fixed a small bug where deprecated methods would warn of deprecation when
253
+ called by internal methods. Resolves
254
+ {#60}[https://github.com/mime-types/ruby-mime-types/issues/60].
255
+ * Dropped Code Climate; added Coveralls for test coverage reports.
256
+ * Removing external references to RubyForge, as it is shutting down. Resolves
257
+ {#59}[https://github.com/mime-types/ruby-mime-types/issues/59].
258
+
259
+ == 2.1 / 2014-01-25
260
+
261
+ * API Changes (MIME::Type):
262
+ * Added MIME::Type#xrefs and MIME::Type#xref_urls that have better handling
263
+ of types of reference information. MIME::Type#references= has been
264
+ deprecated. In a future release, both MIME::Type#references will be turned
265
+ into a short-hand view on MIME::Type#xrefs, MIME::Type#urls will be an
266
+ alias for MIME::Type#xref_urls, and MIME::Type#references= will be removed.
267
+ * New or Updated MIME Types:
268
+ * This information is now tracked in History-Types.rdoc.
269
+ * MIME Type Development Tools:
270
+ * The IANA registry format changed, breaking the IANA registry tool
271
+ previously used. Rewrote IANADownloader and IANADownloader::Parser as
272
+ IANARegistryParser using the XML form.
273
+ * The LTSW list has been dropped as it has not been updated since 2002.
274
+ * The default Apache MIME types configuration list is now used to enrich MIME
275
+ type data with additional extension information.
276
+
277
+ == 2.0 / 2013-10-27
278
+
279
+ * API Changes (General):
280
+ * mime-types is no longer compatible with Ruby 1.8. Additionally, for its
281
+ YAML operations (normally development and test), it requires a YAML parser
282
+ that conforms to the Psych parser, not the Syck parser. This would only be
283
+ a problem with an alternative Ruby 1.9.2 interpreter that does not
284
+ implement the Psych parser conventions by requiring +psych+.
285
+ * MIME::InvalidContentType has been renamed to
286
+ MIME::Type::InvalidContentType.
287
+ * API Changes (MIME::Type):
288
+ * Construction of a MIME::Type can be with any of the following objects:
289
+ * An array containing a valid content type identifier and an optional array
290
+ of extensions. This allows MIME::Type.new to be used instead of
291
+ MIME::Type.from_array for the most common use-case. Fixes
292
+ {#43}[https://github.com/mime-types/ruby-mime-types/pull/43].
293
+ * A Hash containing the output of MIME::Type#to_h, as would be deserialized
294
+ from the JSON representation of a MIME::Type. This replaces
295
+ MIME::Type.from_hash using a different parameter set.
296
+ * Another MIME::Type.
297
+ * A content type identifier string.
298
+ * Assignment of an invalid encoding to MIME::Type#encoding= will raise a
299
+ MIME::Type::InvalidEncoding exception rather than a plain ArgumentError.
300
+ * MIME::Type#url has been renamed to MIME::Type#references.
301
+ * MIME::Type#use_instead is now tracked as its own attribute, not as part of
302
+ MIME::Type#docs.
303
+ * MIME::Type#system, MIME::Type#system?, MIME::Type#platform?,
304
+ MIME::Type#to_a, MIME::Type#to_hash, MIME::Type.from_array,
305
+ MIME::Type.from_hash, and MIME::Type.from_mime_type have been deprecated
306
+ for removal.
307
+ * Implemented YAML object encoding and decoding methods,
308
+ MIME::Type#encode_with and MIME::Type#init_with.
309
+ * Implemented JSON hash encoding methods.
310
+ * Added MIME::Type#add_extensions to easily add extensions to a MIME::Type.
311
+ Fixes {#44}[https://github.com/mime-types/ruby-mime-types/pull/44].
312
+ * API Changes (MIME::Types):
313
+ * MIME type caching has been extracted to its own class. It is structurally
314
+ similar to what was introduced with mime-types 1.25, but is no longer
315
+ considered an experimental interface.
316
+ * MIME type loading has been extracted to its own class. Loading has changed
317
+ substantially.
318
+ * MIME::Types#[] accepts a new filter flag, :registered. The :platform flag
319
+ has been deprecated.
320
+ * The MIME::Types#type_for platform parameter has been deprecated.
321
+ * Added the ability for MIME::Types#type_for produce results for multiple
322
+ filenames or extensions by providing an array as the first parameter. Fixes
323
+ {#42}[https://github.com/mime-types/ruby-mime-types/pull/42].
324
+ * MIME::Types#add_type_variant and MIME::Types#index_extensions have been
325
+ deprecated as public methods. They will be private in a future version.
326
+ * MIME::Types#defined_types, MIME::Types.cache_file,
327
+ MIME::Types.add_type_variant, and MIME::Types.index_extensions have been
328
+ deprecated for removal.
329
+ * Default Registry Changes:
330
+ * The default registry is now a file in the directory data/, located via
331
+ MIME::Types::Loader::PATH. +PATH+ is defined in the file
332
+ lib/mime/types/path.rb so that system packagers only have to modify one
333
+ file in order to put the registry in a location that is not where a gem
334
+ version of mime-types would expect it. This resolves issue
335
+ {#36}[https://github.com/mime-types/ruby-mime-types/pull/36], reported by
336
+ @postmodern.
337
+ * The default registry is now a single file in JSON format. This resolves
338
+ issue {#28}[https://github.com/mime-types/ruby-mime-types/pull/28] reported
339
+ by @jasonlor (an error with mime-types in MacRuby).
340
+ * The default registry is compiled from YAML files in type-lists/, resolving
341
+ issue {#37}[https://github.com/mime-types/ruby-mime-types/pull/37]
342
+ reported by @postmodern requesting an easier-to-edit format.
343
+ * New or Updated MIME Types:
344
+ * Major updates to the registered MIME type list from IANA using the improved
345
+ developer tools.
346
+ * Added:
347
+ * application/xhtml\+xml (HTML5)
348
+ * multipart/x-mixed-replace (HTML5)
349
+ * application/vnd.apple.pkpass (Apple PassBook) with extension pkpass.
350
+ * Modified:
351
+ * application/gzip (RFC6713) added extension (gz) and encoding.
352
+ * application/epub\+zip is not a registered MIME type.
353
+ * application/rss\+xml is not a registered MIME type.
354
+ * application/x-director reported incorrect extensions.
355
+ * application/x-gzip marked as obsolete (use application/gzip instead).
356
+ * application/x-maker marked as obsolete (use application/vnd.framemaker
357
+ instead).
358
+ * image/webp is not a registered MIME type; added a URL to Google's
359
+ proposed standard document.
360
+ * text/html added URL to the HTML5 specification.
361
+ * text/cache-manifest added URL to the HTML5 specification.
362
+ * text/plain (VMS .doc files) marked as non-standard. This type will be
363
+ merged with the standard text/plain type in a future release.
364
+ * Added md, markdown, rst, and textile extensions to text/plain.
365
+ * MIME Type Development Tools:
366
+ * The benchmarking task has been moved mostly to support/benchmarker.rb.
367
+ * A task for SimpleCov coverage has been added (<tt>rake test:coverage</tt>).
368
+ * IANA type registry downloading has been substantially improved and the
369
+ implementation no longer resides in the Rakefile; it has instead been moved
370
+ to support/iana_downloader.rb. This takes advantage of the new YAML
371
+ encoding functionality to update added or modified MIME types
372
+ non-destructively in <tt>type-lists/</tt> by default.
373
+ * Rake tasks <tt>convert:yaml:json</tt> and <tt>convert:json:yaml</tt>
374
+ provide functionality to convert the human-editable YAML format in
375
+ <tt>type-lists/</tt> to the JSON format in <tt>data/</tt> and vice-versa.
376
+ This is powered by support/convert.rb.
377
+
378
+ == 1.25 / 2013-08-30
379
+
380
+ * New Features:
381
+ * Adding lazy loading and caching functionality to the default data based on
382
+ work done by Greg Brockman (gdb).
383
+ * Bugs:
384
+ * Force the default internal application encoding to be used when reading the
385
+ MIME types database. Based on a change by briangamble, found in the rapid7
386
+ fork.
387
+ * New extensions:
388
+ * mjpeg (video/x-motion-jpeg) based on a change by punkrats, found in the
389
+ vidibus fork.
390
+ * Modernized Minitest configuration.
391
+
392
+ == 1.24 / 2013-08-14
393
+
394
+ * Code Climate:
395
+ * Working on improving the quality of the mime-types codebase through the use
396
+ of Code Climate.
397
+ * Simplified MIME::Type.from_array to make more assumptions about assignment.
398
+ * Documentation:
399
+ * LeoYoung <mrleoyoung@gmail.com> pointed out that the README.rdoc contained
400
+ examples that could never possibly work because MIME::Types#[] returns (for
401
+ all the versions I have handy) an array, not a single type. I have updated
402
+ README.rdoc to reflect this.
403
+ * Removed Nokogiri as a declared development dependency. It is still required
404
+ if you're going to use the IANA parser functionality, but it is not necessary
405
+ for most development purposes. This has been removed to ensure that Travis CI
406
+ passes on Ruby 1.8.7.
407
+ * New MIME Types:
408
+ * 7zip (application/x-7z-compressed). Fixes a request by @kodram.
409
+ {#32}[https://github.com/mime-types/ruby-mime-types/issues/32]
410
+ * application/x-www-form-urlencoded. Fixes a request by @alexkwolfe.
411
+ {#39}[https://github.com/mime-types/ruby-mime-types/issues/39]
412
+ * Various new MIME types from IANA:
413
+ * application/mbms-schedule\+xml from 3GPP and Turcotte.
414
+ * application/provenance\+xml from W3C and Herman.
415
+ * application/session-info from 3GPP and Firmin.
416
+ * application/urc-grpsheet\+xml, application/urc-targetdesc\+xml,
417
+ application/uisocketdesc\+xml from Zimmermann.
418
+ * application/api\+json from Klabnik.
419
+ * application/vnd.etsi.pstn\+xml from Han and Belling.
420
+ * application/vnd.fujixerox.docuworks.container from Tashiro.
421
+ * application/vnd.windows.devicepairing from Dandawate.
422
+ * video/vnd.radgamettools.bink and video/vnd.radgamettools.smacker from
423
+ Andersson.
424
+ * Updated MIME Types:
425
+ * RFC 6960 was adopted (application/ocsp-request and application/ocsp-response).
426
+
427
+ == 1.23 / 2013-04-20
428
+
429
+ * New Feature:
430
+ * Arnaud Meuret (@ameuret) suggested that it could be useful if the MIME type
431
+ collection was enumerable, so he implemented it in
432
+ {#30}[https://github.com/mime-types/ruby-mime-types/pull/30]. Thanks for
433
+ the contribution!
434
+ * Updated MIME Types:
435
+ * RFC6910 was adopted (application/call-completion).
436
+ * RFC6902 was adopted (application/json-patch\+json).
437
+ * RFC6917 was adopted (application/mrb-consumer\+xml,
438
+ application/mrb-publish\+xml).
439
+ * RFC6922 was adopted (application/sql).
440
+ * RFC2560 is being
441
+ {updated}[http://tools.ietf.org/html/draft-ietf-pkix-rfc2560bis].
442
+ * Administrivia:
443
+ * The gemspec now includes information about the licenses under which the
444
+ mime-types gem is available.
445
+ * Using hoe-gemspec2 instead of hoe-gemspec.
446
+
447
+ == 1.22 / 2013-03-30
448
+
449
+ * New MIME Types:
450
+ * Added support for 3FR (Hasselblad raw images) files. MIME-Type was obtained
451
+ by looking at exif data with exiftool. Thanks to cgat for these changes.
452
+ {#27}[https://github.com/mime-types/ruby-mime-types/pull/27]
453
+ * Updated MIME Types:
454
+ * Pulled the latest updates from the IANA MIME-Type registry.
455
+ * Added support for Ruby 2.0 with Travis CI.
456
+
457
+ == 1.21 / 2013-02-09
458
+
459
+ * New MIME Types:
460
+ * Various new or updated MIME types by Garret Alfert:
461
+ application/vnd.ms-fontobject, .eot; application/x-chrome-extension, .crx;
462
+ application/x-web-app-manifest\+json, .webapp; application/x-xpinstall,
463
+ .xpi; image/svg\+xml, .svg, .svgz; image/webp, .webp; text/cache-manifest,
464
+ .appcache, .manifest.
465
+ #{24}[https://github.com/mime-types/ruby-mime-types/pull/24]
466
+ * Fixed some Manifest.txt related madness on Travis.
467
+
468
+ == 1.20.1 / 2013-01-26
469
+
470
+ * New MIME Types:
471
+ * Apple iWork document types added by Hans de Graaff
472
+ (application/x-iwork-keynote-sffkey, .key;
473
+ application/x-iwork-pages-sffpages, .pages;
474
+ application/x-iwork-numbers-sffnumbers, .numbers).
475
+ {#20}[https://github.com/mime-types/ruby-mime-types/issue/20]
476
+ * epub, ibooks, mobi, and DMG content types by Mauricio
477
+ Linhares (mac:application/x-apple-diskimage, .dmg; application/epub\+zip,
478
+ .epub; application/x-ibooks\+zip, .ibooks; application/x-mobipocket-ebook,
479
+ .mobi). {#22}[https://github.com/mime-types/ruby-mime-types/issue/22]
480
+ * rss content type by Garret Alfert (application/rss\+xml, .rss).
481
+ {#23}[https://github.com/mime-types/ruby-mime-types/issue/23]
482
+ * Added or updated MIME types from the latest IANA list.
483
+ * Fixed MIME Types:
484
+ * Excel macro-enabled spreadsheets had an incorrect extension. Thanks to
485
+ Rafael Belvederese for reporting this issue.
486
+ {#21}[https://github.com/mime-types/ruby-mime-types/issue/21]
487
+ * Enabled for use with travis.
488
+ * Enabled gem signing.
489
+ * Fixed an error related to MIME type downloads.
490
+ * This was previously published as 1.20, but I had forgotten some attributions.
491
+
492
+ == 1.19 / 2012-06-20
493
+ * New MIME Types:
494
+ * XCF Gnome Images (image/x-xcf, image/x-compressed-xcf; .xcf).
495
+ {#17}[https://github.com/mime-types/ruby-mime-types/issue/17]
496
+ * Types reported in
497
+ {#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
498
+ * DV (video/x-dv; .dv)
499
+ * IVF (video/x-ivf; .ivf)
500
+ * Matroska (video/x-matroska; .mkv)
501
+ * Motion JPEG (video/x-motion-jpeg; .mjpg)
502
+ * RealMedia (official; application/vnd.rn-realmedia; .rm)
503
+ * New extensions:
504
+ * dcm (application/dicom);
505
+ {#16}[https://github.com/mime-types/ruby-mime-types/issue/16].
506
+ * Types reported in
507
+ {#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
508
+ * 3g2, 3gpp2 (video/3gpp2)
509
+ * mpeg (video/mpeg)
510
+ * mxf (application/mxf)
511
+ * ts (video/MP2T)
512
+ * ogg (video/ogg)
513
+ * Fixed MIME Types:
514
+ * Adobe AIR application installer packages was missing a hyphen.
515
+ {#13}[https://github.com/mime-types/ruby-mime-types/issue/13]
516
+ * Types reported in
517
+ {#12}[https://github.com/mime-types/ruby-mime-types/issues/12]:
518
+ * audio/x-pn-realaudio extension is .ra, not .rm.
519
+ * Resolved {#8}[https://github.com/mime-types/ruby-mime-types/issues/8].
520
+ Apparently some people run the tests on Linux. Imagine that.
521
+
522
+ == 1.18 / 2012-03-20
523
+ * New MIME Types:
524
+ * Types reported in
525
+ #{6}[https://github.com/mime-types/ruby-mime-types/issues/6]:
526
+ * CoffeeScript (text/x-coffeescript; .coffee; 8bit).
527
+ * AIR (application/vnd.adobe.air-applicationinstaller-package\+zip, .air; base64).
528
+ * WOFF (application/font-woff; .woff; base64).
529
+ * TrueType (application/x-font-truetype; .ttf; base64).
530
+ * OpenType (application/x-font-opentype; .otf; base64).
531
+ * WebM (audio/webm, video/webm; .webm).
532
+ {#11}[https://github.com/mime-types/ruby-mime-types/issues/11.]
533
+ * New extensions:
534
+ * f4v/f4p (video/mp4, used by Adobe); f4a/fb4 (audio/mp4, used by Adobe).
535
+ * Bug Fixes:
536
+ * It was pointed out that Licence.txt was incorrectly named. Fixed by
537
+ renaming to Licence.rdoc (from Issue/Pull Request
538
+ {#8}[https://github.com/mime-types/ruby-mime-types/issues/8]).
539
+ * It was pointed out that a plan to have the test output generated
540
+ automatically never went through.
541
+ {#10}[https://github.com/mime-types/ruby-mime-types/issues/10]
542
+
543
+ == 1.17.2 / 2011-10-25
544
+ * Bug Fixes:
545
+ * Fixed an issue with Ruby 1.9 and file encoding.
546
+
547
+ == 1.17.1 / 2011-10-23
548
+ * Minor Enhancements:
549
+ * Implemented modern 'hoe' semantics.
550
+ * Switched to minitest instead of test/unit.
551
+ * Converted documentation from .txt to .rdoc.
552
+ * Removed setup.rb.
553
+ {#3}[https://github.com/mime-types/ruby-mime-types/issues/3]
554
+ * Should no longer complain about missing RubyGems keys
555
+ {#2}[https://github.com/mime-types/ruby-mime-types/issues/2]
556
+ * Added .mp4 and .mpg4 as recognized extensions for
557
+ (application|audio|video)/mp4 per RFC4337.
558
+ {#1}[https://github.com/mime-types/ruby-mime-types/issues/1]
559
+ * Added audio/x-aac and .aac per RubyForge issue #28054.
560
+ * Made it much easier to update MIME types from this point forward.
561
+ * Updated MIME types from IANA.
562
+
563
+ == 1.16
564
+ * Made compatible with Ruby 1.8.6, 1.8.7, and 1.9.1.
565
+ * Switched to the 'hoe' gem system and added a lot of build-time tools.
566
+ * Updated the MIME types to the list based on the values in the Perl library
567
+ version 1.27. Also updated based on external source information and bug
568
+ reports.
569
+ * This is the last planned version of MIME::Types 1.x. Work will be
570
+ starting soon on MIME::Types 2.x with richer data querying mechanisms
571
+ and support for external data sources.
572
+
573
+ == 1.15
574
+ * Removed lib/mime/type.rb to form a single MIME::Types database source. It
575
+ is unlikely that one will ever need MIME::Type without MIME::Types.
576
+ * Re-synchronized the MIME type list with the sources, focusing primarily on
577
+ the IANA list.
578
+ * Added more detailed source information for MIME::Type objects.
579
+ * Changed MIME::Types from a module to a class with a default instance. There
580
+ should be no difference in usage.
581
+ * Removed MIME::Types::DATA_VERSION; it is now an attribute on the
582
+ MIME::Types instance.
583
+ * NOTE: Synchronization with the Perl version of MIME::Types is no longer a
584
+ priority as of this release. The data format and information has changed.
585
+ * Removed MIME::Types.by_suffix and MIME::Types.by_mediatype.
586
+
587
+ == 1.13.1
588
+ * Fixed a problem with the installer running tests. This now works.
589
+ * Improved the implementation of MIME::Type.signature?
590
+ * Moved code around to use the class << self idiom instead of always
591
+ prepending the module/class name.
592
+ * Added two new best-guess implementations of functions found in Perl's
593
+ MIME::Types implementation (1.13). Do not rely on these until the purpose
594
+ and implementation is stabilised.
595
+ * Updated the MIME list to reflect changes noted by
596
+ Ville Skyttä <ville.skytta@iki.fi>.
597
+ * Added a new constant to MIME::Types, DATA_VERSION. This will allow the Ruby
598
+ version number to be updated separately from the Perl version while keeping
599
+ the MIME Type list version in sync.
600
+
601
+ == 1.13
602
+ ! WARNING: This version changes the API of MIME::Types !
603
+ ! WARNING: This version is compatible with Ruby 1.8 and higher ONLY !
604
+ * Removed dependency on InstallPackage; offering 1.13 as either .tar.gz or
605
+ .gem.
606
+ * Split into two files, mime/type.rb and mime/types.rb. This will make
607
+ maintaining the list of changes easier.
608
+ * Changed the MIME::Type construction API. Accepts only a single String
609
+ argument (but does no named type-checking) and yields self.
610
+ * Removed private methods #init_extensions, #init_encoding, and #init_system
611
+ and replaced with #extensions=, #encoding=, and #system=.
612
+ * Added #default_encoding to return 'quoted-printable' or 'base64' depending
613
+ on the media type of the MIME type.
614
+ * Added #raw_media_type and #raw_sub_type to provide the non-simplified
615
+ versions of the media type and subtype.
616
+ * Alternative constructors MIME::Type.from_array, MIME::Type.from_hash, and
617
+ MIME::Type.from_mime_type added to compensate for the removal of named type
618
+ checking in the original constructor.
619
+ * Added #to_str, #to_a, and #to_hash methods. The latter two will provide
620
+ output suitable for use in #from_array and #from_hash.
621
+ * Removed "binary" encoding and enforced the use of a valid encoding string.
622
+ * Added #system? returning true if the MIME::Type is an OS-specific
623
+ MIME::Type.
624
+ * Added #platform? returning true if the MIME::Type is an OS-specific
625
+ MIME::Type for the current RUBY_PLATFORM.
626
+ * Added #like? returning true if the simplified type matches the other value
627
+ provided. #<'application/x-excel'>.like?('application/excel') is true.
628
+ * Added #complete? returning true if the MIME::Type specifies an extension
629
+ list.
630
+ * Updated the MIME type list to reflect additions by Mark Overmeer for Perl's
631
+ MIME::Types 1.12 and the official IANA list as of 2004.04.06. A number of
632
+ formerly "registered" MIME types are now no longer registered (e.g.,
633
+ application/excel is now application/x-excel). This ensures that the
634
+ simplified type still works with applications, but does not report an
635
+ unregistered type as registered.
636
+ * Restored MIME type list to Mark Overmeer's format to facilitate easy
637
+ exchange between the two projects.
638
+ * Added additional unit tests from Mark Overmeer's 1.12 version.
639
+
640
+ == 1.07
641
+ * Changed version numbering to match Perl MIME::Types 1.07.
642
+ * Re-synchronized with Mark Overmeer's list in Perl PMIME::Types 1.07.
643
+ * [NN Poster] updated the attributes for the PGP types.
644
+
645
+ == 1.005
646
+ * Changed to Phil Thomson's InstallPackage.
647
+ * Added several types from Perl MIME::Types 1.005.
648
+ * Cleaned up data format; some data formats will show up with proper data now.
649
+
650
+ == 1.004
651
+ * Updated to match Perl MIME::Types 1.004, links credited to Dan Puro. Adds
652
+ new reference list to http://www.indiana.edu/cgi-bin-local/mimetypes
653
+ * Removed InvalidType and replaced with TypeError.
654
+ * Changed instances of #type to #class.
655
+ * Cleaned up how simplified versions are created.
656
+
657
+ == 1.003
658
+ * Initial release based on Perl MIME::Types 1.003.
@@ -0,0 +1,25 @@
1
+ == Licence
2
+
3
+ * Copyright 2003–2015 Austin Ziegler and 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.