Skip to content

Bump webmock from 3.7.6 to 3.9.0

NipaNipa requested to merge dependabot/bundler/webmock-3.9.0 into master

Bumps webmock from 3.7.6 to 3.9.0.

Changelog

Sourced from webmock's changelog.

3.9.0

  • Allow using a "callable" (like a proc) as URI pattern

    stub_request(:any, ->(uri) { true })

    Thanks to John Hawthorn

  • Added stubbed IO on stubbed socket in Net::HTTP adapter.

    Thanks to Thilo Rusche

  • When 'webmock/rspec' is required, reset WebMock after all after(:each/example) hooks

    Thanks to Andrew Stuntz

  • Fixed net_connect_allowed? when invoked with no arguments, when there were any allowed URIs passed to disable_net_connect?.

    Thanks to Lucas Uyezu

  • Fixed async-http adapter which caused Async::HTTP::Client or Async::HTTP::Internet to hang and never return a response.

    Thanks to (Bruno Sutic)[https://github.com/bruno-] and Samuel Williams

  • Fixed warning when using async-http adapter

    Thanks to (Bruno Sutic)[https://github.com/bruno-]

  • Dropped support for Ruby 2.3 - EOL date: 2019-03-31

  • Dropped support for Ruby 2.4 - EOL date: 2020-03-31

  • Handling matching of Addressable::Template patterns that have an ip address without port and patterns that have ip address and don’t have schema and path.

    Thanks to (Rafael França)[https://github.com/rafaelfranca] and (guppy0356)[https://github.com/guppy0356]

3.8.3

  • Fixed problem introduced in version 3.4.2, which caused matching against Addressable::Template representing host part of the URI to raise an error.

    Thanks to Vesa Laakso

3.8.2

  • Support correct encoding parameter for HTTP.rb 2.x and earlier

    Thanks to Alex Coomans

3.8.1

... (truncated)
Commits
  • d9c4601 Version 3.9.0
  • 75a3880 Version 3.9.0
  • 72eee63 Handling matching of Addressable::Template patterns that have an ip address w...
  • 0ad9a4e Removed RSpec warning
  • 5e39c5b The default response headers for HTTP 1.0 requests returned by async-http hav...
  • 28ccdb8 Added example on how to match requests using lambda.
  • f011955 Dropped support for Ruby < 2.5. Previous Ruby versions are EOL
  • 4ae891b Merge pull request #902 from bruno-/async_http_adapter_warning
  • 8ce537a Merge pull request #901 from bruno-/fix_async_http_adapter
  • c20bb68 Fix net_connect_allowed? with no arguments when there are some allowed URIs...
  • Additional commits viewable in compare view

Merge request reports