Changelog History
Page 2
-
v3.12.2 Changes
Fixed em-http-request adapter to avoid calling middleware twice.
Thanks to Alex Vondrak
-
v3.12.1 Changes
Fixed handling of URIs with IPv6 addresses with square brackets when in Net::HTTP adapter.
Thanks to Johanna Hartmann
-
v3.12.0 Changes
- Added support for handling custom JSON and XML content types e.g. 'application/vnd.api+json'
-
v3.11.3 Changes
Fixed async-http adapter to only considered requests as real if they are real.
Thanks to Thanks to Tony Schneider and Samuel Williams
-
v3.11.2 Changes
Fix for Manticore streaming mode
Thanks to Oleksiy Kovyrin
-
v3.11.1 Changes
Compatibility with async-http 0.54+
Thanks to Jun Jiang
-
v3.11.0 Changes
Added support for
features
in http.rb adapter.Thanks to Carl (ce07c3)
-
v3.10.0 Changes
Added option to global stubs to have lower priority than local stubs.
WebMock.globally_stub_request(:after_local_stubs) do { body: "global stub body" } end stub_request(:get, "www.example.com").to_return(body: 'non-global stub body') expect(http_request(:get, "http://www.example.com/").body).to eq("non-global stub body")
Thanks to Marek Kasztelnik
-
v3.9.5 Changes
Prevent overwriting
teardown
method in Test::UnitThanks to Jesse Bowes
-
v3.9.4 Changes
More intuitive error message when stubbed response body was provided as Hash
Thanks to Ben Koshy