Changelog History
Page 10
-
v1.14.0 Changes
- Handling non UTF-8 characters in query params.
Thanks to Florian DΓΌtsch for reporting the issue.
- β Added support for
request_block
param in Excon
Thanks to Dmitry Gutov for reporting the issue.
- π Fixed compatibility with latest Curb
Thanks to Ian Lesperance and Matthew Horan
- Triggering errbacks assynchronously in em-http-request adapter.
Thanks to Ian Lesperance and Matthew Horan
- Handling query params with a hashes nested inside arrays.
Thanks to Ian Asaff
- π Changed NetConnectNotAllowedError to inherit from Exception to allow it to bubble up into a test suite.
Thanks to Daniel van Hoesel
- HTTPClient adapter is thread safe.
Thanks to Tom Beauvais
-
v1.13.0 Changes
- Net::HTTP::Persistent compatibility. WebMock doesn't disconnect previously started connections upon a request anymore.
-
v1.12.3 Changes
- π Fixed issue with handling Addressable::URI with query params passed to
Net::HTTP.get_response
Thanks to Leif Bladt
- π Fixed HTTPClient adapter to not raise an error if a request with multipart body is executed.
- π Fixed issue with handling Addressable::URI with query params passed to
-
v1.12.2 Changes
- π Fixed issue with handling request.path when Addressable::URI is passed to #request instead of URI with Ruby 2.0.
Thanks to Leif Bladt
- Accept integers as query param values in request stubs
i.e.
stub_request(:get, /.*/).with(:query => {"a" => 1})
Thanks to Mitsutaka Mimura
-
v1.12.1 Changes
- π Fixed Minitest < 5.0 compatibility
Thanks to Alex Tomlins for reporting the issue.
-
v1.12.0 Changes
Not using Gem spec anymore to check loaded Curb version.
WebMock.disable_net_connect!
now accepts array of regexps as allow param:
i.e.
WebMock.disable_net_connect!(:allow => [/google.com/, /yahoo.com/])
Thanks to Bastien Vaucher
- π Fixed
on_header
Curb callback behaviour in Curb adapter
Thanks to Joel Chippindale
- π Fixed aws-sdk compatibility with Ruby 2.0, by supporting
continue_timeout
accessor on Net::HTTP socket.
Thanks to Lin Jen-Shin
- π Fixed WebMock::Server to not give "log writing failed. can't be called from trap context" warning with Ruby 2.0
Thanks to Murahashi Sanemat Kenichi
- β Added support for EM-HTTP-Request streaming data off disk feature.
Thanks to Lin Jen-Shin
- β Added compatibility with Minitest 5
Thanks to Tim Kurvers
Excon >= 0.22 compatibility.
π README has nice sytnax hightlighting and fixed code styling!
Thanks to Ilya Vassilevsky
- π
Compatibility with Rails 4
rack.session.options
Thanks to gotwalt
-
v1.11.0 Changes
- π Excon >= 0.17 support.
Thanks to Nathan Sutton for reporting this issue and to Wesley Beary and Myron Marston for help.
-
v1.10.2 Changes
- '+' in request path is treated as plus, but in query params always as a space.
-
v1.10.1 Changes
- π '+' in request body is still treated as a space. This fixes a bug introduced in previous version.
Thanks to Erik Michaels-Ober for reporting this problem.
- π Fixed issue: response body declared as Proc was not evaluated again on subsequent requests.
Thanks to Rick Fletcher for reporting this issue.
-
v1.10.0 Changes
- '+' in query params is not treated as space anymore and is encoded as %2B
Thanks to goblin for reporting this issue.
added
remove_request_stub
method to the api to allow removing unused stubs i.e.stub_get = stub_request(:get, "www.example.com") remove_request_stub(stub_get)
assert_requested
andassert_not_requested
raise an error if a stub object is provided together with a block.