Changelog for
ruby2.3-rubygem-webmock-1.21.0-2.1.x86_64.rpm :
Mon Mar 30 14:00:00 2015 cooloAATTsuse.com
- updated to version 1.21.0
Sat Feb 7 13:00:00 2015 cooloAATTsuse.com
- updated to version 1.20.4
* Fixed support for `hash_including` matcher in RSpec 3
[#]# 1.20.3
* `with` method raises error if provided without options hash and without block
* `with` and `to_return` raise an error if invoked with invalid keys in options hash.
[#]# 1.20.2
* WebMock provides a helpful error message if an incompatible object is given as response body.
[#]# 1.20.1
* `assert_requested` and `assert_not_requested` accept `at_least_times` and `at_most_times` options
* Silenced `instance variable undefined` warnings in Curb adapted.
[#]# 1.20.0
* Add support for on_missing callback of Curb::Easy
* Add at_least_times and at_most_times matchers
Sun Oct 12 14:00:00 2014 cooloAATTsuse.com
- updated to version 1.19.0
* Fixed issue with Excon adapter giving warning message when redirects middleware was enabled.
* Fixed issue with `undefined method \'valid_request_keys\' for Excon::Utils:Module`
* Fixed query mapper to encode `\'one\' => [\'1\',\'2\']` as `\'one[]=1&one[]=2\'`.
* Improved cookies support for em-http-request
* Fix HTTP Gem adapter to ensure uri attribute is set on response object.
* Fixed HTTPClient adapter. The response header now receives `request_method`, `request_uri`, and `request_query` transferred from request header
* Query mapper supports nested data structures i.e. `{\"first\" => [{\"two\" => [{\"three\" => \"four\"}, \"five\"]}]}`
* Fixed compatibility with latest versions of Excon which don\'t define `VALID_REQUEST_KEYS` anymore.
* Request method is always a symbol is request signatures. This fixes the issue of WebMock not matching Typhoeus requests with request method defined as string.
* Stubbing instructions which are displayed when no matching stub is found, can be disabled with `Config.instance.show_stubbing_instructions = false`
- adapt to new rubygem packaging
Sun May 18 14:00:00 2014 cooloAATTsuse.com
- updated to version 1.18.0
* Updated dependency on Addressable to versions >= 2.3.6
* Added support for matching uris using RFC 6570 (URI Templates)
uri_template = Addressable::Template.new \"www.example.com/{id}/\"
stub_request(:any, uri_template)
Thanks to [Max Lincoln](https://github.com/maxlinc)
* Fixed content length calculation for Rack responses with UTF8 body
Thanks to [Oleg Gritsenko](https://github.com/Claster)
* Add missing Curl::Easy aliases
Thanks to [Hwan-Joon Choi](https://github.com/hc5duke)
* HTTP Gem >= 0.6.0 compatibility
Thanks to [Aleksey V. Zapparov](https://github.com/ixti)
* Minitest 4 and 5 compatibility.
Thanks to [SHIBATA Hiroshi](https://github.com/hsbt)
Fri Mar 21 13:00:00 2014 cooloAATTsuse.com
- updated to version 1.17.4
* Update matchers for RSpec 3\'s matcher protocol
Sat Feb 22 13:00:00 2014 cooloAATTsuse.com
- updated to version 1.17.3
* Fixed issue with Rack response removing \'Content-Type\' header
* Support for chunked responses in Curb
* Fixed handling of request body passed as a hash to `Typhoeus.post`
Mon Jan 20 13:00:00 2014 cooloAATTsuse.com
- updated to version 1.17.1
* Added missing license statements.
* HTTP gem support!
* Limited Excon gem requirement to version < 0.30 until the compatibility with version > 0.30.0 is fixed.
* Fixed issue where empty query key caused a `TypeError`
Mon Dec 16 13:00:00 2013 cooloAATTsuse.com
- updated to version 1.16.1
* Fixed \"NameError: uninitialized constant WebMock::Response::Pathname\" issue.
Thanks to [Alex Stupakow and Karen Wang](https://github.com/stupakov) for the fix.
Fri Nov 22 13:00:00 2013 cooloAATTsuse.com
- updated to version 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)
Thu Oct 31 13:00:00 2013 cooloAATTsuse.com
- updated to version 1.15.2
* Fixed `hash_including` to accept a splat of solitary keys.
Thanks to [Tamir Duberstein](https://github.com/tamird) and [https://github.com/strongriley](https://github.com/strongriley)
Sun Oct 20 14:00:00 2013 cooloAATTsuse.com
- updated to version 1.15.0
* Excon >= 0.27.5 compatibility.
Thanks to [Brian D. Burns](https://github.com/burns)
Fri Oct 4 14:00:00 2013 cooloAATTsuse.com
- updated to version 1.14.0
* Handling non UTF-8 characters in query params.
Thanks to [Florian Dütsch](https://github.com/der-flo) for reporting the issue.
* Added support for `request_block` param in Excon
Thanks to [Dmitry Gutov](https://github.com/dgutov) for reporting the issue.
* Fixed compatibility with latest Curb
Thanks to [Ian Lesperance](https://github.com/elliterate) and [Matthew Horan](https://github.com/mhoran)
* Triggering errbacks assynchronously in em-http-request adapter.
Thanks to [Ian Lesperance](https://github.com/elliterate) and [Matthew Horan](https://github.com/mhoran)
* Handling query params with a hashes nested inside arrays.
Thanks to [Ian Asaff](https://github.com/montague)
* Changed NetConnectNotAllowedError to inherit from Exception to allow it to bubble up into a test suite.
Thanks to [Daniel van Hoesel](https://github.com/s0meone)
* HTTPClient adapter is thread safe.
Thanks to [Tom Beauvais](https://github.com/tbeauvais)
Sat Jul 20 14:00:00 2013 cooloAATTsuse.com
- updated to version 1.13.0
* Net::HTTP::Persistent compatibility.
WebMock doesn\'t disconnect previously started connections upon a request anymore.
* Fixed issue with handling Addressable::URI with query params passed to `Net::HTTP.get_response`
Thanks to [Leif Bladt](https://github.com/leifbladt)
* Fixed HTTPClient adapter to not raise an error if a request with multipart body is executed.
Fri Jun 28 14:00:00 2013 cooloAATTsuse.com
- updated to version 1.12.2
* Fixed issue with handling request.path when Addressable::URI is passed to #request instead of URI with Ruby 2.0.
Thanks to [Leif Bladt](https://github.com/leifbladt)
* Accept integers as query param values in request stubs
i.e. `stub_request(:get, /.
*/).with(:query => {\"a\" => 1})`
Thanks to [Mitsutaka Mimura](https://github.com/takkanm)
* Fixed Minitest < 5.0 compatibility
Thanks to [Alex Tomlins](https://github.com/alext) for reporting the issue.
* Not using Gem spec anymore to check loaded Curb version.
* `WebMock.disable_net_connect!` now accepts array of regexps as allow param:
i.e. `WebMock.disable_net_connect!(:allow => [/google.com/, /yahoo.com/])`
Thanks to [Bastien Vaucher](https://github.com/bastien)
* Fixed `on_header` Curb callback behaviour in Curb adapter
Thanks to [Joel Chippindale](https://github.com/mocoso)
* Fixed aws-sdk compatibility with Ruby 2.0, by supporting `continue_timeout` accessor on Net::HTTP socket.
Thanks to [Lin Jen-Shin](https://github.com/godfat)
* Fixed WebMock::Server to not give \"log writing failed. can\'t be called from trap context\" warning with Ruby 2.0
Thanks to [Murahashi Sanemat Kenichi](https://github.com/sanemat)
* Added support for EM-HTTP-Request streaming data off disk feature.
Thanks to [Lin Jen-Shin](https://github.com/godfat)
Tue Mar 5 13:00:00 2013 cooloAATTsuse.com
- updated to version 1.11.0
* Excon >= 0.17 support.
* \'+\' in request path is treated as plus, but in query params always as a space.
Sun Mar 3 13:00:00 2013 cooloAATTsuse.com
- updated to version 1.10.1
* \'+\' in request body is still treated as a space. This fixes a bug introduced in previous version.
* Fixed issue: response body declared as Proc was not evaluated again on subsequent requests.
* \'+\' in query params is not treated as space anymore and is encoded as %2B
* added `remove_request_stub` method to the api to allow removing unused stubs i.e.
stub_get = stub_request(:get, \"www.example.com\")
remove_request_stub(stub_get)
* `assert_requested` and `assert_not_requested` raise an error if a stub object is provided together with a block.
* Fixed issue with unavailable constant Mutex in Ruby < 1.9
* Added support for Excon\'s :response_block parameter
* Fix \'rack.errors\' not being set for Rack apps
* Added support for minitest assertions count
* Fixed issues with registering http requests in multi-threaded environments
* Bumped Crack version to >=0.3.2
* Fixed issues in Typhoeus 0.6. Defaulted method to GET when no method specified.
Thu Nov 15 13:00:00 2012 cooloAATTsuse.com
- updated to version 1.9.0
* Added support for Typhoeus >= 0.5.0 and removed support for Typhoeus < 0.5.0.
Mon Oct 1 14:00:00 2012 cooloAATTsuse.com
- updated to version 1.8.11
* Fix excon adapter to handle `:body => some_file_object`
Wed Sep 12 14:00:00 2012 cooloAATTsuse.com
- updated to version 1.8.10
* em-http-request fix. After request callbacks are correctly invoked for 3xx responses,
when :redirects option is set.
Thanks to [Myron Marston](https://github.com/myronmarston) for reporting that issue.
* Fixed compatibility with Net::HTTP::DigestAuth
Thanks to [Jonathan Hyman](https://github.com/jonhyman) for reporting that issue.
* Fixed problem in em-http-request 0.x appending the query to the client URI twice.
Thanks to [Paweł Pierzchała](https://github.com/wrozka)
Sun Aug 26 14:00:00 2012 cooloAATTsuse.com
- updated to version 1.8.9
* Fixed problem with caching nil responses when the same HTTPClient instance is used.
Thanks to [Myron Marston](https://github.com/myronmarston)
* Added support for Addressable >= 2.3.0. Addressable 2.3.0 removed support for multiple query value notations and broke backwards compatibility.
https://github.com/sporkmonger/addressable/commit/f51e290b5f68a98293327a7da84eb9e2d5f21c62
https://github.com/sporkmonger/addressable/issues/77
Wed Nov 16 13:00:00 2011 fcastelliAATTsuse.com
- Update to 1.7.7, too many changes to report here.
Mon Jun 14 14:00:00 2010 mrueckertAATTsuse.de
- additional changes from version 1.2.2
- Fixed problem where ArgumentError was raised if query params
were made up of an array e.g. data[]=a&data[]=b.
Thanks to Steve Tooke
- additional changes from version 1.2.1
- Changed license from GPL to MIT
- Fixed gemspec file. Thanks to Razic
- additional changes from version 1.2.0
- RSpec 2 compatibility. Thanks to Sam Phillips!
- :allow_localhost => true\' now permits 127.0.0.1 as well as
\'localhost\'. Thanks to Mack Earnhardt
- Request URI matching in now 2x faster!
- additional changes from version 1.1.0
- [VCR](http://github.com/myronmarston/vcr/) compatibility. Many
thanks to Myron Marston for all suggestions.
- Support for stubbing requests and returning responses with
multiple headers with the same name. i.e multiple Accept
headers.
- When real net connections are disabled and unstubbed request is
made, WebMock throws WebMock::NetConnectNotAllowedError instead
of assertion error or StandardError.
- Added WebMock.version()
- additional changes from version 1.0.0
- Added support for [Patron](http://toland.github.com/patron/)
- Responses dynamically evaluated from block (idea and
implementation by Tom Ward)
- Responses dynamically evaluated from lambda (idea and
implementation by Tom Ward)
- Response with custom status message
- Raising timeout errors (suggested by Jeffrey Jones)
(compatibility with Ruby 1.8.6 by Mack Earnhardt)
- External requests can be disabled while allowing localhost
(idea and implementation by Mack Earnhardt)
- Fixed issue where Net::HTTP adapter didn\'t work for requests
with body responding to read (reported by Tekin Suleyman)
- Fixed issue where request stub with headers declared as nil was
matching requests with non empty headers
Fri Jun 11 14:00:00 2010 mrueckertAATTsuse.de
- use rubygems_requires macro
Thu Feb 18 13:00:00 2010 prusnakAATTsuse.cz
- created package