Bump webmock from 3.3.0 to 3.4.0
Created by: dependabot[bot]
Bumps webmock from 3.3.0 to 3.4.0.
Changelog
Sourced from webmock's changelog.
3.4.0
Ruby 2.6 support. Prevent
Net/ReadTimeout
error in Ruby 2.6Thanks to Koichi ITO
Handling query params, which represent nested hashes with keys starting with non word characters.
Thanks to rapides for reporting the issue.
Patron adapter handles PATCH requests with body.
Thanks to Mattia for reporting the issue.
Allowing requests with url encoded body to be matched by request stubs declared with hash body with non-string values.
stub_request(:post, "www.example.com").with(body: {"a" => 1, "b" => false}) RestClient.post('www.example.com', 'a=1&b=false', :content_type => 'application/x-www-form-urlencoded') # ===> Success
Thanks to Kenny Ortmann for suggesting this feature.
When request headers contain 'Accept'=>'application/json' and no registered stub matches the request, WebMock prints a suggested stub code with to_return body set to '{}'.
Thanks to redbar0n
Improved suggested stub output when the request stub only contains headers declaration.
Thanks to Olia Kremmyda
Fixed Curb adapter to handle
reset
method.Thanks tp dinhhuydh for reporting the issue. Thanks to Olia Kremmyda for fixing it.
Commits
-
15fc3f1
Version 3.4.0 -
76895a8
Allowing requests with url encoded body to be matched by stubs declared with ... -
5979ad9
Patron adapter handles PATCH requests with body. -
277da14
Handling query params, which represent nested hashes with keys starting with ... -
332af13
Merge pull request #751 from koic/prevent_net_readtimeout_error_in_ruby_2_6 -
cf37b09
Merge pull request #754 from EiNSTeiN-/patch-1 -
3d34be7
Fix redundantUtil::
namespacing -
1cc36e5
PreventNet/ReadTimeout
error in Ruby 2.6 -
fc1536d
Merge pull request #747 from oliakremmyda/curl_reset -
7620eab
Add reset method in curb adapter - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot ignore this [minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use [this|these] label[s]
will set the current labels as the default for future PRs for this repo and language
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.