WebMock v1.4.0 Release Notes

    • ๐Ÿ‘ Curb support!!! Thanks to the awesome work of Pete Higgins!

    • ๐Ÿ—„ include WebMock is now deprecated to avoid method and constant name conflicts. Please include WebMock::API instead.

    • ๐Ÿš… WebMock::API#request is renamed to WebMock::API#a_request to prevent method name conflicts with i.e. Rails controller specs. WebMock.request is still available.

    • Deprecated WebMock#request, WebMock#allow_net_connect!, WebMock#net_connect_allowed?, WebMock#registered_request?, WebMock#reset_callbacks, WebMock#after_request instance methods. These methods are still available, but only as WebMock class methods.

    • Removed WebMock.response_for_request and WebMock.assertion_failure which were only used internally and were not documented.

    • :allow_localhost => true' now permits 0.0.0.0 in addition to 127.0.0.1 and 'localhost'. Thanks to Myron Marston and Mike Gehard for suggesting this.

    • ๐Ÿ›  Fixed issue with both RSpec 1.x and 2.x being available.

    WebMock now tries to use already loaded version of RSpec (1.x or 2.x). Previously it was loading RSpec 2.0 if available, even if RSpec 1.3 was already loaded.

    Thanks to Hans de Graaff for reporting this.

    • ๐Ÿ”„ Changed runtime dependency on Addressable version 2.2.2 which fixes handling of percent-escaped '+'