Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: myronmarston/vcr
head fork: myronmarston/vcr
Commits on Aug 07, 2010
@myronmarston Updated Gemfile.lock. 3bcafd9
@myronmarston Removed task runner as it's no longer needed. 0289298
@myronmarston Raise an error if is given invalid options. 606e328
@myronmarston Optimized ERB rendering a bit. f2bb986
@myronmarston Updated em-http-request to 0.2.10.
See for more info about some of the changes.
Commits on Aug 09, 2010
@myronmarston Extracted the http calls from the specs for each http library into mo…
…dules that we can use in our cucumber features to keep things DRY.
@myronmarston Updated URLs in our cucumber scenarios to be full URLs.
URI.parse('') raises an error because it lacks a path.
URI.parse('') does not ('/' is the path).
Commits on Aug 10, 2010
@myronmarston Ignore .bundle dir. 043a05b
Commits on Aug 11, 2010
@myronmarston Simplify Net::HTTP extension a bit. 788590f
Commits on Aug 12, 2010
@myronmarston Enable debugger in specs. 3ced987
@myronmarston Added some failing scenarios for the new :match_requests_on feature I…
…'m working on.
@myronmarston Added RequestMatcher, which we'll use to determine which parts of an …
…HTTP request to match on.
@myronmarston Added VCR::Request#matcher, which returns a request matcher for the g…
…iven request, using the provided match_attributes.
Commits on Aug 16, 2010
@myronmarston Changed the HTTP Stubbing Adapters to support the match_requests_on
@myronmarston Documentation updates for new :match_requests_on option. 3def0be
Commits on Aug 17, 2010
@myronmarston Minor documentation tweaks. b1c62bc
@bblimke bblimke Added failing spec to show a problem with recording request headers b…
…efore the real request is made.
@myronmarston Do not record Net::HTTP request headers that it defaults late in the …
…http request process.

Closes #10.
@myronmarston Simplified implementation of RequestMatcher#hash. b470034
@myronmarston Fixed RequestMatcher to handle regex URIs. 2a66bb0
Commits on Aug 18, 2010
@myronmarston Updated README to recommend putting the vcr cassette library director…
…y outside of test/fixtures for a Rails 3 app.

This closes #9.
Commits on Aug 19, 2010
@myronmarston Updated Gemfile to use rspec-core off of github since I'm using some …
…features that haven't been released in a gem yet.
@myronmarston Disable rspec debug for java since ruby-debug doesn't install cleanly…
… on jruby with bundler.
@myronmarston Updated http_stubbing_adapter.request_stubbed? so that it uses a Requ…
Commits on Aug 20, 2010
@myronmarston Refactored some tests. 0f304c1
@myronmarston Fixed some host specs to include a path. bb479ce
Commits on Aug 21, 2010
@myronmarston Add support for matching requests on :path. 0f9165e
@myronmarston Use the latest rspec-expectations from github since it includes a 1.8…
….6 compatibility fix that hasn't been released yet.
Commits on Aug 22, 2010
@myronmarston Fix specs so they pass on 1.8.6. 69d060f
@myronmarston 1.9.2 compatibility fix: sort attributes before putting them in a Set.
On 1.9.2,[1, 2]).hash !=[2, 1]).hash, but[1, 2]).hash ==[1, 2]).hash.
@myronmarston 1.9.2 compatibility fix: don't try to use ruby-debug on 1.9.2.
On 1.9.2, I'm getting errors like these:

dyld: lazy symbol binding failed: Symbol not found: _rb_method_node
  Referenced from: /Users/mmarston/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19-0.11.23/lib/ruby_debug.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_method_node
  Referenced from: /Users/mmarston/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19-0.11.23/lib/ruby_debug.bundle
  Expected in: flat namespace
@myronmarston 1.9.2 compatibility fix: in an override, use an alias to refer to the…
… original method rather than super.

This works around an error I'm getting on 1.9.2:

"super from singleton method that is defined to multiple classes is not supported; this will be fixed in 1.9.3 or later"
@myronmarston Make it easy to temporarily use documentation format for the specs. 4ed657f
@myronmarston 1.9.1 compatibility fix: moved a constant to the global namespace to …
…avoid an rspec bug that manifests on 1.9.1.

See these links for more info:
@myronmarston Lock rspec-core to one of my branches that fixes an issue with shared…
… example groups on 1.8.6.
@myronmarston Require spec_helper's full expanded path so it's not loaded twice. 9fbae9f
@myronmarston Fixed Gemfile so rbx can use it. rcov doesn't work on rbx. 1c49c08
@myronmarston Readme updates. c948f88
@myronmarston 1.1.0 release. 4a465ca