SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for ruby3.3-rubygem-webmock-3.19.1-1.5.x86_64.rpm :

* Fri Nov 03 2023 Dan Čermák - # 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)
* Fix matching stubs with HashExcludingMatcher Thanks to [Lucas Arnaud](https://github.com/lucasarnaud)
* Remove development and test files from the gem package Thanks to [Orien Madgwick](https://github.com/orien)
* Fix supported http client gem version checks. Thanks to [Marc Rohloff](https://github.com/marcrohloff) and [Roman Stražanec](https://github.com/romanstrazanec)
* Non-string body passed to #to_return_json is now converted to JSON string. Thanks to [inkstak](https://github.com/inkstak)
* `[::1]` is recognised as localhost e.g when passing `allow_localhost` option to `disable_net_connect!` Thanks to [Yuki Inoue](https://github.com/Yuki-Inoue)
* Optimized `normalize_headers` for performance Thanks to [Brandon Weaver](https://github.com/baweaver)
* Added Frozen string literal to files to optimise memory usage Thanks to [Josh Nichols](https://github.com/technicalpickles)
* Fri Aug 26 2022 Manuel Schnitzer - updated to version 3.18.1 [#] 3.18.1
* Reverted simplified connection handing in Net::HTTP adapter due to https://github.com/bblimke/webmock/issues/999 [#] 3.18.0
* Net::BufferedIO is not replaced anymore. Thanks to [Ray Zane](https://github.com/rzane)
* Simplified connection handing in Net::HTTP adapter. Thanks to [Ray Zane](https://github.com/rzane) [#] 3.17.1
* Fixed Syntax Error Thanks to [Mark Spangler](https://github.com/mspangler) [#] 3.17.0
* Minimum required Ruby version is 2.3 Thanks to [Go Sueyoshi](https://github.com/sue445)
* When using Net::HTTP, stubbed socket StubSocket#close and StubSocket#closed? behave more like the real sockets. Thanks to [Ray Zane](https://github.com/rzane)
* Added `peeraddr`, `ssl_version` and `cipher` methods to stubbed sockets used by Net::HTTP. Thanks to [Ray Zane](https://github.com/rzane)
* Added support for matching top-level array in JSON request body. E.g. ```` stub_request(:post, \'www.example.com\').with(body: [{a: 1}]) ```` Thanks to [Cedric Sohrauer](https://github.com/cedrics) [#] 3.16.2
* Minimum required Ruby version is 2.0.
* Thu Aug 04 2022 Stephan Kulow updated to version 3.16.0 see installed CHANGELOG.md [#] 3.16.0
* Fix leaky file descriptors and reuse socket for persistent connections. Thanks to [Ray Zane](https://github.com/rzane)
* Allow specifying for what URIs or hosts, Net::HTTP should connect on start. Thanks to [Ray Zane](https://github.com/rzane) [#] 3.15.0
* fixed async-http adapter on Windows Thanks to [Pavel Rosický](https://github.com/ahorek)
* Support for http.rb >= 5.0.2 Thanks to [ojab](https://github.com/ojab)
* Curb adapter supports headers with `:` character in the header value Thanks to [Giorgio Gambino](https://github.com/mrbuzz)
* Support for matching body of JSON or application/x-www-form-urlencoded requests with content type header including charset. Thanks to [Timmitry](https://github.com/Timmitry)
* Prevent double-wrapping http.rb features on non-stubbed requests Thanks to [Michael Fairley](https://github.com/michaelfairley)
* Wed Aug 25 2021 Manuel Schnitzer - updated to version 3.14.0
* Bump Addressable from 2.3.6 to 2.8.0 Thanks to [Eduardo Hernandez](https://github.com/EduardoGHdez)
* Tue Jun 01 2021 Manuel Schnitzer - updated to version 3.13.0 [#] 3.13.0
* Support http.rb 5.x Thanks to [Will Storey](https://github.com/horgh) [#] 3.12.2
* Fixed em-http-request adapter to avoid calling middleware twice. Thanks to [Alex Vondrak](https://github.com/ajvondrak) [#] 3.12.1
* Fixed handling of URIs with IPv6 addresses with square brackets when in Net::HTTP adapter. Thanks to [Johanna Hartmann](https://github.com/JohannaHartmann) [#] 3.12.0
* Added support for handling custom JSON and XML content types e.g. \'application/vnd.api+json\' [#] 3.11.3
* Fixed async-http adapter to only considered requests as real if they are real. Thanks to Thanks to [Tony Schneider](https://github.com/tonywok) and [Samuel Williams](https://github.com/ioquatix) [#] 3.11.2
* Fix for Manticore streaming mode Thanks to [Oleksiy Kovyrin](https://github.com/kovyrin)
* Wed Jan 20 2021 Stephan Kulow updated to version 3.11.1 see installed CHANGELOG.md [#] 3.11.1
* Compatibility with async-http 0.54+ Thanks to [Jun Jiang](https://github.com/jasl) [#] 3.11.0
* Added support for `features` in http.rb adapter. Thanks to [Carl (ce07c3)](https://github.com/ce07c3) [#] 3.10.0
* Added option to global stubs to have lower priority than local stubs. WebMock.globally_stub_request(:after_local_stubs) do { body: \"global stub body\" } end stub_request(:get, \"www.example.com\").to_return(body: \'non-global stub body\') expect(http_request(:get, \"http://www.example.com/\").body).to eq(\"non-global stub body\") Thanks to [Marek Kasztelnik](https://github.com/mkasztelnik) [#] 3.9.5
* Prevent overwriting `teardown` method in Test::Unit Thanks to [Jesse Bowes](https://github.com/jessebs) [#] 3.9.4
* More intuitive error message when stubbed response body was provided as Hash Thanks to [Ben Koshy](https://github.com/BKSpurgeon) [#] 3.9.3
* Make httpclient_adapter thread-safe Thanks to [Adam Harwood](https://github.com/adam-harwood) [#] 3.9.2
* Made global stubs thread-safe Thanks to [Adam Harwood](https://github.com/adam-harwood)
* Fri Sep 25 2020 Stephan Kulow updated to version 3.9.1 see installed CHANGELOG.md [#] 3.9.1 Fixed support for passing `URI` objects as second argument of `stub_request` Thanks to [Ryan Kerr](https://github.com/leboshi) [#]# 3.9.0
* Allow using a \"callable\" (like a proc) as URI pattern stub_request(:any, ->(uri) { true }) Thanks to [John Hawthorn](https://github.com/jhawthorn)
* Added stubbed IO on stubbed socket in Net::HTTP adapter. Thanks to [Thilo Rusche](https://github.com/trusche)
* When \'webmock/rspec\' is required, reset WebMock after all after(:each/example) hooks Thanks to [Andrew Stuntz](https://github.com/drews256)
* Fixed `net_connect_allowed?` when invoked with no arguments, when there were any allowed URIs passed to `disable_net_connect?`. Thanks to [Lucas Uyezu](https://github.com/lucasuyezu)
* Fixed async-http adapter which caused Async::HTTP::Client or Async::HTTP::Internet to hang and never return a response. Thanks to (Bruno Sutic)[https://github.com/bruno-] and [Samuel Williams](https://github.com/ioquatix)
* Fixed warning when using async-http adapter Thanks to (Bruno Sutic)[https://github.com/bruno-]
* Dropped support for Ruby 2.3 - EOL date: 2019-03-31
* Dropped support for Ruby 2.4 - EOL date: 2020-03-31
* Handling matching of Addressable::Template patterns that have an ip address without port and patterns that have ip address and don’t have schema and path. Thanks to (Rafael França)[https://github.com/rafaelfranca] and (guppy0356)[https://github.com/guppy0356]
* Thu May 07 2020 Stephan Kulow - updated to version 3.8.3 see installed CHANGELOG.md [#]# 3.8.3
* Fixed problem introduced in version 3.4.2, which caused matching against Addressable::Template representing host part of the URI to raise an error. Thanks to [Vesa Laakso](https://github.com/valscion) [#]# 3.8.2
* Support correct encoding parameter for HTTP.rb 2.x and earlier Thanks to [Alex Coomans](https://github.com/drcapulet)
* Mon Feb 10 2020 Stephan Kulow - updated to version 3.8.1 see installed CHANGELOG.md [#]# 3.8.1
* Added support for mocking non-ASCII bodies when making requests with HTTP.rb Thanks to [Patrik Ragnarsson](https://github.com/dentarg) [#]# 3.8.0
* Fixed options handling when initialising Async::HTTP::Client Thanks to [Samuel Williams](https://github.com/ioquatix)
* Ruby 2.7 support. Thanks to [Ryan Davis](https://github.com/zenspider) and [Brandur](https://github.com/brandur) [#]# 3.7.6
* Suppressed keyword argument warnings in Ruby 2.7 in async-http adapter. Thanks to [Koichi ITO](https://github.com/koic) [#]# 3.7.5
* Suppress Excon warning generated by extra key Thanks to [Marco Costa](https://github.com/marcotc) [#]# 3.7.4
* Resetting memoized response fields in Curb adapter. Thanks to [Andrei Sidorov](https://github.com/heretge) [#]# 3.7.3
* Fix for http.rb. Allow passing an output buffer to HTTP::Response::Body#readpartial Thanks to [George Claghorn](https://github.com/georgeclaghorn)
* Fixed Manticore adapter to invoke Manticore failure handler on stubbed timeout Thanks to [Alex Junger](https://github.com/alexJunger)
* Added project metadata to the gemspec Thanks to [Orien Madgwick](https://github.com/orien) [#]# 3.7.2
* Fixed handling of non UTF-8 encoded urls Thanks to [Rafael França](https://github.com/rafaelfranca)
* Fixed \"shadowing outer local variable\" warning Thanks to [y-yagi](https://github.com/y-yagi) [#]# 3.7.1
* Fixed Async::HTTP::Client adapter code to not cause Ruby warning Thanks to [y-yagi](https://github.com/y-yagi) [#]# 3.7.0
* Support for Async::HTTP::Client Thanks to [Andriy Yanko](https://github.com/ayanko) [#]# 3.6.2
* Fixed Patron adapter to handle HTTP/2 status line. Thanks to [Fábio D. Batista](https://github.com/fabiob) [#]# 3.6.1
* Fixed issue with matching Addressable::Template without a period in the domain Thanks to [Eike Send](https://github.com/eikes)
* Support for `write_timeout` in Net::HTTP Thanks to [Claudio Poli](https://github.com/masterkain)
* Fixed issue with handling urls with \":80\" or \":443\" in the path. Thanks to [Csaba Apagyi](https://github.com/thisismydesign) for reporting and to [Frederick Cheung](https://github.com/fcheung) for fixing the issue.
* Fri Jul 19 2019 Stephan Kulow - updated to version 3.6.0 see installed CHANGELOG.md [#]# 3.6.0
* Compatibility with the latest version of hashdiff gem, with constant changed from HashDiff to Hashdiff Thanks to [Jeff Felchner](https://github.com/jfelchner)
* Added a hint to the error message raised when `with` method is called without args or a block. Thanks to [Adam Sokolnicki](https://github.com/asok)
* Resetting configured HTTP method in Curb adapter after each request Thanks to [tiendo1011](https://github.com/tiendo1011)
* Added `WebMock.enable_net_connect!` as an alias for `WebMock.allow_net_connect!` and `WebMock.disallow_net_connect!` as an alias for `WebMock.disable_net_connect!` Thanks to [SoonKhen OwYong](https://github.com/owyongsk)
* Fixed handling of empty arrays as query params when using Faraday Thanks to [Ryan Moret](https://github.com/rcmoret)
 
ICM