Skip to content

Commit

Permalink
Version 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Dec 27, 2018
1 parent 38bf439 commit 5ad417f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 3.5.0

* Ruby 2.6.0 support

Thanks to [Arkadiy Tetelman](https://github.com/arkadiyt)

* Added `WebMock.reset_executed_requests!` method.

stub_get = stub_request(:get, "www.example.com")
Net::HTTP.get('www.example.com', '/')
WebMock::RequestRegistry.instance.times_executed(stub_get.request_pattern) # => 1
reset_executed_requests!
WebMock::RequestRegistry.instance.times_executed(stub_get.request_pattern) # => 0

Thanks to [Olia Kremmyda](https://github.com/oliakremmyda)

* Performance improvements

Thanks to [Pavel Rosický](https://github.com/ahorek)

## 3.4.2

* Fixed `rbuf_fill` in Net::HTTP adapter to be thread-safe
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,9 @@ People who submitted patches and new features or suggested improvements. Many th
* Lukas Pokorny
* Arkadiy Tetelman
* Kazato Sugimoto
* Olle Jonsson
* Pavel Rosický
* Geremia Taglialatela

For a full list of contributors you can visit the
[contributors](https://github.com/bblimke/webmock/contributors) page.
Expand Down
2 changes: 1 addition & 1 deletion lib/webmock/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module WebMock
VERSION = '3.4.2' unless defined?(::WebMock::VERSION)
VERSION = '3.5.0' unless defined?(::WebMock::VERSION)
end

0 comments on commit 5ad417f

Please sign in to comment.