CodeTriage
CodeTriage copied to clipboard
Bump webmock from 3.18.1 to 3.19.1
Bumps webmock from 3.18.1 to 3.19.1.
Changelog
Sourced from webmock's changelog.
3.19.1
When passing a Proc or lambda as response body to
to_return_json, the body is evaluated at the time of request and not at the time ofto_return_jsonmethod invocation.Thanks to Jason Karns for reporting.
3.19.0
Do not alter real (non-stubbed) request headers when handling em-http-request requests.
Thanks to Yoann Lecuyer
Fix matching stubs with HashExcludingMatcher
Thanks to Lucas Arnaud
Remove development and test files from the gem package
Thanks to Orien Madgwick
Fix supported http client gem version checks.
Thanks to Marc Rohloff and Roman Stražanec
Non-string body passed to #to_return_json is now converted to JSON string.
Thanks to inkstak
[::1]is recognised as localhost e.g when passingallow_localhostoption todisable_net_connect!Thanks to Yuki Inoue
Optimized
normalize_headersfor performanceThanks to Brandon Weaver
Added Frozen string literal to files to optimise memory usage
Thanks to Josh Nichols
Commits
f5726d6Version 3.19.18401c6eWhen passing lambda as body, to to_return_json, it is evaluated at the time o...d707719Version 3.19.09305ab5Merge pull request #1033 from technicalpickles/frozen-string-literald4afbd9Merge pull request #1029 from baweaver/baweaver/performance/normalize_headers...19917a3Merge pull request #1030 from Yuki-Inoue/masterd933001Merge pull request #1012 from inkstak/feature-to_return_json_accepts_array_body0d422a1Merge pull request #1026 from baweaver/patch-287786a2Merge pull request #1006 from marcrohloff/fix-version-checking0e9519cMerge branch 'master' into fix-version-checking- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)