Permalink
Commits on Jan 22, 2012
  1. Changed default em-http-request version dependency to >= 1.0.0. Specs…

    bblimke committed Jan 22, 2012
    … against version 0.3.0 run on travis too.
  2. Upgraded dev dependencies to lastest Patron 0.4.17 and updated patron…

    bblimke committed Jan 22, 2012
    … adapter spec to match changes in behaviour.
  3. Merge pull request #149 from godfat/read_timeout

    bblimke committed Jan 22, 2012
    net_http.rb: StubSocket needs read_timeout for aws-sdk
  4. Merge pull request #150 from thunderboltlabs/master

    bblimke committed Jan 22, 2012
    Fix #to_rack to handle non-array response bodies.
Commits on Jan 19, 2012
  1. Fix #to_rack to handle non-array response bodies.

    Tammer Saleh committed Jan 19, 2012
    When using #to_rack with a Rails endpoint, such as:
    
      stub_request(:any, %r{api.example.com/.*}).to_rack(Rails.application)
    
    ...you receive the following error:
    
      NoMethodError: undefined method `join' for #<ActionDispatch::Response:0x007ffd06e6f540>
    
    Turns out ActionDispatch::Response is in the right. A Rack response body
    is only required to implement #each, not #join.
    
    This patch fixes #to_rack to build the body using the #each method.
Commits on Jan 16, 2012
  1. net_http.rb: StubSocket needs read_timeout for aws-sdk

    godfat committed Jan 16, 2012
    Sorry that I failed to find out how to reproduce this in a simple
    way without using aws-sdk, ending up with Net::WebMockNetBufferedIO
    instead of StubSocket. aws-sdk is maintaining a connection pool which
    is too complicated and I am tired of digging into it. Time to sleep...
    
    Thanks!
Commits on Jan 10, 2012
  1. Merge pull request #146 from laserlemon/patch-1

    bblimke committed Jan 10, 2012
    Add dependency status to README
Commits on Jan 9, 2012
  1. Merge pull request #147 from rohit/patch-1

    bblimke committed Jan 9, 2012
    gemcutter is now rubygems so no need to specify source
Commits on Jan 8, 2012
Commits on Jan 4, 2012
  1. Upgraded version to 1.7.10

    bblimke committed Jan 4, 2012
  2. Upgrade to version 1.7.9

    bblimke committed Jan 4, 2012
  3. Version 1.7.9 changelog

    bblimke committed Jan 4, 2012
  4. Merge pull request #144 from twobitlabs/master

    bblimke committed Jan 4, 2012
    Fix TeamCity incompatibility
Commits on Jan 3, 2012
  1. Merge pull request #143 from mrsimo/master

    bblimke committed Jan 3, 2012
    Support for native typhoeus timeouts
Commits on Jan 2, 2012
Commits on Dec 18, 2011
Commits on Nov 20, 2011
  1. 1.7.8 release.

    myronmarston committed Nov 20, 2011
Commits on Nov 18, 2011
  1. Add WebMock.globally_stub_request.

    myronmarston committed Nov 18, 2011
    This allows easier integration with WebMock by another library like VCR so it can register a global hook to handle every request.
  2. Ensure stub.with block is only called once per request.

    myronmarston committed Nov 18, 2011
    Previously it was called 2 or even 3 times for one request,
    which made it difficult to put any behavior in the hook
    besides returning true or false as you had to keep track of the request
    to see if the hook was being called again for the same request.
  3. Lock to a curb version that doesn't have double-request problems.

    myronmarston committed Nov 18, 2011
    Curb 0.7.16 causes 16 tests to fail.  Curb 0.7.15 doesn't.  This
    should be fixed at some point, but for now to get the build green
    so I can work on other things, I'm locking to 0.7.15.
    
    See issue #136 for more info.
Commits on Oct 15, 2011
Commits on Sep 30, 2011