restify 2.1.0 → 3.0.0.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +48 -0
  3. data/README.md +30 -4
  4. data/lib/restify/adapter/base.rb +10 -1
  5. data/lib/restify/adapter/ethon.rb +462 -0
  6. data/lib/restify/adapter/loop_lock.rb +124 -0
  7. data/lib/restify/adapter/telemetry.rb +6 -4
  8. data/lib/restify/adapter/typhoeus.rb +48 -23
  9. data/lib/restify/context.rb +5 -5
  10. data/lib/restify/error.rb +13 -0
  11. data/lib/restify/global.rb +9 -30
  12. data/lib/restify/logging.rb +10 -4
  13. data/lib/restify/processors/base/parsing.rb +13 -1
  14. data/lib/restify/promise.rb +20 -2
  15. data/lib/restify/registry.rb +2 -2
  16. data/lib/restify/relation.rb +8 -8
  17. data/lib/restify/request.rb +2 -2
  18. data/lib/restify/resource.rb +20 -2
  19. data/lib/restify/response.rb +39 -3
  20. data/lib/restify/timeout.rb +11 -5
  21. data/lib/restify/version.rb +3 -3
  22. data/lib/restify/webmock.rb +126 -0
  23. data/lib/restify.rb +5 -1
  24. data/spec/restify/adapter/ethon_spec.rb +263 -0
  25. data/spec/restify/adapter/loop_lock_spec.rb +144 -0
  26. data/spec/restify/adapter/telemetry_spec.rb +61 -0
  27. data/spec/restify/adapter/typhoeus_spec.rb +26 -0
  28. data/spec/restify/cache_spec.rb +1 -3
  29. data/spec/restify/context_spec.rb +55 -0
  30. data/spec/restify/features/protocols_spec.rb +28 -0
  31. data/spec/restify/features/redirects_spec.rb +45 -0
  32. data/spec/restify/features/request_errors_spec.rb +1 -1
  33. data/spec/restify/features/response_bodies_spec.rb +45 -0
  34. data/spec/restify/features/response_encoding_spec.rb +82 -0
  35. data/spec/restify/features/response_errors_spec.rb +22 -1
  36. data/spec/restify/features/webmock_spec.rb +92 -1
  37. data/spec/restify/global_spec.rb +78 -10
  38. data/spec/restify/processors/json_spec.rb +36 -0
  39. data/spec/restify/processors/msgpack_spec.rb +36 -0
  40. data/spec/restify/promise_spec.rb +82 -0
  41. data/spec/restify/relation_spec.rb +2 -6
  42. data/spec/restify/request_spec.rb +26 -0
  43. data/spec/restify/timeout_spec.rb +11 -0
  44. data/spec/spec_helper.rb +10 -6
  45. data/spec/support/stub_server.rb +4 -4
  46. metadata +26 -209
  47. data/vendor/bundle/ruby/4.0.0/bundler/gems/my-rubocop-2b861962124a/LICENSE +0 -21
  48. data/vendor/bundle/ruby/4.0.0/bundler/gems/my-rubocop-2b861962124a/README.md +0 -23
  49. data/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/CHANGELOG.md +0 -561
  50. data/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/MIT-LICENSE +0 -20
  51. data/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/README.rdoc +0 -40
  52. data/vendor/bundle/ruby/4.0.0/gems/addressable-2.9.0/CHANGELOG.md +0 -326
  53. data/vendor/bundle/ruby/4.0.0/gems/addressable-2.9.0/LICENSE.txt +0 -202
  54. data/vendor/bundle/ruby/4.0.0/gems/addressable-2.9.0/README.md +0 -121
  55. data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/LICENSE.MIT +0 -20
  56. data/vendor/bundle/ruby/4.0.0/gems/ast-2.4.3/README.YARD.md +0 -12
  57. data/vendor/bundle/ruby/4.0.0/gems/base64-0.3.0/README.md +0 -48
  58. data/vendor/bundle/ruby/4.0.0/gems/bigdecimal-4.1.2/LICENSE +0 -56
  59. data/vendor/bundle/ruby/4.0.0/gems/concurrent-ruby-1.3.7/CHANGELOG.md +0 -615
  60. data/vendor/bundle/ruby/4.0.0/gems/concurrent-ruby-1.3.7/LICENSE.txt +0 -21
  61. data/vendor/bundle/ruby/4.0.0/gems/concurrent-ruby-1.3.7/README.md +0 -409
  62. data/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/LICENSE +0 -20
  63. data/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/README.md +0 -182
  64. data/vendor/bundle/ruby/4.0.0/gems/crack-1.0.1/LICENSE +0 -20
  65. data/vendor/bundle/ruby/4.0.0/gems/crack-1.0.1/README.md +0 -43
  66. data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/CHANGELOG.md +0 -518
  67. data/vendor/bundle/ruby/4.0.0/gems/diff-lcs-1.6.2/README.md +0 -92
  68. data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/LICENSE +0 -21
  69. data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/README.md +0 -409
  70. data/vendor/bundle/ruby/4.0.0/gems/drb-2.2.3/LICENSE.txt +0 -22
  71. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
  72. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/LICENSE +0 -20
  73. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/README.md +0 -118
  74. data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/CHANGELOG.md +0 -507
  75. data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/LICENSE +0 -24
  76. data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/LICENSE.SPECS +0 -22
  77. data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/README.md +0 -138
  78. data/vendor/bundle/ruby/4.0.0/gems/hashdiff-1.2.1/LICENSE +0 -19
  79. data/vendor/bundle/ruby/4.0.0/gems/hashdiff-1.2.1/README.md +0 -323
  80. data/vendor/bundle/ruby/4.0.0/gems/hashdiff-1.2.1/changelog.md +0 -127
  81. data/vendor/bundle/ruby/4.0.0/gems/hitimes-3.2.0/LICENSE.txt +0 -16
  82. data/vendor/bundle/ruby/4.0.0/gems/hitimes-3.2.0/README.md +0 -187
  83. data/vendor/bundle/ruby/4.0.0/gems/i18n-1.15.2/MIT-LICENSE +0 -20
  84. data/vendor/bundle/ruby/4.0.0/gems/i18n-1.15.2/README.md +0 -139
  85. data/vendor/bundle/ruby/4.0.0/gems/json-2.19.9/README.md +0 -310
  86. data/vendor/bundle/ruby/4.0.0/gems/language_server-protocol-3.17.0.5/LICENSE.txt +0 -21
  87. data/vendor/bundle/ruby/4.0.0/gems/language_server-protocol-3.17.0.5/README.md +0 -88
  88. data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/CHANGELOG.md +0 -15
  89. data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/LICENSE.txt +0 -21
  90. data/vendor/bundle/ruby/4.0.0/gems/lint_roller-1.1.0/README.md +0 -173
  91. data/vendor/bundle/ruby/4.0.0/gems/little-plugger-1.1.4/README.rdoc +0 -53
  92. data/vendor/bundle/ruby/4.0.0/gems/logger-1.7.0/README.md +0 -104
  93. data/vendor/bundle/ruby/4.0.0/gems/logging-2.4.0/LICENSE +0 -22
  94. data/vendor/bundle/ruby/4.0.0/gems/logging-2.4.0/README.md +0 -140
  95. data/vendor/bundle/ruby/4.0.0/gems/minitest-6.0.6/README.rdoc +0 -763
  96. data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/ChangeLog +0 -383
  97. data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/LICENSE +0 -177
  98. data/vendor/bundle/ruby/4.0.0/gems/msgpack-1.8.3/README.md +0 -302
  99. data/vendor/bundle/ruby/4.0.0/gems/multi_json-1.21.1/LICENSE.md +0 -20
  100. data/vendor/bundle/ruby/4.0.0/gems/multi_json-1.21.1/README.md +0 -281
  101. data/vendor/bundle/ruby/4.0.0/gems/nio4r-2.7.5/ext/libev/LICENSE +0 -37
  102. data/vendor/bundle/ruby/4.0.0/gems/nio4r-2.7.5/ext/libev/README +0 -59
  103. data/vendor/bundle/ruby/4.0.0/gems/nio4r-2.7.5/license.md +0 -80
  104. data/vendor/bundle/ruby/4.0.0/gems/nio4r-2.7.5/readme.md +0 -91
  105. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-api-1.10.0/CHANGELOG.md +0 -219
  106. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-api-1.10.0/LICENSE +0 -201
  107. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-api-1.10.0/README.md +0 -68
  108. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-common-0.25.0/CHANGELOG.md +0 -110
  109. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-common-0.25.0/LICENSE +0 -201
  110. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-common-0.25.0/README.md +0 -62
  111. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-base-0.26.1/CHANGELOG.md +0 -97
  112. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-base-0.26.1/LICENSE +0 -201
  113. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-base-0.26.1/README.md +0 -155
  114. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-ethon-0.29.0/CHANGELOG.md +0 -192
  115. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-ethon-0.29.0/LICENSE +0 -201
  116. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-instrumentation-ethon-0.29.0/README.md +0 -66
  117. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-registry-0.6.0/CHANGELOG.md +0 -31
  118. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-registry-0.6.0/LICENSE +0 -201
  119. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-registry-0.6.0/README.md +0 -40
  120. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-sdk-1.12.0/CHANGELOG.md +0 -302
  121. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-sdk-1.12.0/LICENSE +0 -201
  122. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-sdk-1.12.0/README.md +0 -101
  123. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-semantic_conventions-1.41.0/CHANGELOG.md +0 -65
  124. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-semantic_conventions-1.41.0/LICENSE +0 -201
  125. data/vendor/bundle/ruby/4.0.0/gems/opentelemetry-semantic_conventions-1.41.0/README.md +0 -115
  126. data/vendor/bundle/ruby/4.0.0/gems/parallel-2.1.0/MIT-LICENSE.txt +0 -20
  127. data/vendor/bundle/ruby/4.0.0/gems/parser-3.3.11.1/LICENSE.txt +0 -26
  128. data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/CHANGELOG.md +0 -786
  129. data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/LICENSE.md +0 -7
  130. data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/README.md +0 -143
  131. data/vendor/bundle/ruby/4.0.0/gems/public_suffix-7.0.5/CHANGELOG.md +0 -649
  132. data/vendor/bundle/ruby/4.0.0/gems/public_suffix-7.0.5/LICENSE.txt +0 -22
  133. data/vendor/bundle/ruby/4.0.0/gems/public_suffix-7.0.5/README.md +0 -231
  134. data/vendor/bundle/ruby/4.0.0/gems/puma-8.0.2/LICENSE +0 -29
  135. data/vendor/bundle/ruby/4.0.0/gems/puma-8.0.2/README.md +0 -484
  136. data/vendor/bundle/ruby/4.0.0/gems/puma-8.0.2/docs/jungle/README.md +0 -9
  137. data/vendor/bundle/ruby/4.0.0/gems/puma-8.0.2/docs/jungle/rc.d/README.md +0 -74
  138. data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/ChangeLog +0 -846
  139. data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  140. data/vendor/bundle/ruby/4.0.0/gems/racc-1.8.1/README.rdoc +0 -60
  141. data/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/CHANGELOG.md +0 -1346
  142. data/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/MIT-LICENSE +0 -20
  143. data/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/README.md +0 -384
  144. data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/Changelog.md +0 -101
  145. data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/LICENSE +0 -20
  146. data/vendor/bundle/ruby/4.0.0/gems/rainbow-3.1.1/README.markdown +0 -227
  147. data/vendor/bundle/ruby/4.0.0/gems/rake-13.4.2/MIT-LICENSE +0 -21
  148. data/vendor/bundle/ruby/4.0.0/gems/rake-13.4.2/README.rdoc +0 -155
  149. data/vendor/bundle/ruby/4.0.0/gems/rake-release-1.4.0/LICENSE +0 -21
  150. data/vendor/bundle/ruby/4.0.0/gems/rake-release-1.4.0/README.md +0 -107
  151. data/vendor/bundle/ruby/4.0.0/gems/regexp_parser-2.12.0/LICENSE +0 -22
  152. data/vendor/bundle/ruby/4.0.0/gems/rexml-3.4.4/LICENSE.txt +0 -22
  153. data/vendor/bundle/ruby/4.0.0/gems/rexml-3.4.4/README.md +0 -57
  154. data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/LICENSE.md +0 -27
  155. data/vendor/bundle/ruby/4.0.0/gems/rspec-3.13.2/README.md +0 -47
  156. data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/Changelog.md +0 -2447
  157. data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/LICENSE.md +0 -26
  158. data/vendor/bundle/ruby/4.0.0/gems/rspec-core-3.13.6/README.md +0 -389
  159. data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/Changelog.md +0 -1366
  160. data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/LICENSE.md +0 -25
  161. data/vendor/bundle/ruby/4.0.0/gems/rspec-expectations-3.13.5/README.md +0 -326
  162. data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.8/Changelog.md +0 -1351
  163. data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.8/LICENSE.md +0 -25
  164. data/vendor/bundle/ruby/4.0.0/gems/rspec-mocks-3.13.8/README.md +0 -465
  165. data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/Changelog.md +0 -444
  166. data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/LICENSE.md +0 -23
  167. data/vendor/bundle/ruby/4.0.0/gems/rspec-support-3.13.7/README.md +0 -40
  168. data/vendor/bundle/ruby/4.0.0/gems/rubocop-1.88.0/LICENSE.txt +0 -20
  169. data/vendor/bundle/ruby/4.0.0/gems/rubocop-1.88.0/README.md +0 -255
  170. data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.49.1/LICENSE.txt +0 -20
  171. data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.49.1/README.md +0 -54
  172. data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/CHANGELOG.md +0 -116
  173. data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/MIT-LICENSE.md +0 -21
  174. data/vendor/bundle/ruby/4.0.0/gems/rubocop-capybara-2.23.0/README.md +0 -91
  175. data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/CHANGELOG.md +0 -135
  176. data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/MIT-LICENSE.md +0 -21
  177. data/vendor/bundle/ruby/4.0.0/gems/rubocop-factory_bot-2.28.0/README.md +0 -91
  178. data/vendor/bundle/ruby/4.0.0/gems/rubocop-performance-1.26.1/LICENSE.txt +0 -20
  179. data/vendor/bundle/ruby/4.0.0/gems/rubocop-performance-1.26.1/README.md +0 -100
  180. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/CHANGELOG.md +0 -1136
  181. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/MIT-LICENSE.md +0 -21
  182. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec-3.10.2/README.md +0 -112
  183. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/CHANGELOG.md +0 -98
  184. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/MIT-LICENSE.md +0 -21
  185. data/vendor/bundle/ruby/4.0.0/gems/rubocop-rspec_rails-2.32.0/README.md +0 -93
  186. data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +0 -19
  187. data/vendor/bundle/ruby/4.0.0/gems/ruby-progressbar-1.13.0/README.md +0 -131
  188. data/vendor/bundle/ruby/4.0.0/gems/securerandom-0.4.1/README.md +0 -72
  189. data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/CHANGELOG.md +0 -191
  190. data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/LICENSE +0 -20
  191. data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/README.md +0 -974
  192. data/vendor/bundle/ruby/4.0.0/gems/simplecov-cobertura-3.2.0/LICENSE +0 -202
  193. data/vendor/bundle/ruby/4.0.0/gems/simplecov-cobertura-3.2.0/README.md +0 -65
  194. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/CHANGELOG.md +0 -114
  195. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/LICENSE +0 -20
  196. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/README.md +0 -30
  197. data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +0 -13
  198. data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/README.md +0 -29
  199. data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/CHANGELOG.md +0 -465
  200. data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/LICENSE +0 -22
  201. data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/README.md +0 -588
  202. data/vendor/bundle/ruby/4.0.0/gems/tzinfo-2.0.6/LICENSE +0 -19
  203. data/vendor/bundle/ruby/4.0.0/gems/tzinfo-2.0.6/README.md +0 -406
  204. data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/CHANGELOG.md +0 -299
  205. data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/MIT-LICENSE.txt +0 -22
  206. data/vendor/bundle/ruby/4.0.0/gems/unicode-display_width-3.2.0/README.md +0 -194
  207. data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/CHANGELOG.md +0 -202
  208. data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/MIT-LICENSE.txt +0 -20
  209. data/vendor/bundle/ruby/4.0.0/gems/unicode-emoji-4.2.0/README.md +0 -205
  210. data/vendor/bundle/ruby/4.0.0/gems/uri-1.1.1/README.md +0 -55
  211. data/vendor/bundle/ruby/4.0.0/gems/webmock-3.26.2/CHANGELOG.md +0 -2148
  212. data/vendor/bundle/ruby/4.0.0/gems/webmock-3.26.2/LICENSE +0 -20
  213. data/vendor/bundle/ruby/4.0.0/gems/webmock-3.26.2/README.md +0 -1229
@@ -1,444 +0,0 @@
1
- ### Development
2
- [Full Changelog](https://github.com/rspec/rspec/compare/rspec-support-v3.13.6...3-13-maintenance)
3
-
4
- ### 3.13.7 / 2026-01-28
5
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.6...rspec-support-v3.13.7)
6
-
7
- Bug Fixes:
8
-
9
- * Stop fuzzy matching causing false positives from Range objects. (Eric Mueller, rspec/rspec#298)
10
-
11
- ### 3.13.6 / 2025-08-18
12
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.5...rspec-support-v3.13.6)
13
-
14
- Bug Fixes:
15
-
16
- * Change `RSpec::Support::HunkGenerator` to autoload rather than manual require, avoids
17
- a load order issue. (Jon Rowe, rspec/rspec#249)
18
-
19
- ### 3.13.5 / 2025-05-27
20
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.4...rspec-support-v3.13.5)
21
-
22
- Bug Fixes:
23
-
24
- * Fix regression in `RSpec::Support::MethodSignature` where positional argument arity confused
25
- a check for keyword arguments, meaning a hash would be wrongly detected as keyword arguments
26
- when it should have been a positional argument. (Malcolm O'Hare, rspec/rspec#121)
27
-
28
- ### 3.13.4 / 2025-05-01
29
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.3...rspec-support-v3.13.4)
30
-
31
- Bug Fixes:
32
-
33
- * Fix homepage link in gemspec. (Jon Rowe)
34
-
35
- ### 3.13.3 / 2025-04-30
36
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.2...rspec-support-v3.13.3)
37
-
38
- Bug Fixes:
39
-
40
- * Support for changes in diff-lcs and Ruby 3.4 in spec helpers. (Jon Rowe, #164 etc)
41
-
42
- ### 3.13.2 / 2024-12-02
43
- [Full Changelog](http://github.com/rspec/rspec/compare/rspec-support-v3.13.1...rspec-support-v3.13.2)
44
-
45
- No changes. Released during the monorepo migration to test release processes, but accidentally
46
- contained no changes.
47
-
48
- ### 3.13.1 / 2024-02-23
49
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.13.0...v3.13.1)
50
-
51
- Bug Fixes:
52
-
53
- * Exclude ruby internal require warnings from `RSpec::Support::CallerFilter#first_non_rspec_line`.
54
- (Jon Rowe, rspec/rspec-support#593)
55
-
56
- ### 3.13.0 / 2024-02-04
57
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.2...v3.13.0)
58
-
59
- Enchancements
60
-
61
- * Add `RubyFeatures#supports_syntax_suggest?`. (Jon Rowe, rspec/rspec-support#571)
62
-
63
- Bug Fixes:
64
-
65
- * Allow string keys for keyword arguments during verification of method
66
- signatures, (but only on Ruby 3+). (@malcolmohare, rspec/rspec-support#591)
67
-
68
- ### 3.12.2 / 2024-02-04
69
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.1...v3.12.2)
70
-
71
- Bug Fixes:
72
-
73
- * Properly surface errors from `in_sub_process`. (Jon Rowe, rspec/rspec-support#575)
74
- * Add magic comment for freezing string literals. (Josh Nichols, rspec/rspec-support#586)
75
-
76
- ### 3.12.1 / 2023-06-26
77
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.0...v3.12.1)
78
-
79
- Bug Fixes:
80
-
81
- * Fix `RSpec::Support.thread_local_data` to be Thread local but not Fiber local.
82
- (Jon Rowe, rspec/rspec-support#581)
83
-
84
- ### 3.12.0 / 2022-10-26
85
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.11.1...v3.12.0)
86
- Enhancements:
87
-
88
- * Add `RSpec::Support::RubyFeatures.distincts_kw_args_from_positional_hash?`
89
- (Jean byroot Boussier, rspec/rspec-support#535)
90
-
91
- ### 3.11.1 / 2022-09-12
92
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.11.0...v3.11.1)
93
-
94
- Bug Fixes:
95
-
96
- * Fix ripper detection on TruffleRuby. (Brandon Fish, rspec/rspec-support#541)
97
-
98
- ### 3.11.0 / 2022-02-09
99
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.3...v3.11.0)
100
-
101
- No changes. Released to support other RSpec releases.
102
-
103
- ### 3.10.3 / 2021-11-03
104
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.2...v3.10.3)
105
-
106
- Bug Fixes:
107
-
108
- * Use `Mutex#owned?` to allow `RSpec::Support::ReentrantMutex` to work in
109
- nested Fibers on Ruby 3.0 and later. (Benoit Daloze, rspec/rspec-support#503, rspec/rspec-support#504)
110
- * Support `end`-less methods in `RSpec::Support::Source::Token`
111
- so that RSpec won't hang when an `end`-less method raises an error. (Yuji Nakayama, rspec/rspec-support#505)
112
-
113
- ### 3.10.2 / 2021-01-28
114
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.1...v3.10.2)
115
-
116
- Bug Fixes:
117
-
118
- * Fix issue with `RSpec::Support.define_optimized_require_for_rspec` on JRuby
119
- 9.1.17.0 (Jon Rowe, rspec/rspec-support#492)
120
-
121
- ### 3.10.1 / 2020-12-27
122
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.10.0...v3.10.1)
123
-
124
- Bug Fixes:
125
-
126
- * Fix deprecation expectations to fail correctly when
127
- asserting on messages. (Phil Pirozhkov, rspec/rspec-support#453)
128
-
129
- ### 3.10.0 / 2020-10-30
130
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.4...v3.10.0)
131
-
132
- No changes. Released to support other RSpec releases.
133
-
134
- ### 3.9.4 / 2020-10-23
135
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.3...v3.9.4)
136
-
137
- Bug Fixes:
138
-
139
- * Flag ripper as supported on Truffle Ruby. (Brandon Fish, rspec/rspec-support#427)
140
- * Prevent stubbing `File.read` from breaking source extraction.
141
- (Jon Rowe, rspec/rspec-support#431)
142
-
143
- ### 3.9.3 / 2020-05-02
144
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.2...v3.9.3)
145
-
146
- Bug Fixes:
147
-
148
- * Mark ripper as unsupported on Truffle Ruby. (Brandon Fish, rspec/rspec-support#395)
149
- * Mark ripper as unsupported on JRuby 9.2.0.0. (Brian Hawley, rspec/rspec-support#400)
150
- * Capture `Mutex.new` for our `RSpec::Support:Mutex` in order to
151
- allow stubbing `Mutex.new`. (Jon Rowe, rspec/rspec-support#411)
152
-
153
- ### 3.9.2 / 2019-12-30
154
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.1...v3.9.2)
155
-
156
- Bug Fixes:
157
-
158
- * Remove unneeded eval. (Matijs van Zuijlen, rspec/rspec-support#394)
159
-
160
- ### 3.9.1 / 2019-12-28
161
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.9.0...v3.9.1)
162
-
163
- Bug Fixes:
164
-
165
- * Remove warning caused by keyword arguments on Ruby 2.7.0.
166
- (Jon Rowe, rspec/rspec-support#392)
167
-
168
- ### 3.9.0 / 2019-10-07
169
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.3...v3.9.0)
170
-
171
- *NO CHANGES*
172
-
173
- Version 3.9.0 was released to allow other RSpec gems to release 3.9.0.
174
-
175
- ### 3.8.3 / 2019-10-02
176
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.2...v3.8.3)
177
-
178
- Bug Fixes:
179
-
180
- * Escape \r when outputting strings inside arrays.
181
- (Tomita Masahiro, Jon Rowe, rspec/rspec-support#378)
182
- * Ensure that optional hash arguments are recognised correctly vs keyword
183
- arguments. (Evgeni Dzhelyov, rspec/rspec-support#366)
184
-
185
- ### 3.8.2 / 2019-06-10
186
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.1...v3.8.2)
187
-
188
- Bug Fixes:
189
-
190
- * Ensure that an empty hash is recognised as empty keyword arguments when
191
- applicable. (Thomas Walpole, rspec/rspec-support#375)
192
- * Ensure that diffing truthy values produce diffs consistently.
193
- (Lucas Nestor, rspec/rspec-support#377)
194
-
195
- ### 3.8.1 / 2019-03-03
196
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.8.0...v3.8.1)
197
-
198
- Bug Fixes:
199
-
200
- * Ensure that inspecting a `SimpleDelegator` based object works regardless of
201
- visibility of the `__getobj__` method. (Jon Rowe, rspec/rspec-support#369)
202
-
203
- ### 3.8.0 / 2018-08-04
204
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)
205
-
206
- Bug Fixes:
207
-
208
- * Order hash keys before diffing to improve diff accuracy when using mocked calls.
209
- (James Crisp, rspec/rspec-support#334)
210
-
211
- ### 3.7.1 / 2018-01-29
212
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.0...v3.7.1)
213
-
214
- Bug Fixes:
215
-
216
- * Fix source extraction logic so that it does not trigger a `SystemStackError`
217
- when processing deeply nested example groups. (Craig Bass, rspec/rspec-support#343)
218
-
219
- ### 3.7.0 / 2017-10-17
220
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0...v3.7.0)
221
-
222
- Enhancements:
223
-
224
- * Improve compatibility with `--enable-frozen-string-literal` option
225
- on Ruby 2.3+. (Pat Allan, rspec/rspec-support#320)
226
- * Add `Support.class_of` for extracting class of any object.
227
- (Yuji Nakayama, rspec/rspec-support#325)
228
-
229
- Bug Fixes:
230
-
231
- * Fix recursive const support to not blow up when given buggy classes
232
- that raise odd errors from `#to_str`. (Myron Marston, rspec/rspec-support#317)
233
-
234
- ### 3.6.0 / 2017-05-04
235
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta2...3.6.0)
236
-
237
- Enhancements:
238
-
239
- * Import `Source` classes from rspec-core. (Yuji Nakayama, rspec/rspec-support#315)
240
-
241
- ### 3.6.0.beta2 / 2016-12-12
242
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0.beta1...v3.6.0.beta2)
243
-
244
- No user-facing changes.
245
-
246
- ### 3.6.0.beta1 / 2016-10-09
247
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0...v3.6.0.beta1)
248
-
249
- Bug Fixes:
250
-
251
- * Prevent truncated formatted object output from mangling console codes. (rspec/rspec-support#294, Anson Kelly)
252
-
253
- ### 3.5.0 / 2016-07-01
254
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta4...v3.5.0)
255
-
256
- **No user facing changes since beta4**
257
-
258
- ### 3.5.0.beta4 / 2016-06-05
259
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta3...v3.5.0.beta4)
260
-
261
- Enhancements:
262
- * Improve `MethodSignature` to better support keyword arguments. (rspec/rspec-support#250, Rob Smith).
263
-
264
- ### 3.5.0.beta3 / 2016-04-02
265
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta2...v3.5.0.beta3)
266
-
267
- Bug Fixes:
268
-
269
- * Fix `EncodedString` to properly handle the behavior of `String#split`
270
- on JRuby when the string contains invalid bytes. (Jon Rowe, rspec/rspec-support#268)
271
- * Fix `ObjectFormatter` so that formatting objects that don't respond to
272
- `#inspect` (such as `BasicObject`) does not cause `NoMethodError`.
273
- (Yuji Nakayama, rspec/rspec-support#269)
274
- * Fix `ObjectFormatter` so that formatting recursive array or hash does not
275
- cause `SystemStackError`. (Yuji Nakayama, rspec/rspec-support#270, rspec/rspec-support#272)
276
-
277
- ### 3.5.0.beta2 / 2016-03-10
278
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.5.0.beta1...v3.5.0.beta2)
279
-
280
- No user-facing changes.
281
-
282
- ### 3.5.0.beta1 / 2016-02-06
283
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.4.1...v3.5.0.beta1)
284
-
285
- Enhancements:
286
-
287
- * Improve formatting of objects by allowing truncation to a pre-configured length.
288
- (Liam M, rspec/rspec-support#256)
289
-
290
- ### 3.4.1 / 2015-11-20
291
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.4.0...v3.4.1)
292
-
293
- Bug Fixes:
294
-
295
- * Fix `RSpec::Support::RubyFeature.ripper_supported?` so it returns
296
- `false` on Rubinius since the Rubinius team has no plans to support
297
- it. This prevents rspec-core from trying to load and use ripper to
298
- extract failure snippets. (Aaron Stone, rspec/rspec-support#251)
299
-
300
- Changes:
301
-
302
- * Remove `VersionChecker` in favor of `ComparableVersion`. (Yuji Nakayama, rspec/rspec-support#266)
303
-
304
- ### 3.4.0 / 2015-11-11
305
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.3.0...v3.4.0)
306
-
307
- Enhancements:
308
-
309
- * Improve formatting of `Delegator` based objects (e.g. `SimpleDelegator`) in
310
- failure messages and diffs. (Andrew Horner, rspec/rspec-support#215)
311
- * Add `ComparableVersion`. (Yuji Nakayama, rspec/rspec-support#245)
312
- * Add `Ripper` support detection. (Yuji Nakayama, rspec/rspec-support#245)
313
-
314
- Bug Fixes:
315
-
316
- * Work around bug in JRuby that reports that `attr_writer` methods
317
- have no parameters, causing RSpec's verifying doubles to wrongly
318
- fail when mocking or stubbing a writer method on JRuby. (Myron Marston, rspec/rspec-support#225)
319
-
320
- ### 3.3.0 / 2015-06-12
321
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.2...v3.3.0)
322
-
323
- Enhancements:
324
-
325
- * Improve formatting of arrays and hashes in failure messages so they
326
- use our custom formatting of matchers, time objects, etc.
327
- (Myron Marston, Nicholas Chmielewski, rspec/rspec-support#205)
328
- * Use improved formatting for diffs as well. (Nicholas Chmielewski, rspec/rspec-support#205)
329
-
330
- Bug Fixes:
331
-
332
- * Fix `FuzzyMatcher` so that it checks `expected == actual` rather than
333
- `actual == expected`, which avoids errors in situations where the
334
- `actual` object's `==` is improperly implemented to assume that only
335
- objects of the same type will be given. This allows rspec-mocks'
336
- `anything` to match against objects with buggy `==` definitions.
337
- (Myron Marston, rspec/rspec-support#193)
338
-
339
- ### 3.2.2 / 2015-02-23
340
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.1...v3.2.2)
341
-
342
- Bug Fixes:
343
-
344
- * Fix an encoding issue with `EncodedString#split` when encountering an
345
- invalid byte string. (Benjamin Fleischer, rspec/rspec-support#1760)
346
-
347
- ### 3.2.1 / 2015-02-04
348
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.0...v3.2.1)
349
-
350
- Bug Fixes:
351
-
352
- * Fix `RSpec::CallerFilter` to work on Rubinius 2.2.
353
- (Myron Marston, rspec/rspec-support#169)
354
-
355
- ### 3.2.0 / 2015-02-03
356
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.2...v3.2.0)
357
-
358
- Enhancements:
359
-
360
- * Add extra Ruby type detection. (Jon Rowe, rspec/rspec-support#133)
361
- * Make differ instance re-usable. (Alexey Fedorov, rspec/rspec-support#160)
362
-
363
- Bug Fixes:
364
-
365
- * Do not consider `[]` and `{}` to match when performing fuzzy matching.
366
- (Myron Marston, rspec/rspec-support#157)
367
-
368
- ### 3.1.2 / 2014-10-08
369
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.1...v3.1.2)
370
-
371
- Bug Fixes:
372
-
373
- * Fix method signature to not blow up with a `NoMethodError` on 1.8.7 when
374
- verifying against an RSpec matcher. (Myron Marston, rspec/rspec-support#116)
375
-
376
- ### 3.1.1 / 2014-09-26
377
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.0...v3.1.1)
378
-
379
- Bug Fixes:
380
-
381
- * Fix `RSpec::Support::DirectoryMaker` (used by `rspec --init` and
382
- `rails generate rspec:install`) so that it detects absolute paths
383
- on Windows properly. (Scott Archer, rspec/rspec-support#107, rspec/rspec-support#108, rspec/rspec-support#109) (Jon Rowe, rspec/rspec-support#110)
384
-
385
- ### 3.1.0 / 2014-09-04
386
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.4...v3.1.0)
387
-
388
- Bug Fixes:
389
-
390
- * Fix `FuzzyMatcher` so that it does not wrongly match a struct against
391
- an array. (Myron Marston, rspec/rspec-support#97)
392
- * Prevent infinitely recursing `#flatten` methods from causing the differ
393
- to hang. (Jon Rowe, rspec/rspec-support#101)
394
-
395
- ### 3.0.4 / 2014-08-14
396
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.3...v3.0.4)
397
-
398
- Bug Fixes:
399
-
400
- * Fix `FuzzyMatcher` so that it does not silence `ArgumentError` raised
401
- from broken implementations of `==`. (Myron Marston, rspec/rspec-support#94)
402
-
403
- ### 3.0.3 / 2014-07-21
404
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.2...v3.0.3)
405
-
406
- Bug Fixes:
407
-
408
- * Fix regression in `Support#method_handle_for` where proxy objects
409
- with method delegated would wrongly not return a method handle.
410
- (Jon Rowe, rspec/rspec-support#90)
411
- * Properly detect Module#prepend support in Ruby 2.1+ (Ben Langfeld, rspec/rspec-support#91)
412
- * Fix `rspec/support/warnings.rb` so it can be loaded and used in
413
- isolation. (Myron Marston, rspec/rspec-support#93)
414
-
415
- ### 3.0.2 / 2014-06-20
416
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.1...v3.0.2)
417
-
418
- * Revert `BlockSignature` change from 3.0.1 because of a ruby bug that
419
- caused it to change the block's behavior (https://bugs.ruby-lang.org/issues/9967).
420
- (Myron Marston, rspec-mocksrspec/rspec-support#721)
421
-
422
- ### 3.0.1 / 2014-06-19
423
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0...v3.0.1)
424
-
425
- * Fix `BlockSignature` so that it correctly differentiates between
426
- required and optional block args. (Myron Marston, rspec-mocksrspec/rspec-support#714)
427
-
428
- ### 3.0.0 / 2014-06-01
429
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0.rc1...v3.0.0)
430
-
431
- ### 3.0.0.rc1 / 2014-05-18
432
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0.beta2...v3.0.0.rc1)
433
-
434
- ### 3.0.0.beta2 / 2014-02-17
435
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.0.0.beta1...v3.0.0.beta2)
436
-
437
- Bug Fixes:
438
-
439
- * Issue message when :replacement is passed to `RSpec.warn_with`. (Jon Rowe)
440
-
441
- ### 3.0.0.beta1 / 2013-11-07
442
- [Full Changelog](https://github.com/rspec/rspec-support/compare/0dc12d1bdbbacc757a9989f8c09cd08ef3a4837e...v3.0.0.beta1)
443
-
444
- Initial release.
@@ -1,23 +0,0 @@
1
- The MIT License (MIT)
2
- ====================
3
-
4
- * Copyright © 2013 David Chelimsky, Myron Marston, Jon Rowe, Sam Phippen, Xavier Shay, Bradley Schaefer
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining
7
- a copy of this software and associated documentation files (the
8
- "Software"), to deal in the Software without restriction, including
9
- without limitation the rights to use, copy, modify, merge, publish,
10
- distribute, sublicense, and/or sell copies of the Software, and to
11
- permit persons to whom the Software is furnished to do so, subject to
12
- the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be
15
- included in all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,40 +0,0 @@
1
- # RSpec::Support [![Build Status](https://github.com/rspec/rspec-support/workflows/RSpec%20CI/badge.svg)](https://github.com/rspec/rspec-support/actions)
2
-
3
- `RSpec::Support` provides common functionality to `RSpec::Core`,
4
- `RSpec::Expectations` and `RSpec::Mocks`. It is considered
5
- suitable for internal use only at this time.
6
-
7
- ## Installation / Usage
8
-
9
- Install one or more of the `RSpec` gems.
10
-
11
- Want to run against the `main` branch? You'll need to include the dependent
12
- RSpec repos as well. Add the following to your `Gemfile`:
13
-
14
- ```ruby
15
- %w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
16
- gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'main'
17
- end
18
- ```
19
-
20
- ## Contributing
21
-
22
- Once you've set up the environment, you'll need to cd into the working
23
- directory of whichever repo you want to work in. From there you can run the
24
- specs and cucumber features, and make patches.
25
-
26
- NOTE: You do not need to use rspec-dev to work on a specific RSpec repo. You
27
- can treat each RSpec repo as an independent project.
28
-
29
- - [Build details](BUILD_DETAIL.md)
30
- - [Code of Conduct](CODE_OF_CONDUCT.md)
31
- - [Detailed contributing guide](CONTRIBUTING.md)
32
- - [Development setup guide](DEVELOPMENT.md)
33
-
34
- ## Patches
35
-
36
- Please submit a pull request or a github issue. If you submit an issue, please
37
- include a link to either of:
38
-
39
- * a gist (or equivalent) of the patch
40
- * a branch or commit in your github fork of the repo
@@ -1,20 +0,0 @@
1
- Copyright (c) 2012-26 Bozhidar Batsov
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.