Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 5, 2010
Commits on Jul 1, 2010
  1. Normalize request and response headers so they are always saved with

    authored
    lower case keys and arrays of values.
    
    This is the way Net::HTTP normalizes them, but recording non-Net::HTTP
    requests resulted in cassettes with headers that deviated from this
    norm.
Commits on Jun 27, 2010
  1. Got the specs and features to pass on 1.9.2.

    authored
    Ruby 1.9.1 has some slight YAML serialization differences from 1.8.x.  1.9.2 has the same YAML serialization as 1.8.x, so I've changed the fixtures directories from 1.8.6, 1.8.7 and 1.9.1 to 1.9.1 and not_1.9.1.
Commits on Jun 22, 2010
  1. Fixed ignore_localhost so that localhost requests are not registered …

    authored
    …with the http_stubbing_adapter.
Commits on Jun 21, 2010
  1. Fixed the ignore_localhost option so that localhost requests are neve…

    authored
    …r recorded when it's set to true.
Commits on Jun 19, 2010
Commits on Jun 18, 2010
  1. Fixed some formatting.

    authored
Commits on Jun 12, 2010
  1. Changed the way we allow requests to localhost: rather than having a …

    authored
    …per-cassette :allow_real_http option, use a #ignore_localhost config setting.
    
    There's no way to make the :allow_real_http option work for the other http libraries.  This is a simpler way to get the important functionality.
Commits on Jun 11, 2010
  1. Refactor the vcr steps so they are polymorphic, and can use whichever…

    authored
    … HTTP library is passed as HTTP_LIB.
  2. Move the Net::HTTP-specific scenarios and cucumber steps into separat…

    authored
    …e files, so the main feature/step files can be re-used for multiple http libraries.
Commits on Jun 7, 2010
Commits on May 12, 2010
  1. Fixed a bug: Net::HTTPResponse#read_body was raising an error because…

    authored
    … 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 24, 2010
  1. Updated the cucumber VCR configuration so that it uses :fakeweb by de…

    authored
    …fault if HTTP_STUBBING_ADAPTER is not set.
Commits on Apr 19, 2010
  1. Override WebMock::NetConnectNotAllowedError so that it includes a hel…

    authored
    …pful message about using VCR.
Commits on Apr 17, 2010
Commits on Apr 16, 2010
Commits on Apr 15, 2010
Commits on Apr 11, 2010
  1. Added request body and headers to recorded response. These will come …

    authored
    …in handy for getting VCR to work with webmock.
  2. Updated our Net::HTTP extension so that the response is yielded after…

    authored
    … the response is stored, in case the block has a return statement. Closes GH-1.
Commits on Mar 24, 2010
  1. Updated some of the method names/option keys to fit the VCR metaphor …

    authored
    …better. The first pass of the code was based on "sandboxes" rather than "cassettes" and the terminology reflected that.
    
    Changes:
    
    * VCR.create_cassette! => VCR.insert_cassette
    * VCR.destroy_cassette! => VCR.eject_cassette
    * VCR.with_cassette => VCR.use_cassette
    * VCR::Cassette#destroy! => VCR::Cassette#eject
    * VCR::Cassette#cache_file => VCR::Cassette#file
    * VCR::Config.cache_dir => VCR::Config.cassette_library_dir
    * :unregistered record mode => :new_episodes record mode
Commits on Mar 10, 2010
  1. Added asynchronous request replay scenario. This functionality works …

    authored
    …but I didn't a scenario demonstrating it before.
Commits on Mar 9, 2010
  1. Added #allow_real_http cassette option, that allows real http request…

    authored
    …s for URLs that return true for the given lambda.
Commits on Mar 4, 2010
  1. Got things to work for when a cassette records multiple requests made…

    authored
    … to the same URL with the same HTTP verb, but different responses. We have to register an array of responses with fakeweb.
Something went wrong with that request. Please try again.