From f5726d694648ebeb9163c35213eec82d9cc09c94 Mon Sep 17 00:00:00 2001 From: Bartosz Blimke Date: Tue, 29 Aug 2023 23:28:03 +0200 Subject: [PATCH] Version 3.19.1 --- CHANGELOG.md | 4 ++++ lib/webmock/version.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0261324f..347b9435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # 3.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://github.com/jasonkarns) for reporting. + * Do not alter real (non-stubbed) request headers when handling em-http-request requests. Thanks to [Yoann Lecuyer](https://github.com/ylecuyer) diff --git a/lib/webmock/version.rb b/lib/webmock/version.rb index 9ae4420f..641148ac 100644 --- a/lib/webmock/version.rb +++ b/lib/webmock/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module WebMock - VERSION = '3.19.0' unless defined?(::WebMock::VERSION) + VERSION = '3.19.1' unless defined?(::WebMock::VERSION) end