Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: myronmarston/vcr
...
head fork: myronmarston/vcr
Commits on Jul 04, 2010
Myron Marston Use the --debugger option rather than starting the debugger manually. 30f5c5d
Commits on Jul 05, 2010
Myron Marston Use bundler to manage gem dependencies. bca4e49
Commits on Jul 06, 2010
Myron Marston Silence WEBrick logging. 5c29c88
Myron Marston Disable the --debugger option for jruby since ruby-debug can't be ins…
…talled on jruby.
688adc5
Myron Marston The current version of rack (1.2.1) does not work on ruby 1.8.6, so l…
…ock the dependency to 1.2.0.
ded657b
Myron Marston Ensure the response body is serialized as a raw string, without any e…
…xtensions on the string instance.

This is needed for rest-client.  Closes #4.
db348c3
Myron Marston Add conditional check so we don't get an exception for a nil body. 1678b3f
Myron Marston Removed check_dependencies rake task. It's no longer necessary with b…
…undler.
a01d539
Myron Marston 1.0.2 release. e13d215
Commits on Jul 22, 2010
Myron Marston Use the platform feature of bundler rather than conditional checks.
Commit the Gemfile.lock file to lock us to this set of gems.
8ea7293
Myron Marston Lock cucumber to 0.8.5 or greater. Added rake as a development depend…
…ency since I use it for development.
d198b33
Myron Marston Added a be_tagged_with matcher since cucumber no longer provides the …
…#tagged_with? method.
dd49c9d
Myron Marston Lock to em-http-request 0.2.7.
The newest release (0.2.10) doesn't work with webmock--see http://github.com/bblimke/webmock/issues/issue/29 for more info.
afaf807
Commits on Jul 27, 2010
Myron Marston Upgrade to rspec-2. f05cc59
Commits on Aug 01, 2010
Myron Marston Added spec focused filtering. 817c2b9
Myron Marston Use cucumber Around hook rather than Before/After hooks, as it simpli…
…fies the code significantly.
325a275
Myron Marston Simplify passing the block to VCR.use_cassette -- use &block rather t…
…han { block.call }.
aa00162
Commits on Aug 04, 2010
Myron Marston Require WebMock 1.3.3 or greater.
Previous versions did not handle multiple values for the same response header correctly.  Note that FakeWeb has this issue, too, and I've submitted a patch to fix it.

This closes issue #7.
2884c18
Commits on Aug 06, 2010
Myron Marston Added link to the new google group. f68da93
Myron Marston Updated README section about WebMock and FakeWeb. 3e69767
Myron Marston Updated VCR usage suggestions. dd5c563
Myron Marston Added note about other similar libraries to the README. f410fda
Myron Marston Updated README to mention RSpec 2 usage. 5aa47b2
Myron Marston 1.0.3 release. ce13279
Commits on Aug 07, 2010
Myron Marston Updated Gemfile.lock. 3bcafd9
Myron Marston Removed task runner as it's no longer needed. 0289298
Myron Marston Raise an error if VCR::Cassette.new is given invalid options. 606e328
Myron Marston Optimized ERB rendering a bit. f2bb986
Myron Marston 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
Myron Marston 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
Myron Marston 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
Myron Marston Ignore .bundle dir. 043a05b
Commits on Aug 11, 2010
Myron Marston Simplify Net::HTTP extension a bit. 788590f
Commits on Aug 12, 2010
Myron Marston Enable debugger in specs. 3ced987
Myron Marston Added some failing scenarios for the new :match_requests_on feature I…
…'m working on.
9a98992
Myron Marston Added RequestMatcher, which we'll use to determine which parts of an …
…HTTP request to match on.
0513480
Myron Marston 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
Myron Marston Changed the HTTP Stubbing Adapters to support the match_requests_on
option.
251c100
Myron Marston Documentation updates for new :match_requests_on option. 3def0be
Commits on Aug 17, 2010
Myron Marston Minor documentation tweaks. b1c62bc
Bartosz Blimke bblimke Added failing spec to show a problem with recording request headers b…
…efore the real request is made.
3333a0d
Myron Marston Do not record Net::HTTP request headers that it defaults late in the …
…http request process.

Closes #10.
d8ae754
Myron Marston Simplified implementation of RequestMatcher#hash. b470034
Myron Marston Fixed RequestMatcher to handle regex URIs. 2a66bb0
Commits on Aug 18, 2010
Myron Marston 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
Myron Marston 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
Myron Marston Disable rspec debug for java since ruby-debug doesn't install cleanly…
… on jruby with bundler.
19d48b4
Myron Marston Updated http_stubbing_adapter.request_stubbed? so that it uses a Requ…
…estMatcher.
3d2dce7
Commits on Aug 20, 2010
Myron Marston Refactored some tests. 0f304c1
Myron Marston Fixed some host specs to include a path. bb479ce
Commits on Aug 21, 2010
Myron Marston Add support for matching requests on :path. 0f9165e
Myron Marston 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
Myron Marston Fix specs so they pass on 1.8.6. 69d060f
Myron Marston 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
Myron Marston 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
Myron Marston 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
Myron Marston Make it easy to temporarily use documentation format for the specs. 4ed657f
Myron Marston 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
Myron Marston Lock rspec-core to one of my branches that fixes an issue with shared…
… example groups on 1.8.6.
f2185eb
Myron Marston Require spec_helper's full expanded path so it's not loaded twice. 9fbae9f
Myron Marston Fixed Gemfile so rbx can use it. rcov doesn't work on rbx. 1c49c08
Myron Marston Readme updates. c948f88
Myron Marston 1.1.0 release. 4a465ca