vcr 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +11 -1
- data/README.md +20 -7
- data/lib/vcr.rb +6 -3
- data/lib/vcr.rbc +1452 -0
- data/lib/vcr/cassette.rbc +3056 -0
- data/lib/vcr/config.rbc +914 -0
- data/lib/vcr/cucumber_tags.rbc +1032 -0
- data/lib/vcr/deprecations.rbc +707 -0
- data/lib/vcr/extensions/net_http.rbc +700 -0
- data/lib/vcr/extensions/net_http_response.rbc +648 -0
- data/lib/vcr/http_stubbing_adapters/base.rbc +886 -0
- data/lib/vcr/http_stubbing_adapters/fakeweb.rb +2 -2
- data/lib/vcr/http_stubbing_adapters/fakeweb.rbc +2352 -0
- data/lib/vcr/http_stubbing_adapters/webmock.rbc +3209 -0
- data/lib/vcr/structs.rb +27 -0
- data/lib/vcr/structs.rbc +1325 -0
- data/lib/vcr/task_runner.rbc +1357 -0
- data/lib/vcr/version.rb +1 -1
- data/lib/vcr/version.rbc +571 -0
- metadata +38 -4
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
#Changelog
|
2
2
|
|
3
|
+
## 1.0.1 (July 1, 2010)
|
4
|
+
|
5
|
+
* Fixed specs and features so they pass on MRI 1.9.2-preview3 and JRuby 1.5.1.
|
6
|
+
* Normalized response and request headers so that they are stored the same (i.e. lower case keys, arrays of values)
|
7
|
+
in the cassette yaml files, regardless of which HTTP library is used. This is the same way Net::HTTP normalizes
|
8
|
+
HTTP headers.
|
9
|
+
* Fixed `VCR.use_cassette` so that it doesn't eject a cassette if an exception occurs while inserting one.
|
10
|
+
* Fixed FakeWeb adapter so that it works for requests that use basic auth. Patch submitted by
|
11
|
+
[Eric Allam](http://github.com/rubymaverick).
|
12
|
+
|
3
13
|
## 1.0.0 (June 22, 2010)
|
4
14
|
|
5
15
|
* New Features
|
@@ -98,4 +108,4 @@
|
|
98
108
|
* Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
|
99
109
|
|
100
110
|
## 0.1.0 February 25, 2010
|
101
|
-
* Initial release. Basic recording and replaying of responses works.
|
111
|
+
* Initial release. Basic recording and replaying of responses works.
|
data/README.md
CHANGED
@@ -26,10 +26,10 @@ or
|
|
26
26
|
|
27
27
|
class VCRTest < Test::Unit::TestCase
|
28
28
|
def test_example_dot_com
|
29
|
-
|
30
|
-
Net::HTTP.get_response(URI.parse('http://example.com/'))
|
29
|
+
VCR.use_cassette('synopsis', :record => :new_episodes) do
|
30
|
+
response = Net::HTTP.get_response(URI.parse('http://example.com/'))
|
31
|
+
assert_match /You have reached this web page by typing.*example\.com/, response.body
|
31
32
|
end
|
32
|
-
assert_match /You have reached this web page by typing.*example\.com/, response.body
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -188,7 +188,7 @@ dynamic. You can use [ERB](http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/) for
|
|
188
188
|
|
189
189
|
Enable ERB evaluation of a cassette using the `:erb` option:
|
190
190
|
|
191
|
-
VCR.use_cassette('user-subscription', :erb =>
|
191
|
+
VCR.use_cassette('user-subscription', :erb => true) do
|
192
192
|
# do something that makes an HTTP request
|
193
193
|
end
|
194
194
|
|
@@ -250,9 +250,15 @@ record the HTTP interaction. I usually remove the record mode at this point so
|
|
250
250
|
of `:none` in the future. Future test runs will get the recorded response, and if your code changes so
|
251
251
|
that it is making a new HTTP request, you'll be notified by an error as shown above.
|
252
252
|
|
253
|
-
## Ruby
|
253
|
+
## Ruby Interpreter Compatibility
|
254
254
|
|
255
|
-
VCR has been tested on
|
255
|
+
VCR has been tested on the following ruby interpreters:
|
256
|
+
|
257
|
+
* MRI 1.8.6
|
258
|
+
* MRI 1.8.7
|
259
|
+
* MRI 1.9.1
|
260
|
+
* MRI 1.9.2 preview 3
|
261
|
+
* JRuby 1.5.1
|
256
262
|
|
257
263
|
## Notes, etc.
|
258
264
|
|
@@ -287,6 +293,13 @@ VCR has been tested on ruby 1.8.6, 1.8.7 and 1.9.1.
|
|
287
293
|
* [Chris Young](http://github.com/chrisyoung) for [NetRecorder](http://github.com/chrisyoung/netrecorder),
|
288
294
|
the inspiration for VCR.
|
289
295
|
|
296
|
+
Thanks also to the following people who have contributed patches or helpful suggestions:
|
297
|
+
|
298
|
+
* [Aaron Brethorst](http://github.com/aaronbrethorst)
|
299
|
+
* [Bartosz Blimke](http://github.com/bblimke)
|
300
|
+
* [Ben Hutton](http://github.com/benhutton)
|
301
|
+
* [Eric Allam](http://github.com/rubymaverick)
|
302
|
+
|
290
303
|
## Copyright
|
291
304
|
|
292
|
-
Copyright (c) 2010 Myron Marston. See LICENSE for details.
|
305
|
+
Copyright (c) 2010 Myron Marston. See LICENSE for details.
|
data/lib/vcr.rb
CHANGED
data/lib/vcr.rbc
ADDED
@@ -0,0 +1,1452 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
100
|
13
|
+
5
|
14
|
+
7
|
15
|
+
0
|
16
|
+
64
|
17
|
+
47
|
18
|
+
49
|
19
|
+
1
|
20
|
+
1
|
21
|
+
15
|
22
|
+
5
|
23
|
+
7
|
24
|
+
2
|
25
|
+
64
|
26
|
+
47
|
27
|
+
49
|
28
|
+
1
|
29
|
+
1
|
30
|
+
15
|
31
|
+
5
|
32
|
+
7
|
33
|
+
3
|
34
|
+
64
|
35
|
+
47
|
36
|
+
49
|
37
|
+
1
|
38
|
+
1
|
39
|
+
15
|
40
|
+
5
|
41
|
+
7
|
42
|
+
4
|
43
|
+
64
|
44
|
+
47
|
45
|
+
49
|
46
|
+
1
|
47
|
+
1
|
48
|
+
15
|
49
|
+
5
|
50
|
+
7
|
51
|
+
5
|
52
|
+
64
|
53
|
+
47
|
54
|
+
49
|
55
|
+
1
|
56
|
+
1
|
57
|
+
15
|
58
|
+
5
|
59
|
+
7
|
60
|
+
6
|
61
|
+
64
|
62
|
+
47
|
63
|
+
49
|
64
|
+
1
|
65
|
+
1
|
66
|
+
15
|
67
|
+
5
|
68
|
+
7
|
69
|
+
7
|
70
|
+
64
|
71
|
+
47
|
72
|
+
49
|
73
|
+
1
|
74
|
+
1
|
75
|
+
15
|
76
|
+
5
|
77
|
+
7
|
78
|
+
8
|
79
|
+
64
|
80
|
+
47
|
81
|
+
49
|
82
|
+
1
|
83
|
+
1
|
84
|
+
15
|
85
|
+
99
|
86
|
+
7
|
87
|
+
9
|
88
|
+
65
|
89
|
+
49
|
90
|
+
10
|
91
|
+
2
|
92
|
+
13
|
93
|
+
99
|
94
|
+
12
|
95
|
+
7
|
96
|
+
11
|
97
|
+
12
|
98
|
+
7
|
99
|
+
12
|
100
|
+
12
|
101
|
+
65
|
102
|
+
12
|
103
|
+
49
|
104
|
+
13
|
105
|
+
4
|
106
|
+
15
|
107
|
+
49
|
108
|
+
11
|
109
|
+
0
|
110
|
+
15
|
111
|
+
2
|
112
|
+
11
|
113
|
+
I
|
114
|
+
6
|
115
|
+
I
|
116
|
+
0
|
117
|
+
I
|
118
|
+
0
|
119
|
+
I
|
120
|
+
0
|
121
|
+
n
|
122
|
+
p
|
123
|
+
14
|
124
|
+
s
|
125
|
+
12
|
126
|
+
vcr/cassette
|
127
|
+
x
|
128
|
+
7
|
129
|
+
require
|
130
|
+
s
|
131
|
+
10
|
132
|
+
vcr/config
|
133
|
+
s
|
134
|
+
17
|
135
|
+
vcr/cucumber_tags
|
136
|
+
s
|
137
|
+
16
|
138
|
+
vcr/deprecations
|
139
|
+
s
|
140
|
+
11
|
141
|
+
vcr/structs
|
142
|
+
s
|
143
|
+
11
|
144
|
+
vcr/version
|
145
|
+
s
|
146
|
+
32
|
147
|
+
vcr/extensions/net_http_response
|
148
|
+
s
|
149
|
+
31
|
150
|
+
vcr/http_stubbing_adapters/base
|
151
|
+
x
|
152
|
+
3
|
153
|
+
VCR
|
154
|
+
x
|
155
|
+
11
|
156
|
+
open_module
|
157
|
+
x
|
158
|
+
15
|
159
|
+
__module_init__
|
160
|
+
M
|
161
|
+
1
|
162
|
+
n
|
163
|
+
n
|
164
|
+
x
|
165
|
+
3
|
166
|
+
VCR
|
167
|
+
i
|
168
|
+
154
|
169
|
+
5
|
170
|
+
66
|
171
|
+
5
|
172
|
+
5
|
173
|
+
47
|
174
|
+
49
|
175
|
+
0
|
176
|
+
1
|
177
|
+
15
|
178
|
+
65
|
179
|
+
7
|
180
|
+
1
|
181
|
+
7
|
182
|
+
2
|
183
|
+
64
|
184
|
+
7
|
185
|
+
3
|
186
|
+
64
|
187
|
+
35
|
188
|
+
2
|
189
|
+
49
|
190
|
+
4
|
191
|
+
2
|
192
|
+
15
|
193
|
+
99
|
194
|
+
7
|
195
|
+
5
|
196
|
+
7
|
197
|
+
6
|
198
|
+
65
|
199
|
+
67
|
200
|
+
49
|
201
|
+
7
|
202
|
+
0
|
203
|
+
49
|
204
|
+
8
|
205
|
+
4
|
206
|
+
15
|
207
|
+
99
|
208
|
+
7
|
209
|
+
9
|
210
|
+
7
|
211
|
+
10
|
212
|
+
65
|
213
|
+
67
|
214
|
+
49
|
215
|
+
7
|
216
|
+
0
|
217
|
+
49
|
218
|
+
8
|
219
|
+
4
|
220
|
+
15
|
221
|
+
99
|
222
|
+
7
|
223
|
+
11
|
224
|
+
7
|
225
|
+
12
|
226
|
+
65
|
227
|
+
67
|
228
|
+
49
|
229
|
+
7
|
230
|
+
0
|
231
|
+
49
|
232
|
+
8
|
233
|
+
4
|
234
|
+
15
|
235
|
+
99
|
236
|
+
7
|
237
|
+
13
|
238
|
+
7
|
239
|
+
14
|
240
|
+
65
|
241
|
+
67
|
242
|
+
49
|
243
|
+
7
|
244
|
+
0
|
245
|
+
49
|
246
|
+
8
|
247
|
+
4
|
248
|
+
15
|
249
|
+
99
|
250
|
+
7
|
251
|
+
15
|
252
|
+
7
|
253
|
+
16
|
254
|
+
65
|
255
|
+
67
|
256
|
+
49
|
257
|
+
7
|
258
|
+
0
|
259
|
+
49
|
260
|
+
8
|
261
|
+
4
|
262
|
+
15
|
263
|
+
99
|
264
|
+
7
|
265
|
+
17
|
266
|
+
7
|
267
|
+
18
|
268
|
+
65
|
269
|
+
67
|
270
|
+
49
|
271
|
+
7
|
272
|
+
0
|
273
|
+
49
|
274
|
+
8
|
275
|
+
4
|
276
|
+
15
|
277
|
+
99
|
278
|
+
7
|
279
|
+
19
|
280
|
+
7
|
281
|
+
20
|
282
|
+
65
|
283
|
+
67
|
284
|
+
49
|
285
|
+
7
|
286
|
+
0
|
287
|
+
49
|
288
|
+
8
|
289
|
+
4
|
290
|
+
15
|
291
|
+
99
|
292
|
+
7
|
293
|
+
21
|
294
|
+
7
|
295
|
+
22
|
296
|
+
65
|
297
|
+
67
|
298
|
+
49
|
299
|
+
7
|
300
|
+
0
|
301
|
+
49
|
302
|
+
8
|
303
|
+
4
|
304
|
+
15
|
305
|
+
5
|
306
|
+
48
|
307
|
+
23
|
308
|
+
15
|
309
|
+
99
|
310
|
+
7
|
311
|
+
24
|
312
|
+
7
|
313
|
+
25
|
314
|
+
65
|
315
|
+
67
|
316
|
+
49
|
317
|
+
7
|
318
|
+
0
|
319
|
+
49
|
320
|
+
8
|
321
|
+
4
|
322
|
+
11
|
323
|
+
I
|
324
|
+
5
|
325
|
+
I
|
326
|
+
0
|
327
|
+
I
|
328
|
+
0
|
329
|
+
I
|
330
|
+
0
|
331
|
+
n
|
332
|
+
p
|
333
|
+
26
|
334
|
+
x
|
335
|
+
6
|
336
|
+
extend
|
337
|
+
x
|
338
|
+
17
|
339
|
+
LOCALHOST_ALIASES
|
340
|
+
s
|
341
|
+
9
|
342
|
+
localhost
|
343
|
+
s
|
344
|
+
9
|
345
|
+
127.0.0.1
|
346
|
+
x
|
347
|
+
9
|
348
|
+
const_set
|
349
|
+
x
|
350
|
+
16
|
351
|
+
current_cassette
|
352
|
+
M
|
353
|
+
1
|
354
|
+
n
|
355
|
+
n
|
356
|
+
x
|
357
|
+
16
|
358
|
+
current_cassette
|
359
|
+
i
|
360
|
+
7
|
361
|
+
5
|
362
|
+
48
|
363
|
+
0
|
364
|
+
49
|
365
|
+
1
|
366
|
+
0
|
367
|
+
11
|
368
|
+
I
|
369
|
+
1
|
370
|
+
I
|
371
|
+
0
|
372
|
+
I
|
373
|
+
0
|
374
|
+
I
|
375
|
+
0
|
376
|
+
n
|
377
|
+
p
|
378
|
+
2
|
379
|
+
x
|
380
|
+
9
|
381
|
+
cassettes
|
382
|
+
x
|
383
|
+
4
|
384
|
+
last
|
385
|
+
p
|
386
|
+
5
|
387
|
+
I
|
388
|
+
0
|
389
|
+
I
|
390
|
+
11
|
391
|
+
I
|
392
|
+
0
|
393
|
+
I
|
394
|
+
12
|
395
|
+
I
|
396
|
+
7
|
397
|
+
x
|
398
|
+
35
|
399
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
400
|
+
p
|
401
|
+
0
|
402
|
+
x
|
403
|
+
17
|
404
|
+
method_visibility
|
405
|
+
x
|
406
|
+
15
|
407
|
+
add_defn_method
|
408
|
+
x
|
409
|
+
15
|
410
|
+
insert_cassette
|
411
|
+
M
|
412
|
+
1
|
413
|
+
n
|
414
|
+
n
|
415
|
+
x
|
416
|
+
15
|
417
|
+
insert_cassette
|
418
|
+
i
|
419
|
+
25
|
420
|
+
45
|
421
|
+
0
|
422
|
+
1
|
423
|
+
20
|
424
|
+
0
|
425
|
+
36
|
426
|
+
1
|
427
|
+
51
|
428
|
+
2
|
429
|
+
0
|
430
|
+
19
|
431
|
+
1
|
432
|
+
15
|
433
|
+
5
|
434
|
+
48
|
435
|
+
3
|
436
|
+
20
|
437
|
+
1
|
438
|
+
49
|
439
|
+
4
|
440
|
+
1
|
441
|
+
15
|
442
|
+
20
|
443
|
+
1
|
444
|
+
11
|
445
|
+
I
|
446
|
+
5
|
447
|
+
I
|
448
|
+
2
|
449
|
+
I
|
450
|
+
0
|
451
|
+
I
|
452
|
+
0
|
453
|
+
I
|
454
|
+
0
|
455
|
+
p
|
456
|
+
5
|
457
|
+
x
|
458
|
+
8
|
459
|
+
Cassette
|
460
|
+
n
|
461
|
+
x
|
462
|
+
3
|
463
|
+
new
|
464
|
+
x
|
465
|
+
9
|
466
|
+
cassettes
|
467
|
+
x
|
468
|
+
4
|
469
|
+
push
|
470
|
+
p
|
471
|
+
9
|
472
|
+
I
|
473
|
+
0
|
474
|
+
I
|
475
|
+
15
|
476
|
+
I
|
477
|
+
0
|
478
|
+
I
|
479
|
+
16
|
480
|
+
I
|
481
|
+
d
|
482
|
+
I
|
483
|
+
17
|
484
|
+
I
|
485
|
+
16
|
486
|
+
I
|
487
|
+
18
|
488
|
+
I
|
489
|
+
19
|
490
|
+
x
|
491
|
+
35
|
492
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
493
|
+
p
|
494
|
+
2
|
495
|
+
x
|
496
|
+
4
|
497
|
+
args
|
498
|
+
x
|
499
|
+
8
|
500
|
+
cassette
|
501
|
+
x
|
502
|
+
14
|
503
|
+
eject_cassette
|
504
|
+
M
|
505
|
+
1
|
506
|
+
n
|
507
|
+
n
|
508
|
+
x
|
509
|
+
14
|
510
|
+
eject_cassette
|
511
|
+
i
|
512
|
+
25
|
513
|
+
5
|
514
|
+
48
|
515
|
+
0
|
516
|
+
49
|
517
|
+
1
|
518
|
+
0
|
519
|
+
19
|
520
|
+
0
|
521
|
+
15
|
522
|
+
20
|
523
|
+
0
|
524
|
+
9
|
525
|
+
20
|
526
|
+
20
|
527
|
+
0
|
528
|
+
49
|
529
|
+
2
|
530
|
+
0
|
531
|
+
8
|
532
|
+
21
|
533
|
+
1
|
534
|
+
15
|
535
|
+
20
|
536
|
+
0
|
537
|
+
11
|
538
|
+
I
|
539
|
+
2
|
540
|
+
I
|
541
|
+
1
|
542
|
+
I
|
543
|
+
0
|
544
|
+
I
|
545
|
+
0
|
546
|
+
n
|
547
|
+
p
|
548
|
+
3
|
549
|
+
x
|
550
|
+
9
|
551
|
+
cassettes
|
552
|
+
x
|
553
|
+
3
|
554
|
+
pop
|
555
|
+
x
|
556
|
+
5
|
557
|
+
eject
|
558
|
+
p
|
559
|
+
9
|
560
|
+
I
|
561
|
+
0
|
562
|
+
I
|
563
|
+
1b
|
564
|
+
I
|
565
|
+
0
|
566
|
+
I
|
567
|
+
1c
|
568
|
+
I
|
569
|
+
9
|
570
|
+
I
|
571
|
+
1d
|
572
|
+
I
|
573
|
+
16
|
574
|
+
I
|
575
|
+
1e
|
576
|
+
I
|
577
|
+
19
|
578
|
+
x
|
579
|
+
35
|
580
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
581
|
+
p
|
582
|
+
1
|
583
|
+
x
|
584
|
+
8
|
585
|
+
cassette
|
586
|
+
x
|
587
|
+
12
|
588
|
+
use_cassette
|
589
|
+
M
|
590
|
+
1
|
591
|
+
n
|
592
|
+
n
|
593
|
+
x
|
594
|
+
12
|
595
|
+
use_cassette
|
596
|
+
i
|
597
|
+
34
|
598
|
+
29
|
599
|
+
22
|
600
|
+
1
|
601
|
+
26
|
602
|
+
93
|
603
|
+
0
|
604
|
+
15
|
605
|
+
5
|
606
|
+
20
|
607
|
+
0
|
608
|
+
36
|
609
|
+
1
|
610
|
+
47
|
611
|
+
51
|
612
|
+
0
|
613
|
+
0
|
614
|
+
15
|
615
|
+
60
|
616
|
+
0
|
617
|
+
30
|
618
|
+
8
|
619
|
+
29
|
620
|
+
26
|
621
|
+
5
|
622
|
+
48
|
623
|
+
1
|
624
|
+
15
|
625
|
+
27
|
626
|
+
34
|
627
|
+
5
|
628
|
+
48
|
629
|
+
1
|
630
|
+
15
|
631
|
+
11
|
632
|
+
I
|
633
|
+
5
|
634
|
+
I
|
635
|
+
1
|
636
|
+
I
|
637
|
+
0
|
638
|
+
I
|
639
|
+
0
|
640
|
+
I
|
641
|
+
0
|
642
|
+
p
|
643
|
+
2
|
644
|
+
x
|
645
|
+
15
|
646
|
+
insert_cassette
|
647
|
+
x
|
648
|
+
14
|
649
|
+
eject_cassette
|
650
|
+
p
|
651
|
+
9
|
652
|
+
I
|
653
|
+
0
|
654
|
+
I
|
655
|
+
21
|
656
|
+
I
|
657
|
+
0
|
658
|
+
I
|
659
|
+
22
|
660
|
+
I
|
661
|
+
11
|
662
|
+
I
|
663
|
+
23
|
664
|
+
I
|
665
|
+
17
|
666
|
+
I
|
667
|
+
25
|
668
|
+
I
|
669
|
+
22
|
670
|
+
x
|
671
|
+
35
|
672
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
673
|
+
p
|
674
|
+
1
|
675
|
+
x
|
676
|
+
4
|
677
|
+
args
|
678
|
+
x
|
679
|
+
6
|
680
|
+
config
|
681
|
+
M
|
682
|
+
1
|
683
|
+
n
|
684
|
+
n
|
685
|
+
x
|
686
|
+
6
|
687
|
+
config
|
688
|
+
i
|
689
|
+
46
|
690
|
+
45
|
691
|
+
0
|
692
|
+
1
|
693
|
+
43
|
694
|
+
2
|
695
|
+
60
|
696
|
+
1
|
697
|
+
15
|
698
|
+
5
|
699
|
+
48
|
700
|
+
3
|
701
|
+
49
|
702
|
+
4
|
703
|
+
0
|
704
|
+
15
|
705
|
+
5
|
706
|
+
48
|
707
|
+
3
|
708
|
+
3
|
709
|
+
13
|
710
|
+
18
|
711
|
+
2
|
712
|
+
49
|
713
|
+
5
|
714
|
+
1
|
715
|
+
15
|
716
|
+
15
|
717
|
+
5
|
718
|
+
48
|
719
|
+
3
|
720
|
+
45
|
721
|
+
0
|
722
|
+
6
|
723
|
+
43
|
724
|
+
2
|
725
|
+
49
|
726
|
+
7
|
727
|
+
0
|
728
|
+
13
|
729
|
+
18
|
730
|
+
2
|
731
|
+
49
|
732
|
+
8
|
733
|
+
1
|
734
|
+
15
|
735
|
+
11
|
736
|
+
I
|
737
|
+
3
|
738
|
+
I
|
739
|
+
0
|
740
|
+
I
|
741
|
+
0
|
742
|
+
I
|
743
|
+
0
|
744
|
+
n
|
745
|
+
p
|
746
|
+
9
|
747
|
+
x
|
748
|
+
3
|
749
|
+
VCR
|
750
|
+
n
|
751
|
+
x
|
752
|
+
6
|
753
|
+
Config
|
754
|
+
x
|
755
|
+
21
|
756
|
+
http_stubbing_adapter
|
757
|
+
x
|
758
|
+
14
|
759
|
+
check_version!
|
760
|
+
x
|
761
|
+
25
|
762
|
+
http_connections_allowed=
|
763
|
+
n
|
764
|
+
x
|
765
|
+
17
|
766
|
+
ignore_localhost?
|
767
|
+
x
|
768
|
+
17
|
769
|
+
ignore_localhost=
|
770
|
+
p
|
771
|
+
11
|
772
|
+
I
|
773
|
+
0
|
774
|
+
I
|
775
|
+
28
|
776
|
+
I
|
777
|
+
0
|
778
|
+
I
|
779
|
+
29
|
780
|
+
I
|
781
|
+
8
|
782
|
+
I
|
783
|
+
2a
|
784
|
+
I
|
785
|
+
f
|
786
|
+
I
|
787
|
+
2b
|
788
|
+
I
|
789
|
+
1b
|
790
|
+
I
|
791
|
+
2c
|
792
|
+
I
|
793
|
+
2e
|
794
|
+
x
|
795
|
+
35
|
796
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
797
|
+
p
|
798
|
+
0
|
799
|
+
x
|
800
|
+
13
|
801
|
+
cucumber_tags
|
802
|
+
M
|
803
|
+
1
|
804
|
+
n
|
805
|
+
n
|
806
|
+
x
|
807
|
+
13
|
808
|
+
cucumber_tags
|
809
|
+
i
|
810
|
+
53
|
811
|
+
95
|
812
|
+
19
|
813
|
+
0
|
814
|
+
15
|
815
|
+
5
|
816
|
+
7
|
817
|
+
0
|
818
|
+
64
|
819
|
+
20
|
820
|
+
0
|
821
|
+
49
|
822
|
+
1
|
823
|
+
0
|
824
|
+
47
|
825
|
+
49
|
826
|
+
2
|
827
|
+
2
|
828
|
+
19
|
829
|
+
1
|
830
|
+
15
|
831
|
+
45
|
832
|
+
3
|
833
|
+
4
|
834
|
+
43
|
835
|
+
5
|
836
|
+
13
|
837
|
+
71
|
838
|
+
6
|
839
|
+
47
|
840
|
+
9
|
841
|
+
45
|
842
|
+
47
|
843
|
+
49
|
844
|
+
7
|
845
|
+
0
|
846
|
+
13
|
847
|
+
20
|
848
|
+
1
|
849
|
+
47
|
850
|
+
49
|
851
|
+
8
|
852
|
+
1
|
853
|
+
15
|
854
|
+
8
|
855
|
+
50
|
856
|
+
20
|
857
|
+
1
|
858
|
+
49
|
859
|
+
6
|
860
|
+
1
|
861
|
+
60
|
862
|
+
1
|
863
|
+
11
|
864
|
+
I
|
865
|
+
5
|
866
|
+
I
|
867
|
+
2
|
868
|
+
I
|
869
|
+
0
|
870
|
+
I
|
871
|
+
0
|
872
|
+
n
|
873
|
+
p
|
874
|
+
9
|
875
|
+
s
|
876
|
+
4
|
877
|
+
self
|
878
|
+
x
|
879
|
+
7
|
880
|
+
binding
|
881
|
+
x
|
882
|
+
4
|
883
|
+
eval
|
884
|
+
x
|
885
|
+
3
|
886
|
+
VCR
|
887
|
+
n
|
888
|
+
x
|
889
|
+
12
|
890
|
+
CucumberTags
|
891
|
+
x
|
892
|
+
3
|
893
|
+
new
|
894
|
+
x
|
895
|
+
8
|
896
|
+
allocate
|
897
|
+
x
|
898
|
+
10
|
899
|
+
initialize
|
900
|
+
p
|
901
|
+
7
|
902
|
+
I
|
903
|
+
0
|
904
|
+
I
|
905
|
+
2f
|
906
|
+
I
|
907
|
+
4
|
908
|
+
I
|
909
|
+
30
|
910
|
+
I
|
911
|
+
14
|
912
|
+
I
|
913
|
+
31
|
914
|
+
I
|
915
|
+
35
|
916
|
+
x
|
917
|
+
35
|
918
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
919
|
+
p
|
920
|
+
2
|
921
|
+
x
|
922
|
+
5
|
923
|
+
block
|
924
|
+
x
|
925
|
+
11
|
926
|
+
main_object
|
927
|
+
x
|
928
|
+
21
|
929
|
+
http_stubbing_adapter
|
930
|
+
M
|
931
|
+
1
|
932
|
+
n
|
933
|
+
n
|
934
|
+
x
|
935
|
+
21
|
936
|
+
http_stubbing_adapter
|
937
|
+
i
|
938
|
+
91
|
939
|
+
39
|
940
|
+
0
|
941
|
+
13
|
942
|
+
10
|
943
|
+
90
|
944
|
+
15
|
945
|
+
45
|
946
|
+
1
|
947
|
+
2
|
948
|
+
43
|
949
|
+
3
|
950
|
+
49
|
951
|
+
4
|
952
|
+
0
|
953
|
+
13
|
954
|
+
7
|
955
|
+
5
|
956
|
+
12
|
957
|
+
49
|
958
|
+
6
|
959
|
+
1
|
960
|
+
9
|
961
|
+
33
|
962
|
+
15
|
963
|
+
45
|
964
|
+
1
|
965
|
+
7
|
966
|
+
43
|
967
|
+
8
|
968
|
+
43
|
969
|
+
9
|
970
|
+
8
|
971
|
+
88
|
972
|
+
13
|
973
|
+
7
|
974
|
+
10
|
975
|
+
12
|
976
|
+
49
|
977
|
+
6
|
978
|
+
1
|
979
|
+
9
|
980
|
+
52
|
981
|
+
15
|
982
|
+
45
|
983
|
+
1
|
984
|
+
11
|
985
|
+
43
|
986
|
+
8
|
987
|
+
43
|
988
|
+
12
|
989
|
+
8
|
990
|
+
88
|
991
|
+
15
|
992
|
+
5
|
993
|
+
45
|
994
|
+
13
|
995
|
+
14
|
996
|
+
13
|
997
|
+
71
|
998
|
+
15
|
999
|
+
47
|
1000
|
+
9
|
1001
|
+
78
|
1002
|
+
47
|
1003
|
+
49
|
1004
|
+
16
|
1005
|
+
0
|
1006
|
+
13
|
1007
|
+
7
|
1008
|
+
17
|
1009
|
+
64
|
1010
|
+
47
|
1011
|
+
49
|
1012
|
+
18
|
1013
|
+
1
|
1014
|
+
15
|
1015
|
+
8
|
1016
|
+
84
|
1017
|
+
7
|
1018
|
+
17
|
1019
|
+
64
|
1020
|
+
49
|
1021
|
+
15
|
1022
|
+
1
|
1023
|
+
47
|
1024
|
+
49
|
1025
|
+
19
|
1026
|
+
1
|
1027
|
+
38
|
1028
|
+
0
|
1029
|
+
11
|
1030
|
+
I
|
1031
|
+
4
|
1032
|
+
I
|
1033
|
+
0
|
1034
|
+
I
|
1035
|
+
0
|
1036
|
+
I
|
1037
|
+
0
|
1038
|
+
n
|
1039
|
+
p
|
1040
|
+
20
|
1041
|
+
x
|
1042
|
+
22
|
1043
|
+
@http_stubbing_adapter
|
1044
|
+
x
|
1045
|
+
3
|
1046
|
+
VCR
|
1047
|
+
n
|
1048
|
+
x
|
1049
|
+
6
|
1050
|
+
Config
|
1051
|
+
x
|
1052
|
+
21
|
1053
|
+
http_stubbing_library
|
1054
|
+
x
|
1055
|
+
7
|
1056
|
+
fakeweb
|
1057
|
+
x
|
1058
|
+
3
|
1059
|
+
===
|
1060
|
+
n
|
1061
|
+
x
|
1062
|
+
20
|
1063
|
+
HttpStubbingAdapters
|
1064
|
+
x
|
1065
|
+
7
|
1066
|
+
FakeWeb
|
1067
|
+
x
|
1068
|
+
7
|
1069
|
+
webmock
|
1070
|
+
n
|
1071
|
+
x
|
1072
|
+
7
|
1073
|
+
WebMock
|
1074
|
+
x
|
1075
|
+
13
|
1076
|
+
ArgumentError
|
1077
|
+
n
|
1078
|
+
x
|
1079
|
+
3
|
1080
|
+
new
|
1081
|
+
x
|
1082
|
+
8
|
1083
|
+
allocate
|
1084
|
+
s
|
1085
|
+
98
|
1086
|
+
The http stubbing library is not configured correctly. You should set it to :webmock or :fakeweb.
|
1087
|
+
x
|
1088
|
+
10
|
1089
|
+
initialize
|
1090
|
+
x
|
1091
|
+
5
|
1092
|
+
raise
|
1093
|
+
p
|
1094
|
+
17
|
1095
|
+
I
|
1096
|
+
0
|
1097
|
+
I
|
1098
|
+
34
|
1099
|
+
I
|
1100
|
+
0
|
1101
|
+
I
|
1102
|
+
3c
|
1103
|
+
I
|
1104
|
+
6
|
1105
|
+
I
|
1106
|
+
35
|
1107
|
+
I
|
1108
|
+
f
|
1109
|
+
I
|
1110
|
+
36
|
1111
|
+
I
|
1112
|
+
18
|
1113
|
+
I
|
1114
|
+
37
|
1115
|
+
I
|
1116
|
+
22
|
1117
|
+
I
|
1118
|
+
38
|
1119
|
+
I
|
1120
|
+
2b
|
1121
|
+
I
|
1122
|
+
39
|
1123
|
+
I
|
1124
|
+
35
|
1125
|
+
I
|
1126
|
+
3b
|
1127
|
+
I
|
1128
|
+
5b
|
1129
|
+
x
|
1130
|
+
35
|
1131
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
1132
|
+
p
|
1133
|
+
0
|
1134
|
+
x
|
1135
|
+
23
|
1136
|
+
record_http_interaction
|
1137
|
+
M
|
1138
|
+
1
|
1139
|
+
n
|
1140
|
+
n
|
1141
|
+
x
|
1142
|
+
23
|
1143
|
+
record_http_interaction
|
1144
|
+
i
|
1145
|
+
59
|
1146
|
+
5
|
1147
|
+
48
|
1148
|
+
0
|
1149
|
+
19
|
1150
|
+
1
|
1151
|
+
9
|
1152
|
+
10
|
1153
|
+
1
|
1154
|
+
8
|
1155
|
+
12
|
1156
|
+
1
|
1157
|
+
11
|
1158
|
+
15
|
1159
|
+
5
|
1160
|
+
48
|
1161
|
+
1
|
1162
|
+
49
|
1163
|
+
2
|
1164
|
+
0
|
1165
|
+
13
|
1166
|
+
9
|
1167
|
+
43
|
1168
|
+
15
|
1169
|
+
45
|
1170
|
+
3
|
1171
|
+
4
|
1172
|
+
45
|
1173
|
+
5
|
1174
|
+
6
|
1175
|
+
20
|
1176
|
+
0
|
1177
|
+
49
|
1178
|
+
7
|
1179
|
+
0
|
1180
|
+
49
|
1181
|
+
8
|
1182
|
+
1
|
1183
|
+
49
|
1184
|
+
9
|
1185
|
+
0
|
1186
|
+
49
|
1187
|
+
10
|
1188
|
+
1
|
1189
|
+
9
|
1190
|
+
49
|
1191
|
+
1
|
1192
|
+
11
|
1193
|
+
8
|
1194
|
+
50
|
1195
|
+
1
|
1196
|
+
15
|
1197
|
+
20
|
1198
|
+
1
|
1199
|
+
20
|
1200
|
+
0
|
1201
|
+
49
|
1202
|
+
11
|
1203
|
+
1
|
1204
|
+
11
|
1205
|
+
I
|
1206
|
+
5
|
1207
|
+
I
|
1208
|
+
2
|
1209
|
+
I
|
1210
|
+
1
|
1211
|
+
I
|
1212
|
+
1
|
1213
|
+
n
|
1214
|
+
p
|
1215
|
+
12
|
1216
|
+
x
|
1217
|
+
16
|
1218
|
+
current_cassette
|
1219
|
+
x
|
1220
|
+
21
|
1221
|
+
http_stubbing_adapter
|
1222
|
+
x
|
1223
|
+
17
|
1224
|
+
ignore_localhost?
|
1225
|
+
x
|
1226
|
+
17
|
1227
|
+
LOCALHOST_ALIASES
|
1228
|
+
n
|
1229
|
+
x
|
1230
|
+
3
|
1231
|
+
URI
|
1232
|
+
n
|
1233
|
+
x
|
1234
|
+
3
|
1235
|
+
uri
|
1236
|
+
x
|
1237
|
+
5
|
1238
|
+
parse
|
1239
|
+
x
|
1240
|
+
4
|
1241
|
+
host
|
1242
|
+
x
|
1243
|
+
8
|
1244
|
+
include?
|
1245
|
+
x
|
1246
|
+
23
|
1247
|
+
record_http_interaction
|
1248
|
+
p
|
1249
|
+
15
|
1250
|
+
I
|
1251
|
+
0
|
1252
|
+
I
|
1253
|
+
3f
|
1254
|
+
I
|
1255
|
+
0
|
1256
|
+
I
|
1257
|
+
40
|
1258
|
+
I
|
1259
|
+
d
|
1260
|
+
I
|
1261
|
+
41
|
1262
|
+
I
|
1263
|
+
17
|
1264
|
+
I
|
1265
|
+
42
|
1266
|
+
I
|
1267
|
+
2d
|
1268
|
+
I
|
1269
|
+
41
|
1270
|
+
I
|
1271
|
+
31
|
1272
|
+
I
|
1273
|
+
42
|
1274
|
+
I
|
1275
|
+
33
|
1276
|
+
I
|
1277
|
+
44
|
1278
|
+
I
|
1279
|
+
3b
|
1280
|
+
x
|
1281
|
+
35
|
1282
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
1283
|
+
p
|
1284
|
+
2
|
1285
|
+
x
|
1286
|
+
11
|
1287
|
+
interaction
|
1288
|
+
x
|
1289
|
+
8
|
1290
|
+
cassette
|
1291
|
+
x
|
1292
|
+
7
|
1293
|
+
private
|
1294
|
+
x
|
1295
|
+
9
|
1296
|
+
cassettes
|
1297
|
+
M
|
1298
|
+
1
|
1299
|
+
n
|
1300
|
+
n
|
1301
|
+
x
|
1302
|
+
9
|
1303
|
+
cassettes
|
1304
|
+
i
|
1305
|
+
11
|
1306
|
+
39
|
1307
|
+
0
|
1308
|
+
13
|
1309
|
+
10
|
1310
|
+
10
|
1311
|
+
15
|
1312
|
+
35
|
1313
|
+
0
|
1314
|
+
38
|
1315
|
+
0
|
1316
|
+
11
|
1317
|
+
I
|
1318
|
+
2
|
1319
|
+
I
|
1320
|
+
0
|
1321
|
+
I
|
1322
|
+
0
|
1323
|
+
I
|
1324
|
+
0
|
1325
|
+
n
|
1326
|
+
p
|
1327
|
+
1
|
1328
|
+
x
|
1329
|
+
10
|
1330
|
+
@cassettes
|
1331
|
+
p
|
1332
|
+
5
|
1333
|
+
I
|
1334
|
+
0
|
1335
|
+
I
|
1336
|
+
49
|
1337
|
+
I
|
1338
|
+
0
|
1339
|
+
I
|
1340
|
+
4a
|
1341
|
+
I
|
1342
|
+
b
|
1343
|
+
x
|
1344
|
+
35
|
1345
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
1346
|
+
p
|
1347
|
+
0
|
1348
|
+
p
|
1349
|
+
25
|
1350
|
+
I
|
1351
|
+
2
|
1352
|
+
I
|
1353
|
+
d
|
1354
|
+
I
|
1355
|
+
9
|
1356
|
+
I
|
1357
|
+
f
|
1358
|
+
I
|
1359
|
+
18
|
1360
|
+
I
|
1361
|
+
11
|
1362
|
+
I
|
1363
|
+
26
|
1364
|
+
I
|
1365
|
+
15
|
1366
|
+
I
|
1367
|
+
34
|
1368
|
+
I
|
1369
|
+
1b
|
1370
|
+
I
|
1371
|
+
42
|
1372
|
+
I
|
1373
|
+
21
|
1374
|
+
I
|
1375
|
+
50
|
1376
|
+
I
|
1377
|
+
28
|
1378
|
+
I
|
1379
|
+
5e
|
1380
|
+
I
|
1381
|
+
2f
|
1382
|
+
I
|
1383
|
+
6c
|
1384
|
+
I
|
1385
|
+
34
|
1386
|
+
I
|
1387
|
+
7a
|
1388
|
+
I
|
1389
|
+
3f
|
1390
|
+
I
|
1391
|
+
88
|
1392
|
+
I
|
1393
|
+
47
|
1394
|
+
I
|
1395
|
+
8c
|
1396
|
+
I
|
1397
|
+
49
|
1398
|
+
I
|
1399
|
+
9a
|
1400
|
+
x
|
1401
|
+
35
|
1402
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
1403
|
+
p
|
1404
|
+
0
|
1405
|
+
x
|
1406
|
+
13
|
1407
|
+
attach_method
|
1408
|
+
p
|
1409
|
+
19
|
1410
|
+
I
|
1411
|
+
0
|
1412
|
+
I
|
1413
|
+
1
|
1414
|
+
I
|
1415
|
+
9
|
1416
|
+
I
|
1417
|
+
2
|
1418
|
+
I
|
1419
|
+
12
|
1420
|
+
I
|
1421
|
+
3
|
1422
|
+
I
|
1423
|
+
1b
|
1424
|
+
I
|
1425
|
+
4
|
1426
|
+
I
|
1427
|
+
24
|
1428
|
+
I
|
1429
|
+
5
|
1430
|
+
I
|
1431
|
+
2d
|
1432
|
+
I
|
1433
|
+
6
|
1434
|
+
I
|
1435
|
+
36
|
1436
|
+
I
|
1437
|
+
8
|
1438
|
+
I
|
1439
|
+
3f
|
1440
|
+
I
|
1441
|
+
a
|
1442
|
+
I
|
1443
|
+
48
|
1444
|
+
I
|
1445
|
+
c
|
1446
|
+
I
|
1447
|
+
64
|
1448
|
+
x
|
1449
|
+
35
|
1450
|
+
/Users/mmarston/code/vcr/lib/vcr.rb
|
1451
|
+
p
|
1452
|
+
0
|