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 May 30, 2011
@myronmarston fix typo d37b7f8
Commits on Jun 03, 2011
@myronmarston Allow relish docs to be re-pushed when I run "rake relish". 4db3d6e
Commits on Jun 14, 2011
@myronmarston Update Faraday to latest. 0308929
@myronmarston Github has changed their url for raw gists. 53023c2
Commits on Jun 20, 2011
@bradleyprice bradleyprice option to turn off cassettes is :ignore_cassettes. error message help…
… said it was :ignore_cassette, singular. This makes it nicer when you run into this problem :)
@myronmarston Just run against 1.8.7 and 1.9.2 for now as I seem to regularly get b…
…acked up on travis.
Commits on Jun 21, 2011
@myronmarston Merge pull request #72 from bradleyisotope/patch-1
option to turn off cassettes is :ignore_cassettes.  error message help sa
@myronmarston Update changelog. b604625
Commits on Jul 05, 2011
@myronmarston Fix excon adapter to handle query specified as a hash.
Closes #73.
Commits on Jul 15, 2011
@myronmarston Upgrade excon to latest. 113487e
@geemus geemus [excon] stubbed_response should return hash instead of struct 2b7ed5f
@myronmarston Update changelog. 2659fd5
Commits on Jul 16, 2011
@myronmarston Add spec for excon's streaming API. 00f50c2
@myronmarston Fix excon adapter so that it records a response even when excon raise…
…s an error due to an unexpected response.

Closes #77.
@myronmarston Update excon version requirement to 0.6.5. 042a1b5
Commits on Jul 17, 2011
@myronmarston 1.10.1 release. 7573d96
@myronmarston 1.10.2 release.
Botched 1.10.1 by building gem on 1.9.2 with psych :(.
Commits on Jul 22, 2011
@myronmarston Add recent contributors to readme. d78791e
@myronmarston Handle case where body is nil.
Closes #79.
@myronmarston 1.10.3 release. d62fe13
Commits on Aug 16, 2011
@myronmarston Use latest webmock (1.7.0). 407b74e
@myronmarston WebMock::Net::HTTPResponse has been renamed to Net::WebMockHTTPResponse. 1eafe63
@myronmarston Refactor monkey patch management so that they are turned off by defau…
…lt and only enabled for individual specs.
@myronmarston Fix typhoeus adapter to work with latest WebMock.
WebMock now directly supports Typhoeus; we need to disable it so there aren't conflicts.
@myronmarston Bump up the webmock minimum version. df067af
@myronmarston Remove scenario that doesn't provide much value.
Also, it was failing with the latest webmock since webmock loads typhoeus now.
@myronmarston Remove cukes from travis build.
They are very slow and may have been the source of previous travis issues.
@myronmarston Disable a spec from running on CI--it gets a stack level too deep err…
…or. I don't get it locally though--must be some weird psych issue.
Commits on Aug 18, 2011
@myronmarston Build against some other MRI rubies. 8320c22
@myronmarston Don't install a bunch of extra unnecessary gems on travis. d21b758
@myronmarston Remove extra server logging from travis CI output. 5ff5728
@myronmarston Disable RSpec debug flag for CI. 5bb86dd
@myronmarston Update travis build matrix.
- The version of cucumber I'm locked to doesn't install on 1.9.3.
- Let's try building against rbx and jruby, too.
@myronmarston Typhoeus is not available on JRuby. 0cf5a1e
@myronmarston Rubinius is getting crazy crashes on travis, so skip it for now. 698ad7d
@myronmarston Rename method so it matches what it actually does. 2349cbc
@myronmarston Extract common adapter logic. 9eacb74
@myronmarston WebMock 1.7.4 is out. abb8be9
@myronmarston Lock linecache to the latest version that works on 1.8.6 (since we st…
…ill support 1.8.6).
Commits on Aug 19, 2011
@myronmarston 1.11.0 release. 966d8ba
@myronmarston Prevent releases on 1.9 as that leads to weird psych/syck errors in t…
…he gemspec.
@myronmarston 1.11.1 release. 5393e26
Commits on Aug 20, 2011
@myronmarston Skip httpclient cucumber scenarios on JRuby.
They are causing the cukes to freeze and provide little benefit on JRuby..
@myronmarston Use bundler_args rather than a conditional to exclude "extras" group …
…gems from installing on travis-ci.
@myronmarston Run the cukes on 1.9.2 on travis. f6c2ffc
@myronmarston The cukes ran fine on travis for 1.9.2! Let's build them on 1.8.7 as …
Commits on Aug 21, 2011
@myronmarston Fix localhost server to work with rubinius.
For some reason, the object_id of the rack app is different in different threads on rubinius, but not on other rubies.
@myronmarston Try building rubinius on travis now that I got it working locally. ecc9d40
Commits on Aug 22, 2011
@myronmarston Update to latest cucumber and aruba. 659ab15
@myronmarston Remove unneeded aruba patches. b552b07
@myronmarston Use latest aruba steps. 465d77c
@myronmarston Increase aruba timeout from default of 3 seconds to 10.
cucumber.feature takes longer than 3 seconds.
@myronmarston Fix changelog wording. 662ed74
@myronmarston Use fuubar formatter to get better test output. 6c7188d
@myronmarston It's httpclient, not http_client. 81d2246
@myronmarston The cukes take longer on JRuby, so make the timeout longer. 0713279
@myronmarston Excon is having issues on JRuby cukes, so disable it for now. b8f44f4
@myronmarston Update travis rubies.
- rbx is getting crazy fatal crash errors, so remove it.
- Let's try 1.9.3 now that we're on a version of cucumber that can be installed on 1.9.3.
Commits on Aug 25, 2011
@myronmarston Upgrade rake dependency. This should hopefully allow VCR to build on …
…1.9.3 on travis.
@myronmarston Use progress formatter for cucumber on travis. 0ac66bf
@myronmarston ruby-debug doesn't appear to be installable on 1.9.3 yet. 9797f93
@myronmarston BasicObject's instance methods include #__id__ on 1.9.3. 63ee509
Commits on Aug 26, 2011
@myronmarston Fix cukes failing on 1.9.3.
On 1.9.3, we were getting an error: "file not found: --with-server (ArgumentError)".  Apparently the test/unit option parser has changed and doesn't support an arbitrary option like "-- --with-server".
@myronmarston Build the 1.9.3 cukes on travis now that they pass. 939ba82
@myronmarston My last commit broke the test/unit and shoulda cukes on 1.8 :(.
This should (hopefully) work on 1.8 and 1.9.
@myronmarston Exclude cucumber from installing on 1.8.6 as it causes a buffer overf…
…low on travis during installation.
@myronmarston Enable ruby warnings when the specs are run with WARNINGS=true. 1dcba45
@myronmarston Use "should eq(...)" instead of "should ==" to avoid ruby warning. 8fc0f6e
@myronmarston Fix warning: "`*' interpreted as argument prefix". af5086e
@myronmarston Fix warning: "loading in progress, circular require considered harmful". bae5941
@myronmarston Fix "instance variable not initialized" warnings. 0fe1d97
@myronmarston Fix warning: "`&' interpreted as argument prefix". a450306
@myronmarston Fix uninitialized variable warning. 3ebaa96
@myronmarston Fix mis-matched indentation warning. 735500c
@myronmarston Fix method redefinition warning. db9212e
Commits on Aug 27, 2011
@myronmarston I have no idea why, but `should eq(regex)` is causing a seg fault on …
…1.8.6 but this way doesn't.
@myronmarston Fix uninitialized ivar warning. 7e2ef02
@myronmarston Setup warnings as part of the build.
- Always run specs with warnigs enabled.
- Fail the build if there are warnings from VCR's code.
- Capture the warnings and print it on exit so the output is cleaner.
@myronmarston Silence method redefinition warnings. 7eedbc8
@myronmarston Fix uninitialized ivar warnings. edc2b5f
@myronmarston Enable warnings on travis, too. d8a5b21
Commits on Aug 28, 2011
@myronmarston Close our temporary file. 29e99aa
Commits on Aug 29, 2011
@myronmarston Update patron and curb dependencies. 1a5a770
@myronmarston Fix uninitialized ivar warning. ef6007c
@myronmarston Fix "unused variable" warnings on 1.9.3. bc012fd
@myronmarston Filter out warnings that JRuby wrongly reports as coming from VCR tha…
…t are actually coming from excon.
@myronmarston 1.11.2 release. 76c8d2b
Commits on Sep 01, 2011
@myronmarston Ensure that VCR::HTTPInteraction does not serialize `@ignored` since …
…it's transient state.
@myronmarston Convert pseudo-regexps to real regexps. 8545f21
@myronmarston 1.11.3 release. 0544db9
Commits on Sep 04, 2011
@myronmarston Fix capture warnings hook.
It was preventing RSpec from failing the build when a spec failed by overriding the at_exit hook.
@myronmarston Build with --trace so we get a full backtrace. a2c36c3
Commits on Sep 05, 2011
@myronmarston Rubygems must be required before rspec on 1.8. 68e89ca
Commits on Sep 08, 2011
@myronmarston Latest relish and cucumber. 751bf4f
@myronmarston Tag multi-line strings with "ruby" so we get syntax highlighting on r…
@myronmarston Add note about :once as default record mode. 522ef5e
@myronmarston Use syntax-highlighted markdown code syntax. 43fea87
@myronmarston Use default record mode of :once rather than specifying it in a bunch…
… of places where it's not an important detail.
Commits on Sep 10, 2011
@myronmarston Bump version to 2.0.0.pre.
I'm going to start working on some new 2.0 features in the VCR master branch :).
@myronmarston Don't build VCR 2.0 on 1.8.6.
I'm dropping support for 1.8.6 and it fails intermittently on travis anyway.
Commits on Sep 11, 2011
@myronmarston Don't bother testing against 1.9.1 anymore.
I don't plan to have VCR 2.0 support 1.9.1 and this allows us to cleanup a lot of special case code for 1.9.1.
@myronmarston Some additional cleanup to remove 1.8.6/1.9.1 support. c812e28
@myronmarston Update changelog. 145918e
@myronmarston Remove lots of old deprecations. 004dfa9
@myronmarston Don't run cukes on jRuby on travis since it takes so long. 19c93af
@myronmarston Prefer a true closure to eval'ing a string.
We had to eval a string to support 1.8.6 since 1.8.6 cannot have a `&block` block parameter.
@myronmarston Remove task that is no longer needed. 6c55cff
@myronmarston Change VCR::Hooks so it can be used in a class.
The old version just worked in a singleton module (i.e. a module that is extended on itself).
Commits on Sep 12, 2011
@myronmarston Deprecate `VCR::Config` in favor of `VCR.configuration` and `VCR.conf…
…ig` in favor of `VCR.configure`.

- "config" is ambiguous--is it short for "configure" (the verb) or "configuration" (the noun)?
- I like this new way since it's more inline with other ruby libraries like RSpec.
- The old singleton module made isolated tests hard as there was a lot of global state to cleanup between tests.  Now there is just one piece of state: the VCR::Configuration instance held by VCR.configuration.  This makes it far easier to keep my tests isolated.
Commits on Sep 13, 2011
@myronmarston Refactor webmock adapter to use the block interface. dc69915
@myronmarston Make the regex scenarios pending since the webmock refactoring doesn'…
…t easily work with it.

I'll need to refactor the request matchers before the regex feature will work again.
Commits on Sep 14, 2011
@myronmarston Move FakeWeb/Net::HTTP specific logic into the FakeWeb adapter. b658d78
Commits on Sep 17, 2011
@myronmarston Refactor FakeWeb adapter.
This allows FakeWeb to match requests on body and headers.
@myronmarston Refactor/simplify how connection errors are raised. bd4c2bf
@myronmarston Refactor the Typhoeus adapter. fb7c903
@myronmarston Cleanup how we reset the stubbing adapters for the specs. e38a150
Commits on Sep 18, 2011
@myronmarston Add test coverage of WebMock and Typhoeus being used together.
This already worked but it's nice to get the test coverage so we know it will continue to work.
@myronmarston Set some ENV vars to speed up jRuby cukes and enable cukes on jRuby o…
…n travis.
@myronmarston Try to use nailgun for jRuby build to speed things up. e9b65a1