vcr 3.0.3 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/vcr/cassette/erb_renderer.rb +4 -2
- data/lib/vcr/cassette/http_interaction_list.rb +14 -9
- data/lib/vcr/cassette/migrator.rb +5 -6
- data/lib/vcr/cassette/persisters/file_system.rb +9 -1
- data/lib/vcr/cassette/serializers/compressed.rb +2 -2
- data/lib/vcr/cassette/serializers/json.rb +14 -8
- data/lib/vcr/cassette/serializers/psych.rb +10 -2
- data/lib/vcr/cassette/serializers/syck.rb +7 -1
- data/lib/vcr/cassette/serializers/yaml.rb +14 -2
- data/lib/vcr/cassette/serializers.rb +10 -0
- data/lib/vcr/cassette.rb +50 -15
- data/lib/vcr/configuration.rb +20 -8
- data/lib/vcr/deprecations.rb +0 -62
- data/lib/vcr/errors.rb +17 -12
- data/lib/vcr/library_hooks/excon.rb +8 -0
- data/lib/vcr/library_hooks/typhoeus.rb +91 -79
- data/lib/vcr/library_hooks/webmock.rb +2 -11
- data/lib/vcr/linked_cassette.rb +4 -4
- data/lib/vcr/middleware/excon.rb +1 -1
- data/lib/vcr/middleware/faraday.rb +10 -1
- data/lib/vcr/request_ignorer.rb +8 -1
- data/lib/vcr/request_matcher_registry.rb +3 -3
- data/lib/vcr/structs.rb +48 -32
- data/lib/vcr/test_frameworks/cucumber.rb +16 -5
- data/lib/vcr/test_frameworks/rspec.rb +34 -22
- data/lib/vcr/util/hooks.rb +1 -0
- data/lib/vcr/util/internet_connection.rb +15 -21
- data/lib/vcr/version.rb +2 -2
- data/lib/vcr.rb +52 -2
- metadata +45 -272
- data/features/CHANGELOG.md +0 -710
- data/features/CONTRIBUTING.md +0 -26
- data/features/LICENSE.md +0 -20
- data/features/README.md +0 -339
- data/features/Upgrade.md +0 -289
- data/features/about_these_examples.md +0 -18
- data/features/cassettes/allow_unused_http_interactions.feature +0 -100
- data/features/cassettes/automatic_re_recording.feature +0 -72
- data/features/cassettes/decompress.feature +0 -74
- data/features/cassettes/dynamic_erb.feature +0 -100
- data/features/cassettes/exclusive.feature +0 -126
- data/features/cassettes/format.feature +0 -411
- data/features/cassettes/freezing_time.feature +0 -68
- data/features/cassettes/naming.feature +0 -28
- data/features/cassettes/no_cassette.feature +0 -152
- data/features/cassettes/update_content_length_header.feature +0 -112
- data/features/configuration/allow_http_connections_when_no_cassette.feature +0 -55
- data/features/configuration/cassette_library_dir.feature +0 -31
- data/features/configuration/debug_logging.feature +0 -58
- data/features/configuration/default_cassette_options.feature +0 -100
- data/features/configuration/filter_sensitive_data.feature +0 -153
- data/features/configuration/hook_into.feature +0 -172
- data/features/configuration/ignore_request.feature +0 -192
- data/features/configuration/preserve_exact_body_bytes.feature +0 -108
- data/features/configuration/query_parser.feature +0 -84
- data/features/configuration/uri_parser.feature +0 -93
- data/features/getting_started.md +0 -82
- data/features/hooks/after_http_request.feature +0 -58
- data/features/hooks/around_http_request.feature +0 -57
- data/features/hooks/before_http_request.feature +0 -63
- data/features/hooks/before_playback.feature +0 -184
- data/features/hooks/before_record.feature +0 -172
- data/features/http_libraries/em_http_request.feature +0 -250
- data/features/http_libraries/net_http.feature +0 -179
- data/features/middleware/faraday.feature +0 -56
- data/features/middleware/rack.feature +0 -92
- data/features/record_modes/all.feature +0 -82
- data/features/record_modes/new_episodes.feature +0 -79
- data/features/record_modes/none.feature +0 -72
- data/features/record_modes/once.feature +0 -95
- data/features/request_matching/README.md +0 -30
- data/features/request_matching/body.feature +0 -91
- data/features/request_matching/body_as_json.feature +0 -90
- data/features/request_matching/custom_matcher.feature +0 -135
- data/features/request_matching/headers.feature +0 -85
- data/features/request_matching/host.feature +0 -95
- data/features/request_matching/identical_request_sequence.feature +0 -89
- data/features/request_matching/method.feature +0 -96
- data/features/request_matching/path.feature +0 -96
- data/features/request_matching/playback_repeats.feature +0 -98
- data/features/request_matching/query.feature +0 -97
- data/features/request_matching/uri.feature +0 -94
- data/features/request_matching/uri_without_param.feature +0 -101
- data/features/step_definitions/cli_steps.rb +0 -199
- data/features/support/env.rb +0 -46
- data/features/support/http_lib_filters.rb +0 -46
- data/features/test_frameworks/cucumber.feature +0 -211
- data/features/test_frameworks/rspec_macro.feature +0 -81
- data/features/test_frameworks/rspec_metadata.feature +0 -150
- data/features/test_frameworks/test_unit.feature +0 -49
- data/lib/vcr/extensions/net_http_response.rb +0 -36
- data/lib/vcr/library_hooks/fakeweb.rb +0 -197
- data/lib/vcr/library_hooks/typhoeus_0.4.rb +0 -103
- data/spec/acceptance/concurrency_spec.rb +0 -51
- data/spec/acceptance/threading_spec.rb +0 -34
- data/spec/fixtures/cassette_spec/1_x_cassette.yml +0 -110
- data/spec/fixtures/cassette_spec/empty.yml +0 -0
- data/spec/fixtures/cassette_spec/example.yml +0 -111
- data/spec/fixtures/cassette_spec/with_localhost_requests.yml +0 -111
- data/spec/fixtures/fake_example_responses.yml +0 -110
- data/spec/fixtures/match_requests_on.yml +0 -187
- data/spec/lib/vcr/cassette/erb_renderer_spec.rb +0 -53
- data/spec/lib/vcr/cassette/http_interaction_list_spec.rb +0 -295
- data/spec/lib/vcr/cassette/migrator_spec.rb +0 -196
- data/spec/lib/vcr/cassette/persisters/file_system_spec.rb +0 -75
- data/spec/lib/vcr/cassette/persisters_spec.rb +0 -39
- data/spec/lib/vcr/cassette/serializers_spec.rb +0 -182
- data/spec/lib/vcr/cassette_spec.rb +0 -618
- data/spec/lib/vcr/configuration_spec.rb +0 -326
- data/spec/lib/vcr/deprecations_spec.rb +0 -85
- data/spec/lib/vcr/errors_spec.rb +0 -178
- data/spec/lib/vcr/extensions/net_http_response_spec.rb +0 -86
- data/spec/lib/vcr/library_hooks/excon_spec.rb +0 -104
- data/spec/lib/vcr/library_hooks/fakeweb_spec.rb +0 -169
- data/spec/lib/vcr/library_hooks/faraday_spec.rb +0 -68
- data/spec/lib/vcr/library_hooks/typhoeus_0.4_spec.rb +0 -36
- data/spec/lib/vcr/library_hooks/typhoeus_spec.rb +0 -162
- data/spec/lib/vcr/library_hooks/webmock_spec.rb +0 -117
- data/spec/lib/vcr/library_hooks_spec.rb +0 -51
- data/spec/lib/vcr/middleware/faraday_spec.rb +0 -181
- data/spec/lib/vcr/middleware/rack_spec.rb +0 -115
- data/spec/lib/vcr/request_ignorer_spec.rb +0 -70
- data/spec/lib/vcr/request_matcher_registry_spec.rb +0 -345
- data/spec/lib/vcr/structs_spec.rb +0 -732
- data/spec/lib/vcr/test_frameworks/cucumber_spec.rb +0 -107
- data/spec/lib/vcr/test_frameworks/rspec_spec.rb +0 -94
- data/spec/lib/vcr/util/hooks_spec.rb +0 -158
- data/spec/lib/vcr/util/internet_connection_spec.rb +0 -37
- data/spec/lib/vcr/util/version_checker_spec.rb +0 -31
- data/spec/lib/vcr/version_spec.rb +0 -27
- data/spec/lib/vcr_spec.rb +0 -354
- data/spec/monkey_patches.rb +0 -186
- data/spec/spec_helper.rb +0 -63
- data/spec/support/configuration_stubbing.rb +0 -8
- data/spec/support/cucumber_helpers.rb +0 -39
- data/spec/support/fixnum_extension.rb +0 -10
- data/spec/support/http_library_adapters.rb +0 -289
- data/spec/support/limited_uri.rb +0 -21
- data/spec/support/ruby_interpreter.rb +0 -7
- data/spec/support/shared_example_groups/excon.rb +0 -63
- data/spec/support/shared_example_groups/hook_into_http_library.rb +0 -594
- data/spec/support/shared_example_groups/request_hooks.rb +0 -59
- data/spec/support/sinatra_app.rb +0 -86
- data/spec/support/vcr_localhost_server.rb +0 -76
- data/spec/support/vcr_stub_helpers.rb +0 -17
data/features/CONTRIBUTING.md
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
## Contributing
|
2
|
-
|
3
|
-
Install [bundler](http://gembundler.com/) and use it to install all the development dependencies:
|
4
|
-
|
5
|
-
```console
|
6
|
-
gem install bundler
|
7
|
-
bundle install
|
8
|
-
```
|
9
|
-
|
10
|
-
You should be able to run the tests now:
|
11
|
-
|
12
|
-
```console
|
13
|
-
bundle exec rake
|
14
|
-
```
|
15
|
-
|
16
|
-
VCR uses [RSpec](http://github.com/rspec/rspec) for unit tests. The specs are written in a very "focused" style, where each spec is concerned only with exercising the object under test, using mocks as necessary. You can run the specs using `rake spec`.
|
17
|
-
|
18
|
-
[Cucumber](http://cukes.info/) is used for end-to-end full stack integration tests that also function as VCR's documentation.
|
19
|
-
|
20
|
-
## Problems running bundle install?
|
21
|
-
|
22
|
-
If you get an error while running `bundle install`, it may be one of the "extras" gems which are not required for development. Try installing it without these gems.
|
23
|
-
|
24
|
-
```console
|
25
|
-
bundle install --without extras
|
26
|
-
```
|
data/features/LICENSE.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2010-2015 Myron Marston
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/features/README.md
DELETED
@@ -1,339 +0,0 @@
|
|
1
|
-
vcr
|
2
|
-
===
|
3
|
-
|
4
|
-
[![Quality](https://img.shields.io/codeclimate/github/vcr/vcr.svg?style=flat-square)](https://codeclimate.com/github/vcr/vcr)
|
5
|
-
[![Coverage](https://img.shields.io/codeclimate/coverage/github/vcr/vcr.svg?style=flat-square)](https://codeclimate.com/github/vcr/vcr)
|
6
|
-
[![Build](https://img.shields.io/travis-ci/vcr/vcr.svg?style=flat-square)](https://travis-ci.org/vcr/vcr)
|
7
|
-
[![Dependencies](https://img.shields.io/gemnasium/vcr/vcr.svg?style=flat-square)](https://gemnasium.com/vcr/vcr)
|
8
|
-
[![Downloads](https://img.shields.io/gem/dtv/vcr.svg?style=flat-square)](https://rubygems.org/gems/vcr)
|
9
|
-
[![Tags](https://img.shields.io/github/tag/vcr/vcr.svg?style=flat-square)](https://github.com/vcr/vcr/tags)
|
10
|
-
[![Releases](https://img.shields.io/github/release/vcr/vcr.svg?style=flat-square)](http://github.com/vcr/vcr/releases)
|
11
|
-
[![Issues](https://img.shields.io/github/issues/vcr/vcr.svg?style=flat-square)](https://github.com/vcr/vcr/issues)
|
12
|
-
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://opensource.org/licenses/MIT)
|
13
|
-
[![Version](https://img.shields.io/gem/v/vcr.svg?style=flat-square)](https://rubygems.org/gems/vcr)
|
14
|
-
[![OpenCollective](https://opencollective.com/vcr/backers/badge.svg)](https://opencollective.com/vcr#backer)
|
15
|
-
[![OpenCollective](https://opencollective.com/vcr/sponsors/badge.svg)](https://opencollective.com/vcr#sponsor)
|
16
|
-
|
17
|
-
|
18
|
-
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
|
19
|
-
|
20
|
-
**Help Wanted**
|
21
|
-
|
22
|
-
We looking for new maintainers. If you'd like to help maintain a well-used gem please join the [vcr-maintainers google group](https://groups.google.com/forum/#!forum/vcr-maintainers).
|
23
|
-
|
24
|
-
|
25
|
-
Usage
|
26
|
-
=====
|
27
|
-
|
28
|
-
``` ruby
|
29
|
-
require 'rubygems'
|
30
|
-
require 'test/unit'
|
31
|
-
require 'vcr'
|
32
|
-
|
33
|
-
VCR.configure do |config|
|
34
|
-
config.cassette_library_dir = "fixtures/vcr_cassettes"
|
35
|
-
config.hook_into :webmock # or :fakeweb
|
36
|
-
end
|
37
|
-
|
38
|
-
class VCRTest < Test::Unit::TestCase
|
39
|
-
def test_example_dot_com
|
40
|
-
VCR.use_cassette("synopsis") do
|
41
|
-
response = Net::HTTP.get_response(URI('http://www.iana.org/domains/reserved'))
|
42
|
-
assert_match /Example domains/, response.body
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
Run this test once, and VCR will record the HTTP request to `fixtures/vcr_cassettes/synopsis.yml`. Run it again, and VCR will replay the response from iana.org when the HTTP request is made. This test is now fast (no real HTTP requests are made anymore), deterministic (the test will continue to pass, even if you are offline, or iana.org goes down for maintenance) and accurate (the response will contain the same headers and body you get from a real request). You can use a different cassette library directory (e.g., "test/vcr_cassettes"), but do *not* use 'test/fixtures' as the directory if you're using Rails and minitest (Rails will instead transitively load any files in that directory as models).
|
49
|
-
|
50
|
-
**Features**
|
51
|
-
|
52
|
-
* Automatically records and replays your HTTP interactions with minimal setup/configuration code.
|
53
|
-
* Supports and works with the HTTP stubbing facilities of multiple libraries. Currently, the following are supported:
|
54
|
-
* [WebMock](https://github.com/bblimke/webmock)
|
55
|
-
* [Typhoeus](https://github.com/typhoeus/typhoeus)
|
56
|
-
* [Faraday](https://github.com/lostisland/faraday)
|
57
|
-
* [Excon](https://github.com/excon/excon)
|
58
|
-
* [FakeWeb](https://github.com/chrisk/fakeweb) (deprecated)
|
59
|
-
* Supports multiple HTTP libraries:
|
60
|
-
* [Patron](https://github.com/toland/patron) (when using WebMock)
|
61
|
-
* [Curb](https://github.com/taf2/curb) (when using WebMock -- only supports Curl::Easy at the moment)
|
62
|
-
* [HTTPClient](https://github.com/nahi/httpclient) (when using WebMock)
|
63
|
-
* [em-http-request](https://github.com/igrigorik/em-http-request) (when using WebMock)
|
64
|
-
* [Net::HTTP](http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html) (when using FakeWeb and WebMock)
|
65
|
-
* [Typhoeus](https://github.com/typhoeus/typhoeus) (Typhoeus::Hydra, but not Typhoeus::Easy or Typhoeus::Multi)
|
66
|
-
* [Excon](https://github.com/geemus/excon)
|
67
|
-
* [Faraday](https://github.com/lostisland/faraday)
|
68
|
-
* And of course any library built on Net::HTTP, such as [Mechanize](https://github.com/sparklemotion/mechanize), [HTTParty](https://github.com/jnunemaker/httparty) or [Rest Client](https://github.com/rest-client/rest-client).
|
69
|
-
* Request matching is configurable based on HTTP method, URI, host, path, body and headers, or you can easily implement a custom request matcher to handle any need.
|
70
|
-
* The same request can receive different responses in different tests--just use different cassettes.
|
71
|
-
* The recorded requests and responses are stored on disk in a serialization format of your choice (currently YAML and JSON are built in, and you can easily implement your own custom serializer) and can easily be inspected and edited.
|
72
|
-
* Dynamic responses are supported using ERB.
|
73
|
-
* Optionally re-records cassettes on a configurable regular interval to keep them fresh and current.
|
74
|
-
* Disables all HTTP requests that you don't explicitly allow.
|
75
|
-
* Simple Cucumber integration is provided using tags.
|
76
|
-
* Includes convenient RSpec macros and integration with RSpec 2 metadata.
|
77
|
-
* Known to work well with many popular Ruby libraries including RSpec 1 & 2, Cucumber, Test::Unit, Capybara, Mechanize, Rest Client and HTTParty.
|
78
|
-
* Includes Rack and Faraday middleware.
|
79
|
-
|
80
|
-
The docs come in two flavors:
|
81
|
-
|
82
|
-
* The [relish docs](https://relishapp.com/vcr/vcr/docs) contain example-based documentation (VCR's Cucumber suite, in fact). It's a good place to look when you are first getting started with VCR, or if you want to see an example of how to use a feature.
|
83
|
-
* The [rubydoc.info docs](http://www.rubydoc.info/gems/vcr/frames) contain API documentation. The API docs contain detailed info about all of VCR's public API.
|
84
|
-
* See the [Upgrade](https://github.com/vcr/vcr/blob/master/Upgrade.md) doc for info about what's new and changed in VCR 2.0.
|
85
|
-
|
86
|
-
There is also a Railscast, which will get you up and running in no-time http://railscasts.com/episodes/291-testing-with-vcr.
|
87
|
-
|
88
|
-
**Release Policy**
|
89
|
-
|
90
|
-
VCR follows the principles of [semantic versioning](http://semver.org/). The [API documentation](http://rubydoc.info/gems/vcr/frames) defines VCR's public API. Patch level releases contain only bug fixes. Minor releases contain backward-compatible new features. Major new releases contain backwards-incompatible changes to the public API.
|
91
|
-
|
92
|
-
**Ruby Interpreter Compatibility**
|
93
|
-
|
94
|
-
VCR has been tested on the following ruby interpreters:
|
95
|
-
|
96
|
-
* MRI 1.9.3
|
97
|
-
* MRI 2.0.0
|
98
|
-
* MRI 2.1
|
99
|
-
* MRI 2.2
|
100
|
-
* MRI 2.3.0
|
101
|
-
* JRuby
|
102
|
-
* Rubinius
|
103
|
-
|
104
|
-
Note that as of VCR 3, 1.8.7 and 1.9.2 are not supported.
|
105
|
-
|
106
|
-
**Development**
|
107
|
-
|
108
|
-
* Source hosted on [GitHub](http://github.com/vcr/vcr).
|
109
|
-
* Direct questions and discussions to the [mailing list](http://groups.google.com/group/vcr-ruby).
|
110
|
-
* Report issues on [GitHub Issues](http://github.com/vcr/vcr/issues).
|
111
|
-
* Pull requests are very welcome! Please include spec and/or feature coverage for every patch,
|
112
|
-
and create a topic branch for every separate change you make.
|
113
|
-
* See the [Contributing](https://github.com/vcr/vcr/blob/master/CONTRIBUTING.md)
|
114
|
-
guide for instructions on running the specs and features.
|
115
|
-
* Code quality metrics are checked by [Code Climate](https://codeclimate.com/github/vcr/vcr).
|
116
|
-
* Documentation is generated with [YARD](http://yardoc.org/) ([cheat sheet](http://cheat.errtheblog.com/s/yard)).
|
117
|
-
To generate while developing:
|
118
|
-
|
119
|
-
```
|
120
|
-
yard server --reload
|
121
|
-
```
|
122
|
-
|
123
|
-
**Ports in Other Languages**
|
124
|
-
|
125
|
-
* [Betamax](https://github.com/sigmavirus24/betamax) (Python)
|
126
|
-
* [VCR.py](https://github.com/kevin1024/vcrpy) (Python)
|
127
|
-
* [Betamax](https://github.com/thegreatape/betamax) (Go)
|
128
|
-
* [DVR](https://github.com/orchestrate-io/dvr) (Go)
|
129
|
-
* [Go VCR](https://github.com/dnaeon/go-vcr) (Go)
|
130
|
-
* [Betamax](https://github.com/wjlroe/betamax) (Clojure)
|
131
|
-
* [vcr-clj](https://github.com/ifesdjeen/vcr-clj) (Clojure)
|
132
|
-
* [Betamax.NET](https://github.com/mfloryan/Betamax.Net) (C#/.NET)
|
133
|
-
* [ExVCR](https://github.com/parroty/exvcr) (Elixir)
|
134
|
-
* [HAVCR](https://github.com/cordawyn/havcr) (Haskell)
|
135
|
-
* [Mimic](https://github.com/acoulton/mimic) (PHP/Kohana)
|
136
|
-
* [PHP-VCR](https://github.com/php-vcr/php-vcr) (PHP)
|
137
|
-
* [Nock-VCR](https://github.com/carbonfive/nock-vcr) (JavaScript/Node)
|
138
|
-
* [Sepia](https://github.com/linkedin/sepia) (Javascript/Node)
|
139
|
-
* [VCR.js](https://github.com/elcuervo/vcr.js) (JavaScript)
|
140
|
-
* [NSURLConnectionVCR](https://bitbucket.org/martijnthe/nsurlconnectionvcr) (Objective-C)
|
141
|
-
* [VCRURLConnection](https://github.com/dstnbrkr/VCRURLConnection) (Objective-C)
|
142
|
-
* [VHS](https://github.com/diegoeche/vhs) (Erlang)
|
143
|
-
* [Betamax](https://github.com/betamaxteam/betamax) (Java)
|
144
|
-
* [http_replayer](https://github.com/ucarion/http_replayer) (Rust)
|
145
|
-
|
146
|
-
**Related Projects**
|
147
|
-
|
148
|
-
* [Mr. Video](https://github.com/quidproquo/mr_video) (Rails engine for managing VCR cassettes and episodes)
|
149
|
-
|
150
|
-
|
151
|
-
**Similar Libraries in Ruby**
|
152
|
-
|
153
|
-
* [Ephemeral Response](https://github.com/sandro/ephemeral_response)
|
154
|
-
* [Net::HTTP Spy](https://github.com/martinbtt/net-http-spy)
|
155
|
-
* [NetRecorder](https://github.com/chrisyoung/netrecorder)
|
156
|
-
* [Puffing Billy](https://github.com/oesmith/puffing-billy)
|
157
|
-
* [REST-assured](https://github.com/artemave/REST-assured)
|
158
|
-
* [Stale Fish](https://github.com/jsmestad/stale_fish)
|
159
|
-
* [WebFixtures](https://github.com/trydionel/web_fixtures)
|
160
|
-
|
161
|
-
|
162
|
-
Credits
|
163
|
-
=======
|
164
|
-
|
165
|
-
* [Aslak Hellesøy](https://github.com/aslakhellesoy) for [Cucumber](https://github.com/aslakhellesoy/cucumber).
|
166
|
-
* [Bartosz Blimke](https://github.com/bblimke) for [WebMock](https://github.com/bblimke/webmock).
|
167
|
-
* [Chris Kampmeier](https://github.com/chrisk) for [FakeWeb](https://github.com/chrisk/fakeweb).
|
168
|
-
* [Chris Young](https://github.com/chrisyoung) for [NetRecorder](https://github.com/chrisyoung/netrecorder),
|
169
|
-
the inspiration for VCR.
|
170
|
-
* [David Balatero](https://github.com/dbalatero) and [Hans Hasselberg](https://github.com/i0rek)
|
171
|
-
for help with [Typhoeus](https://github.com/typhoeus/typhoeus) support.
|
172
|
-
* [Wesley Beary](https://github.com/geemus) for help with [Excon](https://github.com/geemus/excon)
|
173
|
-
support.
|
174
|
-
* [Jacob Green](https://github.com/Jacobkg) for help with ongoing VCR
|
175
|
-
maintenance.
|
176
|
-
* [Jan Berdajs](https://github.com/mrbrdo) and [Daniel Berger](https://github.com/djberg96)
|
177
|
-
for improvements to thread-safety.
|
178
|
-
|
179
|
-
|
180
|
-
Thanks also to the following people who have contributed patches or helpful suggestions:
|
181
|
-
|
182
|
-
* [Aaron Brethorst](https://github.com/aaronbrethorst)
|
183
|
-
* [Alexander Wenzowski](https://github.com/wenzowski)
|
184
|
-
* [Austen Ito](https://github.com/austenito)
|
185
|
-
* [Avdi Grimm](https://github.com/avdi)
|
186
|
-
* [Bartosz Blimke](http://github.com/bblimke)
|
187
|
-
* [Benjamin Oakes](https://github.com/benjaminoakes)
|
188
|
-
* [Ben Hutton](https://github.com/benhutton)
|
189
|
-
* [Bradley Isotope](https://github.com/bradleyisotope)
|
190
|
-
* [Carlos Kirkconnell](https://github.com/kirkconnell)
|
191
|
-
* [Chad Jolly](https://github.com/cjolly)
|
192
|
-
* [Chris Le](https://github.com/chrisle)
|
193
|
-
* [Chris Gunther](https://github.com/cgunther)
|
194
|
-
* [Eduardo Maia](https://github.com/emaiax)
|
195
|
-
* [Eric Allam](https://github.com/rubymaverick)
|
196
|
-
* [Ezekiel Templin](https://github.com/ezkl)
|
197
|
-
* [Flaviu Simihaian](https://github.com/closedbracket)
|
198
|
-
* [Gordon Wilson](https://github.com/gordoncww)
|
199
|
-
* [Hans Hasselberg](https://github.com/i0rek)
|
200
|
-
* [Herman Verschooten](https://github.com/Hermanverschooten)
|
201
|
-
* [Ian Cordasco](https://github.com/sigmavirus24)
|
202
|
-
* [Ingemar](https://github.com/ingemar)
|
203
|
-
* [Ilya Scharrenbroich](https://github.com/quidproquo)
|
204
|
-
* [Jacob Green](https://github.com/Jacobkg)
|
205
|
-
* [James Bence](https://github.com/jbence)
|
206
|
-
* [Jay Shepherd](https://github.com/jayshepherd)
|
207
|
-
* [Jeff Pollard](https://github.com/Fluxx)
|
208
|
-
* [Joe Nelson](https://github.com/begriffs)
|
209
|
-
* [Jonathan Tron](https://github.com/JonathanTron)
|
210
|
-
* [Justin Smestad](https://github.com/jsmestad)
|
211
|
-
* [Karl Baum](https://github.com/kbaum)
|
212
|
-
* [Kris Luminar](https://github.com/kris-luminar)
|
213
|
-
* [Kurt Funai](https://github.com/kurtfunai)
|
214
|
-
* [Luke van der Hoeven](https://github.com/plukevdh)
|
215
|
-
* [Mark Burns](https://github.com/markburns)
|
216
|
-
* [Max Riveiro](https://github.com/kavu)
|
217
|
-
* [Michael Lavrisha](https://github.com/vrish88)
|
218
|
-
* [Michiel de Mare](https://github.com/mdemare)
|
219
|
-
* [Mike Dalton](https://github.com/kcdragon)
|
220
|
-
* [Mislav Marohnić](https://github.com/mislav)
|
221
|
-
* [Nathaniel Bibler](https://github.com/nbibler)
|
222
|
-
* [Noah Davis](https://github.com/noahd1)
|
223
|
-
* [Oliver Searle-Barnes](https://github.com/opsb)
|
224
|
-
* [Omer Rauchwerger](https://github.com/rauchy)
|
225
|
-
* [Paco Guzmán](https://github.com/pacoguzman)
|
226
|
-
* [Paul Morgan](https://github.com/jumanjiman)
|
227
|
-
* [playupchris](https://github.com/playupchris)
|
228
|
-
* [Ron Smith](https://github.com/ronwsmith)
|
229
|
-
* [Ryan Bates](https://github.com/ryanb)
|
230
|
-
* [Ryan Burrows](https://github.com/rhburrows)
|
231
|
-
* [Ryan Castillo](https://github.com/rmcastil)
|
232
|
-
* [Sathya Sekaran](https://github.com/sfsekaran)
|
233
|
-
* [Scott Carleton](https://github.com/ScotterC)
|
234
|
-
* [Shay Frendt](https://github.com/shayfrendt)
|
235
|
-
* [Steve Faulkner](https://github.com/southpolesteve)
|
236
|
-
* [Stephen Anderson](https://github.com/bendycode)
|
237
|
-
* [Todd Lunter](https://github.com/tlunter)
|
238
|
-
* [Tyler Hunt](https://github.com/tylerhunt)
|
239
|
-
* [Uģis Ozols](https://github.com/ugisozols)
|
240
|
-
* [vzvu3k6k](https://github.com/vzvu3k6k)
|
241
|
-
* [Wesley Beary](https://github.com/geemus)
|
242
|
-
|
243
|
-
|
244
|
-
# Backers
|
245
|
-
|
246
|
-
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/vcr#backer)]
|
247
|
-
|
248
|
-
<a href="https://opencollective.com/vcr/backer/0/website" target="_blank"><img src="https://opencollective.com/vcr/backer/0/avatar"></a>
|
249
|
-
<a href="https://opencollective.com/vcr/backer/1/website" target="_blank"><img src="https://opencollective.com/vcr/backer/1/avatar"></a>
|
250
|
-
<a href="https://opencollective.com/vcr/backer/2/website" target="_blank"><img src="https://opencollective.com/vcr/backer/2/avatar"></a>
|
251
|
-
<a href="https://opencollective.com/vcr/backer/3/website" target="_blank"><img src="https://opencollective.com/vcr/backer/3/avatar"></a>
|
252
|
-
<a href="https://opencollective.com/vcr/backer/4/website" target="_blank"><img src="https://opencollective.com/vcr/backer/4/avatar"></a>
|
253
|
-
<a href="https://opencollective.com/vcr/backer/5/website" target="_blank"><img src="https://opencollective.com/vcr/backer/5/avatar"></a>
|
254
|
-
<a href="https://opencollective.com/vcr/backer/6/website" target="_blank"><img src="https://opencollective.com/vcr/backer/6/avatar"></a>
|
255
|
-
<a href="https://opencollective.com/vcr/backer/7/website" target="_blank"><img src="https://opencollective.com/vcr/backer/7/avatar"></a>
|
256
|
-
<a href="https://opencollective.com/vcr/backer/8/website" target="_blank"><img src="https://opencollective.com/vcr/backer/8/avatar"></a>
|
257
|
-
<a href="https://opencollective.com/vcr/backer/9/website" target="_blank"><img src="https://opencollective.com/vcr/backer/9/avatar"></a>
|
258
|
-
<a href="https://opencollective.com/vcr/backer/10/website" target="_blank"><img src="https://opencollective.com/vcr/backer/10/avatar"></a>
|
259
|
-
<a href="https://opencollective.com/vcr/backer/11/website" target="_blank"><img src="https://opencollective.com/vcr/backer/11/avatar"></a>
|
260
|
-
<a href="https://opencollective.com/vcr/backer/12/website" target="_blank"><img src="https://opencollective.com/vcr/backer/12/avatar"></a>
|
261
|
-
<a href="https://opencollective.com/vcr/backer/13/website" target="_blank"><img src="https://opencollective.com/vcr/backer/13/avatar"></a>
|
262
|
-
<a href="https://opencollective.com/vcr/backer/14/website" target="_blank"><img src="https://opencollective.com/vcr/backer/14/avatar"></a>
|
263
|
-
<a href="https://opencollective.com/vcr/backer/15/website" target="_blank"><img src="https://opencollective.com/vcr/backer/15/avatar"></a>
|
264
|
-
<a href="https://opencollective.com/vcr/backer/16/website" target="_blank"><img src="https://opencollective.com/vcr/backer/16/avatar"></a>
|
265
|
-
<a href="https://opencollective.com/vcr/backer/17/website" target="_blank"><img src="https://opencollective.com/vcr/backer/17/avatar"></a>
|
266
|
-
<a href="https://opencollective.com/vcr/backer/18/website" target="_blank"><img src="https://opencollective.com/vcr/backer/18/avatar"></a>
|
267
|
-
<a href="https://opencollective.com/vcr/backer/19/website" target="_blank"><img src="https://opencollective.com/vcr/backer/19/avatar"></a>
|
268
|
-
<a href="https://opencollective.com/vcr/backer/20/website" target="_blank"><img src="https://opencollective.com/vcr/backer/20/avatar"></a>
|
269
|
-
<a href="https://opencollective.com/vcr/backer/21/website" target="_blank"><img src="https://opencollective.com/vcr/backer/21/avatar"></a>
|
270
|
-
<a href="https://opencollective.com/vcr/backer/22/website" target="_blank"><img src="https://opencollective.com/vcr/backer/22/avatar"></a>
|
271
|
-
<a href="https://opencollective.com/vcr/backer/23/website" target="_blank"><img src="https://opencollective.com/vcr/backer/23/avatar"></a>
|
272
|
-
<a href="https://opencollective.com/vcr/backer/24/website" target="_blank"><img src="https://opencollective.com/vcr/backer/24/avatar"></a>
|
273
|
-
<a href="https://opencollective.com/vcr/backer/25/website" target="_blank"><img src="https://opencollective.com/vcr/backer/25/avatar"></a>
|
274
|
-
<a href="https://opencollective.com/vcr/backer/26/website" target="_blank"><img src="https://opencollective.com/vcr/backer/26/avatar"></a>
|
275
|
-
<a href="https://opencollective.com/vcr/backer/27/website" target="_blank"><img src="https://opencollective.com/vcr/backer/27/avatar"></a>
|
276
|
-
<a href="https://opencollective.com/vcr/backer/28/website" target="_blank"><img src="https://opencollective.com/vcr/backer/28/avatar"></a>
|
277
|
-
<a href="https://opencollective.com/vcr/backer/29/website" target="_blank"><img src="https://opencollective.com/vcr/backer/29/avatar"></a>
|
278
|
-
|
279
|
-
|
280
|
-
# Sponsors
|
281
|
-
|
282
|
-
Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/vcr#sponsor)]
|
283
|
-
|
284
|
-
<a href="https://opencollective.com/vcr/sponsor/0/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/0/avatar"></a>
|
285
|
-
<a href="https://opencollective.com/vcr/sponsor/1/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/1/avatar"></a>
|
286
|
-
<a href="https://opencollective.com/vcr/sponsor/2/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/2/avatar"></a>
|
287
|
-
<a href="https://opencollective.com/vcr/sponsor/3/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/3/avatar"></a>
|
288
|
-
<a href="https://opencollective.com/vcr/sponsor/4/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/4/avatar"></a>
|
289
|
-
<a href="https://opencollective.com/vcr/sponsor/5/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/5/avatar"></a>
|
290
|
-
<a href="https://opencollective.com/vcr/sponsor/6/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/6/avatar"></a>
|
291
|
-
<a href="https://opencollective.com/vcr/sponsor/7/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/7/avatar"></a>
|
292
|
-
<a href="https://opencollective.com/vcr/sponsor/8/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/8/avatar"></a>
|
293
|
-
<a href="https://opencollective.com/vcr/sponsor/9/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/9/avatar"></a>
|
294
|
-
<a href="https://opencollective.com/vcr/sponsor/10/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/10/avatar"></a>
|
295
|
-
<a href="https://opencollective.com/vcr/sponsor/11/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/11/avatar"></a>
|
296
|
-
<a href="https://opencollective.com/vcr/sponsor/12/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/12/avatar"></a>
|
297
|
-
<a href="https://opencollective.com/vcr/sponsor/13/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/13/avatar"></a>
|
298
|
-
<a href="https://opencollective.com/vcr/sponsor/14/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/14/avatar"></a>
|
299
|
-
<a href="https://opencollective.com/vcr/sponsor/15/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/15/avatar"></a>
|
300
|
-
<a href="https://opencollective.com/vcr/sponsor/16/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/16/avatar"></a>
|
301
|
-
<a href="https://opencollective.com/vcr/sponsor/17/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/17/avatar"></a>
|
302
|
-
<a href="https://opencollective.com/vcr/sponsor/18/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/18/avatar"></a>
|
303
|
-
<a href="https://opencollective.com/vcr/sponsor/19/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/19/avatar"></a>
|
304
|
-
<a href="https://opencollective.com/vcr/sponsor/20/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/20/avatar"></a>
|
305
|
-
<a href="https://opencollective.com/vcr/sponsor/21/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/21/avatar"></a>
|
306
|
-
<a href="https://opencollective.com/vcr/sponsor/22/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/22/avatar"></a>
|
307
|
-
<a href="https://opencollective.com/vcr/sponsor/23/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/23/avatar"></a>
|
308
|
-
<a href="https://opencollective.com/vcr/sponsor/24/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/24/avatar"></a>
|
309
|
-
<a href="https://opencollective.com/vcr/sponsor/25/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/25/avatar"></a>
|
310
|
-
<a href="https://opencollective.com/vcr/sponsor/26/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/26/avatar"></a>
|
311
|
-
<a href="https://opencollective.com/vcr/sponsor/27/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/27/avatar"></a>
|
312
|
-
<a href="https://opencollective.com/vcr/sponsor/28/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/28/avatar"></a>
|
313
|
-
<a href="https://opencollective.com/vcr/sponsor/29/website" target="_blank"><img src="https://opencollective.com/vcr/sponsor/29/avatar"></a>
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
Copyright
|
318
|
-
=========
|
319
|
-
|
320
|
-
Copyright (c) 2010-2015 Myron Marston
|
321
|
-
|
322
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
323
|
-
a copy of this software and associated documentation files (the
|
324
|
-
"Software"), to deal in the Software without restriction, including
|
325
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
326
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
327
|
-
permit persons to whom the Software is furnished to do so, subject to
|
328
|
-
the following conditions:
|
329
|
-
|
330
|
-
The above copyright notice and this permission notice shall be
|
331
|
-
included in all copies or substantial portions of the Software.
|
332
|
-
|
333
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
334
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
335
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
336
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
337
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
338
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
339
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|