Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 12, 2010
  1. 0.4.1 release.

  2. Fixed a bug: Net::HTTPResponse#read_body was raising an error because…

    … VCR "pre-read" the body when recording a new request.
    My fix is to extend the already read response with a module that attempts to preserve the behavior of #read_body when the response has not yet been read.
Commits on Apr 29, 2010
  1. 0.4.0 release.

  2. Use strings instead of symbols for the hash keys for Net::HTTP.post_f…

    On my ruby 1.9.1 CI server, the build is failing with this error: "TypeError: can't dup Symbol".  I can't repro this locally (maybe a different 1.9.1 patch level?), but I think this may fix it.
Commits on Apr 24, 2010
  1. Updated the cucumber VCR configuration so that it uses :fakeweb by de…

    …fault if HTTP_STUBBING_ADAPTER is not set.
  2. Updated gemspec info.

Commits on Apr 22, 2010
  1. Renamed file.

Commits on Apr 19, 2010
  1. Override WebMock::NetConnectNotAllowedError so that it includes a hel…

    …pful message about using VCR.
  2. Bumped the webmock version requirement to 1.1.0 as that is the versio…

    …n number that will be used for the webmock release that supports VCR.
Commits on Apr 18, 2010
  1. Disallow http connections and check the adapter version when the VCR.…

    …config block completes, rather than the first time http_stubbing_adpater is accessed. This ensures that these things are done before the test suite starts running.
  2. Reorganized some code.

  3. Made most of VCR::Cassette's methods private. I had forgotten to make…

    … the methods private before, but most of them don't need to be exposed.
Commits on Apr 17, 2010
  1. Added logic to VCR::Config.http_stubbing_adapter so that it returns t…

    …he appropriate value if just one of fakeweb/webmock are loaded.
  2. Load our net/http extension so it gets used when webmock is used. Whe…

    …n fakeweb is used, our net/http extension has to be loaded after it, so we load it after webmock as well.
  3. Update the default rake task to that it runs the features with the we…

    …bmock adapter in addition to the fakeweb one.
Commits on Apr 16, 2010
  1. Updated the http interaction structs:

    - Renamed RequestSignature to Request since the object represents the actual request.
    - Changed the response headers to use an array for the values, since a response can have multiple values for the same header.
Commits on Apr 15, 2010
Something went wrong with that request. Please try again.