Commits on Feb 19, 2012
  1. Merge pull request #164 from bblimke/fix_multi_header_issues

    Ensure multiple values for the same header can be recorded and played back
    committed Feb 19, 2012
  2. Ensure multiple values for the same header can be recorded and played…

    … back.
    This already worked for most adapters, but had an issue for the HTTP client adapter.
    Note that I had to change the line breaks in the webmock server response to \r\n (which matches the HTTP spec, I believe) in order to get curb and patron to parse the headers correctly.
    myronmarston committed Feb 18, 2012
Commits on Feb 11, 2012
Commits on Feb 8, 2012
  1. Merge pull request #160 from bblimke/shared_example_args

    Shared example args
    committed Feb 8, 2012
Commits on Feb 5, 2012
  1. Update RSpec dependency to 2.8.

    2.8 includes the ability to pass arguments to `include_context`, which we need to clean up some of the shared example conditionals.
    myronmarston committed Feb 5, 2012
  2. Added Test::Unit test to ensure hash_including query matcher works ou…

    …tside RSpec environment too
    committed Feb 5, 2012
Commits on Feb 4, 2012
  1. Merge pull request #154 from bblimke/vcr_fixes

    A few fixes that improve APIs used by VCR
    committed Feb 4, 2012
  2. Disabled assertion which depends on Hash#inspect result and is nondet…

    …erministic in Ruby 1.8.7-p357
    committed Feb 4, 2012
  3. Ensured webmock test server is started only once and killed after all…

    … specs are finished.
    committed Feb 4, 2012
  4. Fixed indentation in changelog

    committed Feb 4, 2012
  5. Merge pull request #158 from dim/master

    Added support for Excon
    committed Feb 4, 2012
  6. Merge pull request #159 from thenoseman/master

    Allow WebMock.disable_net_connect! to accept a RegExp as :allow Parameter
    committed Feb 4, 2012
  7. Merge pull request #153 from markiz/master

    em_http_request_1_x: use bytesize of message instead of its length for content-length header
    committed Feb 4, 2012
  8. Merge pull request #152 from thunderboltlabs/master

    Fixed a Rack::Lock bug around failing to close the response body
    committed Feb 4, 2012
  9. assert_requested and assert_not_requested can accept either method an…

    …d uri, or RequestStub
    committed Feb 4, 2012
  10. Merge pull request #151 from joevandyk/master

    Fix "warning: instance variable @query_params not initialized" warning
    committed Feb 4, 2012
Commits on Feb 3, 2012
  1. Added support for Excon

    dim committed Feb 3, 2012
Commits on Jan 29, 2012
  1. Fix spec failing on 1.8.7.

    Weirdly, it appears that on 1.8.7, Array#delete will return the object you pass to it rather than the object in the array!
    O =, :b)
    i1, i2 =, 5),, 5)
    list = [i1]
    deleted = list.delete(i2)
    deleted.equal?(i1) # => true on 1.9.2, false on 1.8.7
    deleted.equal?(i2) # => false on 1.9.2, true on 1.8.7
    myronmarston committed Jan 29, 2012
Commits on Jan 28, 2012
  1. Use the same request signature object in multiple hooks for the same

    Previously, the httpclient and typhoeus adapters would use different
    request_signature instances for the global_stub hook and the
    after_requets hook. Using the same instance makes it more consistent and
    enables a new VCR feature.
    myronmarston committed Jan 28, 2012
  2. Fix RequestSignature#==.

    Previously it just used the definition in Object#== which only returned true for the same object instance.
    myronmarston committed Jan 28, 2012
  3. Ensure that global stubs take precedence over non-global stubs.

    This is important for tools like VCR that use global stubs for more than just returning a stubbed response--for consistency, it needs to always have the stub block invoked so it can manage before/after request hooks.
    myronmarston committed Jan 28, 2012
  4. Fix #globally_stub_request to support multiple global stubs.

    Previously it didn't fully support this (but didn't prevent it either) and it had weird ambiguities.  This cleans the code up a bit, too.
    myronmarston committed Jan 28, 2012
Commits on Jan 27, 2012
  1. em_http_request_1_x: use bytesize of message instead of its length fo…

    …r content-length header
    In rubies 1.8.x this will have no effect whatsoever
    In rubies 1.9.x this fixes problem of receiver's message getting truncated
       (since some utf-8 characters are more than 1 byte long)
    markiz committed Jan 27, 2012