Skip to content


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
    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 (, 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

    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:'').get(:query => { :a => '1' })
    would result in the follow URI being used for a live request:
Commits on May 12, 2012
  1. Bump to version 1.8.7

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

    …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

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

    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

  2. Merge pull request #172 from oestrich/fix_to_rack_port

    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

  2. Bump to version 1.8.5

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

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

Commits on Mar 17, 2012
  1. Ignore rbx files

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