All Versions
130
Latest Version
Avg Release Cycle
21 days
Latest Release
-

Changelog History
Page 1

  • v3.9.1

    Fixed support for passing URI objects as second argument of stub_request

    Thanks to [Ryan Kerr](https://github.com/leboshi)
    
  • v3.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]

  • v3.8.3

    March 11, 2020
    • 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

  • v3.8.2

    February 12, 2020
    • Support correct encoding parameter for HTTP.rb 2.x and earlier

      Thanks to Alex Coomans

  • v3.8.1

    February 05, 2020
    • Added support for mocking non-ASCII bodies when making requests with HTTP.rb

      Thanks to Patrik Ragnarsson

  • v3.8.0

    January 14, 2020
  • v3.7.6

    September 29, 2019
    • Suppressed keyword argument warnings in Ruby 2.7 in async-http adapter.

      Thanks to Koichi ITO

  • v3.7.5

    September 17, 2019
    • Suppress Excon warning generated by extra key

      Thanks to Marco Costa

  • v3.7.4

    September 16, 2019
    • Resetting memoized response fields in Curb adapter.

      Thanks to Andrei Sidorov

  • v3.7.3

    September 13, 2019
    • Fix for http.rb. Allow passing an output buffer to HTTP::Response::Body#readpartial

      Thanks to George Claghorn

    • Fixed Manticore adapter to invoke Manticore failure handler on stubbed timeout

      Thanks to Alex Junger

    • Added project metadata to the gemspec

      Thanks to Orien Madgwick