Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 12, 2012
  1. Myron Marston

    Fix Net::HTTP adapter so that it returns `nil` for an empty body resp…

    myronmarston authored
    …onse.
    
    This mirrors the real behavior of Net::HTTP and is the source of myronmarston/vcr#173.
    
    A couple things to note:
    
    - Rather than hitting an external URL (httpstat.us/204), this should probably
      hit the local webmock server; however, I can't figure out how to make the
      webmock server return a different response for different requests since it's
      writing directly to the socket w/o any request context available. Maybe it
      should be refactored to use rack or sinatra?
    - I have no idea why, but Curb is returning a 400 Bad Request response for
      the request. Weird. Not sure why or how to fix it.
Commits on May 21, 2012
  1. Merge pull request #184 from jonleighton/dont_mutate_uri

    authored
    Clone the URI before mutating it.
Commits on May 17, 2012
  1. Jon Leighton

    Clone the URI before mutating it.

    jonleighton authored
    The #build_request_signature method was mutating the URI if there were
    any @req.query options. This means that if the request does actually get
    sent, em-http-request appends the query to the URI a second time, and
    the parameters are repeated.
    
    For example:
    
    EventMachine::HttpRequest.new('http://example.com/').get(:query => { :a => '1' })
    
    would result in the follow URI being used for a live request:
    
    http://example.com/?a=1&a=1
Commits on May 12, 2012
  1. Bump to version 1.8.7

    authored
  2. webmock/rspec checks whether rspec/expectations is already loaded by …

    authored
    …checking if RSpec::Expectations::ExpectationNotMetError is defined. This is required for compatibility with RSpec 2.10.0.
Commits on Apr 28, 2012
  1. Merge pull request #176 from oestrich/master

    authored
    Add missing required rack environment key
  2. Merge pull request #175 from bleything/warnings

    authored
    refix @query_params warning
Commits on Apr 24, 2012
  1. Eric Oestrich
Commits on Apr 23, 2012
  1. Ben Bleything
Commits on Apr 4, 2012
  1. Bump version to 1.8.6

    authored
  2. Merge pull request #172 from oestrich/fix_to_rack_port

    authored
    Pass through SERVER_PORT when stubbing to rack
Commits on Apr 2, 2012
  1. Eric Oestrich

    Pass through SERVER_PORT when stubbing to rack

    oestrich authored
    If the server verifies a signature that includes 
    the port, the webmock stub would otherwise make 
    the request invalid
Commits on Mar 30, 2012
  1. Bump to version 1.8.5

    authored
  2. Bump to version 1.8.5

    authored
  3. Merge pull request #170 from jugyo/patch-1

    authored
    WebMock::RackResponse supports basic auth
  4. jugyo
  5. jugyo
Commits on Mar 19, 2012
  1. Bump to version 1.8.4

    authored
Commits on Mar 17, 2012
  1. Ignore rbx files

    authored
Commits on Mar 16, 2012
Something went wrong with that request. Please try again.