Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change History file to markdown format and renamed it to changelog.

  • Loading branch information...
commit 3e442f3ce5fdcdef9de2173a01708bae6a541ff1 1 parent fffd3aa
@myronmarston authored
Showing with 38 additions and 32 deletions.
  1. +37 −0 CHANGELOG.md
  2. +0 −31 History.rdoc
  3. +1 −1  lib/vcr/cassette.rb
View
37 CHANGELOG.md
@@ -0,0 +1,37 @@
+#Changelog
+
+## 0.3.1 April 10, 2010
+* Fixed a bug: when `Net::HTTP#request` was called with a block that had a return statement, the response was not being recorded.
+
+## 0.3.0 March 24, 2010
+* Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
+ * `VCR.create_cassette!` => `VCR.insert_cassette`
+ * `VCR.destroy_cassette!` => `VCR.eject_cassette`
+ * `VCR.with_cassette` => `VCR.use_cassette`
+ * `VCR::Cassette#destroy!` => `VCR::Cassette#eject`
+ * `VCR::Cassette#cache_file` => `VCR::Cassette#file`
+ * `VCR::Config.cache_dir` => `VCR::Config.cassette_library_dir`
+ * `:unregistered` record mode => `:new_episodes` record mode
+
+* All the old methods still work, but you'll get deprecation warnings.
+
+## 0.2.0 March 9, 2010
+* Added `:allow_real_http` cassette option, which allows VCR to work with capybara and a javascript driver.
+ Bug reported by [Ben Hutton](http://github.com/benhutton).
+
+* Deprecated the `default_cassette_record_mode` option. Use `default_cassette_options[:record_mode]` instead.
+
+## 0.1.2 March 4, 2010
+* Added explanatory note about VCR to `FakeWeb::NetConnectNotAllowedError#message`.
+
+* Got things to work for when a cassette records multiple requests made to the same URL with the same HTTP verb,
+ but different responses. We have to register an array of responses with fakeweb.
+
+* Fixed our `Net::HTTP` monkey patch so that it only stores the recorded response once per request.
+ Internally, `Net::HTTP#request` recursively calls itself (passing slightly different arguments) in certain circumstances.
+
+## 0.1.1 February 25, 2010
+* Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
+
+## 0.1.0 February 25, 2010
+* Initial release. Basic recording and replaying of responses works.
View
31 History.rdoc
@@ -1,31 +0,0 @@
-== 0.3.1 April 10, 2010
-* Fixed a bug: when Net::HTTP#request was called with a block that had a return statement, the response was not being recorded.
-
-== 0.3.0 March 24, 2010
-* Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
- * VCR.create_cassette! => VCR.insert_cassette
- * VCR.destroy_cassette! => VCR.eject_cassette
- * VCR.with_cassette => VCR.use_cassette
- * VCR::Cassette#destroy! => VCR::Cassette#eject
- * VCR::Cassette#cache_file => VCR::Cassette#file
- * VCR::Config.cache_dir => VCR::Config.cassette_library_dir
- * :unregistered record mode => :new_episodes record mode
-* All the old methods still work, but you'll get deprecation warnings.
-
-== 0.2.0 March 9, 2010
-* Added <tt>:allow_real_http</tt> cassette option, which allows VCR to work with capybara and a javascript driver.
- Bug reported by {Ben Hutton}[http://github.com/benhutton].
-* Deprecated the default_cassette_record_mode option. Use default_cassette_options instead.
-
-== 0.1.2 March 4, 2010
-* Added explanatory note about VCR to FakeWeb::NetConnectNotAllowedError#message.
-* Got things to work for when a cassette records multiple requests made to the same URL with the same HTTP verb,
- but different responses. We have to register an array of responses with fakeweb.
-* Fixed our Net::HTTP monkey patch so that it only stores a the recorded response once per request.
- Internally, Net::HTTP#request recursively calls itself (passing slightly different arguments) in certain circumstances.
-
-== 0.1.1 February 25, 2010
-* Handle asynchronous HTTP requests (such as for mechanize). Bug reported by {Thibaud Guillaume-Gentil}[http://github.com/thibaudgg].
-
-== 0.1.0 February 25, 2010
-* Initial release. Basic recording and replaying of responses works.
View
2  lib/vcr/cassette.rb
@@ -77,7 +77,7 @@ def load_recorded_interactions
YAML.load(yaml_content)
rescue TypeError
if yaml_content =~ /VCR::RecordedResponse/
- raise "The VCR cassette #{name} uses an old format that is now deprecated. VCR provides a rake task to migrate your old cassettes to the new format. See http://github.com/myronmarston/vcr/blob/master/History.rdoc for more info."
+ raise "The VCR cassette #{name} uses an old format that is now deprecated. VCR provides a rake task to migrate your old cassettes to the new format. See http://github.com/myronmarston/vcr/blob/master/CHANGELOG.md for more info."
else
raise
end
Please sign in to comment.
Something went wrong with that request. Please try again.