bblimke/webmock (webmock)
### [`v3.19.1`](https://togithub.com/bblimke/webmock/compare/v3.19.0...v3.19.1)
[Compare Source](https://togithub.com/bblimke/webmock/compare/v3.19.0...v3.19.1)
### [`v3.19.0`](https://togithub.com/bblimke/webmock/blob/HEAD/CHANGELOG.md#3190)
[Compare Source](https://togithub.com/bblimke/webmock/compare/v3.18.1...v3.19.0)
- 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 of `to_return_json` method invocation.
Thanks to [Jason Karns](https://togithub.com/jasonkarns) for reporting.
- Do not alter real (non-stubbed) request headers when handling em-http-request requests.
Thanks to [Yoann Lecuyer](https://togithub.com/ylecuyer)
- Fix matching stubs with HashExcludingMatcher
Thanks to [Lucas Arnaud](https://togithub.com/lucasarnaud)
- Remove development and test files from the gem package
Thanks to [Orien Madgwick](https://togithub.com/orien)
- Fix supported http client gem version checks.
Thanks to [Marc Rohloff](https://togithub.com/marcrohloff) and [Roman Stražanec](https://togithub.com/romanstrazanec)
- Non-string body passed to #to_return_json is now converted to JSON string.
Thanks to [inkstak](https://togithub.com/inkstak)
- `[::1]` is recognised as localhost e.g when passing `allow_localhost` option to `disable_net_connect!`
Thanks to [Yuki Inoue](https://togithub.com/Yuki-Inoue)
- Optimized `normalize_headers` for performance
Thanks to [Brandon Weaver](https://togithub.com/baweaver)
- Added Frozen string literal to files to optimise memory usage
Thanks to [Josh Nichols](https://togithub.com/technicalpickles)
### [`v3.18.1`](https://togithub.com/bblimke/webmock/blob/HEAD/CHANGELOG.md#3181)
[Compare Source](https://togithub.com/bblimke/webmock/compare/v3.18.0...v3.18.1)
- Reverted simplified connection handing in Net::HTTP adapter due to [https://github.com/bblimke/webmock/issues/999](https://togithub.com/bblimke/webmock/issues/999)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'3.18.0'
->'3.19.1'
Release Notes
bblimke/webmock (webmock)
### [`v3.19.1`](https://togithub.com/bblimke/webmock/compare/v3.19.0...v3.19.1) [Compare Source](https://togithub.com/bblimke/webmock/compare/v3.19.0...v3.19.1) ### [`v3.19.0`](https://togithub.com/bblimke/webmock/blob/HEAD/CHANGELOG.md#3190) [Compare Source](https://togithub.com/bblimke/webmock/compare/v3.18.1...v3.19.0) - 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 of `to_return_json` method invocation. Thanks to [Jason Karns](https://togithub.com/jasonkarns) for reporting. - Do not alter real (non-stubbed) request headers when handling em-http-request requests. Thanks to [Yoann Lecuyer](https://togithub.com/ylecuyer) - Fix matching stubs with HashExcludingMatcher Thanks to [Lucas Arnaud](https://togithub.com/lucasarnaud) - Remove development and test files from the gem package Thanks to [Orien Madgwick](https://togithub.com/orien) - Fix supported http client gem version checks. Thanks to [Marc Rohloff](https://togithub.com/marcrohloff) and [Roman Stražanec](https://togithub.com/romanstrazanec) - Non-string body passed to #to_return_json is now converted to JSON string. Thanks to [inkstak](https://togithub.com/inkstak) - `[::1]` is recognised as localhost e.g when passing `allow_localhost` option to `disable_net_connect!` Thanks to [Yuki Inoue](https://togithub.com/Yuki-Inoue) - Optimized `normalize_headers` for performance Thanks to [Brandon Weaver](https://togithub.com/baweaver) - Added Frozen string literal to files to optimise memory usage Thanks to [Josh Nichols](https://togithub.com/technicalpickles) ### [`v3.18.1`](https://togithub.com/bblimke/webmock/blob/HEAD/CHANGELOG.md#3181) [Compare Source](https://togithub.com/bblimke/webmock/compare/v3.18.0...v3.18.1) - Reverted simplified connection handing in Net::HTTP adapter due to [https://github.com/bblimke/webmock/issues/999](https://togithub.com/bblimke/webmock/issues/999)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.