Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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 VCR::Cassette.new is given invalid options. 606e328
@myronmarston Optimized ERB rendering a bit. f2bb986
@myronmarston Updated em-http-request to 0.2.10.
See http://github.com/igrigorik/em-http-request/issues/42 for more info about some of the changes.
a40025f
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.
49bf733
@myronmarston Updated URLs in our cucumber scenarios to be full URLs.
URI.parse('http://example.com') raises an error because it lacks a path.
URI.parse('http://example.com/') does not ('/' is the path).
263c4f8
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.
9a98992
@myronmarston Added RequestMatcher, which we'll use to determine which parts of an …
…HTTP request to match on.
0513480
@myronmarston Added VCR::Request#matcher, which returns a request matcher for the g…
…iven request, using the provided match_attributes.
f31f771
Commits on Aug 16, 2010
@myronmarston Changed the HTTP Stubbing Adapters to support the match_requests_on
option.
251c100
@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.
3333a0d
@myronmarston Do not record Net::HTTP request headers that it defaults late in the …
…http request process.

Closes #10.
d8ae754
@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.
7a1d682
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.
8f15c01
@myronmarston Disable rspec debug for java since ruby-debug doesn't install cleanly…
… on jruby with bundler.
19d48b4
@myronmarston Updated http_stubbing_adapter.request_stubbed? so that it uses a Requ…
…estMatcher.
3d2dce7
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.
391f5c9
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, Set.new([1, 2]).hash != Set.new([2, 1]).hash, but Set.new([1, 2]).hash == Set.new([1, 2]).hash.
1e1422e
@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
81957d2
@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"
5c0d3eb
@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:
- http://github.com/rspec/rspec-core/issues#issue/41/comment/365562
- http://gist.github.com/543381
95890dd
@myronmarston Lock rspec-core to one of my branches that fixes an issue with shared…
… example groups on 1.8.6.
f2185eb
@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