vcr 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -2
- data/.travis.yml +3 -1
- data/Appraisals +0 -4
- data/CHANGELOG.md +90 -54
- data/Gemfile +6 -6
- data/{gemfiles/typhoeus-new.gemfile.lock → Gemfile.lock} +34 -37
- data/LICENSE +1 -1
- data/README.md +14 -7
- data/Rakefile +8 -6
- data/cucumber.yml +10 -7
- data/features/.nav +3 -0
- data/features/configuration/preserve_exact_body_bytes.feature +2 -2
- data/features/configuration/query_parser.feature +84 -0
- data/features/configuration/uri_parser.feature +1 -1
- data/features/hooks/around_http_request.feature +1 -1
- data/features/request_matching/README.md +2 -0
- data/features/request_matching/query.feature +97 -0
- data/gemfiles/{typhoeus-old.gemfile → typhoeus_old.gemfile} +1 -3
- data/gemfiles/{typhoeus-old.gemfile.lock → typhoeus_old.gemfile.lock} +25 -17
- data/lib/vcr.rb +5 -1
- data/lib/vcr/configuration.rb +20 -0
- data/lib/vcr/deprecations.rb +62 -1
- data/lib/vcr/errors.rb +9 -9
- data/lib/vcr/library_hooks/fakeweb.rb +1 -0
- data/lib/vcr/library_hooks/typhoeus.rb +1 -0
- data/lib/vcr/library_hooks/webmock.rb +1 -1
- data/lib/vcr/request_matcher_registry.rb +8 -1
- data/lib/vcr/structs.rb +2 -2
- data/lib/vcr/test_frameworks/rspec.rb +0 -56
- data/lib/vcr/version.rb +1 -1
- data/script/ci.sh +2 -2
- data/spec/monkey_patches.rb +1 -1
- data/spec/spec_helper.rb +12 -13
- data/spec/support/http_library_adapters.rb +9 -1
- data/spec/vcr/deprecations_spec.rb +11 -9
- data/spec/vcr/library_hooks/fakeweb_spec.rb +5 -0
- data/spec/vcr/library_hooks/typhoeus_spec.rb +55 -0
- data/spec/vcr/request_matcher_registry_spec.rb +39 -0
- data/vcr.gemspec +4 -3
- metadata +79 -85
- data/gemfiles/typhoeus-new.gemfile +0 -18
data/.gitignore
CHANGED
@@ -28,7 +28,6 @@ features/fixtures/vcr_cassettes/**/temp/
|
|
28
28
|
.bundle
|
29
29
|
tmp
|
30
30
|
rerun.txt
|
31
|
-
Gemfile.lock
|
32
31
|
|
33
32
|
features/README.md
|
34
33
|
features/CHANGELOG.md
|
@@ -43,4 +42,8 @@ features/CONTRIBUTING.md
|
|
43
42
|
doc
|
44
43
|
|
45
44
|
## PROJECT::EDITORS
|
46
|
-
.idea/
|
45
|
+
.idea/
|
46
|
+
|
47
|
+
.rbenv-version
|
48
|
+
bin/*
|
49
|
+
bundle/*
|
data/.travis.yml
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
language: ruby
|
2
2
|
env: CUCUMBER_FORMAT=progress
|
3
|
-
before_install: "gem uninstall json -a -I"
|
4
3
|
bundler_args: --without extras
|
5
4
|
script: "script/ci.sh"
|
6
5
|
rvm:
|
@@ -18,4 +17,7 @@ matrix:
|
|
18
17
|
- rvm: jruby-19mode
|
19
18
|
- rvm: rbx-19mode
|
20
19
|
- rvm: rbx-18mode
|
20
|
+
branches:
|
21
|
+
except:
|
22
|
+
- gh-pages
|
21
23
|
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,42 @@
|
|
1
|
+
## 2.4.0 (January 4, 2013)
|
2
|
+
|
3
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.3.0...v2.4.0)
|
4
|
+
|
5
|
+
Enhancements:
|
6
|
+
|
7
|
+
* Add `:query` request matcher. The new `query_parser` config option can
|
8
|
+
bet set to change how the query is parsed. Thanks to [Nathaniel
|
9
|
+
Bibler](https://github.com/nbibler) for implementing this.
|
10
|
+
|
11
|
+
Bug Fixes:
|
12
|
+
|
13
|
+
* Fix previously recorded requests not matching when using the URIWithoutParams
|
14
|
+
builtin matcher. In the case where the original request was recorded without
|
15
|
+
parameters and subsequent requests filter out all parameters, the subsequent
|
16
|
+
requests were failing to match the originally recorded request. Thanks to
|
17
|
+
[Dmitry Jemerov](https://github.com/yole) for reporting the issue and
|
18
|
+
[Nathaniel Bibler](https://github.com/nbibler) for implementing the fix.
|
19
|
+
* Set `effective_url` on Typhoeus response when playing back. Thanks to
|
20
|
+
[Shay Frendt](https://github.com/shayfrendt) and
|
21
|
+
[Ryan Castillo](https://github.com/rmcastil) for providing the fix and
|
22
|
+
corresponding test.
|
23
|
+
|
24
|
+
Deprecations:
|
25
|
+
|
26
|
+
* Deprecate the `use_vcr_cassette` macro for RSpec. It has confusing
|
27
|
+
semantics (e.g. calling it multiple times in the same example group
|
28
|
+
can cause problems and it uses the same cassette for all examples
|
29
|
+
in a group even though they may make different HTTP requests) and
|
30
|
+
VCR's integration with RSpec metadata works much better. Thanks to
|
31
|
+
[Austen Ito](https://github.com/austenito) for implementing this.
|
32
|
+
* Deprecate integration with FakeWeb. FakeWeb appears to be no longer
|
33
|
+
maintained (0 commits in 2012 and it has pull requests that are
|
34
|
+
2 years old) and WebMock is a far better option. Thanks to [Steve
|
35
|
+
Faulkner](https://github.com/southpolesteve) for implementing this.
|
36
|
+
|
1
37
|
## 2.3.0 (October 29, 2012)
|
2
38
|
|
3
|
-
[Full Changelog](http://github.com/
|
39
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.5...v2.3.0)
|
4
40
|
|
5
41
|
Enhancements:
|
6
42
|
|
@@ -21,7 +57,7 @@ Bug Fixes:
|
|
21
57
|
|
22
58
|
## 2.2.5 (September 7, 2012)
|
23
59
|
|
24
|
-
[Full Changelog](http://github.com/
|
60
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.4...v2.2.5)
|
25
61
|
|
26
62
|
Enhancements:
|
27
63
|
|
@@ -41,7 +77,7 @@ Bug Fixes:
|
|
41
77
|
|
42
78
|
## 2.2.4 (July 19, 2012)
|
43
79
|
|
44
|
-
[Full Changelog](http://github.com/
|
80
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.3...v2.2.4)
|
45
81
|
|
46
82
|
Bug Fixes:
|
47
83
|
|
@@ -50,7 +86,7 @@ Bug Fixes:
|
|
50
86
|
|
51
87
|
## 2.2.3 (July 9, 2012)
|
52
88
|
|
53
|
-
[Full Changelog](http://github.com/
|
89
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.2...v2.2.3)
|
54
90
|
|
55
91
|
Bug Fixes:
|
56
92
|
|
@@ -62,7 +98,7 @@ Bug Fixes:
|
|
62
98
|
|
63
99
|
## 2.2.2 (June 15, 2012)
|
64
100
|
|
65
|
-
[Full Changelog](http://github.com/
|
101
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.1...v2.2.2)
|
66
102
|
|
67
103
|
Bug Fixes:
|
68
104
|
|
@@ -73,7 +109,7 @@ Bug Fixes:
|
|
73
109
|
|
74
110
|
## 2.2.1 (June 13, 2012)
|
75
111
|
|
76
|
-
[Full Changelog](http://github.com/
|
112
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.2.0...v2.2.1)
|
77
113
|
|
78
114
|
Bug Fixes:
|
79
115
|
|
@@ -84,7 +120,7 @@ Bug Fixes:
|
|
84
120
|
|
85
121
|
## 2.2.0 (May 31, 2012)
|
86
122
|
|
87
|
-
[Full Changelog](http://github.com/
|
123
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.1.1...v2.2.0)
|
88
124
|
|
89
125
|
Enhancements:
|
90
126
|
|
@@ -141,7 +177,7 @@ Bug Fixes:
|
|
141
177
|
|
142
178
|
## 2.1.1 (April 24, 2012)
|
143
179
|
|
144
|
-
[Full Changelog](http://github.com/
|
180
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.1.0...v2.1.1)
|
145
181
|
|
146
182
|
* Fix `:use_scenario_name` cucumber tag option so that it works properly
|
147
183
|
with multiple scenarios. Thanks to [Brent Snook](https://github.com/brentsnook)
|
@@ -154,7 +190,7 @@ Bug Fixes:
|
|
154
190
|
|
155
191
|
## 2.1.0 (April 19, 2012)
|
156
192
|
|
157
|
-
[Full Changelog](http://github.com/
|
193
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.1...v.2.1.0)
|
158
194
|
|
159
195
|
* Add new `:use_scenario_name` option to the cucumber tags API. This
|
160
196
|
allows you to use a generic tag (such as `@vcr`) and have the
|
@@ -170,7 +206,7 @@ Bug Fixes:
|
|
170
206
|
|
171
207
|
## 2.0.1 (March 30, 2012)
|
172
208
|
|
173
|
-
[Full Changelog](http://github.com/
|
209
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0...v2.0.1)
|
174
210
|
|
175
211
|
* Fix encoding logic to not attempt to encode the request or response
|
176
212
|
body on deserialization if there is no encoding specified. This should
|
@@ -185,7 +221,7 @@ Bug Fixes:
|
|
185
221
|
|
186
222
|
## 2.0.0 (March 2, 2012)
|
187
223
|
|
188
|
-
[Full Changelog](http://github.com/
|
224
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.rc2...v2.0.0)
|
189
225
|
|
190
226
|
* Add some additional logged events for the `debug_logger`.
|
191
227
|
* Don't worry about stripping the standard port from the request URI on
|
@@ -202,7 +238,7 @@ Bug Fixes:
|
|
202
238
|
|
203
239
|
## 2.0.0 RC 2 (February 23, 2012)
|
204
240
|
|
205
|
-
[Full Changelog](http://github.com/
|
241
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.rc1...v2.0.0.rc2)
|
206
242
|
|
207
243
|
## New Features
|
208
244
|
|
@@ -252,7 +288,7 @@ Bug Fixes:
|
|
252
288
|
|
253
289
|
## 2.0.0 RC 1 (December 8, 2011)
|
254
290
|
|
255
|
-
[Full Changelog](http://github.com/
|
291
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.beta2...v2.0.0.rc1)
|
256
292
|
|
257
293
|
* Add Faraday hook that automatically inserts the VCR middleware so that
|
258
294
|
you can use VCR with Faraday without needing to insert the middleware
|
@@ -273,7 +309,7 @@ Bug Fixes:
|
|
273
309
|
|
274
310
|
## 2.0.0 Beta 2 (November 6, 2011)
|
275
311
|
|
276
|
-
[Full Changelog](http://github.com/
|
312
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.beta1...v2.0.0.beta2)
|
277
313
|
|
278
314
|
* Update to (and require) Typhoeus 0.3.2.
|
279
315
|
* Fix a bug with `VCR.request_matchers.uri_without_param(:some_param)`
|
@@ -308,7 +344,7 @@ upgrade notes for more info.
|
|
308
344
|
|
309
345
|
## 2.0.0 Beta 1 (October 8, 2011)
|
310
346
|
|
311
|
-
[Full Changelog](http://github.com/
|
347
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.11.3...v2.0.0.beta1)
|
312
348
|
|
313
349
|
### Changed
|
314
350
|
|
@@ -356,48 +392,48 @@ upgrade notes for more info.
|
|
356
392
|
|
357
393
|
## 1.11.3 (August 31, 2011)
|
358
394
|
|
359
|
-
[Full Changelog](http://github.com/
|
395
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.11.2...v1.11.3)
|
360
396
|
|
361
397
|
* Fix cassette serialization so that it does not include extra `ignored`
|
362
398
|
instance variable.
|
363
399
|
|
364
400
|
## 1.11.2 (August 28, 2011)
|
365
401
|
|
366
|
-
[Full Changelog](http://github.com/
|
402
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.11.1...v1.11.2)
|
367
403
|
|
368
404
|
* Updated rake, cucumber and aruba dev dependencies to latest releases.
|
369
405
|
* Fix all warnings originating from VCR. VCR is now warning-free!
|
370
406
|
|
371
407
|
## 1.11.1 (August 18, 2011)
|
372
408
|
|
373
|
-
[Full Changelog](http://github.com/
|
409
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.11.0...v1.11.1)
|
374
410
|
|
375
411
|
* Yanked 1.11.0 and rebuilt gem on 1.8.7 to deal with syck/psych
|
376
412
|
incompatibilties in gemspec.
|
377
413
|
|
378
414
|
## 1.11.0 (August 18, 2011)
|
379
415
|
|
380
|
-
[Full Changelog](http://github.com/
|
416
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.10.3...v1.11.0)
|
381
417
|
|
382
418
|
* Updates to work with WebMock 1.7.0.
|
383
419
|
|
384
420
|
## 1.10.3 (July 21, 2011)
|
385
421
|
|
386
|
-
[Full Changelog](http://github.com/
|
422
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.10.2...v1.10.3)
|
387
423
|
|
388
424
|
* Fix `:update_content_length_header` option so no error is raised if
|
389
425
|
a response body is nil. Bug reported by [jg](https://github.com/jg).
|
390
426
|
|
391
427
|
## 1.10.2 (July 16, 2011)
|
392
428
|
|
393
|
-
[Full Changelog](http://github.com/
|
429
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.10.1...v1.10.2)
|
394
430
|
|
395
431
|
* Yanked 1.10.1 and rebuilt gem on 1.8.7 to deal with syck/psych
|
396
432
|
incompatibilties in gemspec.
|
397
433
|
|
398
434
|
## 1.10.1 (July 16, 2011)
|
399
435
|
|
400
|
-
[Full Changelog](http://github.com/
|
436
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.10.0...v1.10.1)
|
401
437
|
|
402
438
|
* Fix typo in error message. Fix provided by [Bradley](https://github.com/bradleyisotope).
|
403
439
|
* Fix excon adapter to properly handle queries specified as a hash.
|
@@ -408,7 +444,7 @@ upgrade notes for more info.
|
|
408
444
|
|
409
445
|
## 1.10.0 (May 18, 2011)
|
410
446
|
|
411
|
-
[Full Changelog](http://github.com/
|
447
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.9.0...v1.10.0)
|
412
448
|
|
413
449
|
* Fix header normalization so that it properly handles nested arrays and
|
414
450
|
non-string values.
|
@@ -422,19 +458,19 @@ upgrade notes for more info.
|
|
422
458
|
|
423
459
|
## 1.9.0 (April 14, 2011)
|
424
460
|
|
425
|
-
[Full Changelog](http://github.com/
|
461
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.8.0...v1.9.0)
|
426
462
|
|
427
463
|
* Add support for [Excon](https://github.com/geemus/excon).
|
428
464
|
|
429
465
|
## 1.8.0 (March 31, 2011)
|
430
466
|
|
431
|
-
[Full Changelog](http://github.com/
|
467
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.7.2...v1.8.0)
|
432
468
|
|
433
469
|
* Updated Faraday middleware to work with newly released Faraday 0.6.0.
|
434
470
|
|
435
471
|
## 1.7.2 (March 26, 2011)
|
436
472
|
|
437
|
-
[Full Changelog](http://github.com/
|
473
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.7.1...v1.7.2)
|
438
474
|
|
439
475
|
* Fixed Typhoeus adapter so headers are returned in the same form during
|
440
476
|
playback as they would be without VCR. Bug reported by
|
@@ -444,14 +480,14 @@ upgrade notes for more info.
|
|
444
480
|
|
445
481
|
## 1.7.1 (March 19, 2011)
|
446
482
|
|
447
|
-
[Full Changelog](http://github.com/
|
483
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.7.0...v1.7.1)
|
448
484
|
|
449
485
|
* Fix Faraday adapter so that it properly normalizes query parameters
|
450
486
|
in the same way that Faraday itself does.
|
451
487
|
|
452
488
|
## 1.7.0 (March 1, 2011)
|
453
489
|
|
454
|
-
[Full Changelog](http://github.com/
|
490
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.6.0...v1.7.0)
|
455
491
|
|
456
492
|
* Use Psych for YAML serialization/deserialization when it is available.
|
457
493
|
Syck, Ruby's old YAML engine, will remove whitespace from some
|
@@ -478,7 +514,7 @@ upgrade notes for more info.
|
|
478
514
|
|
479
515
|
## 1.6.0 (February 3, 2011)
|
480
516
|
|
481
|
-
[Full Changelog](http://github.com/
|
517
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.5.1...v1.6.0)
|
482
518
|
|
483
519
|
* Add new `ignore_hosts` configuration option that allows you to ignore
|
484
520
|
any host (not just localhost aliases, as the `ignore_localhost` option
|
@@ -488,7 +524,7 @@ upgrade notes for more info.
|
|
488
524
|
|
489
525
|
## 1.5.1 (January 12, 2011)
|
490
526
|
|
491
|
-
[Full Changelog](http://github.com/
|
527
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.5.0...v1.5.1)
|
492
528
|
|
493
529
|
* Fix response and request serialization so that the headers are raw
|
494
530
|
strings. This fixes intermittent YAML seg faults for paperclip
|
@@ -496,7 +532,7 @@ upgrade notes for more info.
|
|
496
532
|
|
497
533
|
## 1.5.0 (January 12, 2011)
|
498
534
|
|
499
|
-
[Full Changelog](http://github.com/
|
535
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.4.0...v1.5.0)
|
500
536
|
|
501
537
|
* Fix VCR::Cassette so it does not raise an error when a cassette file is
|
502
538
|
empty. Bug reported and fixed by [Karl Baum](https://github.com/kbaum).
|
@@ -515,7 +551,7 @@ upgrade notes for more info.
|
|
515
551
|
|
516
552
|
## 1.4.0 (December 3, 2010)
|
517
553
|
|
518
|
-
[Full Changelog](http://github.com/
|
554
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.3.3...v1.4.0)
|
519
555
|
|
520
556
|
* Added support for making HTTP requests without a cassette (i.e. if you don't
|
521
557
|
want to use VCR for all of your test suite). There are a few ways to
|
@@ -531,7 +567,7 @@ upgrade notes for more info.
|
|
531
567
|
|
532
568
|
## 1.3.3 (November 21, 2010)
|
533
569
|
|
534
|
-
[Full Changelog](http://github.com/
|
570
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.3.2...v1.3.3)
|
535
571
|
|
536
572
|
* In specs, hit a local sinatra server rather than example.com. This makes
|
537
573
|
the specs faster and removes an external dependency. The specs can pass
|
@@ -543,7 +579,7 @@ upgrade notes for more info.
|
|
543
579
|
|
544
580
|
## 1.3.2 (November 16, 2010)
|
545
581
|
|
546
|
-
[Full Changelog](http://github.com/
|
582
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.3.1...v1.3.2)
|
547
583
|
|
548
584
|
* Fix serialized structs so that they are normalized andthey will be the same
|
549
585
|
regardless of which HTTP library made the request.
|
@@ -555,15 +591,15 @@ upgrade notes for more info.
|
|
555
591
|
|
556
592
|
## 1.3.1 (November 11, 2010)
|
557
593
|
|
558
|
-
[Full Changelog](http://github.com/
|
594
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.3.0...v1.3.1)
|
559
595
|
|
560
596
|
* Update WebMock adapter to work with (and require) newly released WebMock 1.6.0.
|
561
597
|
|
562
598
|
## 1.3.0 (November 11, 2010)
|
563
599
|
|
564
|
-
[Full Changelog](http://github.com/
|
600
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.2.0...v1.3.0)
|
565
601
|
|
566
|
-
* Moved documentation from README to [Wiki](http://github.com/
|
602
|
+
* Moved documentation from README to [Wiki](http://github.com/vcr/vcr/wiki).
|
567
603
|
* Refactoring and code cleanup.
|
568
604
|
* Fix InternetConnection.available? so that it memoizes correctly when a connection is not available.
|
569
605
|
* Fix WebMock version checking to allow newly released 1.5.0 to be used without a warning.
|
@@ -575,7 +611,7 @@ upgrade notes for more info.
|
|
575
611
|
|
576
612
|
## 1.2.0 (October 13, 2010)
|
577
613
|
|
578
|
-
[Full Changelog](http://github.com/
|
614
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.1.2...v1.2.0)
|
579
615
|
|
580
616
|
* Improved the `:all` record mode so that it keeps previously recorded interactions that do not match the
|
581
617
|
new recorded interactions. Previously, all of the previously recorded interactions were deleted.
|
@@ -585,7 +621,7 @@ upgrade notes for more info.
|
|
585
621
|
example group.
|
586
622
|
* Fixed VCR/Net::HTTP/WebMock integration so that VCR no longer loads its Net::HTTP monkey patch when
|
587
623
|
WebMock is used, and relies upon WebMock's after_request callback to record Net::HTTP instead. This
|
588
|
-
fixes [a bug](http://github.com/
|
624
|
+
fixes [a bug](http://github.com/vcr/vcr/issues/14) when using WebMock and Open URI.
|
589
625
|
* Consider 0.0.0.0 to be a localhost alias (previously only "localhost" and 127.0.0.1 were considered).
|
590
626
|
* Added spec and feature coverage for Curb integration. Works out of the box with no changes required
|
591
627
|
to VCR due to [Pete Higgins'](http://github.com/phiggins) great work to add Curb support to WebMock.
|
@@ -594,7 +630,7 @@ upgrade notes for more info.
|
|
594
630
|
|
595
631
|
## 1.1.2 (September 9, 2010)
|
596
632
|
|
597
|
-
[Full Changelog](http://github.com/
|
633
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.1.1...v1.1.2)
|
598
634
|
|
599
635
|
* Fixed a minor bug with the WebMock integration: WebMock extends each `Net::HTTPResponse` with an extension
|
600
636
|
module after reading the body, and VCR was doing the same thing, leading to some slight deviance from
|
@@ -608,7 +644,7 @@ upgrade notes for more info.
|
|
608
644
|
|
609
645
|
## 1.1.1 (August 26, 2010)
|
610
646
|
|
611
|
-
[Full Changelog](http://github.com/
|
647
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.1.0...v1.1.1)
|
612
648
|
|
613
649
|
* Updated to use and require FakeWeb 1.3.0. It includes a fix for a bug related to multiple values for the
|
614
650
|
same response header.
|
@@ -623,7 +659,7 @@ upgrade notes for more info.
|
|
623
659
|
|
624
660
|
## 1.1.0 (August 22, 2010)
|
625
661
|
|
626
|
-
[Full Changelog](http://github.com/
|
662
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.0.3...v1.1.0)
|
627
663
|
|
628
664
|
* Added `:match_requests_on` cassette option, which determines how VCR matches requests.
|
629
665
|
* Removed VCR::TaskRunner and the corresponding rake task definition. The rake task migrated cassettes from the
|
@@ -638,7 +674,7 @@ upgrade notes for more info.
|
|
638
674
|
|
639
675
|
## 1.0.3 (August 5, 2010)
|
640
676
|
|
641
|
-
[Full Changelog](http://github.com/
|
677
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.0.2...v1.0.3)
|
642
678
|
|
643
679
|
* Upgraded VCR specs to RSpec 2.
|
644
680
|
* Updated `VCR::CucumberTags` so that it uses an `around` hook rather than a `before` hook and an `after` hook.
|
@@ -650,7 +686,7 @@ upgrade notes for more info.
|
|
650
686
|
|
651
687
|
## 1.0.2 (July 6, 2010)
|
652
688
|
|
653
|
-
[Full Changelog](http://github.com/
|
689
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.0.1...v1.0.2)
|
654
690
|
|
655
691
|
* Fixed VCR to work with [rest-client](http://github.com/archiloque/rest-client). Rest-client extends the Net::HTTP
|
656
692
|
response body string with a module containing additional data, which got serialized to the cassette file YAML
|
@@ -660,7 +696,7 @@ upgrade notes for more info.
|
|
660
696
|
|
661
697
|
## 1.0.1 (July 1, 2010)
|
662
698
|
|
663
|
-
[Full Changelog](http://github.com/
|
699
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v1.0.0...v1.0.1)
|
664
700
|
|
665
701
|
* Fixed specs and features so they pass on MRI 1.9.2-preview3 and JRuby 1.5.1.
|
666
702
|
* Normalized response and request headers so that they are stored the same (i.e. lower case keys, arrays of values)
|
@@ -672,7 +708,7 @@ upgrade notes for more info.
|
|
672
708
|
|
673
709
|
## 1.0.0 (June 22, 2010)
|
674
710
|
|
675
|
-
[Full Changelog](http://github.com/
|
711
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.4.1...v1.0.0)
|
676
712
|
|
677
713
|
* New Features
|
678
714
|
* Added support for [HTTPClient](http://github.com/nahi/httpclient), [Patron](http://github.com/toland/patron) and
|
@@ -708,7 +744,7 @@ upgrade notes for more info.
|
|
708
744
|
|
709
745
|
## 0.4.1 May 11, 2010
|
710
746
|
|
711
|
-
[Full Changelog](http://github.com/
|
747
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.4.0...v0.4.1)
|
712
748
|
|
713
749
|
* Fixed a bug: when `Net::HTTPResponse#read_body` was called after VCR had read the body to record a new request,
|
714
750
|
it raised an error (`IOError: Net::HTTPResponse#read_body called twice`). My fix extends Net::HTTPResponse
|
@@ -716,7 +752,7 @@ upgrade notes for more info.
|
|
716
752
|
|
717
753
|
## 0.4.0 April 28, 2010
|
718
754
|
|
719
|
-
[Full Changelog](http://github.com/
|
755
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.3.1...v0.4.0)
|
720
756
|
|
721
757
|
* Added support for webmock. All the fakeweb-specific code is now in an adapter (as is the webmock code).
|
722
758
|
|
@@ -744,13 +780,13 @@ upgrade notes for more info.
|
|
744
780
|
|
745
781
|
## 0.3.1 April 10, 2010
|
746
782
|
|
747
|
-
[Full Changelog](http://github.com/
|
783
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.3.0...v0.3.1)
|
748
784
|
|
749
785
|
* Fixed a bug: when `Net::HTTP#request` was called with a block that had a return statement, the response was not being recorded.
|
750
786
|
|
751
787
|
## 0.3.0 March 24, 2010
|
752
788
|
|
753
|
-
[Full Changelog](http://github.com/
|
789
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.2.0...v0.3.0)
|
754
790
|
|
755
791
|
* Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
|
756
792
|
* `VCR.create_cassette!` => `VCR.insert_cassette`
|
@@ -765,7 +801,7 @@ upgrade notes for more info.
|
|
765
801
|
|
766
802
|
## 0.2.0 March 9, 2010
|
767
803
|
|
768
|
-
[Full Changelog](http://github.com/
|
804
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.1.2...v0.2.0)
|
769
805
|
|
770
806
|
* Added `:allow_real_http` cassette option, which allows VCR to work with capybara and a javascript driver.
|
771
807
|
Bug reported by [Ben Hutton](http://github.com/benhutton).
|
@@ -774,7 +810,7 @@ upgrade notes for more info.
|
|
774
810
|
|
775
811
|
## 0.1.2 March 4, 2010
|
776
812
|
|
777
|
-
[Full Changelog](http://github.com/
|
813
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.1.1...v0.1.2)
|
778
814
|
|
779
815
|
* Added explanatory note about VCR to `FakeWeb::NetConnectNotAllowedError#message`.
|
780
816
|
|
@@ -786,12 +822,12 @@ upgrade notes for more info.
|
|
786
822
|
|
787
823
|
## 0.1.1 February 25, 2010
|
788
824
|
|
789
|
-
[Full Changelog](http://github.com/
|
825
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/v0.1.0...v0.1.1)
|
790
826
|
|
791
827
|
* Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
|
792
828
|
|
793
829
|
## 0.1.0 February 25, 2010
|
794
830
|
|
795
|
-
[Full Changelog](http://github.com/
|
831
|
+
[Full Changelog](http://github.com/vcr/vcr/compare/d2577f79247d7db60bf160881b1b64e9fa10e4fd...v0.1.0)
|
796
832
|
|
797
833
|
* Initial release. Basic recording and replaying of responses works.
|