acfs 2.2.1 → 3.0.0

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 (232) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/acfs.gemspec +4 -4
  4. data/lib/acfs/errors.rb +6 -6
  5. data/lib/acfs/global.rb +3 -1
  6. data/lib/acfs/resource/attributes.rb +5 -6
  7. data/lib/acfs/resource/locatable.rb +4 -4
  8. data/lib/acfs/resource/persistence.rb +7 -7
  9. data/lib/acfs/resource/service.rb +2 -2
  10. data/lib/acfs/runner.rb +5 -0
  11. data/lib/acfs/version.rb +3 -3
  12. data/spec/acfs/adapter/typhoeus_spec.rb +2 -1
  13. data/spec/acfs/global_spec.rb +21 -2
  14. data/spec/acfs/runner_spec.rb +16 -2
  15. data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/README.md +3 -3
  16. data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/rubocop-config.gemspec +8 -8
  17. data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/CHANGELOG.md +216 -0
  18. data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/CHANGELOG.md +107 -0
  19. data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/CHANGELOG.md +48 -0
  20. data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/CHANGELOG.md +242 -0
  21. data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/CHANGELOG.md +97 -0
  22. data/vendor/bundle/ruby/4.0.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/bigdecimal.gemspec +2 -0
  23. data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/CHANGELOG.md +6 -0
  24. data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/connection_pool.gemspec +1 -0
  25. data/vendor/bundle/ruby/4.0.0/gems/{crass-1.0.6 → crass-1.0.8}/LICENSE +1 -1
  26. data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.8/README.md +153 -0
  27. data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.8/crass.gemspec +32 -0
  28. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.19.2/CHANGELOG.md +1164 -0
  29. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.19.2/README.md +308 -0
  30. data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/changelog.md +5 -0
  31. data/vendor/bundle/ruby/4.0.0/gems/{json-2.19.9 → json-3.1.0}/README.md +9 -91
  32. data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/CHANGELOG.md +42 -0
  33. data/vendor/bundle/ruby/4.0.0/gems/{minitest-6.0.6 → minitest-6.1.0}/README.rdoc +19 -10
  34. data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/ChangeLog +25 -1
  35. data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/msgpack.gemspec +0 -9
  36. data/vendor/bundle/ruby/4.0.0/gems/{multi_json-1.21.1 → multi_json-1.21.2}/README.md +6 -6
  37. data/vendor/bundle/ruby/4.0.0/gems/{nokogiri-1.19.4-x86_64-linux-gnu → nokogiri-1.19.7-x86_64-linux-gnu}/LICENSE-DEPENDENCIES.md +29 -0
  38. data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/CHANGELOG.md +13 -3
  39. data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/CHANGELOG.md +8 -0
  40. data/vendor/bundle/ruby/4.0.0/gems/{prism-1.9.0 → prism-2.1.0-x86_64-linux-gnu}/CHANGELOG.md +144 -40
  41. data/vendor/bundle/ruby/4.0.0/gems/{prism-1.9.0 → prism-2.1.0-x86_64-linux-gnu}/LICENSE.md +1 -1
  42. data/vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/README.md +83 -0
  43. data/vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/prism.gemspec +251 -0
  44. data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/CHANGELOG.md +137 -1
  45. data/vendor/bundle/ruby/4.0.0/gems/{rack-test-2.2.0 → rack-test-2.3.0}/MIT-LICENSE.txt +1 -1
  46. data/vendor/bundle/ruby/4.0.0/gems/{rack-test-2.2.0 → rack-test-2.3.0}/README.md +16 -0
  47. data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/CHANGELOG.md +54 -0
  48. data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/README.md +3 -2
  49. data/vendor/bundle/ruby/4.0.0/gems/{regexp_parser-2.12.0 → regexp_parser-2.13.4}/LICENSE +1 -1
  50. data/vendor/bundle/ruby/4.0.0/gems/{regexp_parser-2.12.0 → regexp_parser-2.13.4}/regexp_parser.gemspec +3 -9
  51. data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/Changelog.md +10 -2
  52. data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/Changelog.md +11 -2
  53. data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/Changelog.md +17 -3
  54. data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/Changelog.md +12 -2
  55. data/vendor/bundle/ruby/4.0.0/gems/{rubocop-1.88.0 → rubocop-1.92.3}/README.md +1 -1
  56. data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.53.0/lib/rubocop/ast/vendor/parser/LICENSE.txt +26 -0
  57. data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/CHANGELOG.md +53 -0
  58. data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/README.md +1 -1
  59. data/vendor/bundle/ruby/4.0.0/gems/{rubocop-performance-1.26.1 → rubocop-performance-1.27.0}/LICENSE.txt +1 -1
  60. data/vendor/bundle/ruby/4.0.0/gems/{rubocop-rspec_rails-2.32.0 → rubocop-rspec_rails-2.33.0}/CHANGELOG.md +21 -0
  61. data/vendor/bundle/ruby/4.0.0/gems/{simplecov-0.22.0 → simplecov-1.3.2}/LICENSE +1 -1
  62. data/vendor/bundle/ruby/4.0.0/gems/simplecov-1.3.2/README.md +272 -0
  63. data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/README.md +2 -3
  64. data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/simplecov-cobertura.gemspec +2 -2
  65. data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/CHANGELOG.md +297 -3
  66. data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.8.0/README.md +825 -0
  67. data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/typhoeus.gemspec +15 -3
  68. data/vendor/bundle/ruby/4.0.0/gems/{unicode-display_width-3.2.0 → unicode-display_width-3.3.0}/CHANGELOG.md +6 -0
  69. data/vendor/bundle/ruby/4.0.0/gems/{unicode-display_width-3.2.0 → unicode-display_width-3.3.0}/MIT-LICENSE.txt +1 -1
  70. data/vendor/bundle/ruby/4.0.0/gems/{unicode-display_width-3.2.0 → unicode-display_width-3.3.0}/README.md +2 -2
  71. data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/CHANGELOG.md +4 -0
  72. data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/MIT-LICENSE.txt +1 -1
  73. data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/README.md +4 -4
  74. data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/CHANGELOG.md +406 -0
  75. data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/README.md +271 -5
  76. data/vendor/bundle/ruby/4.0.0/specifications/{actionpack-8.1.3.gemspec → actionpack-8.1.4.1.gemspec} +8 -8
  77. data/vendor/bundle/ruby/4.0.0/specifications/{actionview-8.1.3.gemspec → actionview-8.1.4.1.gemspec} +9 -9
  78. data/vendor/bundle/ruby/4.0.0/specifications/{activemodel-8.1.3.gemspec → activemodel-8.1.4.1.gemspec} +6 -6
  79. data/vendor/bundle/ruby/4.0.0/specifications/{activesupport-8.1.3.gemspec → activesupport-8.1.4.1.gemspec} +5 -5
  80. data/vendor/bundle/ruby/4.0.0/specifications/{addressable-2.9.0.gemspec → addressable-2.9.2.gemspec} +5 -5
  81. data/vendor/bundle/ruby/4.0.0/specifications/appraisal-2.5.0.gemspec +1 -1
  82. data/vendor/bundle/ruby/4.0.0/specifications/ast-2.4.3.gemspec +1 -1
  83. data/vendor/bundle/ruby/4.0.0/specifications/base64-0.3.0.gemspec +1 -1
  84. data/vendor/bundle/ruby/4.0.0/specifications/{bigdecimal-4.1.2.gemspec → bigdecimal-4.1.3.gemspec} +3 -3
  85. data/vendor/bundle/ruby/4.0.0/specifications/builder-3.3.0.gemspec +1 -1
  86. data/vendor/bundle/ruby/4.0.0/specifications/{concurrent-ruby-1.3.7.gemspec → concurrent-ruby-1.3.8.gemspec} +4 -4
  87. data/vendor/bundle/ruby/4.0.0/specifications/{connection_pool-3.0.2.gemspec → connection_pool-3.0.3.gemspec} +5 -4
  88. data/vendor/bundle/ruby/4.0.0/specifications/crack-1.0.1.gemspec +1 -1
  89. data/vendor/bundle/ruby/4.0.0/specifications/{crass-1.0.6.gemspec → crass-1.0.8.gemspec} +8 -8
  90. data/vendor/bundle/ruby/4.0.0/specifications/diff-lcs-1.6.2.gemspec +1 -1
  91. data/vendor/bundle/ruby/4.0.0/specifications/drb-2.2.3.gemspec +1 -1
  92. data/vendor/bundle/ruby/4.0.0/specifications/erubi-1.13.1.gemspec +1 -1
  93. data/vendor/bundle/ruby/4.0.0/specifications/{ethon-0.18.0.gemspec → ethon-0.19.2.gemspec} +6 -6
  94. data/vendor/bundle/ruby/4.0.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec +1 -1
  95. data/vendor/bundle/ruby/4.0.0/specifications/{hashdiff-1.2.1.gemspec → hashdiff-1.2.2.gemspec} +4 -4
  96. data/vendor/bundle/ruby/4.0.0/specifications/i18n-1.15.2.gemspec +1 -1
  97. data/vendor/bundle/ruby/4.0.0/specifications/{json-2.19.9.gemspec → json-3.1.0.gemspec} +0 -0
  98. data/vendor/bundle/ruby/4.0.0/specifications/{language_server-protocol-3.17.0.5.gemspec → language_server-protocol-3.17.0.6.gemspec} +4 -4
  99. data/vendor/bundle/ruby/4.0.0/specifications/lint_roller-1.1.0.gemspec +1 -1
  100. data/vendor/bundle/ruby/4.0.0/specifications/logger-1.7.0.gemspec +1 -1
  101. data/vendor/bundle/ruby/4.0.0/specifications/{loofah-2.25.1.gemspec → loofah-2.25.3.gemspec} +6 -6
  102. data/vendor/bundle/ruby/4.0.0/specifications/{minitest-6.0.6.gemspec → minitest-6.1.0.gemspec} +8 -9
  103. data/vendor/bundle/ruby/4.0.0/specifications/{msgpack-1.8.3.gemspec → msgpack-1.8.7.gemspec} +4 -15
  104. data/vendor/bundle/ruby/4.0.0/specifications/{multi_json-1.21.1.gemspec → multi_json-1.21.2.gemspec} +5 -5
  105. data/vendor/bundle/ruby/4.0.0/specifications/{nokogiri-1.19.4-x86_64-linux-gnu.gemspec → nokogiri-1.19.7-x86_64-linux-gnu.gemspec} +3 -3
  106. data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-api-1.11.1.gemspec +27 -0
  107. data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-common-0.25.2.gemspec +26 -0
  108. data/vendor/bundle/ruby/4.0.0/specifications/{parallel-2.1.0.gemspec → parallel-2.3.0.gemspec} +4 -4
  109. data/vendor/bundle/ruby/4.0.0/specifications/{parser-3.3.11.1.gemspec → parser-3.3.14.0.gemspec} +5 -5
  110. data/vendor/bundle/ruby/4.0.0/specifications/prism-2.1.0-x86_64-linux-gnu.gemspec +22 -0
  111. data/vendor/bundle/ruby/4.0.0/specifications/public_suffix-7.0.5.gemspec +1 -1
  112. data/vendor/bundle/ruby/4.0.0/specifications/racc-1.8.1.gemspec +1 -1
  113. data/vendor/bundle/ruby/4.0.0/specifications/{rack-3.2.6.gemspec → rack-3.2.9.gemspec} +4 -4
  114. data/vendor/bundle/ruby/4.0.0/specifications/rack-session-2.1.2.gemspec +1 -1
  115. data/vendor/bundle/ruby/4.0.0/specifications/{rack-test-2.2.0.gemspec → rack-test-2.3.0.gemspec} +5 -5
  116. data/vendor/bundle/ruby/4.0.0/specifications/rails-dom-testing-2.3.0.gemspec +1 -1
  117. data/vendor/bundle/ruby/4.0.0/specifications/{rails-html-sanitizer-1.7.0.gemspec → rails-html-sanitizer-1.7.2.gemspec} +7 -7
  118. data/vendor/bundle/ruby/4.0.0/specifications/rainbow-3.1.1.gemspec +1 -1
  119. data/vendor/bundle/ruby/4.0.0/specifications/rake-13.4.2.gemspec +1 -1
  120. data/vendor/bundle/ruby/4.0.0/specifications/rake-release-1.4.0.gemspec +1 -1
  121. data/vendor/bundle/ruby/4.0.0/specifications/{regexp_parser-2.12.0.gemspec → regexp_parser-2.13.4.gemspec} +5 -5
  122. data/vendor/bundle/ruby/4.0.0/specifications/rexml-3.4.4.gemspec +1 -1
  123. data/vendor/bundle/ruby/4.0.0/specifications/rspec-3.13.2.gemspec +1 -1
  124. data/vendor/bundle/ruby/4.0.0/specifications/{rspec-core-3.13.6.gemspec → rspec-core-3.13.7.gemspec} +7 -7
  125. data/vendor/bundle/ruby/4.0.0/specifications/{rspec-expectations-3.13.5.gemspec → rspec-expectations-3.13.6.gemspec} +7 -7
  126. data/vendor/bundle/ruby/4.0.0/specifications/{rspec-mocks-3.13.8.gemspec → rspec-mocks-3.13.9.gemspec} +6 -6
  127. data/vendor/bundle/ruby/4.0.0/specifications/{rspec-support-3.13.7.gemspec → rspec-support-3.13.8.gemspec} +7 -7
  128. data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-1.88.0.gemspec → rubocop-1.92.3.gemspec} +7 -7
  129. data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-ast-1.49.1.gemspec → rubocop-ast-1.53.0.gemspec} +7 -5
  130. data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-capybara-2.23.0.gemspec → rubocop-capybara-3.1.0.gemspec} +5 -5
  131. data/vendor/bundle/ruby/4.0.0/specifications/rubocop-factory_bot-2.28.0.gemspec +1 -1
  132. data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-performance-1.26.1.gemspec → rubocop-performance-1.27.0.gemspec} +7 -7
  133. data/vendor/bundle/ruby/4.0.0/specifications/rubocop-rspec-3.10.2.gemspec +1 -1
  134. data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-rspec_rails-2.32.0.gemspec → rubocop-rspec_rails-2.33.0.gemspec} +5 -5
  135. data/vendor/bundle/ruby/4.0.0/specifications/ruby-progressbar-1.13.0.gemspec +1 -1
  136. data/vendor/bundle/ruby/4.0.0/specifications/securerandom-0.4.1.gemspec +1 -1
  137. data/vendor/bundle/ruby/4.0.0/specifications/simplecov-1.3.2.gemspec +25 -0
  138. data/vendor/bundle/ruby/4.0.0/specifications/{simplecov-cobertura-3.2.0.gemspec → simplecov-cobertura-4.0.0.gemspec} +5 -5
  139. data/vendor/bundle/ruby/4.0.0/specifications/thor-1.5.0.gemspec +1 -1
  140. data/vendor/bundle/ruby/4.0.0/specifications/{typhoeus-1.6.0.gemspec → typhoeus-1.8.0.gemspec} +7 -7
  141. data/vendor/bundle/ruby/4.0.0/specifications/tzinfo-2.0.6.gemspec +1 -1
  142. data/vendor/bundle/ruby/4.0.0/specifications/{unicode-display_width-3.2.0.gemspec → unicode-display_width-3.3.0.gemspec} +8 -8
  143. data/vendor/bundle/ruby/4.0.0/specifications/{unicode-emoji-4.2.0.gemspec → unicode-emoji-4.3.0.gemspec} +6 -6
  144. data/vendor/bundle/ruby/4.0.0/specifications/{uri-1.1.1.gemspec → uri-1.1.2.gemspec} +3 -3
  145. data/vendor/bundle/ruby/4.0.0/specifications/useragent-0.16.11.gemspec +1 -1
  146. data/vendor/bundle/ruby/4.0.0/specifications/{webmock-3.26.2.gemspec → webmock-3.38.0.gemspec} +5 -5
  147. metadata +174 -185
  148. data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.6/README.md +0 -192
  149. data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.6/crass.gemspec +0 -31
  150. data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/LICENSE +0 -21
  151. data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/README.md +0 -409
  152. data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/docile.gemspec +0 -36
  153. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
  154. data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/README.md +0 -118
  155. data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/README.md +0 -143
  156. data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/prism.gemspec +0 -172
  157. data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/CHANGELOG.md +0 -191
  158. data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/README.md +0 -974
  159. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/CHANGELOG.md +0 -114
  160. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/LICENSE +0 -20
  161. data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/README.md +0 -30
  162. data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +0 -13
  163. data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/README.md +0 -29
  164. data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/README.md +0 -588
  165. data/vendor/bundle/ruby/4.0.0/specifications/docile-1.4.1.gemspec +0 -22
  166. data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-api-1.10.0.gemspec +0 -35
  167. data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-common-0.25.0.gemspec +0 -33
  168. data/vendor/bundle/ruby/4.0.0/specifications/prism-1.9.0.gemspec +0 -24
  169. data/vendor/bundle/ruby/4.0.0/specifications/simplecov-0.22.0.gemspec +0 -28
  170. data/vendor/bundle/ruby/4.0.0/specifications/simplecov-html-0.13.2.gemspec +0 -22
  171. data/vendor/bundle/ruby/4.0.0/specifications/simplecov_json_formatter-0.1.4.gemspec +0 -21
  172. /data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/LICENSE +0 -0
  173. /data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/MIT-LICENSE +0 -0
  174. /data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/README.rdoc +0 -0
  175. /data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/MIT-LICENSE +0 -0
  176. /data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/README.rdoc +0 -0
  177. /data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/MIT-LICENSE +0 -0
  178. /data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/README.rdoc +0 -0
  179. /data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/MIT-LICENSE +0 -0
  180. /data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/README.rdoc +0 -0
  181. /data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/LICENSE.txt +0 -0
  182. /data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/README.md +0 -0
  183. /data/vendor/bundle/ruby/4.0.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/LICENSE +0 -0
  184. /data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/LICENSE.txt +0 -0
  185. /data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/README.md +0 -0
  186. /data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/LICENSE +0 -0
  187. /data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/README.md +0 -0
  188. /data/vendor/bundle/ruby/4.0.0/gems/{ethon-0.18.0 → ethon-0.19.2}/LICENSE +0 -0
  189. /data/vendor/bundle/ruby/4.0.0/gems/{ethon-0.18.0 → ethon-0.19.2}/ethon.gemspec +0 -0
  190. /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/LICENSE +0 -0
  191. /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/README.md +0 -0
  192. /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/hashdiff.gemspec +0 -0
  193. /data/vendor/bundle/ruby/4.0.0/gems/{json-2.19.9 → json-3.1.0}/json.gemspec +0 -0
  194. /data/vendor/bundle/ruby/4.0.0/gems/{language_server-protocol-3.17.0.5 → language_server-protocol-3.17.0.6}/LICENSE.txt +0 -0
  195. /data/vendor/bundle/ruby/4.0.0/gems/{language_server-protocol-3.17.0.5 → language_server-protocol-3.17.0.6}/README.md +0 -0
  196. /data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/MIT-LICENSE.txt +0 -0
  197. /data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/README.md +0 -0
  198. /data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/LICENSE +0 -0
  199. /data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/README.md +0 -0
  200. /data/vendor/bundle/ruby/4.0.0/gems/{multi_json-1.21.1 → multi_json-1.21.2}/LICENSE.md +0 -0
  201. /data/vendor/bundle/ruby/4.0.0/gems/{nokogiri-1.19.4-x86_64-linux-gnu → nokogiri-1.19.7-x86_64-linux-gnu}/LICENSE.md +0 -0
  202. /data/vendor/bundle/ruby/4.0.0/gems/{nokogiri-1.19.4-x86_64-linux-gnu → nokogiri-1.19.7-x86_64-linux-gnu}/README.md +0 -0
  203. /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/LICENSE +0 -0
  204. /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/README.md +0 -0
  205. /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/LICENSE +0 -0
  206. /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/README.md +0 -0
  207. /data/vendor/bundle/ruby/4.0.0/gems/{parallel-2.1.0 → parallel-2.3.0}/MIT-LICENSE.txt +0 -0
  208. /data/vendor/bundle/ruby/4.0.0/gems/{parser-3.3.11.1 → parser-3.3.14.0}/LICENSE.txt +0 -0
  209. /data/vendor/bundle/ruby/4.0.0/gems/{parser-3.3.11.1 → parser-3.3.14.0}/parser.gemspec +0 -0
  210. /data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/MIT-LICENSE +0 -0
  211. /data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/README.md +0 -0
  212. /data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/MIT-LICENSE +0 -0
  213. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/LICENSE.md +0 -0
  214. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/README.md +0 -0
  215. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/LICENSE.md +0 -0
  216. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/README.md +0 -0
  217. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/LICENSE.md +0 -0
  218. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/README.md +0 -0
  219. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/LICENSE.md +0 -0
  220. /data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/README.md +0 -0
  221. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-1.88.0 → rubocop-1.92.3}/LICENSE.txt +0 -0
  222. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-ast-1.49.1 → rubocop-ast-1.53.0}/LICENSE.txt +0 -0
  223. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-ast-1.49.1 → rubocop-ast-1.53.0}/README.md +0 -0
  224. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/MIT-LICENSE.md +0 -0
  225. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-performance-1.26.1 → rubocop-performance-1.27.0}/README.md +0 -0
  226. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-rspec_rails-2.32.0 → rubocop-rspec_rails-2.33.0}/MIT-LICENSE.md +0 -0
  227. /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-rspec_rails-2.32.0 → rubocop-rspec_rails-2.33.0}/README.md +0 -0
  228. /data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/LICENSE +0 -0
  229. /data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/LICENSE +0 -0
  230. /data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/unicode-emoji.gemspec +0 -0
  231. /data/vendor/bundle/ruby/4.0.0/gems/{uri-1.1.1 → uri-1.1.2}/README.md +0 -0
  232. /data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/LICENSE +0 -0
@@ -0,0 +1,272 @@
1
+ SimpleCov [![Gem Version](https://badge.fury.io/rb/simplecov.svg)](https://badge.fury.io/rb/simplecov) [![Build Status](https://github.com/simplecov-ruby/simplecov/actions/workflows/stable.yml/badge.svg?branch=main)][ci] [![Lint](https://github.com/simplecov-ruby/simplecov/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/simplecov-ruby/simplecov/actions/workflows/lint.yml) [![Typecheck](https://github.com/simplecov-ruby/simplecov/actions/workflows/typecheck.yml/badge.svg?branch=main)](https://github.com/simplecov-ruby/simplecov/actions/workflows/typecheck.yml) [![Mutation](https://github.com/simplecov-ruby/simplecov/actions/workflows/mutation.yml/badge.svg?branch=main)](https://github.com/simplecov-ruby/simplecov/actions/workflows/mutation.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/c071d197d61953a7e482/maintainability)](https://codeclimate.com/github/simplecov-ruby/simplecov/maintainability)
2
+ =========
3
+
4
+ **Code coverage for Ruby**
5
+
6
+ [ci]: https://github.com/simplecov-ruby/simplecov/actions?query=workflow%3Astable
7
+
8
+ SimpleCov is a code coverage analysis tool for Ruby. It uses [Ruby's built-in
9
+ Coverage][Coverage] library to gather coverage data, but makes processing the
10
+ results much easier by providing a clean API to filter, group, merge, format,
11
+ and display them. You can get a full coverage setup running in a couple of
12
+ lines of code.
13
+
14
+ [Coverage]: https://docs.ruby-lang.org/en/master/Coverage.html
15
+
16
+ SimpleCov tracks covered Ruby code.
17
+
18
+ In most cases you'll want overall coverage results spanning all of your tests
19
+ (unit, integration, etc.). SimpleCov handles this automatically by caching and
20
+ merging results as it generates reports, so a report reflects coverage across
21
+ your whole test suite and gives you a truer picture of your blank spots.
22
+
23
+ SimpleCov bundles two formatters: the default HTML formatter (which renders the
24
+ browsable report) and a JSON formatter. Both were once separate gems
25
+ (`simplecov-html` and `simplecov_json_formatter`) but are now built into
26
+ SimpleCov and configured automatically when you launch it. A wide variety of
27
+ [alternate formatters](docs/Alternate_Formatters.md) are distributed as gems.
28
+
29
+ ## Getting started
30
+
31
+ 1. Add SimpleCov to your `Gemfile` and `bundle install`:
32
+
33
+ ```ruby
34
+ gem 'simplecov', require: false, group: :test
35
+ ```
36
+
37
+ 2. Load and launch SimpleCov **at the very top** of your test helper, whether
38
+ that's `test/test_helper.rb`, `spec/spec_helper.rb`, `rails_helper.rb`, or
39
+ Cucumber's `features/support/env.rb`. SimpleCov doesn't care which framework
40
+ you run. It watches what code executes and reports on it, so the same two
41
+ lines work everywhere:
42
+
43
+ ```ruby
44
+ require 'simplecov'
45
+ SimpleCov.start
46
+
47
+ # Previous content of test helper now starts here
48
+ ```
49
+
50
+ > **Important:** `SimpleCov.start` **must** run **before any of your
51
+ > application code is required**. Otherwise SimpleCov (and the underlying
52
+ > Coverage library) can't track those files. This bites hardest with tools
53
+ > that keep your app loaded between runs, like Spring. See the
54
+ > [Spring section](docs/Troubleshooting.md#using-spring-with-simplecov).
55
+
56
+ SimpleCov must run in the process you want to analyze. When you test a
57
+ server process (e.g. a JSON API) from a separate test process (e.g. via
58
+ Selenium) and want to see all the code the `rails server` executes, not just
59
+ the code in your test files, require SimpleCov in the server process. For
60
+ Rails, add this near the top of `bin/rails`, below the shebang and after
61
+ `config/boot` is required:
62
+
63
+ ```ruby
64
+ if ENV['RAILS_ENV'] == 'test'
65
+ require 'simplecov'
66
+ SimpleCov.start 'rails'
67
+ end
68
+ ```
69
+
70
+ 3. Run your full test suite to see your application's coverage.
71
+
72
+ 4. Open the HTML report in your default browser:
73
+
74
+ ```sh
75
+ simplecov open
76
+ ```
77
+
78
+ (The bundled `simplecov` CLI picks the right opener for your platform:
79
+ `open` on macOS, `xdg-open` on Linux/BSD, `start` on Windows. Pass
80
+ `--report PATH` to open a non-default location. See the
81
+ [command-line interface](docs/CLI.md) for the full set of subcommands.)
82
+
83
+ 5. Optionally, keep coverage results out of Git:
84
+
85
+ ```sh
86
+ echo coverage >> .gitignore
87
+ ```
88
+
89
+ For Rails applications, SimpleCov ships a built-in `rails`
90
+ [profile](docs/Configuration.md#profiles) that sets up groups for your
91
+ Controllers, Models, Helpers, and Libraries:
92
+
93
+ ```ruby
94
+ require 'simplecov'
95
+ SimpleCov.start 'rails'
96
+ ```
97
+
98
+ ## Example output
99
+
100
+ #### Coverage results report
101
+
102
+ ![SimpleCov coverage report](https://github.com/user-attachments/assets/19cbbf09-e42e-49c2-9adc-2427f321cb7f)
103
+
104
+ #### Source file coverage details view
105
+
106
+ ![SimpleCov source file detail view](https://github.com/user-attachments/assets/c168597d-a82c-453a-825b-3fb229979c5e)
107
+
108
+ ## Configuration at a glance
109
+
110
+ Configuration goes in your start block, or in a `.simplecov` file at the
111
+ project root when several test suites share it. The API is built around a
112
+ small set of consistent verbs: formatters are picked by name, thresholds
113
+ live in a per-criterion `coverage` block where scope is a uniform `per:`
114
+ argument, and misses can be capped as absolute counts rather than ratios:
115
+
116
+ ```ruby
117
+ SimpleCov.start do
118
+ enable_coverage :branch # track branches as well as lines
119
+ cover "{app,lib}/**/*.rb" # report on these files, even if never loaded
120
+ skip "app/legacy" # ...but leave these out
121
+ group "Models", "app/models" # organize the report into groups
122
+
123
+ coverage :line do
124
+ minimum 90 # fail the suite below 90% line coverage
125
+ maximum_drop 1 # ...or when coverage drops more than 1%
126
+ maximum_missed 5, per: :file # no file may carry more than 5 uncovered lines
127
+ end
128
+
129
+ coverage :branch, minimum: 80, ignore: :implicit_else
130
+ end
131
+ ```
132
+
133
+ Everything you're using today keeps working. Legacy spellings warn and name
134
+ their replacement, and once you've migrated, `deprecations :raise` turns any
135
+ old spelling that creeps back in into an error. The
136
+ [migration map](docs/Configuration.md#migrating-from-the-legacy-configuration-api)
137
+ has the full before and after, and every option is documented in
138
+ [docs/Configuration.md](docs/Configuration.md), including criteria, filters,
139
+ groups, profiles, and thresholds.
140
+
141
+ ## Tracking which test covers each line
142
+
143
+ Coverage normally tells you whether a line ran, not what ran it. `track_tests`
144
+ records the other half of the story:
145
+
146
+ ```ruby
147
+ SimpleCov.start do
148
+ track_tests
149
+ end
150
+ ```
151
+
152
+ RSpec examples and Minitest tests are wrapped automatically. In the HTML
153
+ report, covered lines that no test executed (they only ran at load time, or in
154
+ suite setup) drain to a distinct tint, so coverage that merely *loads* code
155
+ stops passing for coverage that *tests* it, and clicking a line's badge lists
156
+ the tests that cover it. The same recording answers from the terminal:
157
+
158
+ ```sh
159
+ $ simplecov tests lib/simplecov/result.rb:42
160
+ spec/result_spec.rb:42
161
+ ```
162
+
163
+ The output is one test id per line and nothing else, so it pipes straight into
164
+ a runner. `simplecov tests --redundant` inverts the question, listing the
165
+ tests whose covered lines other tests also cover, which is where a
166
+ [test-pruning session](docs/Redundant_Tests.md) starts. Recording has a real
167
+ cost, which is why it's opt-in and comes with levers to control it. See
168
+ [the configuration docs](docs/Configuration.md#tracking-which-test-covers-each-line).
169
+
170
+ ## Finding dead code in production
171
+
172
+ SimpleCov can also measure production code usage, the surest way to find
173
+ dead code. The old trick was to plant a log line in a suspect method and
174
+ watch production for a while. Oneshot coverage runs that experiment for
175
+ every line at once: a line reports its first execution and nothing after,
176
+ so a live process records what real traffic uses with the least possible
177
+ impact on performance. `simplecov dead-code` then crosses the recording
178
+ with the test report and turns it into insight you can act on. Code
179
+ neither tests nor traffic touch is safe to delete, and code production
180
+ runs but tests skip is the most valuable test you haven't written. The
181
+ HTML report and `coverage.json` include the same production data. See
182
+ [docs/Production.md](docs/Production.md) for more details on why and how
183
+ to set it up.
184
+
185
+ ## Coverage of just your change
186
+
187
+ An overall number moves slowly on a mature codebase, but "is the code in this
188
+ change tested?" has a crisp answer the day you ask it. `simplecov patch` reads
189
+ the git diff against a base ref and scores only the lines you touched:
190
+
191
+ ```sh
192
+ $ simplecov patch --base main --minimum 100
193
+ 88.00% (22/25) lines lib/simplecov/cli/patch.rb missing 41-43
194
+ 100.00% (4/4) lines lib/simplecov/result.rb
195
+ Patch coverage: 89.66% (26/29) lines
196
+ ```
197
+
198
+ `--minimum` turns it into a gate, so a project that can't lift its overall
199
+ number in one pull request can still require that everything it adds is
200
+ covered. The flip side is `simplecov affected`, which uses a `track_tests`
201
+ recording to select the tests that touch your changed code and hand them to
202
+ the runner, falling back (loudly) to the full suite whenever the map can't be
203
+ trusted:
204
+
205
+ ```sh
206
+ $ simplecov affected --base main --run bundle exec rspec
207
+ ```
208
+
209
+ Both commands are documented in [the CLI docs](docs/CLI.md).
210
+
211
+ ## Covering views
212
+
213
+ View templates execute real logic, and now they can be part of the report.
214
+ `cover_views` brings ERB, Haml, and Slim templates in, measured through eval
215
+ coverage:
216
+
217
+ ```ruby
218
+ SimpleCov.start 'rails' do
219
+ cover_views
220
+ end
221
+ ```
222
+
223
+ Templates are ordinary files in the report, highlighted in their own language
224
+ and grouped under Views by the `rails` profile, and a template no test renders
225
+ shows up at 0% instead of being quietly missing. Expect your overall number to
226
+ drop the first time you turn this on. That's the point. See
227
+ [view coverage](docs/Configuration.md#view-coverage).
228
+
229
+ ## Per-file ratchets and coverage history
230
+
231
+ On a legacy codebase, one per-file minimum does nothing useful: set it to what
232
+ the worst file scores and every other file is allowed to sink to that level.
233
+ `simplecov ratchet` writes a checked-in baseline instead, giving each file its
234
+ own floor at the coverage it has already reached:
235
+
236
+ ```sh
237
+ $ simplecov ratchet
238
+ simplecov ratchet: wrote .simplecov_baseline.yml (3 tightened, 1 pruned, 148 unchanged)
239
+ ```
240
+
241
+ Floors only ever tighten, so touching a legacy file drags its coverage upward
242
+ and it can never slide back. Think `.rubocop_todo.yml`, applied to coverage.
243
+ To ratchet automatically at the end of every run, add the baseline formatter
244
+ with `formats :html, :baseline`.
245
+
246
+ Alongside the floors, every successful run now appends to
247
+ `coverage/.history.json`, so you have a recorded trend rather than just the
248
+ last number. `simplecov history` draws it as sparklines in the terminal, and
249
+ `drop_baseline :median` judges coverage drops against the recorded median
250
+ instead of whatever the previous run happened to score. See
251
+ [the baseline](docs/Configuration.md#per-file-baseline-ratchet) and
252
+ [run history](docs/Configuration.md#run-history) docs.
253
+
254
+ ## More from the command line
255
+
256
+ The `simplecov` CLI has grown from a report opener into a toolbelt. A few
257
+ favorites:
258
+
259
+ ```sh
260
+ $ simplecov watch bundle exec rspec # re-run on save, live-reload the served report
261
+ $ simplecov show lib/foo.rb # annotated source in the terminal
262
+ $ simplecov status # is this report fresh, and for which commit?
263
+ $ simplecov uncovered --missing # worst files, with the exact line ranges to test
264
+ $ simplecov badge --output badge.svg # a shields.io-style SVG, no badge service needed
265
+ ```
266
+
267
+ `watch` deserves the highlight: with a `track_tests` recording in the report,
268
+ a save re-runs only the tests that touch the files you changed, which turns
269
+ the report into something you keep open while writing the test. There is also
270
+ shell tab completion (`simplecov completions fish|bash|zsh`), a man page, and
271
+ a real `--help` on every command. The full tour is in
272
+ [docs/CLI.md](docs/CLI.md).
@@ -37,8 +37,7 @@ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
37
37
 
38
38
  Tested in a CI environment against the following Ruby versions:
39
39
 
40
- * 3.0 - 3.4
41
- * 2.5 - 2.7
40
+ * 3.2 - 4.0
42
41
 
43
42
  ## Contributing
44
43
 
@@ -50,7 +49,7 @@ Tested in a CI environment against the following Ruby versions:
50
49
 
51
50
  ## License
52
51
 
53
- Copyright 2025 Jesse Bowes
52
+ Copyright 2014-2026 Jesse Bowes
54
53
 
55
54
  Licensed under the Apache License, Version 2.0 (the "License");
56
55
  you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.description = 'Produces Cobertura XML formatted output from SimpleCov'
14
14
  spec.homepage = 'https://github.com/jessebs/simplecov-cobertura'
15
15
  spec.license = 'Apache-2.0'
16
- spec.required_ruby_version = '>= 2.5.0'
16
+ spec.required_ruby_version = '>= 3.2'
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0")
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'nokogiri', '~> 1.0'
25
25
  spec.add_development_dependency 'rake', '~> 13.0'
26
26
 
27
- spec.add_dependency 'simplecov', '~> 0.19'
27
+ spec.add_dependency 'simplecov', '~> 1.0'
28
28
  spec.add_dependency 'rexml'
29
29
  end
@@ -1,8 +1,302 @@
1
1
  # Changelog
2
2
 
3
- ## Master
4
-
5
- [Full Changelog](http://github.com/typhoeus/typhoeus/compare/v1.6.0...master)
3
+ ## 1.8.0
4
+
5
+ [Full Changelog](http://github.com/typhoeus/typhoeus/compare/v1.7.1...v1.8.0)
6
+
7
+ This release adds response streaming to the Faraday adapter, multipart parts
8
+ with their own content type, reusable multi handles, `Response#certinfo` and
9
+ fork-safe hydra memoization. It requires Ethon 0.19.2 or newer.
10
+
11
+ ### Breaking changes
12
+
13
+ * Require Ethon >= 0.19.2. `Ethon::Multipart::Part` and the `certinfo` mirror
14
+ need it, and so does the fork opt-in the README describes. Ethon is still
15
+ constrained to `< 0.20`.
16
+
17
+ ### Behavior changes
18
+
19
+ * Stream response bodies through Faraday's `on_data` callback. On Faraday
20
+ 2.5+, the callback receives `env` as a third argument with the status and
21
+ headers already set, like with Faraday's `net_http` adapter. A request with
22
+ `on_data` set now gets an empty `response.body`; it used to get the full
23
+ body, the callback being ignored.
24
+ ([#834](https://github.com/typhoeus/typhoeus/pull/834))
25
+
26
+ ### Enhancements
27
+
28
+ * Add `Typhoeus::Multipart::Part` for setting the content type and, optionally,
29
+ the filename of a single `multipart/form-data` part. This makes it possible
30
+ to send a JSON field with `Content-Type: application/json` or to override the
31
+ detected content type and filename of an uploaded file.
32
+ ([#494](https://github.com/typhoeus/typhoeus/issues/494))
33
+
34
+ * Add `Hydra#release`, which returns the native multi handle to a pool so the
35
+ next hydra reuses its connection cache instead of paying for a new TLS
36
+ handshake. `Typhoeus::Config.max_idle_multis` controls the pool (default 5,
37
+ `0` disables it). In a forked child, a hydra drops a handle it built before
38
+ the fork instead of pooling it, since Ethon rejects the parent's handle there.
39
+ ([#832](https://github.com/typhoeus/typhoeus/issues/832))
40
+
41
+ * Add `Response#certinfo`, the server's certificate chain when the request is
42
+ made with `certinfo: true`.
43
+ ([#427](https://github.com/typhoeus/typhoeus/issues/427))
44
+
45
+ * Return a new hydra from `Typhoeus::Hydra.hydra` in a forked child instead of
46
+ the one it memoized in the parent. The child no longer inherits requests
47
+ queued on that hydra, so the parent and child no longer both send them, and it
48
+ no longer uses the parent's multi handle, which Ethon 0.19 rejects in the
49
+ child. A server that forks workers after using libcurl can opt in with
50
+ `Ethon::Curl.allow_handles_after_fork!` in each worker before it creates a
51
+ handle (not supported on macOS).
52
+ ([ethon#462](https://github.com/typhoeus/ethon/issues/462))
53
+
54
+ ### Fixes and hardening
55
+
56
+ * Keep a discarded easy in the pool when its cleanup fails. A cleanup error
57
+ raised from an `on_complete` callback aborted the hydra run and left the
58
+ remaining requests without a response, which made CocoaPods' CDN source wait
59
+ forever.
60
+ ([#825](https://github.com/typhoeus/typhoeus/issues/825))
61
+
62
+ ### Documentation and maintenance
63
+
64
+ * Update the macOS fork advice for Ethon 0.19: initializing libcurl in the
65
+ parent now makes the child raise, so create handles after the fork or use
66
+ `fork` followed by `exec`.
67
+ ([#836](https://github.com/typhoeus/typhoeus/pull/836))
68
+ * Run the suite against Faraday 1.x as well.
69
+ ([#834](https://github.com/typhoeus/typhoeus/pull/834))
70
+ * Skip the memory-usage and leader-change specs on JRuby, where they cannot
71
+ assert the same thing.
72
+ ([#831](https://github.com/typhoeus/typhoeus/pull/831))
73
+
74
+ ## 1.7.1
75
+
76
+ [Full Changelog](http://github.com/typhoeus/typhoeus/compare/v1.7.0...v1.7.1)
77
+
78
+ * Require Ethon >= 0.19.1. Ethon 0.19.0 rejects `Easy#cleanup` from an
79
+ `on_complete` callback, which broke every request with `:resolve` because
80
+ Typhoeus cleans up resolve-list easies instead of pooling them. The
81
+ compatibility specs now cover a `:resolve` request.
82
+ ([#824](https://github.com/typhoeus/typhoeus/issues/824),
83
+ [ethon#456](https://github.com/typhoeus/ethon/pull/456))
84
+
85
+ ## 1.7.0
86
+
87
+ [Full Changelog](http://github.com/typhoeus/typhoeus/compare/v1.6.0...v1.7.0)
88
+
89
+ This release requires Ethon 0.19 and changes several public behaviors.
90
+ Review the breaking changes and `UPGRADE.md` before upgrading.
91
+
92
+ ### Breaking changes
93
+
94
+ * Require Ethon >= 0.19.0. Release easy handles when callbacks raise, clean up
95
+ failed hydra runs without dropping queued requests, drop inherited handles
96
+ after fork, and document fork and empty-header behavior. Ethon 0.19 also
97
+ propagates callback exceptions, rejects handles inherited across `fork`,
98
+ validates enum and bitmask options, and fixes multipart PUT requests.
99
+ * Constrain the Ethon dependency to `< 0.20` so a future pre-1.0 minor
100
+ release cannot introduce breaking changes unnoticed.
101
+ * Call `on_progress` callbacks with the documented four arguments. A lambda
102
+ with four parameters no longer raises `ArgumentError`.
103
+ * Raise `ArgumentError` for a non-positive `Hydra` `max_concurrency`, including
104
+ when it is assigned after the hydra is created, instead of leaving every
105
+ queued request unperformed.
106
+ ([#753](https://github.com/typhoeus/typhoeus/pull/753))
107
+ * Raise `ArgumentError` with the option name for non-numeric timeout options
108
+ instead of failing with `NoMethodError` inside option sanitization.
109
+ ([#758](https://github.com/typhoeus/typhoeus/pull/758))
110
+ * Raise `Typhoeus::Errors::NoResponse` when a stub has no response or its
111
+ response block returns `nil` or a non-`Response` object.
112
+ ([#776](https://github.com/typhoeus/typhoeus/pull/776))
113
+
114
+ ### Behavior changes
115
+
116
+ * Make `Typhoeus.with_connection` thread-local so it no longer unblocks
117
+ requests in other threads.
118
+ ([#813](https://github.com/typhoeus/typhoeus/pull/813))
119
+ * Make `Typhoeus.with_connection` apply across fibers in the current thread
120
+ by using thread variables instead of fiber-local storage.
121
+ * Bypass stubs inside `Typhoeus.with_connection`. A stub can now forward its
122
+ request to the real service without matching itself in an endless loop, and
123
+ the real response is not finished a second time.
124
+ ([#809](https://github.com/typhoeus/typhoeus/pull/809))
125
+ * Return the response from a `before` callback that short-circuits a request
126
+ instead of returning `nil`.
127
+ ([#748](https://github.com/typhoeus/typhoeus/pull/748))
128
+ * Mark responses returned by `before` callbacks as mock responses. They are no
129
+ longer cached, and `success?` works for them.
130
+ * Finish every request that reuses a stubbed `Response` instead of treating the
131
+ response as already handled.
132
+ * Keep queued requests when a hydra run fails after reaching the multi, so a
133
+ caller can retry them after handling the error.
134
+ * Create a Hydra's native multi handle on first use. Creating or memoizing a
135
+ hydra during boot no longer initializes libcurl, which Ethon 0.19 rejects in
136
+ a forked child.
137
+ ([#790](https://github.com/typhoeus/typhoeus/pull/790))
138
+ * Do not create a Hydra's native multi handle when every queued request is
139
+ answered by a `before` callback, a stub, or the cache.
140
+ ([#802](https://github.com/typhoeus/typhoeus/pull/802))
141
+ * Only invoke `on_progress` callbacks while libcurl transfers data. They are no
142
+ longer called with a `Response` when the request completes, and global
143
+ `Typhoeus.on_progress` callbacks now run during the transfer as well.
144
+ ([#750](https://github.com/typhoeus/typhoeus/pull/750))
145
+ * Only cache complete, successful, non-mock responses and replay `on_headers`
146
+ and `on_body` callbacks for cache hits.
147
+ ([#763](https://github.com/typhoeus/typhoeus/pull/763))
148
+ * Exclude `cache_ttl` from `Request#cache_key`. Changing the TTL no longer
149
+ misses responses cached by an equivalent request with a different TTL.
150
+ ([#751](https://github.com/typhoeus/typhoeus/pull/751))
151
+ * Make `Request#cache_key` unambiguous for values that stringify the same, and
152
+ return a libcurl error instead of raising for an empty URL with params.
153
+ ([#768](https://github.com/typhoeus/typhoeus/pull/768))
154
+ * Normalize the request method and URL for cache keys, equality, and
155
+ memoization. `Typhoeus.get`, an implicit GET, `method: "GET"`, and a URI base
156
+ URL now refer to the same request.
157
+ ([#789](https://github.com/typhoeus/typhoeus/pull/789))
158
+ * Apply `timeout_ms` and `connecttimeout_ms` after their second-based options,
159
+ so an explicit millisecond timeout is no longer overridden by `timeout` or
160
+ `Typhoeus::Config.timeout`.
161
+ ([#788](https://github.com/typhoeus/typhoeus/pull/788))
162
+ * Merge the default `User-Agent` and `Expect` headers case-insensitively. A
163
+ caller using a lowercase header name no longer sends a duplicate value.
164
+ ([#784](https://github.com/typhoeus/typhoeus/pull/784))
165
+ * Run `on_headers` callbacks for memoized followers, disable memoization for
166
+ streaming requests whose body is not retained, and set `request.hydra` when a
167
+ request is added directly.
168
+ ([#774](https://github.com/typhoeus/typhoeus/pull/774))
169
+
170
+ ### Enhancements
171
+
172
+ * Use `SSL_CERT_FILE` and `SSL_CERT_DIR` as the default `cainfo` and `capath`
173
+ when the request does not set them.
174
+ * Unroll the include chains in `Hydra#add`/`Hydra#run` and
175
+ `Request#run`/`Request#response=`. The ordering of the before, stub, block
176
+ connection, cache, memoization, and transfer checks is now explicit.
177
+ `Typhoeus::Config.exclude_features = [:before]` skips before callbacks for
178
+ every request, and `bundle exec rake perf` benchmarks the request hot path.
179
+ ([#815](https://github.com/typhoeus/typhoeus/pull/815))
180
+ * Bound the easy pool with `Typhoeus::Config.max_idle_easies` (20 by default)
181
+ and replace the pool mutex after a fork instead of deadlocking on the
182
+ inherited lock.
183
+ ([#761](https://github.com/typhoeus/typhoeus/pull/761))
184
+ * Honor Faraday `verify_hostname` and SSL version options, and preserve the
185
+ response reason phrase.
186
+ ([#766](https://github.com/typhoeus/typhoeus/pull/766))
187
+ * Honor Faraday's `read_timeout` in the Typhoeus adapter, falling back to the
188
+ general `timeout` when it is not set.
189
+ ([#798](https://github.com/typhoeus/typhoeus/pull/798))
190
+ * Let `Expect: nil` opt out of Typhoeus's empty `Expect` header, so libcurl
191
+ decides when to send `100-continue`.
192
+ ([#808](https://github.com/typhoeus/typhoeus/pull/808))
193
+
194
+ ### Fixes and hardening
195
+
196
+ * Don't marshal per-request `before` callbacks. Requests with a `before`
197
+ callback can be dumped again.
198
+ ([#749](https://github.com/typhoeus/typhoeus/pull/749))
199
+ * Release the easy handle when installing response callbacks fails.
200
+ ([#752](https://github.com/typhoeus/typhoeus/pull/752))
201
+ * Build the synthetic status line for mocked responses from `response_code`/
202
+ `code`. It previously used the libcurl `return_code` symbol.
203
+ ([#754](https://github.com/typhoeus/typhoeus/pull/754))
204
+ * Replace the hydra's multi handle after a fatal `curl_multi_perform` error so
205
+ the hydra can run requests again.
206
+ ([#759](https://github.com/typhoeus/typhoeus/pull/759))
207
+ * Load the Rack middleware and the cache adapters independent of require order.
208
+ ([#760](https://github.com/typhoeus/typhoeus/pull/760))
209
+ * Drain short-circuited hydra requests iteratively and finish the request when
210
+ a `before` callback returns a `Response`.
211
+ ([#762](https://github.com/typhoeus/typhoeus/pull/762))
212
+ * Keep callback results and per-request response objects intact when requests
213
+ are memoized, and clear stale memoization between runs.
214
+ ([#764](https://github.com/typhoeus/typhoeus/pull/764))
215
+ * Ignore HTTP/1.1 trailer blocks when parsing response headers and keep
216
+ `Response::Header` mutations in sync with case-insensitive reads.
217
+ ([#765](https://github.com/typhoeus/typhoeus/pull/765))
218
+ * Decode parameters for hash-like objects such as
219
+ `ActionController::Parameters`, deep-copy in `decode`, and register the Rack
220
+ middleware class in the Railtie.
221
+ ([#767](https://github.com/typhoeus/typhoeus/pull/767))
222
+ * Raise `Ethon::Errors::InvalidOption` with a clean message for removed and
223
+ replaced options instead of wrapping the error message as the option name.
224
+ ([#770](https://github.com/typhoeus/typhoeus/pull/770))
225
+ * Build `Request#url` from the URL-related options only, so unrelated invalid
226
+ options do not break it, and fall back to the base URL in `NoStub` when the
227
+ full URL cannot be built.
228
+ ([#771](https://github.com/typhoeus/typhoeus/pull/771))
229
+ * Make duplicated responses independent. Memoized followers no longer share
230
+ options, headers, body strings, or the leader's `handled_response`, and
231
+ `Header.new(header)` preserves its values.
232
+ ([#772](https://github.com/typhoeus/typhoeus/pull/772))
233
+ * Keep `Response::Header` case-insensitive lookups in sync after `delete_if`,
234
+ `select!`, `keep_if`, `reject!`, `shift`, `compact!`, and `transform_*!`.
235
+ ([#773](https://github.com/typhoeus/typhoeus/pull/773))
236
+ * Make `Request#encoded_body` match the form sent on the wire, including
237
+ `params_encoding` and escaping.
238
+ ([#775](https://github.com/typhoeus/typhoeus/pull/775))
239
+ * Keep pooling easy handles when libcurl was built without cookie support, and
240
+ validate `Typhoeus::Config.max_idle_easies` when it is assigned.
241
+ ([#777](https://github.com/typhoeus/typhoeus/pull/777))
242
+ * Read Rails cache entries with the same cache key that was written.
243
+ ([#778](https://github.com/typhoeus/typhoeus/pull/778))
244
+ * Deliver an independent response for cache hits so `on_headers` callbacks and
245
+ `handled_response` from an earlier request do not leak into the cached object.
246
+ ([#781](https://github.com/typhoeus/typhoeus/pull/781))
247
+ * Finish memoized followers when a completion callback changes the leader's
248
+ options before the memoization bookkeeping runs.
249
+ ([#782](https://github.com/typhoeus/typhoeus/pull/782))
250
+ * Clean up the native easy handles when `Typhoeus::Pool.clear` empties the pool
251
+ instead of leaking them.
252
+ ([#783](https://github.com/typhoeus/typhoeus/pull/783))
253
+ * Include the replacement or removal hint in every rendering of
254
+ `Typhoeus::Errors::InvalidOption`, not only in `#message`.
255
+ ([#785](https://github.com/typhoeus/typhoeus/pull/785))
256
+ * Copy arrays in the Rack params decoder and decode encoded hashes nested in
257
+ arrays.
258
+ ([#786](https://github.com/typhoeus/typhoeus/pull/786))
259
+ * Build `Request#encoded_body` with Ethon's request action so PUT escaping
260
+ matches POST.
261
+ ([#787](https://github.com/typhoeus/typhoeus/pull/787))
262
+ * Store a snapshot of a response before caching it or using it as the
263
+ memoization leader. Mutating a response after a request no longer changes
264
+ later cache hits, and a leader's callbacks no longer change a follower's
265
+ response.
266
+ ([#797](https://github.com/typhoeus/typhoeus/pull/797))
267
+ * Exclude the response from `Request#marshal_dump`. Completed requests whose
268
+ callbacks return non-marshalable values can be dumped again.
269
+ ([#799](https://github.com/typhoeus/typhoeus/pull/799))
270
+ * Make `Response::Header#merge`, `#fetch`, and `#fetch_values` follow the
271
+ same case-insensitive, string-key semantics as the rest of the header API.
272
+ ([#800](https://github.com/typhoeus/typhoeus/pull/800))
273
+ * Copy string and array header values when a `Response::Header` is built from
274
+ a hash, so mutating the response cannot change the caller's hash.
275
+ ([#801](https://github.com/typhoeus/typhoeus/pull/801))
276
+ * Decode query and form parameters independently in the Rack middleware. A
277
+ form value no longer overwrites the query value for the same key.
278
+ ([#803](https://github.com/typhoeus/typhoeus/pull/803))
279
+ * Rewind seekable upload bodies before measuring them, so an IO that was
280
+ already read from no longer fails with `:read_error`.
281
+ ([#804](https://github.com/typhoeus/typhoeus/pull/804))
282
+ * Parse `Response#response_code` from the status line when a response was
283
+ built from raw headers, such as the responses returned by
284
+ `Response#redirections`.
285
+ ([#805](https://github.com/typhoeus/typhoeus/pull/805))
286
+
287
+ ### Documentation and maintenance
288
+
289
+ * Build the gem from a source tarball or a working tree without git instead
290
+ of producing an empty package.
291
+ * Move the test dependencies to Sinatra 3, Rack 2.2, Dalli 3, and Redis 5.
292
+ This also makes the Ethon master workflow pass with frozen string literals.
293
+ ([#779](https://github.com/typhoeus/typhoeus/pull/779))
294
+ * Document initializing libcurl before forking on macOS to avoid
295
+ `objc_initializeAfterForkError`.
296
+ ([#810](https://github.com/typhoeus/typhoeus/pull/810))
297
+ * Add integration coverage for Faraday adapter timeouts, including
298
+ `read_timeout` precedence.
299
+ ([#811](https://github.com/typhoeus/typhoeus/pull/811))
6
300
 
7
301
  ## 1.6.0
8
302