Skip to content

Commit

Permalink
Bump to version 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Nov 17, 2013
1 parent efee6ac commit 1ba1dc4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 1.16.0

* Allow a Pathname to be passed as a Response body

stub_request(:get, /example.com/).to_return(
body: Rails.root.join('test/fixtures/foo.txt')
)

Thanks to [Ben Pickles](https://github.com/benpickles)

* `hash_including` matcher can be initialized with empty keys to match any values.

stub_request(:post, "www.example.com").with(:body => hash_including(:a, :b => {'c'}))
RestClient.post('www.example.com', '{"a":"1","b":"c"}', :content_type => 'application/json')

Thanks to [Stefano Uliari](https://github.com/steookk)

## 1.15.2

* Fixed `hash_including` to accept a splat of solitary keys.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ People who submitted patches and new features or suggested improvements. Many th
* Brian D. Burns
* Riley Strong
* Tamir Duberstein
* Stefano Uliari

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 = '1.15.2' unless defined?(::WebMock::VERSION)
VERSION = '1.16.0' unless defined?(::WebMock::VERSION)
end

0 comments on commit 1ba1dc4

Please sign in to comment.