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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/acfs.gemspec +4 -4
- data/lib/acfs/errors.rb +6 -6
- data/lib/acfs/global.rb +3 -1
- data/lib/acfs/resource/attributes.rb +5 -6
- data/lib/acfs/resource/locatable.rb +4 -4
- data/lib/acfs/resource/persistence.rb +7 -7
- data/lib/acfs/resource/service.rb +2 -2
- data/lib/acfs/runner.rb +5 -0
- data/lib/acfs/version.rb +3 -3
- data/spec/acfs/adapter/typhoeus_spec.rb +2 -1
- data/spec/acfs/global_spec.rb +21 -2
- data/spec/acfs/runner_spec.rb +16 -2
- data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/README.md +3 -3
- data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/rubocop-config.gemspec +8 -8
- data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/CHANGELOG.md +216 -0
- data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/CHANGELOG.md +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/CHANGELOG.md +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/CHANGELOG.md +242 -0
- data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/CHANGELOG.md +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/bigdecimal.gemspec +2 -0
- data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/CHANGELOG.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/connection_pool.gemspec +1 -0
- data/vendor/bundle/ruby/4.0.0/gems/{crass-1.0.6 → crass-1.0.8}/LICENSE +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.8/README.md +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.8/crass.gemspec +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.19.2/CHANGELOG.md +1164 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.19.2/README.md +308 -0
- data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/changelog.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/{json-2.19.9 → json-3.1.0}/README.md +9 -91
- data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/CHANGELOG.md +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/{minitest-6.0.6 → minitest-6.1.0}/README.rdoc +19 -10
- data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/ChangeLog +25 -1
- data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/msgpack.gemspec +0 -9
- data/vendor/bundle/ruby/4.0.0/gems/{multi_json-1.21.1 → multi_json-1.21.2}/README.md +6 -6
- 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
- data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/CHANGELOG.md +13 -3
- data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/CHANGELOG.md +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/{prism-1.9.0 → prism-2.1.0-x86_64-linux-gnu}/CHANGELOG.md +144 -40
- data/vendor/bundle/ruby/4.0.0/gems/{prism-1.9.0 → prism-2.1.0-x86_64-linux-gnu}/LICENSE.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/README.md +83 -0
- data/vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/prism.gemspec +251 -0
- data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/CHANGELOG.md +137 -1
- data/vendor/bundle/ruby/4.0.0/gems/{rack-test-2.2.0 → rack-test-2.3.0}/MIT-LICENSE.txt +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/{rack-test-2.2.0 → rack-test-2.3.0}/README.md +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/CHANGELOG.md +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/README.md +3 -2
- data/vendor/bundle/ruby/4.0.0/gems/{regexp_parser-2.12.0 → regexp_parser-2.13.4}/LICENSE +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/{regexp_parser-2.12.0 → regexp_parser-2.13.4}/regexp_parser.gemspec +3 -9
- data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/Changelog.md +10 -2
- data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/Changelog.md +11 -2
- data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/Changelog.md +17 -3
- data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/Changelog.md +12 -2
- data/vendor/bundle/ruby/4.0.0/gems/{rubocop-1.88.0 → rubocop-1.92.3}/README.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/rubocop-ast-1.53.0/lib/rubocop/ast/vendor/parser/LICENSE.txt +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/CHANGELOG.md +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/README.md +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/{rubocop-performance-1.26.1 → rubocop-performance-1.27.0}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/{rubocop-rspec_rails-2.32.0 → rubocop-rspec_rails-2.33.0}/CHANGELOG.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/{simplecov-0.22.0 → simplecov-1.3.2}/LICENSE +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-1.3.2/README.md +272 -0
- data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/README.md +2 -3
- data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/simplecov-cobertura.gemspec +2 -2
- data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/CHANGELOG.md +297 -3
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.8.0/README.md +825 -0
- data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/typhoeus.gemspec +15 -3
- data/vendor/bundle/ruby/4.0.0/gems/{unicode-display_width-3.2.0 → unicode-display_width-3.3.0}/CHANGELOG.md +6 -0
- 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
- data/vendor/bundle/ruby/4.0.0/gems/{unicode-display_width-3.2.0 → unicode-display_width-3.3.0}/README.md +2 -2
- data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/CHANGELOG.md +4 -0
- data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/MIT-LICENSE.txt +1 -1
- data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/README.md +4 -4
- data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/CHANGELOG.md +406 -0
- data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/README.md +271 -5
- data/vendor/bundle/ruby/4.0.0/specifications/{actionpack-8.1.3.gemspec → actionpack-8.1.4.1.gemspec} +8 -8
- data/vendor/bundle/ruby/4.0.0/specifications/{actionview-8.1.3.gemspec → actionview-8.1.4.1.gemspec} +9 -9
- data/vendor/bundle/ruby/4.0.0/specifications/{activemodel-8.1.3.gemspec → activemodel-8.1.4.1.gemspec} +6 -6
- data/vendor/bundle/ruby/4.0.0/specifications/{activesupport-8.1.3.gemspec → activesupport-8.1.4.1.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/{addressable-2.9.0.gemspec → addressable-2.9.2.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/appraisal-2.5.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/ast-2.4.3.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/base64-0.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{bigdecimal-4.1.2.gemspec → bigdecimal-4.1.3.gemspec} +3 -3
- data/vendor/bundle/ruby/4.0.0/specifications/builder-3.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{concurrent-ruby-1.3.7.gemspec → concurrent-ruby-1.3.8.gemspec} +4 -4
- data/vendor/bundle/ruby/4.0.0/specifications/{connection_pool-3.0.2.gemspec → connection_pool-3.0.3.gemspec} +5 -4
- data/vendor/bundle/ruby/4.0.0/specifications/crack-1.0.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{crass-1.0.6.gemspec → crass-1.0.8.gemspec} +8 -8
- data/vendor/bundle/ruby/4.0.0/specifications/diff-lcs-1.6.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/drb-2.2.3.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/erubi-1.13.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{ethon-0.18.0.gemspec → ethon-0.19.2.gemspec} +6 -6
- data/vendor/bundle/ruby/4.0.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{hashdiff-1.2.1.gemspec → hashdiff-1.2.2.gemspec} +4 -4
- data/vendor/bundle/ruby/4.0.0/specifications/i18n-1.15.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{json-2.19.9.gemspec → json-3.1.0.gemspec} +0 -0
- 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
- data/vendor/bundle/ruby/4.0.0/specifications/lint_roller-1.1.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/logger-1.7.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{loofah-2.25.1.gemspec → loofah-2.25.3.gemspec} +6 -6
- data/vendor/bundle/ruby/4.0.0/specifications/{minitest-6.0.6.gemspec → minitest-6.1.0.gemspec} +8 -9
- data/vendor/bundle/ruby/4.0.0/specifications/{msgpack-1.8.3.gemspec → msgpack-1.8.7.gemspec} +4 -15
- data/vendor/bundle/ruby/4.0.0/specifications/{multi_json-1.21.1.gemspec → multi_json-1.21.2.gemspec} +5 -5
- 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
- data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-api-1.11.1.gemspec +27 -0
- data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-common-0.25.2.gemspec +26 -0
- data/vendor/bundle/ruby/4.0.0/specifications/{parallel-2.1.0.gemspec → parallel-2.3.0.gemspec} +4 -4
- data/vendor/bundle/ruby/4.0.0/specifications/{parser-3.3.11.1.gemspec → parser-3.3.14.0.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/prism-2.1.0-x86_64-linux-gnu.gemspec +22 -0
- data/vendor/bundle/ruby/4.0.0/specifications/public_suffix-7.0.5.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/racc-1.8.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rack-3.2.6.gemspec → rack-3.2.9.gemspec} +4 -4
- data/vendor/bundle/ruby/4.0.0/specifications/rack-session-2.1.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rack-test-2.2.0.gemspec → rack-test-2.3.0.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/rails-dom-testing-2.3.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rails-html-sanitizer-1.7.0.gemspec → rails-html-sanitizer-1.7.2.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/rainbow-3.1.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/rake-13.4.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/rake-release-1.4.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{regexp_parser-2.12.0.gemspec → regexp_parser-2.13.4.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/rexml-3.4.4.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/rspec-3.13.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rspec-core-3.13.6.gemspec → rspec-core-3.13.7.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/{rspec-expectations-3.13.5.gemspec → rspec-expectations-3.13.6.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/{rspec-mocks-3.13.8.gemspec → rspec-mocks-3.13.9.gemspec} +6 -6
- data/vendor/bundle/ruby/4.0.0/specifications/{rspec-support-3.13.7.gemspec → rspec-support-3.13.8.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-1.88.0.gemspec → rubocop-1.92.3.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-ast-1.49.1.gemspec → rubocop-ast-1.53.0.gemspec} +7 -5
- data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-capybara-2.23.0.gemspec → rubocop-capybara-3.1.0.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-factory_bot-2.28.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-performance-1.26.1.gemspec → rubocop-performance-1.27.0.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/rubocop-rspec-3.10.2.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{rubocop-rspec_rails-2.32.0.gemspec → rubocop-rspec_rails-2.33.0.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/ruby-progressbar-1.13.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/securerandom-0.4.1.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-1.3.2.gemspec +25 -0
- data/vendor/bundle/ruby/4.0.0/specifications/{simplecov-cobertura-3.2.0.gemspec → simplecov-cobertura-4.0.0.gemspec} +5 -5
- data/vendor/bundle/ruby/4.0.0/specifications/thor-1.5.0.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{typhoeus-1.6.0.gemspec → typhoeus-1.8.0.gemspec} +7 -7
- data/vendor/bundle/ruby/4.0.0/specifications/tzinfo-2.0.6.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{unicode-display_width-3.2.0.gemspec → unicode-display_width-3.3.0.gemspec} +8 -8
- data/vendor/bundle/ruby/4.0.0/specifications/{unicode-emoji-4.2.0.gemspec → unicode-emoji-4.3.0.gemspec} +6 -6
- data/vendor/bundle/ruby/4.0.0/specifications/{uri-1.1.1.gemspec → uri-1.1.2.gemspec} +3 -3
- data/vendor/bundle/ruby/4.0.0/specifications/useragent-0.16.11.gemspec +1 -1
- data/vendor/bundle/ruby/4.0.0/specifications/{webmock-3.26.2.gemspec → webmock-3.38.0.gemspec} +5 -5
- metadata +174 -185
- data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.6/README.md +0 -192
- data/vendor/bundle/ruby/4.0.0/gems/crass-1.0.6/crass.gemspec +0 -31
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/LICENSE +0 -21
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/README.md +0 -409
- data/vendor/bundle/ruby/4.0.0/gems/docile-1.4.1/docile.gemspec +0 -36
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/README.md +0 -118
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/README.md +0 -143
- data/vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/prism.gemspec +0 -172
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/CHANGELOG.md +0 -191
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-0.22.0/README.md +0 -974
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/CHANGELOG.md +0 -114
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/LICENSE +0 -20
- data/vendor/bundle/ruby/4.0.0/gems/simplecov-html-0.13.2/README.md +0 -30
- data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/simplecov_json_formatter-0.1.4/README.md +0 -29
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/README.md +0 -588
- data/vendor/bundle/ruby/4.0.0/specifications/docile-1.4.1.gemspec +0 -22
- data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-api-1.10.0.gemspec +0 -35
- data/vendor/bundle/ruby/4.0.0/specifications/opentelemetry-common-0.25.0.gemspec +0 -33
- data/vendor/bundle/ruby/4.0.0/specifications/prism-1.9.0.gemspec +0 -24
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-0.22.0.gemspec +0 -28
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov-html-0.13.2.gemspec +0 -22
- data/vendor/bundle/ruby/4.0.0/specifications/simplecov_json_formatter-0.1.4.gemspec +0 -21
- /data/vendor/bundle/ruby/4.0.0/bundler/gems/{rubocop-config-2b861962124a → rubocop-config-9832479830d9}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{actionpack-8.1.3 → actionpack-8.1.4.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{actionview-8.1.3 → actionview-8.1.4.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{activemodel-8.1.3 → activemodel-8.1.4.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{activesupport-8.1.3 → activesupport-8.1.4.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{addressable-2.9.0 → addressable-2.9.2}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{bigdecimal-4.1.2 → bigdecimal-4.1.3}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{concurrent-ruby-1.3.7 → concurrent-ruby-1.3.8}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{connection_pool-3.0.2 → connection_pool-3.0.3}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{ethon-0.18.0 → ethon-0.19.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{ethon-0.18.0 → ethon-0.19.2}/ethon.gemspec +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{hashdiff-1.2.1 → hashdiff-1.2.2}/hashdiff.gemspec +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{json-2.19.9 → json-3.1.0}/json.gemspec +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{loofah-2.25.1 → loofah-2.25.3}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{msgpack-1.8.3 → msgpack-1.8.7}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{multi_json-1.21.1 → multi_json-1.21.2}/LICENSE.md +0 -0
- /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
- /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
- /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-api-1.10.0 → opentelemetry-api-1.11.1}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{opentelemetry-common-0.25.0 → opentelemetry-common-0.25.2}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{parallel-2.1.0 → parallel-2.3.0}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{parser-3.3.11.1 → parser-3.3.14.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{parser-3.3.11.1 → parser-3.3.14.0}/parser.gemspec +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rack-3.2.6 → rack-3.2.9}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rails-html-sanitizer-1.7.0 → rails-html-sanitizer-1.7.2}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-core-3.13.6 → rspec-core-3.13.7}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-expectations-3.13.5 → rspec-expectations-3.13.6}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-mocks-3.13.8 → rspec-mocks-3.13.9}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rspec-support-3.13.7 → rspec-support-3.13.8}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-1.88.0 → rubocop-1.92.3}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-ast-1.49.1 → rubocop-ast-1.53.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-ast-1.49.1 → rubocop-ast-1.53.0}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-capybara-2.23.0 → rubocop-capybara-3.1.0}/MIT-LICENSE.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-performance-1.26.1 → rubocop-performance-1.27.0}/README.md +0 -0
- /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
- /data/vendor/bundle/ruby/4.0.0/gems/{rubocop-rspec_rails-2.32.0 → rubocop-rspec_rails-2.33.0}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{simplecov-cobertura-3.2.0 → simplecov-cobertura-4.0.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{typhoeus-1.6.0 → typhoeus-1.8.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{unicode-emoji-4.2.0 → unicode-emoji-4.3.0}/unicode-emoji.gemspec +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{uri-1.1.1 → uri-1.1.2}/README.md +0 -0
- /data/vendor/bundle/ruby/4.0.0/gems/{webmock-3.26.2 → webmock-3.38.0}/LICENSE +0 -0
|
@@ -23,7 +23,7 @@ Supported HTTP libraries
|
|
|
23
23
|
------------------------
|
|
24
24
|
|
|
25
25
|
* [Async::HTTP::Client](https://github.com/socketry/async-http)
|
|
26
|
-
* [Curb](https://github.com/taf2/curb) (
|
|
26
|
+
* [Curb](https://github.com/taf2/curb) (`Curl::Easy` only). `Curl::Multi` sends real requests even when a matching stub exists and `WebMock.disable_net_connect!` is in effect.
|
|
27
27
|
* [EM-HTTP-Request](https://github.com/igrigorik/em-http-request)
|
|
28
28
|
* [Excon](https://github.com/excon/excon)
|
|
29
29
|
* [HTTPClient](https://github.com/nahi/httpclient)
|
|
@@ -74,6 +74,8 @@ rake install
|
|
|
74
74
|
|
|
75
75
|
WebMock 2.x has changed somewhat since version 1.x. Changes are listed in [CHANGELOG.md](CHANGELOG.md)
|
|
76
76
|
|
|
77
|
+
## Setup
|
|
78
|
+
|
|
77
79
|
### Cucumber
|
|
78
80
|
|
|
79
81
|
Create a file `features/support/webmock.rb` with the following contents:
|
|
@@ -106,6 +108,48 @@ Add the following code to `test/test_helper.rb`
|
|
|
106
108
|
require 'webmock/test_unit'
|
|
107
109
|
```
|
|
108
110
|
|
|
111
|
+
### What the test framework integrations do
|
|
112
|
+
|
|
113
|
+
`webmock/rspec`, `webmock/minitest`, `webmock/test_unit` and `webmock/cucumber` do three things:
|
|
114
|
+
|
|
115
|
+
* They enable WebMock. `webmock/rspec` does it in a `before(:suite)` hook and disables WebMock again in `after(:suite)`. The others enable it as soon as they are required.
|
|
116
|
+
* They call `WebMock.reset!` after every example, test or scenario. This removes the stubs declared with `stub_request` and the history of requests, so a stub declared in RSpec's `before(:all)` or `before(:context)`, or in a minitest-hooks `before_all`, is gone after the first example. Declare such stubs in `before(:each)` or `setup` instead, or use [global stubs](#global-stubs), which `WebMock.reset!` keeps. If you override `teardown` in Minitest, call `super`, or WebMock's reset doesn't run.
|
|
117
|
+
* They leave the net connect settings alone. By default WebMock blocks real requests. `WebMock.allow_net_connect!` allows them all, and `WebMock.disable_net_connect!` blocks them again, except for what its options allow, such as `allow_localhost: true`. Each setting stays in effect for every later example until you change it, and each call to `disable_net_connect!` replaces the `allow`, `allow_localhost` and `net_http_connect_on_start` options given before.
|
|
118
|
+
|
|
119
|
+
Requiring one of these files in a spec helper or in any spec file enables WebMock for the whole run, not only for that file. To use WebMock only in some examples, require `webmock` and set it up yourself, for example for RSpec examples tagged with `:webmock`:
|
|
120
|
+
|
|
121
|
+
```ruby
|
|
122
|
+
require 'webmock'
|
|
123
|
+
require 'webmock/rspec/matchers'
|
|
124
|
+
|
|
125
|
+
WebMock::AssertionFailure.error_class = RSpec::Expectations::ExpectationNotMetError
|
|
126
|
+
|
|
127
|
+
RSpec.configure do |config|
|
|
128
|
+
config.include WebMock::API, :webmock
|
|
129
|
+
config.include WebMock::Matchers, :webmock
|
|
130
|
+
|
|
131
|
+
config.around(:each, :webmock) do |example|
|
|
132
|
+
WebMock.enable!
|
|
133
|
+
WebMock.disable_net_connect!
|
|
134
|
+
example.run
|
|
135
|
+
ensure
|
|
136
|
+
WebMock.reset!
|
|
137
|
+
WebMock.disable!
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Examples without the tag then make real requests. Create HTTP clients inside each example: a client created while WebMock was disabled isn't intercepted, and a Curb or HTTPClient object created in a tagged example is still intercepted after it.
|
|
143
|
+
|
|
144
|
+
Enabling WebMock and allowing real requests are separate settings. `WebMock.enable!` and `WebMock.disable!` decide whether WebMock intercepts requests at all. `WebMock.disable_net_connect!` and `WebMock.allow_net_connect!` decide what happens to an intercepted request that no stub matches. While WebMock is disabled, it doesn't intercept requests, so these settings only take effect once it is enabled again.
|
|
145
|
+
|
|
146
|
+
For HTTP clients such as Net::HTTP, HTTPClient and Curb, WebMock intercepts requests by replacing their classes while it is enabled. `webmock/rspec` enables WebMock just before the first example, after your app and spec files have loaded. A class that inherits from `Net::HTTP`, or an HTTP client object such as a `Net::HTTP` or `HTTPClient` instance, created while they load uses the original class, and its requests reach the network. A client that creates its HTTP object for each request is not affected. If your app defines such a class or creates such an object while it loads, enable WebMock right after requiring it:
|
|
147
|
+
|
|
148
|
+
```ruby
|
|
149
|
+
require 'webmock/rspec'
|
|
150
|
+
WebMock.enable!
|
|
151
|
+
```
|
|
152
|
+
|
|
109
153
|
### Outside a test framework
|
|
110
154
|
|
|
111
155
|
You can also use WebMock outside a test framework:
|
|
@@ -176,6 +220,8 @@ RestClient.post('www.example.com', '<data a="1" b="five" />',
|
|
|
176
220
|
content_type: 'application/xml') # ===> Success
|
|
177
221
|
```
|
|
178
222
|
|
|
223
|
+
A body declared as a string must match the request body exactly. For JSON, that includes key order and whitespace, so declare the body as a hash to match it as JSON, for example `with(body: JSON.parse(json_string))`.
|
|
224
|
+
|
|
179
225
|
### Matching request body against partial hash.
|
|
180
226
|
|
|
181
227
|
```ruby
|
|
@@ -184,6 +230,24 @@ stub_request(:post, "www.example.com").
|
|
|
184
230
|
|
|
185
231
|
RestClient.post('www.example.com', "data[a]=1&data[b]=five&x=1",
|
|
186
232
|
:content_type => 'application/x-www-form-urlencoded') # ===> Success
|
|
233
|
+
|
|
234
|
+
stub_request(:post, "www.example.com").
|
|
235
|
+
with(body: hash_including(id: /\d/))
|
|
236
|
+
|
|
237
|
+
RestClient.post('www.example.com', "id=1",
|
|
238
|
+
:content_type => 'application/x-www-form-urlencoded') # ===> Success
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Matching request body against excluding partial hash.
|
|
242
|
+
|
|
243
|
+
```ruby
|
|
244
|
+
stub_request(:post, "www.example.com").
|
|
245
|
+
with(body: hash_excluding({data: {a: '2', b: 'six'}}))
|
|
246
|
+
|
|
247
|
+
RestClient.post('www.example.com', "data[a]=1&data[b]=five&x=1",
|
|
248
|
+
:content_type => 'application/x-www-form-urlencoded') # ===> Success
|
|
249
|
+
RestClient.post('www.example.com', "data[a]=2&data[b]=six&x=1",
|
|
250
|
+
:content_type => 'application/x-www-form-urlencoded') # ===> Failure
|
|
187
251
|
```
|
|
188
252
|
|
|
189
253
|
### Matching custom request headers
|
|
@@ -279,6 +343,15 @@ Net::HTTP.get('www.example.com',
|
|
|
279
343
|
'/thing/5.json?x=1&y=2&z=3&anyParam=4') # ===> Success
|
|
280
344
|
```
|
|
281
345
|
|
|
346
|
+
### Matching any query params
|
|
347
|
+
|
|
348
|
+
```ruby
|
|
349
|
+
stub_request(:get, "www.example.com").with(query: :any)
|
|
350
|
+
|
|
351
|
+
RestClient.get("http://www.example.com/?q=example") # ===> Success
|
|
352
|
+
RestClient.get("http://www.example.com/") # ===> Success
|
|
353
|
+
```
|
|
354
|
+
|
|
282
355
|
### Matching query params using hash
|
|
283
356
|
|
|
284
357
|
```ruby
|
|
@@ -306,6 +379,23 @@ RestClient.get("http://www.example.com/?a=b") # ===> Failure
|
|
|
306
379
|
RestClient.get("http://www.example.com/?a=c") # ===> Success
|
|
307
380
|
```
|
|
308
381
|
|
|
382
|
+
### Matching repeated query params
|
|
383
|
+
|
|
384
|
+
By default WebMock reads a query the way Rack and Rails do, so a key repeated without brackets keeps only its last value: `?a=1&a=2` is read as `?a=2`. To match repeated keys, switch to the `:flat_array` notation and give the query as a string:
|
|
385
|
+
|
|
386
|
+
```ruby
|
|
387
|
+
WebMock::Config.instance.query_values_notation = :flat_array
|
|
388
|
+
|
|
389
|
+
stub_request(:get, "www.example.com/?a=1&a=2")
|
|
390
|
+
# or
|
|
391
|
+
stub_request(:get, "www.example.com").with(query: "a=1&a=2")
|
|
392
|
+
|
|
393
|
+
RestClient.get("http://www.example.com/?a=1&a=2") # ===> Success
|
|
394
|
+
RestClient.get("http://www.example.com/?a=2") # ===> Failure
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
The notation applies to every stub and request. Hashes can't describe repeated keys, so with `:flat_array`, `hash_including`, `hash_excluding`, query hashes given with a regexp or template URI, and form bodies given as a hash don't match. Set the notation only in the tests that need it, and set it back to `:subscript` afterwards.
|
|
398
|
+
|
|
309
399
|
### Stubbing with custom response
|
|
310
400
|
|
|
311
401
|
```ruby
|
|
@@ -343,6 +433,20 @@ stub_request(:any, "www.example.com").
|
|
|
343
433
|
Net::HTTP.get('www.example.com', '/') # ===> "{\"foo\": \"bar\"}"
|
|
344
434
|
```
|
|
345
435
|
|
|
436
|
+
A `File` or `Pathname` body is returned as it is, so it should hold JSON that is already encoded:
|
|
437
|
+
|
|
438
|
+
```ruby
|
|
439
|
+
stub_request(:get, "www.example.com").
|
|
440
|
+
to_return_json(body: Pathname.new('spec/fixtures/response.json'))
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
As with `to_return`, the file is read and closed when the stub is declared, so later changes to it don't affect the response. To read the file on every request, return it from a lambda. A lambda that returns a `File` must open a new one each time, since each one is closed after it is read.
|
|
444
|
+
|
|
445
|
+
```ruby
|
|
446
|
+
stub_request(:get, "www.example.com").
|
|
447
|
+
to_return_json(body: -> { Pathname.new('spec/fixtures/response.json') })
|
|
448
|
+
```
|
|
449
|
+
|
|
346
450
|
### Response with custom status message
|
|
347
451
|
|
|
348
452
|
```ruby
|
|
@@ -426,6 +530,8 @@ stub_request(:get, "www.example.com").to_rack(MyRackApp)
|
|
|
426
530
|
RestClient.post('www.example.com') # ===> "Hello"
|
|
427
531
|
```
|
|
428
532
|
|
|
533
|
+
WebMock does not set `rack.session` in the Rack env, just as a real server would not. If your app needs a session, include session middleware in the app you pass to `to_rack`.
|
|
534
|
+
|
|
429
535
|
### Raising errors
|
|
430
536
|
|
|
431
537
|
#### Exception declared by class
|
|
@@ -551,6 +657,21 @@ RestClient.get('www.example.org', '/') # ===> Failure
|
|
|
551
657
|
RestClient.get('www.example.org:8080', '/') # ===> Allowed
|
|
552
658
|
```
|
|
553
659
|
|
|
660
|
+
With a `String` specifying a full URL:
|
|
661
|
+
|
|
662
|
+
```ruby
|
|
663
|
+
WebMock.disable_net_connect!(allow: 'https://www.example.org/health')
|
|
664
|
+
|
|
665
|
+
RestClient.get('https://www.example.org/health') # ===> Allowed
|
|
666
|
+
RestClient.get('https://www.example.org/health?full=1') # ===> Failure
|
|
667
|
+
RestClient.get('https://www.example.org/health/db') # ===> Failure
|
|
668
|
+
RestClient.get('https://www.example.org/') # ===> Failure
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
A URL with a path allows only that path and query string. URLs are compared the same way as in stubs, so the default port, letter case in the host, and the order and encoding of query parameters don't matter.
|
|
672
|
+
|
|
673
|
+
A URL without a path or query, such as `https://www.example.org`, allows every path on that scheme, host and port. Adding the trailing slash (`https://www.example.org/`) allows only the root path `/` with no query string. To allow every path under a prefix, use a `Regexp`.
|
|
674
|
+
|
|
554
675
|
With a `Regexp` matching the URI:
|
|
555
676
|
|
|
556
677
|
```ruby
|
|
@@ -590,6 +711,26 @@ RestClient.get('bbc.com', '/') # ===> Allowed
|
|
|
590
711
|
RestClient.get('www.bbc.com', '/') # ===> Failure
|
|
591
712
|
```
|
|
592
713
|
|
|
714
|
+
### Real requests can be allowed or disabled only within a block
|
|
715
|
+
|
|
716
|
+
Given a block, `WebMock.allow_net_connect!` and `WebMock.disable_net_connect!` apply their settings only while the block runs and return the block's value. When the block ends, even with an exception, WebMock restores the settings from before the call.
|
|
717
|
+
|
|
718
|
+
```ruby
|
|
719
|
+
WebMock.disable_net_connect!
|
|
720
|
+
|
|
721
|
+
WebMock.allow_net_connect! do
|
|
722
|
+
Net::HTTP.get('www.something.com', '/') # ===> /.+Something.+/
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
WebMock.disable_net_connect!(allow: 'www.example.org') do
|
|
726
|
+
RestClient.get('www.example.org', '/') # ===> Allowed
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
Net::HTTP.get('www.something.com', '/') # ===> Failure
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
Settings changed inside the block, for example by another call to `WebMock.disable_net_connect!`, are undone as well. The settings are global, so other threads see them while the block runs, and blocks that overlap in different threads can restore each other's settings in the wrong order. Use the block form only where tests run one at a time in each process.
|
|
733
|
+
|
|
593
734
|
## Connecting on Net::HTTP.start
|
|
594
735
|
|
|
595
736
|
HTTP protocol has 3 steps: connect, request and response (or 4 with close). Most Ruby HTTP client libraries
|
|
@@ -615,6 +756,8 @@ This forces WebMock Net::HTTP adapter to always connect on `Net::HTTP.start`. At
|
|
|
615
756
|
WebMock.allow_net_connect!(net_http_connect_on_start: "www.example.com")
|
|
616
757
|
```
|
|
617
758
|
|
|
759
|
+
The path is not known when the connection is made, so a URL with a path given here never matches.
|
|
760
|
+
|
|
618
761
|
## Setting Expectations
|
|
619
762
|
|
|
620
763
|
### Setting expectations in Test::Unit
|
|
@@ -664,6 +807,8 @@ assert_requested(stub_get)
|
|
|
664
807
|
assert_not_requested(stub_post)
|
|
665
808
|
```
|
|
666
809
|
|
|
810
|
+
See [What an expectation on a stub counts](#what-an-expectation-on-a-stub-counts) for which requests these assertions count.
|
|
811
|
+
|
|
667
812
|
|
|
668
813
|
### Setting expectations in RSpec on `WebMock` module
|
|
669
814
|
This style is borrowed from [fakeweb-matcher](http://github.com/pat/fakeweb-matcher)
|
|
@@ -729,14 +874,70 @@ expect(a_request(:post, "www.example.com").
|
|
|
729
874
|
### Setting expectations in RSpec on the stub
|
|
730
875
|
|
|
731
876
|
```ruby
|
|
732
|
-
stub = stub_request(:
|
|
877
|
+
stub = stub_request(:post, "www.example.com")
|
|
878
|
+
|
|
733
879
|
# ... make requests ...
|
|
734
|
-
|
|
880
|
+
|
|
881
|
+
expect(stub).to have_been_requested.twice
|
|
882
|
+
expect(stub).to have_been_requested.once.with(body: {"a" => [1, 2, 3]})
|
|
883
|
+
expect(stub).to have_been_requested.once.with(body: {"a" => [4, 5, 6]})
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
Options and a block given to `with` take the same form as in `stub_request(...).with`. The expectation then counts only the requests that match both the stub and those conditions. The stub itself does not change.
|
|
887
|
+
|
|
888
|
+
### What an expectation on a stub counts
|
|
889
|
+
|
|
890
|
+
An expectation on a stub, such as `assert_requested(stub)` or `expect(stub).to have_been_requested`, counts the requests since the last `WebMock.reset!` or `WebMock.reset_executed_requests!` that match the stub's pattern. A matching request counts even if another stub answered it, if it was made before the stub was declared, or if it was made after the stub was removed with `remove_request_stub`.
|
|
891
|
+
|
|
892
|
+
```ruby
|
|
893
|
+
stub_any = stub_request(:post, "www.example.com")
|
|
894
|
+
stub_body = stub_request(:post, "www.example.com").with(body: "abc")
|
|
895
|
+
|
|
896
|
+
Net::HTTP.post(URI("http://www.example.com"), "abc") # answered by stub_body
|
|
897
|
+
|
|
898
|
+
expect(stub_body).to have_been_requested.once # ===> Success
|
|
899
|
+
expect(stub_any).to have_been_requested.once # ===> Success, as its pattern matches too
|
|
735
900
|
```
|
|
736
901
|
|
|
902
|
+
To make an expectation stricter, give the stub its own conditions, such as `with(body: "")` for requests without a body. In RSpec you can also add them to the expectation with `with`, as shown above. With `assert_requested`, pass the method and URL instead of the stub, for example `assert_requested(:post, "www.example.com", body: "")`. To count from zero, call `WebMock.reset_executed_requests!`.
|
|
903
|
+
|
|
904
|
+
WebMock may run a `with` block once for several identical requests and multiply the count, so keep such blocks free of side effects. To look at every request, use [`executed_requests`](#inspecting-the-requests-made).
|
|
905
|
+
|
|
906
|
+
### Inspecting the requests made
|
|
907
|
+
|
|
908
|
+
`WebMock.executed_requests` lists every request made since the last `WebMock.reset!` or `WebMock.reset_executed_requests!`, in the order they were made, including repeats. It lets you check what your code sent with plain Ruby.
|
|
909
|
+
|
|
910
|
+
```ruby
|
|
911
|
+
stub_request(:post, "www.example.com/orders")
|
|
912
|
+
|
|
913
|
+
Net::HTTP.post(URI("http://www.example.com/orders"), '{"name":"John"}', "Content-Type" => "application/json")
|
|
914
|
+
|
|
915
|
+
request = WebMock.executed_requests.last
|
|
916
|
+
request.method # ===> :post
|
|
917
|
+
request.uri.path # ===> "/orders"
|
|
918
|
+
request.headers["Content-Type"] # ===> "application/json"
|
|
919
|
+
JSON.parse(request.body) # ===> {"name" => "John"}
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
In RSpec, Minitest and Test::Unit you can call it as `executed_requests`, and it starts empty in every test. For example, to check which requests were made and in what order:
|
|
923
|
+
|
|
924
|
+
```ruby
|
|
925
|
+
expect(executed_requests.map { |request| request.uri.path }).to eq(["/orders", "/orders/1/confirm"])
|
|
926
|
+
```
|
|
927
|
+
|
|
928
|
+
A few things to know:
|
|
929
|
+
|
|
930
|
+
* The URI is normalized, with the port added and the query sorted, so compare its parts, such as `uri.host` or `uri.query_values`, rather than `uri.to_s`.
|
|
931
|
+
* The requests are copies, so changing them doesn't change what WebMock recorded.
|
|
932
|
+
* When a Curb, Patron or em-http-request request uploads a file or stream, its body is the uploaded bytes. WebMock reads them without moving the stream, from regular files, tempfiles, `StringIO` and gzip readers over those. Other streams, such as pipes, are listed with the stream's `to_s`.
|
|
933
|
+
* Multipart fields of a Curb PUT are listed with their `name`, `content`, `content_type`, `local_file` and `remote_file`. Files in a Typhoeus body given as an array are listed as `Pathname` objects.
|
|
934
|
+
* With these three clients, blocks given to `stub_request(...).with` and `after_request` callbacks still receive the original file or stream, not the bytes. With other clients, such as Net::HTTP and Excon, the stream is read when the request is made, and blocks and callbacks receive the bytes.
|
|
935
|
+
* An expectation on a stub, such as `assert_requested(stub)`, reuses the decision the stub made when the upload happened, so a stub block that checks the stream gives the same result in the expectation. If the stub never saw the request, because another stub answered first or the stub was declared later, the expectation checks the uploaded bytes, as `a_request(...)` and conditions given to the expectation's `with` always do.
|
|
936
|
+
* Depending on the HTTP client, requests that WebMock blocked because real connections are disabled may be listed too.
|
|
937
|
+
|
|
737
938
|
## Clearing stubs and request history
|
|
738
939
|
|
|
739
|
-
If you want to reset all current stubs and history of requests use `WebMock.reset
|
|
940
|
+
If you want to reset all current stubs and history of requests use `WebMock.reset!`. [Global stubs](#global-stubs) stay.
|
|
740
941
|
|
|
741
942
|
```ruby
|
|
742
943
|
stub_request(:any, "www.example.com")
|
|
@@ -752,7 +953,7 @@ assert_not_requested :get, "www.example.com" # ===> Success
|
|
|
752
953
|
|
|
753
954
|
## Clearing request counters
|
|
754
955
|
|
|
755
|
-
If you want to reset **only** the counters
|
|
956
|
+
If you want to reset **only** the counters and the list of executed requests, and keep the stubs, use `WebMock.reset_executed_requests!`
|
|
756
957
|
|
|
757
958
|
```ruby
|
|
758
959
|
stub = stub_request(:get, "www.example.com")
|
|
@@ -772,6 +973,28 @@ expect(stub).not_to have_been_requested
|
|
|
772
973
|
expect(stub2).not_to have_been_requested
|
|
773
974
|
```
|
|
774
975
|
|
|
976
|
+
## Global stubs
|
|
977
|
+
|
|
978
|
+
`WebMock.reset!` removes the stubs declared with `stub_request`, and `webmock/rspec`, `webmock/minitest`, `webmock/test_unit` and `webmock/cucumber` call it after every test or scenario. To answer some requests in every test, for example calls to a metrics service, declare a global stub once when the test suite starts:
|
|
979
|
+
|
|
980
|
+
```ruby
|
|
981
|
+
WebMock.globally_stub_request do |request|
|
|
982
|
+
{ status: 200, body: "{}" } if request.uri.host == "metrics.example.com"
|
|
983
|
+
end
|
|
984
|
+
```
|
|
985
|
+
|
|
986
|
+
WebMock calls the block with the request when it reaches the global stub. The block returns a response hash with the same keys as `to_return`, or `nil` to let other stubs handle the request. `WebMock.reset!` doesn't remove global stubs, and there is no way to remove only one, so declare each of them once, for example in RSpec's `before(:suite)`.
|
|
987
|
+
|
|
988
|
+
Global stubs are checked before the stubs declared with `stub_request`. To check a global stub after them instead, so a test can override it with its own stubs, declare it with `:after_local_stubs`:
|
|
989
|
+
|
|
990
|
+
```ruby
|
|
991
|
+
WebMock.globally_stub_request(:after_local_stubs) do |request|
|
|
992
|
+
{ status: 200, body: "{}" } if request.uri.host == "metrics.example.com"
|
|
993
|
+
end
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
Requests answered by a global stub are recorded like any other, so `a_request`, `assert_requested` and `executed_requests` include them.
|
|
997
|
+
|
|
775
998
|
## Disabling and enabling WebMock or only some http client adapters
|
|
776
999
|
|
|
777
1000
|
```ruby
|
|
@@ -809,6 +1032,8 @@ stub_request(:get, "www.example.com").to_return(body: "def")
|
|
|
809
1032
|
Net::HTTP.get('www.example.com', '/') # ====> "def"
|
|
810
1033
|
```
|
|
811
1034
|
|
|
1035
|
+
[Global stubs](#global-stubs) are checked before these stubs, or after them when declared with `:after_local_stubs`.
|
|
1036
|
+
|
|
812
1037
|
## Matching URIs
|
|
813
1038
|
|
|
814
1039
|
WebMock will match all different representations of the same URI.
|
|
@@ -913,6 +1138,16 @@ WebMock.after_request(except: [:patron],
|
|
|
913
1138
|
end
|
|
914
1139
|
```
|
|
915
1140
|
|
|
1141
|
+
#### Removing callbacks
|
|
1142
|
+
|
|
1143
|
+
Callbacks stay registered after `WebMock.reset!`, so a callback added in one test keeps running in later ones. To remove all callbacks, call:
|
|
1144
|
+
|
|
1145
|
+
```ruby
|
|
1146
|
+
WebMock.reset_callbacks
|
|
1147
|
+
```
|
|
1148
|
+
|
|
1149
|
+
This also removes callbacks registered by other libraries, such as VCR, so prefer registering your callbacks once, for example in your test helper.
|
|
1150
|
+
|
|
916
1151
|
## Bugs and Issues
|
|
917
1152
|
|
|
918
1153
|
Please submit them here [http://github.com/bblimke/webmock/issues](http://github.com/bblimke/webmock/issues)
|
|
@@ -1213,6 +1448,37 @@ People who submitted patches and new features or suggested improvements. Many th
|
|
|
1213
1448
|
* Mikhail Doronin
|
|
1214
1449
|
* Christoph Rieß
|
|
1215
1450
|
* Erik Berlin
|
|
1451
|
+
* Josch Bockler
|
|
1452
|
+
* Leslie Hoare
|
|
1453
|
+
* Chris Gunther
|
|
1454
|
+
* hikmetba-bit
|
|
1455
|
+
* Daniel Pepper
|
|
1456
|
+
* Christian Bruckmayer
|
|
1457
|
+
* Chris
|
|
1458
|
+
* Jan Graichen
|
|
1459
|
+
* Olivier Brisse
|
|
1460
|
+
* Henry Blyth
|
|
1461
|
+
* Sébastien S.
|
|
1462
|
+
* Euisan Kim
|
|
1463
|
+
* Alex
|
|
1464
|
+
* Andy Williams
|
|
1465
|
+
* Tim Mertens
|
|
1466
|
+
* Mike Taylor
|
|
1467
|
+
* James Rodovich
|
|
1468
|
+
* Michael Spiz
|
|
1469
|
+
* Tom Brammar
|
|
1470
|
+
* Benoit Tigeot
|
|
1471
|
+
* nightpool
|
|
1472
|
+
* Andrii Furmanets
|
|
1473
|
+
* thoran
|
|
1474
|
+
* Julik Tarkhanov
|
|
1475
|
+
* Bob Aman
|
|
1476
|
+
* AmeenKhan12345
|
|
1477
|
+
* Andrew K. Fader
|
|
1478
|
+
* Yang Bai
|
|
1479
|
+
* Hamza Tarar
|
|
1480
|
+
* John Gallagher
|
|
1481
|
+
* Yegor Bugayenko
|
|
1216
1482
|
|
|
1217
1483
|
For a full list of contributors you can visit the
|
|
1218
1484
|
[contributors](https://github.com/bblimke/webmock/contributors) page.
|
data/vendor/bundle/ruby/4.0.0/specifications/{actionpack-8.1.3.gemspec → actionpack-8.1.4.1.gemspec}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: actionpack 8.1.
|
|
2
|
+
# stub: actionpack 8.1.4.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "actionpack".freeze
|
|
6
|
-
s.version = "8.1.
|
|
6
|
+
s.version = "8.1.4.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.
|
|
9
|
+
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.4.1/actionpack/CHANGELOG.md", "documentation_uri" => "https://api.rubyonrails.org/v8.1.4.1/", "mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/rails/rails/tree/v8.1.4.1/actionpack" } if s.respond_to? :metadata=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["David Heinemeier Hansson".freeze]
|
|
12
12
|
s.date = "1980-01-02"
|
|
@@ -16,14 +16,14 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.licenses = ["MIT".freeze]
|
|
17
17
|
s.required_ruby_version = Gem::Requirement.new(">= 3.2.0".freeze)
|
|
18
18
|
s.requirements = ["none".freeze]
|
|
19
|
-
s.rubygems_version = "4.0.
|
|
19
|
+
s.rubygems_version = "4.0.20".freeze
|
|
20
20
|
s.summary = "Web-flow and rendering framework putting the VC in MVC (part of Rails).".freeze
|
|
21
21
|
|
|
22
|
-
s.installed_by_version = "4.0.
|
|
22
|
+
s.installed_by_version = "4.0.20".freeze
|
|
23
23
|
|
|
24
24
|
s.specification_version = 4
|
|
25
25
|
|
|
26
|
-
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.
|
|
26
|
+
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.4.1".freeze])
|
|
27
27
|
s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.8.5".freeze])
|
|
28
28
|
s.add_runtime_dependency(%q<rack>.freeze, [">= 2.2.4".freeze])
|
|
29
29
|
s.add_runtime_dependency(%q<rack-session>.freeze, [">= 1.0.1".freeze])
|
|
@@ -31,6 +31,6 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
s.add_runtime_dependency(%q<rails-html-sanitizer>.freeze, ["~> 1.6".freeze])
|
|
32
32
|
s.add_runtime_dependency(%q<rails-dom-testing>.freeze, ["~> 2.2".freeze])
|
|
33
33
|
s.add_runtime_dependency(%q<useragent>.freeze, ["~> 0.16".freeze])
|
|
34
|
-
s.add_runtime_dependency(%q<actionview>.freeze, ["= 8.1.
|
|
35
|
-
s.add_development_dependency(%q<activemodel>.freeze, ["= 8.1.
|
|
34
|
+
s.add_runtime_dependency(%q<actionview>.freeze, ["= 8.1.4.1".freeze])
|
|
35
|
+
s.add_development_dependency(%q<activemodel>.freeze, ["= 8.1.4.1".freeze])
|
|
36
36
|
end
|
data/vendor/bundle/ruby/4.0.0/specifications/{actionview-8.1.3.gemspec → actionview-8.1.4.1.gemspec}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: actionview 8.1.
|
|
2
|
+
# stub: actionview 8.1.4.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "actionview".freeze
|
|
6
|
-
s.version = "8.1.
|
|
6
|
+
s.version = "8.1.4.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.
|
|
9
|
+
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.4.1/actionview/CHANGELOG.md", "documentation_uri" => "https://api.rubyonrails.org/v8.1.4.1/", "mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/rails/rails/tree/v8.1.4.1/actionview" } if s.respond_to? :metadata=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["David Heinemeier Hansson".freeze]
|
|
12
12
|
s.date = "1980-01-02"
|
|
@@ -16,18 +16,18 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.licenses = ["MIT".freeze]
|
|
17
17
|
s.required_ruby_version = Gem::Requirement.new(">= 3.2.0".freeze)
|
|
18
18
|
s.requirements = ["none".freeze]
|
|
19
|
-
s.rubygems_version = "4.0.
|
|
19
|
+
s.rubygems_version = "4.0.20".freeze
|
|
20
20
|
s.summary = "Rendering framework putting the V in MVC (part of Rails).".freeze
|
|
21
21
|
|
|
22
|
-
s.installed_by_version = "4.0.
|
|
22
|
+
s.installed_by_version = "4.0.20".freeze
|
|
23
23
|
|
|
24
24
|
s.specification_version = 4
|
|
25
25
|
|
|
26
|
-
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.
|
|
26
|
+
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.4.1".freeze])
|
|
27
27
|
s.add_runtime_dependency(%q<builder>.freeze, ["~> 3.1".freeze])
|
|
28
28
|
s.add_runtime_dependency(%q<erubi>.freeze, ["~> 1.11".freeze])
|
|
29
|
-
s.add_runtime_dependency(%q<rails-html-sanitizer>.freeze, ["~> 1.6".freeze])
|
|
29
|
+
s.add_runtime_dependency(%q<rails-html-sanitizer>.freeze, ["~> 1.6".freeze, ">= 1.7.2".freeze])
|
|
30
30
|
s.add_runtime_dependency(%q<rails-dom-testing>.freeze, ["~> 2.2".freeze])
|
|
31
|
-
s.add_development_dependency(%q<actionpack>.freeze, ["= 8.1.
|
|
32
|
-
s.add_development_dependency(%q<activemodel>.freeze, ["= 8.1.
|
|
31
|
+
s.add_development_dependency(%q<actionpack>.freeze, ["= 8.1.4.1".freeze])
|
|
32
|
+
s.add_development_dependency(%q<activemodel>.freeze, ["= 8.1.4.1".freeze])
|
|
33
33
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: activemodel 8.1.
|
|
2
|
+
# stub: activemodel 8.1.4.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "activemodel".freeze
|
|
6
|
-
s.version = "8.1.
|
|
6
|
+
s.version = "8.1.4.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.
|
|
9
|
+
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.4.1/activemodel/CHANGELOG.md", "documentation_uri" => "https://api.rubyonrails.org/v8.1.4.1/", "mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/rails/rails/tree/v8.1.4.1/activemodel" } if s.respond_to? :metadata=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["David Heinemeier Hansson".freeze]
|
|
12
12
|
s.date = "1980-01-02"
|
|
@@ -15,12 +15,12 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.homepage = "https://rubyonrails.org".freeze
|
|
16
16
|
s.licenses = ["MIT".freeze]
|
|
17
17
|
s.required_ruby_version = Gem::Requirement.new(">= 3.2.0".freeze)
|
|
18
|
-
s.rubygems_version = "4.0.
|
|
18
|
+
s.rubygems_version = "4.0.20".freeze
|
|
19
19
|
s.summary = "A toolkit for building modeling frameworks (part of Rails).".freeze
|
|
20
20
|
|
|
21
|
-
s.installed_by_version = "4.0.
|
|
21
|
+
s.installed_by_version = "4.0.20".freeze
|
|
22
22
|
|
|
23
23
|
s.specification_version = 4
|
|
24
24
|
|
|
25
|
-
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.
|
|
25
|
+
s.add_runtime_dependency(%q<activesupport>.freeze, ["= 8.1.4.1".freeze])
|
|
26
26
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: activesupport 8.1.
|
|
2
|
+
# stub: activesupport 8.1.4.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "activesupport".freeze
|
|
6
|
-
s.version = "8.1.
|
|
6
|
+
s.version = "8.1.4.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.
|
|
9
|
+
s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails/issues", "changelog_uri" => "https://github.com/rails/rails/blob/v8.1.4.1/activesupport/CHANGELOG.md", "documentation_uri" => "https://api.rubyonrails.org/v8.1.4.1/", "mailing_list_uri" => "https://discuss.rubyonrails.org/c/rubyonrails-talk", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/rails/rails/tree/v8.1.4.1/activesupport" } if s.respond_to? :metadata=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["David Heinemeier Hansson".freeze]
|
|
12
12
|
s.date = "1980-01-02"
|
|
@@ -16,10 +16,10 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.licenses = ["MIT".freeze]
|
|
17
17
|
s.rdoc_options = ["--encoding".freeze, "UTF-8".freeze]
|
|
18
18
|
s.required_ruby_version = Gem::Requirement.new(">= 3.2.0".freeze)
|
|
19
|
-
s.rubygems_version = "4.0.
|
|
19
|
+
s.rubygems_version = "4.0.20".freeze
|
|
20
20
|
s.summary = "A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.".freeze
|
|
21
21
|
|
|
22
|
-
s.installed_by_version = "4.0.
|
|
22
|
+
s.installed_by_version = "4.0.20".freeze
|
|
23
23
|
|
|
24
24
|
s.specification_version = 4
|
|
25
25
|
|
data/vendor/bundle/ruby/4.0.0/specifications/{addressable-2.9.0.gemspec → addressable-2.9.2.gemspec}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: addressable 2.9.
|
|
2
|
+
# stub: addressable 2.9.2 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "addressable".freeze
|
|
6
|
-
s.version = "2.9.
|
|
6
|
+
s.version = "2.9.2".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.9.
|
|
9
|
+
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.9.2" } if s.respond_to? :metadata=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["Bob Aman".freeze]
|
|
12
12
|
s.date = "1980-01-02"
|
|
@@ -18,10 +18,10 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.licenses = ["Apache-2.0".freeze]
|
|
19
19
|
s.rdoc_options = ["--main".freeze, "README.md".freeze]
|
|
20
20
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
|
21
|
-
s.rubygems_version = "4.0.
|
|
21
|
+
s.rubygems_version = "4.0.20".freeze
|
|
22
22
|
s.summary = "URI Implementation".freeze
|
|
23
23
|
|
|
24
|
-
s.installed_by_version = "4.0.
|
|
24
|
+
s.installed_by_version = "4.0.20".freeze
|
|
25
25
|
|
|
26
26
|
s.specification_version = 4
|
|
27
27
|
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.rubygems_version = "3.2.22".freeze
|
|
20
20
|
s.summary = "Find out what your Ruby gems are worth".freeze
|
|
21
21
|
|
|
22
|
-
s.installed_by_version = "4.0.
|
|
22
|
+
s.installed_by_version = "4.0.20".freeze
|
|
23
23
|
|
|
24
24
|
s.specification_version = 4
|
|
25
25
|
|
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.rubygems_version = "3.6.2".freeze
|
|
17
17
|
s.summary = "A library for working with Abstract Syntax Trees.".freeze
|
|
18
18
|
|
|
19
|
-
s.installed_by_version = "4.0.
|
|
19
|
+
s.installed_by_version = "4.0.20".freeze
|
|
20
20
|
|
|
21
21
|
s.specification_version = 4
|
|
22
22
|
|
|
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.rubygems_version = "3.6.7".freeze
|
|
20
20
|
s.summary = "Support for encoding and decoding binary data using a Base64 representation.".freeze
|
|
21
21
|
|
|
22
|
-
s.installed_by_version = "4.0.
|
|
22
|
+
s.installed_by_version = "4.0.20".freeze
|
|
23
23
|
end
|
data/vendor/bundle/ruby/4.0.0/specifications/{bigdecimal-4.1.2.gemspec → bigdecimal-4.1.3.gemspec}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: bigdecimal 4.1.
|
|
2
|
+
# stub: bigdecimal 4.1.3 ruby lib
|
|
3
3
|
# stub: ext/bigdecimal/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "bigdecimal".freeze
|
|
7
|
-
s.version = "4.1.
|
|
7
|
+
s.version = "4.1.3".freeze
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.metadata = { "changelog_uri" => "https://github.com/ruby/bigdecimal/blob/master/CHANGES.md" } if s.respond_to? :metadata=
|
|
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
s.rubygems_version = "3.6.9".freeze
|
|
22
22
|
s.summary = "Arbitrary-precision decimal floating-point number library.".freeze
|
|
23
23
|
|
|
24
|
-
s.installed_by_version = "4.0.
|
|
24
|
+
s.installed_by_version = "4.0.20".freeze
|
|
25
25
|
end
|