Skip to content


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
This comparison is big! We're only showing the most recent 250 commits
Commits on Mar 25, 2010
Myron Marston Fixed deprecation warning message to use the correct method name. ea72321
Myron Marston 0.3.0 release. d4767bf
Commits on Apr 11, 2010
Myron Marston Updated our Net::HTTP extension so that the response is yielded after…
… the response is stored, in case the block has a return statement. Closes GH-1.
Myron Marston 0.3.1 release. 323d72d
Myron Marston Added request body and headers to recorded response. These will come …
…in handy for getting VCR to work with webmock.
Myron Marston Extracted the interactions with FakeWeb into an adapter so we can imp…
…lement the same adapter interface for other http stubbing libraries like WebMock.
Myron Marston Pulled the fakeweb logic that constructs the request_uri out of the n…
…et http extension and put it in the fakeweb extension.
Myron Marston Use the fakeweb http_stubbing_adapter rather than using fakeweb direc…
Myron Marston Updated features rake task to run the features against multiple http_…
Myron Marston Instead of unstubbing the previously stubbed requests, use a checkpoi…
…nt system, so that the http_stubbing registry is returned to exactly the same state.
Myron Marston Removed unneeded fakeweb extensions. 8fe911f
Commits on Apr 15, 2010
Myron Marston Changed the format of the cassettes. Use a VCR structured object rath…
…er than a Net::HTTP response as that is tied directly to net/http and I hope to get this to work with other http libraries eventually.
Myron Marston Added rake task to migrate old VCR cassettes to the new format, to ma…
…ke it easy for VCR users to upgrade.
Myron Marston Migrated all of the vcr cassette fixtures using the rake task. 59acae8
Myron Marston Added back request bodies since I had lost them in the migration. 11bbf3b
Myron Marston Updated the code to work with the new structs and terminology. a835bb5
Myron Marston Implemented the WebMock http stubbing adapter. 208310e
Commits on Apr 16, 2010
Myron Marston Updated the http interaction structs:
- Renamed RequestSignature to Request since the object represents the actual request.
- Changed the response headers to use an array for the values, since a response can have multiple values for the same header.
Myron Marston Updated our cassette fixtures to the latest format. 9a01697
Commits on Apr 17, 2010
Myron Marston Use VCR.http_stubbing_adapter rather than VCR::Config.http_stubbing_a…
Myron Marston Allow the webmock adapter to be used. 011586c
Myron Marston Update the default rake task to that it runs the features with the we…
…bmock adapter in addition to the fakeweb one.
Myron Marston Temporarily disable a spec that won't pass until some changes are mad…
…e to webmock.
Myron Marston Load our net/http extension so it gets used when webmock is used. Whe…
…n fakeweb is used, our net/http extension has to be loaded after it, so we load it after webmock as well.
Myron Marston Simplified our net http extension. 57dec56
Myron Marston Added logic to VCR::Config.http_stubbing_adapter so that it returns t…
…he appropriate value if just one of fakeweb/webmock are loaded.
Myron Marston Raise a helpful error message when people try to use VCR with depreca…
…ted cassettes.
Commits on Apr 18, 2010
Myron Marston Made most of VCR::Cassette's methods private. I had forgotten to make…
… the methods private before, but most of them don't need to be exposed.
Myron Marston Reorganized some code. d17615b
Myron Marston Disallow http connections by default. 5d89dff
Myron Marston Updated exception message to be more helpful. 0242578
Myron Marston Check that the versions of FakeWeb and WebMock are supported. 80ad7b3
Myron Marston Disallow http connections and check the adapter version when the VCR.…
…config block completes, rather than the first time http_stubbing_adpater is accessed. This ensures that these things are done before the test suite starts running.
Commits on Apr 19, 2010
Myron Marston Bumped the webmock version requirement to 1.1.0 as that is the versio…
…n number that will be used for the webmock release that supports VCR.
Myron Marston Override WebMock::NetConnectNotAllowedError so that it includes a hel…
…pful message about using VCR.
Commits on Apr 22, 2010
Myron Marston Added a benchmark to test the performance characterstics of fakeweb v…
…s webmock.
Myron Marston Renamed file. 8d41610
Myron Marston Fixed the vcr task so it actually, you fffd3aa
Myron Marston Change History file to markdown format and renamed it to changelog. 3e442f3
Commits on Apr 24, 2010
Myron Marston Renamed VCR::Cassette#http_stubbing_adapter to http_stubbing_library. 632db1f
Myron Marston Changed the readme to markdown format, and re-wrote most of it. cff2b84
Myron Marston Updated CHANGELOG with the info about what is coming in the next rele…
Myron Marston Updated gemspec info. ee245f3
Myron Marston Updated the cucumber VCR configuration so that it uses :fakeweb by de…
…fault if HTTP_STUBBING_ADAPTER is not set.
Commits on Apr 29, 2010
Myron Marston Use strings instead of symbols for the hash keys for Net::HTTP.post_f…

On my ruby 1.9.1 CI server, the build is failing with this error: "TypeError: can't dup Symbol".  I can't repro this locally (maybe a different 1.9.1 patch level?), but I think this may fix it.
Myron Marston 0.4.0 release. 7663252
Commits on May 12, 2010
Myron Marston Fixed a bug: Net::HTTPResponse#read_body was raising an error because…
… 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.
Myron Marston 0.4.1 release. dfceeb1
Commits on Jun 07, 2010
Myron Marston Removed dependency on jeweler. Manage the gemspec by hand instead. Ex…
…posed the version:

- VCR.version 		=> string (in the format "major.minor.patch")
- => array of integers
- VCR.version.major => integer
- VCR.version.minor => integer
- VCR.version.patch => integer
Myron Marston Use the version in the URL to the README. 6a82f5c
Myron Marston Added cucumber scenario that demonstrates the use of a regex for a UR…
…I in a cassette.
Myron Marston Updated README with info about putting regexes in cassettes. df1e230
Commits on Jun 11, 2010
Myron Marston Remove the Net::ReadAdapter extension. We don't need it now that we r…
…ecord the response before calling the block passed to Net::HTTP#request. Our Net::HTTPResponse extension takes care of making the response act as if it's never been read and works with asynchronous requests properly.
Myron Marston Refactored the http_stubbing_adapter shared spec so that it can be re…
…-used for the different http libraries that webmock supports.
Myron Marston Move the Net::HTTP-specific scenarios and cucumber steps into separat…
…e files, so the main feature/step files can be re-used for multiple http libraries.
Myron Marston Refactor the vcr steps so they are polymorphic, and can use whichever…
… HTTP library is passed as HTTP_LIB.
Commits on Jun 12, 2010
Myron Marston Moved code out of fakeweb extension and into fakeweb http_stubbing_ad…
Myron Marston Changed the way we allow requests to localhost: rather than having a …
…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 15, 2010
Myron Marston Fixed warning: "already initialized constant NET_CONNECT_NOT_ALLOWED_…
Myron Marston Work around a bug in WebMock. 1bb664d
Myron Marston Ensure #request_stubbed? works, regardless of if the uri is a string …
…or URI.
Myron Marston Refactored our Net::HTTP recording, and corresponding specs, to make …
…it easier to setup the recording of WebMock's other http libraries, and have them share the same specs.
Myron Marston Remove old deprecations. The next release will be VCR 1.0.0, indicati…
…ng breaking changes.
Commits on Jun 16, 2010
Myron Marston Removed webmock work around that is no longer necessary. 969ac53
Myron Marston Disable FakeWeb::VERSION constant reassignment warnings. 9f08b7a
Myron Marston Hooked up recording of other http libraries, using WebMock.after_requ…
…est callback.
Commits on Jun 17, 2010
Myron Marston Some slight refactoring of our extensions.
WebMock has the same Net::HTTPResponse extension module I have, and to prevent instance variable name collisions, I renamed the instance variable I use.
Myron Marston Updated the fakeweb vs webmock benchmarks using the latest webmock. 2c33d93
Commits on Jun 18, 2010
Myron Marston Added cucumber scenarios to test using HTTPClient asynchronously. 86bc458
Myron Marston Fixed some formatting. fb57340
Myron Marston Generalized a cucumber step so I can easily pass different options to…
… a cassette.
Commits on Jun 19, 2010
Myron Marston Added :erb option that enables dynamic erb cassettes. 2b794ef
Myron Marston Configured rcov rake task. 8f2d6e4
Myron Marston Removed some unused code. bf32f17
Myron Marston Honor default :erb option. e31104e
Myron Marston Raise a more helpful error message when the ERB in a cassette referen…
…ces an undefined variable.
Commits on Jun 21, 2010
Myron Marston Clarified spec name. d102afd
Myron Marston Ensure VCR.http_stubbing_adapter returns the adapter being tested.
I guess this was happening by luck previously (allowing the specs to pass on my box) but the changed order of the specs on the CI server caused it to be a different adapter, causing some failing specs.
Myron Marston Added necessary before/after blocks to prevent WebMock from extending…
… the response with WebMock's version of the same response extension.
Myron Marston Fixed the ignore_localhost option so that localhost requests are neve…
…r recorded when it's set to true.
Commits on Jun 22, 2010
Myron Marston Kill the localserver processes when the test process exits. cac7d2e
Myron Marston Refactored rakefile so that we have features:fakeweb and features:web…
…mock rake tasks.
Myron Marston Our specs that depend on the spawning of a localhost webserver in a s…
…eparate process do not pass on heroku due to their restrictions, so I've disabled them here when the specs are run on heroku.
Myron Marston Fixed the heroku pending module so it passes the pending message to t…
…he pending method.
Myron Marston Disable cucumber scenarios that can't pass on heroku due to heroku's …
Myron Marston Don't set message expectations on nil. 333c394
Myron Marston Add capybara as an explicit development dependency since we use Capyb…
…ara::Server to start a localhost server in some tests.
Myron Marston Ignore error that occurs occassionally when the child process exits i…
…mmediately before #wait is called.
Myron Marston Fixed ignore_localhost so that localhost requests are not registered …
…with the http_stubbing_adapter.
Myron Marston Added spec and feature coverage for em-http-request support. ef1447c
Myron Marston Require webmock 1.3.0. a664c18
Myron Marston Added check_dependencies rake task that is a prerequesite for the spe…
…cs and features.
Myron Marston Relax the cucumber version requirement a bit. 9b7c7c8
Myron Marston Updated benchmarks with latest results. ef8519a
Myron Marston Use #ignore_localhost? rather than #ignore_localhost, since it's more…
… idiomatic ruby.
Myron Marston Gracefully used requirement? or version_requirements? based on which …
…is available. It appears that requirement? isn't available in rubygems 1.3.5.
Myron Marston 1.0.0 release. a5ac5bf
Commits on Jun 26, 2010
Myron Marston Got specs and features to pass on jruby. 50965aa
Myron Marston Improve the speed of some specs: rather than repeating the same HTTP …
…request for each spec, make the HTTP request once, and then clone the response for each spec.
Commits on Jun 27, 2010
Myron Marston The code that stops the localhost server process isn't working on 1.9.2.
Hopefully I can fix it at some point, but for now I'm disabling it and the code that depends on it for 1.9.2.
Myron Marston Got the specs and features to pass on 1.9.2.
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.
Myron Marston Add 1.9.2-preview3 to the list of tested ruby versions. 7bb861c
Myron Marston Fixed localhost server so that it properly shuts down with rack 1.2.1.
I had disabled this for 1.9.2 because I thought it was an issue with that version of ruby, but it was actually an issue with having rack 1.2.1 installed for 1.9.2.  Now I've re-enabled it for 1.9.2.
Myron Marston Ignore rubinius .rbc files. 8e98eac
Commits on Jun 28, 2010
Myron Marston Fixed readme--the :erb setting should be "true" rather than ":true" (…
…a symbol).
Commits on Jun 30, 2010
Myron Marston Added tags to .gitignore. 643c3ce
Commits on Jul 01, 2010
Myron Marston Fixed requires so that each spec file can be run individually. 5243544
Myron Marston Normalize request and response headers so they are always saved with
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
Myron Marston Fixed VCR.use_cassette so that it only ejects the cassette if it was …
…successfully inserted.
Myron Marston Added spec for basic auth for #request_uri on the http stubbing
Eric Allam ericallam Fixed an undefined constant FakeWeb::Utility error 0638040
Myron Marston Fixed spec description. 5226f81
Myron Marston Reorganized specs so that they are grouped more logically. 4b8f6dc
Commits on Jul 02, 2010
Myron Marston Updated README. e9c7e31
Myron Marston 1.0.1 release. ade8181
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.
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.
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.
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…
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.
Myron Marston Lock cucumber to 0.8.5 or greater. Added rake as a development depend…
…ency since I use it for development.
Myron Marston Added a be_tagged_with matcher since cucumber no longer provides the …
…#tagged_with? method.
Myron Marston Lock to em-http-request 0.2.7.
The newest release (0.2.10) doesn't work with webmock--see for more info.
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.
Myron Marston Simplify passing the block to VCR.use_cassette -- use &block rather t…
…han { }.
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.
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 is given invalid options. 606e328
Myron Marston Optimized ERB rendering a bit. f2bb986
Myron Marston Updated em-http-request to 0.2.10.
See for more info about some of the changes.
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.
Myron Marston 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
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.
Myron Marston Added RequestMatcher, which we'll use to determine which parts of an …
…HTTP request to match on.
Myron Marston Added VCR::Request#matcher, which returns a request matcher for the g…
…iven request, using the provided match_attributes.
Commits on Aug 16, 2010
Myron Marston Changed the HTTP Stubbing Adapters to support the match_requests_on
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.
Myron Marston Do not record Net::HTTP request headers that it defaults late in the …
…http request process.

Closes #10.
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.
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.
Myron Marston Disable rspec debug for java since ruby-debug doesn't install cleanly…
… on jruby with bundler.
Myron Marston Updated http_stubbing_adapter.request_stubbed? so that it uses a Requ…
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.
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,[1, 2]).hash !=[2, 1]).hash, but[1, 2]).hash ==[1, 2]).hash.
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
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"
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:
Myron Marston Lock rspec-core to one of my branches that fixes an issue with shared…
… example groups on 1.8.6.
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
Commits on Aug 23, 2010
Myron Marston Removed default value of argument--there's no need for it. 8a3d22f
Myron Marston Optimized #stub_requests a bit.
Appending to an array with `<< value` is faster than with `+= [value]`, as it doesn't create a new array object for each append.

A benchmark shows there is about a 10x performance difference:
Myron Marston Upgrade to FakeWeb 1.3.0. f9e0dab
Myron Marston The latest FakeWeb passes this spec (was pending before). ed4a662
Myron Marston Use FakeWeb::Utility.request_uri_as_string rather than our own logic …
…to create the request uri.
Commits on Aug 24, 2010
Myron Marston Use a localhost regex with FakeWeb.allow_net_connect for the ignore_l…
…ocalhost feature.

This is simpler than changing allow_net_connect from false to true and back again in our Net::HTTP extension for a localhost request.
Myron Marston Require FakeWeb 1.3.0 or greater. a2a9f54
Commits on Aug 26, 2010
Myron Marston Change http stubbing adapters to be modules rather than classes.
They should never be instantiated and don't really hold state.  A module is more appropriate here.
Myron Marston Refactored and updated #check_version! on FakeWeb/WebMock adapters so…
… that a warning is printed for a version with a greater major or minor version number.

This simulates the ~> gem comparison operator, and is inspired by wycats' recent blog post:
Myron Marston Updated Gemfile/gemspec/Rakefile, etc to use latest best practices ba…
…sed on the gem skeleton that bundler generates.
Myron Marston Add missing test coverage for #ignore_localhost? e0c518c
Commits on Aug 27, 2010
Myron Marston Lock dev dependency to WebMock 1.3.3.
On 1.3.4 I get a failing cucumber scenario, but I believe it's a bug in WebMock.  I'm going to investigate more.
Myron Marston Add REE to list of tested ruby interpretters. 99147b7
Myron Marston The newest ruby-debug-base19 isn't working on 1.9.1 for me, so lock t…
…o the previous release.
Myron Marston 1.1.1 release. 69c0fe7
Commits on Aug 28, 2010
Myron Marston List patron and em-http-request in our Gemfile so that our Gemfile.lo…
…ck doesn't change everytime we run something on JRuby.
Commits on Sep 08, 2010
Myron Marston When the result of a request is an exception, raise it, rather than t…
…rying to read a body from it.
Myron Marston Update a few development gems. d7284af
Commits on Sep 09, 2010
Myron Marston Don't extend a Net::HTTP response with our module when WebMock has al…
…ready extended it with its own module.

These modules duplicate the same behavior and stomp on each other's toes.
Myron Marston Simplify implementation of VCR::Net::HTTPResponse. e6270c5
Myron Marston Remove unnecessary cucumber LoadError rescue. 53d1f7d
Commits on Sep 10, 2010
Myron Marston Add ability to disable Net::HTTP monkey patches for some specs. 96c71dd
Myron Marston Fix VCR::Net::HTTPResponse so it handles a nil body (such as for a HE…
…AD request).
Myron Marston Documentation update. 6d8ec54
Myron Marston 1.1.2 release. b827a7b
Commits on Sep 14, 2010
Myron Marston Update some gems. Use rspec 2.0.0.beta.22 rather than locking to a sp…
…ecific git commit.
Commits on Sep 18, 2010
Myron Marston Improved the :all record mode so that it keeps previously recorded in…
…teractions that do not match the new recorded interactions.

Previously, all of the previously recorded interactions were deleted.
Commits on Sep 19, 2010
Myron Marston Improve wording of some cucumber steps. 851f779
Myron Marston A few gemspec tweaks. 362147f
Myron Marston Added timecop so we can simulate the passage of time in our tests. acb7e63
Myron Marston Add :re_record_interval cassette option.
This option causes a cassette to be re-recorded when the existing file is older than the specified interval.
Commits on Sep 20, 2010
Myron Marston Don't auto re-record a cassette if there is no internet connection av…
Myron Marston Fix spec_helper requires. "spec" is on the load path. 626adfe
Myron Marston Add aruba for use in cucumber features. 89748b9
Commits on Sep 21, 2010
Myron Marston Improved RSpec support.
Added #use_vcr_cassette macro method that sets up a cassette for an example group.
Myron Marston Fix for ruby 1.9: ping was removed from the 1.9 standard library. 30b6242
Commits on Sep 27, 2010
Myron Marston Updated to the latest rspec-core on github. cbb493e
Myron Marston Fix WebMock/Net::HTTP integration.
Rather than using a Net::HTTP monkey patch to record new requests, use WebMock's callback.  This prevents the monkey patches from colliding each other and ensures that VCR & WebMock work properly with Open URI.

Closes #14.
Commits on Sep 28, 2010
Myron Marston Update changelog. 709f593
Myron Marston Use NameError#name rather than parsing the name from the message with…
… a regex.
Myron Marston Don't use parallel assignment as it doesn't work in this case on rubi…

For more info, see this issue on the rubinius issue tracker:
Myron Marston Consider to be a localhost alias.
Note that WebMock doesn't yet consider to be localhost, so it doesn't fully work if you use WebMock.

Closes #15.
Commits on Sep 29, 2010
Myron Marston Add RSpec 1 as a submodule at vendor/rspec-1.
I want to ensure the new RSpec macros work with RSpec 1, and this is the easiest way I can find to test it, since I can't add multiple versions of RSpec to my gemfile.
Myron Marston Fixed RSpec `use_vcr_cassette` macro so that it works with RSpec 1.
Closes #16.
Myron Marston Only require the Net::HTTPResponse extension where it is needed.
We no longer needed it for WebMock, so there's no point in requiring when it's not needed.
Myron Marston Autoload vcr/cucumber_tags, rather than always requiring it.
This is only needed for people using VCR with cucumber, so we shouldn't always require it.
Myron Marston Autoload 'vcr/rspec' when VCR::RSpec is referenced.
That way, people can just require 'vcr' to use the new RSpec macros...but requiring 'vcr/rspec' works, too.
Myron Marston Autoload 'vcr/internet_connection' as it is only used sometimes and t…
…here's no need to always require it.
Commits on Sep 30, 2010
Myron Marston Remove some unnecessary code. 11c97c0
Myron Marston Add documentation about the new :re_record_interval option. f2cb33e
Myron Marston Add documentation about new RSpec macros. 7c52664
Commits on Oct 04, 2010
Myron Marston Downgrade rack and remove capybara. ff88b37
Myron Marston Rewrote localhost server so it doesn't depend on capybara. 4d4e288
Commits on Oct 05, 2010
Myron Marston Deal with weird load path issue on jruby.
This fixes the rspec-1 scenario so that it passes on jruby.
Myron Marston Lock webmock to latest dev version on github. 4ff5f27
Myron Marston Remove pending...the latest WebMock considers to be localhost. c8b2771
Myron Marston Add curb dependency. a736ec6
Myron Marston Add test coverage for Curb support. ea777b9
Commits on Oct 06, 2010
Myron Marston Update to rspec 2.0.0.rc. 0b7f947
Myron Marston README formatting. 376be5f
Myron Marston Move some requires around so the reason for the ordering is more clear. 28abbef
Myron Marston Fixed curb http adapter module so it supports all HTTP methods. 2b45310
Myron Marston Don't run curb specs on jruby since jruby doesn't support curb. 0c711b1
Commits on Oct 09, 2010
Myron Marston Added a couple more similar libraries. 92e330c
Commits on Oct 11, 2010
Myron Marston Update to rspec 2.0.0. 40c5c59
Myron Marston Add links to github comparison view for each release. d7d9ac9
Commits on Oct 12, 2010
Myron Marston Update vendored rspec 1 to my fork that ignored rubinius .rbc files. d2c0a0c
Myron Marston Got specs and features to pass on rubinius 1.1. 646eab5
Myron Marston Update README. a5b0a93
Myron Marston Fixed typo. 8f369c1
Commits on Oct 13, 2010
Myron Marston Upgrade to WebMock 1.4.0. 91d67ad
Myron Marston 1.2.0 release. d25e34c