sucker 1.0.0.beta.4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. data/CHANGELOG.md +12 -2
  2. data/README.md +5 -2
  3. data/lib/sucker.rbc +341 -0
  4. data/lib/sucker/request.rb +1 -1
  5. data/lib/sucker/request.rbc +2481 -0
  6. data/lib/sucker/response.rb +19 -7
  7. data/lib/sucker/response.rbc +1554 -0
  8. data/lib/sucker/version.rb +2 -2
  9. data/lib/sucker/version.rbc +130 -0
  10. data/spec/fixtures/asins.txt +9406 -406
  11. data/spec/fixtures/cassette_library/integration/alternate_versions.yml +27 -0
  12. data/spec/fixtures/cassette_library/integration/errors.yml +27 -0
  13. data/spec/fixtures/cassette_library/integration/france.yml +27 -0
  14. data/spec/fixtures/cassette_library/integration/images.yml +27 -0
  15. data/spec/fixtures/cassette_library/integration/item_lookup/multiple.yml +27 -0
  16. data/spec/fixtures/cassette_library/integration/item_lookup/single.yml +27 -0
  17. data/spec/fixtures/cassette_library/integration/item_search.yml +27 -0
  18. data/spec/fixtures/cassette_library/integration/japan.yml +27 -0
  19. data/spec/fixtures/cassette_library/integration/keyword_search.yml +27 -0
  20. data/spec/fixtures/cassette_library/integration/kindle.yml +27 -0
  21. data/spec/fixtures/cassette_library/integration/kindle_2.yml +27 -0
  22. data/spec/fixtures/cassette_library/integration/multiple_locales.yml +157 -0
  23. data/spec/fixtures/cassette_library/integration/power_search.yml +27 -0
  24. data/spec/fixtures/cassette_library/integration/related_items/child.yml +27 -0
  25. data/spec/fixtures/cassette_library/integration/related_items/parent.yml +27 -0
  26. data/spec/fixtures/cassette_library/integration/seller_listings_search.yml +27 -0
  27. data/spec/fixtures/cassette_library/integration/twenty_items.yml +27 -0
  28. data/spec/fixtures/cassette_library/unit/sucker/request.yml +29 -0
  29. data/spec/fixtures/cassette_library/unit/sucker/response.yml +27 -0
  30. data/spec/integration/alternate_versions_spec.rb +28 -20
  31. data/spec/integration/alternate_versions_spec.rbc +843 -0
  32. data/spec/integration/errors_spec.rb +10 -6
  33. data/spec/integration/errors_spec.rbc +964 -0
  34. data/spec/integration/france_spec.rb +33 -25
  35. data/spec/integration/france_spec.rbc +1012 -0
  36. data/spec/integration/images_spec.rb +32 -24
  37. data/spec/integration/images_spec.rbc +1047 -0
  38. data/spec/integration/item_lookup_spec.rb +11 -3
  39. data/spec/integration/item_lookup_spec.rbc +1723 -0
  40. data/spec/integration/item_search_spec.rb +6 -2
  41. data/spec/integration/item_search_spec.rbc +926 -0
  42. data/spec/integration/japan_spec.rb +27 -19
  43. data/spec/integration/japan_spec.rbc +849 -0
  44. data/spec/integration/keyword_search_spec.rb +5 -0
  45. data/spec/integration/keyword_search_spec.rbc +838 -0
  46. data/spec/integration/kindle_spec.rb +13 -5
  47. data/spec/integration/kindle_spec.rbc +1425 -0
  48. data/spec/integration/multiple_locales_spec.rb +34 -26
  49. data/spec/integration/multiple_locales_spec.rbc +1090 -0
  50. data/spec/integration/power_search_spec.rb +5 -0
  51. data/spec/integration/power_search_spec.rbc +838 -0
  52. data/spec/integration/related_items_spec.rb +41 -29
  53. data/spec/integration/related_items_spec.rbc +1228 -0
  54. data/spec/integration/seller_listing_search_spec.rb +3 -0
  55. data/spec/integration/seller_listing_search_spec.rbc +852 -0
  56. data/spec/integration/twenty_items_spec.rb +41 -34
  57. data/spec/integration/twenty_items_spec.rbc +1166 -0
  58. data/spec/spec_helper.rbc +231 -0
  59. data/spec/support/amazon.yml +3 -0
  60. data/spec/support/amazon.yml.example +1 -0
  61. data/spec/support/amazon_credentials.rbc +154 -0
  62. data/spec/support/asins.rb +6 -1
  63. data/spec/support/asins.rbc +335 -0
  64. data/spec/support/vcr.rbc +360 -0
  65. data/spec/unit/sucker/request_spec.rb +57 -23
  66. data/spec/unit/sucker/request_spec.rbc +4031 -0
  67. data/spec/unit/sucker/response_spec.rb +100 -26
  68. data/spec/unit/sucker/response_spec.rbc +3787 -0
  69. data/spec/unit/sucker_spec.rb +5 -1
  70. data/spec/unit/sucker_spec.rbc +299 -0
  71. metadata +94 -12
@@ -2,7 +2,9 @@
2
2
  require "spec_helper"
3
3
 
4
4
  module Sucker
5
+
5
6
  describe Response do
7
+
6
8
  use_vcr_cassette "unit/sucker/response", :record => :new_episodes
7
9
 
8
10
  let(:asins) { ["0816614024", "0143105825"] }
@@ -20,48 +22,107 @@ module Sucker
20
22
  worker.get
21
23
  end
22
24
 
23
- context ".new" do
24
- it "sets the response body" do
25
+ describe ".new" do
26
+
27
+ it "initializes the response body" do
25
28
  response.body.should be_an_instance_of String
26
29
  end
27
30
 
28
- it "sets the response code" do
31
+ it "initializes the response code" do
29
32
  response.code.should == 200
30
33
  end
31
34
 
32
- it "sets the response time" do
35
+ it "initializes the response time" do
33
36
  response.time.should be_an_instance_of Float
34
37
  end
35
38
  end
36
39
 
37
- context "#xml" do
40
+ describe "#xml" do
41
+
38
42
  it "returns a Nokogiri document" do
39
43
  response.xml.should be_an_instance_of Nokogiri::XML::Document
40
44
  end
45
+
41
46
  end
42
47
 
43
- context "#find" do
44
- it "returns an array of matching nodes" do
45
- node = response.find("ItemAttributes")
46
- node.map { |book| book["ISBN"] }.should eql asins
47
- end
48
+ describe "#find" do
49
+
50
+ context "when there are matches" do
51
+
52
+ it "returns an array of matching nodes" do
53
+ node = response.find("ItemAttributes")
54
+ node.map { |book| book["ISBN"] }.should eql asins
55
+ end
48
56
 
49
- it "returns an empty array if there are no matches" do
50
- node = response.find("Foo")
51
- node.should eql []
52
57
  end
53
58
 
54
- it "yields to a block if given one" do
55
- has_yielded = false
56
- response.find("ItemAttributes") do |item|
57
- has_yielded = true
58
- item.should be_an_instance_of Hash
59
+ context "when there are no matches" do
60
+
61
+ it "returns an empty array" do
62
+ node = response.find("Foo")
63
+ node.should eql []
59
64
  end
60
- has_yielded.should be_true
65
+
61
66
  end
67
+
62
68
  end
63
69
 
64
- context "#to_hash" do
70
+ describe "#each" do
71
+
72
+ context "when a block is given" do
73
+
74
+ it "yields each match to a block" do
75
+ has_yielded = false
76
+
77
+ response.each("ItemAttributes") do |item|
78
+ has_yielded = true
79
+ item.should be_an_instance_of Hash
80
+ end
81
+
82
+ has_yielded.should be_true
83
+ end
84
+
85
+ end
86
+
87
+ context "when no block is given" do
88
+
89
+ it "raises error" do
90
+ lambda { response.each("ItemAttributes") }.should raise_error(LocalJumpError)
91
+ end
92
+
93
+ end
94
+
95
+ end
96
+
97
+
98
+ describe "#map" do
99
+
100
+ context "when a block is given" do
101
+
102
+ it "yields each match to a block and maps returned values" do
103
+ result = response.map("ItemAttributes") do |item|
104
+ item.should be_an_instance_of Hash
105
+ "foo"
106
+ end
107
+
108
+ result.uniq.should eql ["foo"]
109
+ end
110
+
111
+ end
112
+
113
+ context "when no block is given" do
114
+
115
+ it "raises error" do
116
+ lambda { response.map("ItemAttributes") }.should raise_error(LocalJumpError)
117
+ end
118
+
119
+ end
120
+
121
+ end
122
+
123
+
124
+ describe "#to_hash" do
125
+
65
126
  it "returns a hash" do
66
127
  response.to_hash.should be_an_instance_of Hash
67
128
  end
@@ -85,17 +146,30 @@ module Sucker
85
146
  response.body = "<Title>スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則</Title>"
86
147
  response.to_hash["Title"].should eql "スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則"
87
148
  end
149
+
88
150
  end
89
151
 
90
- context "#valid?" do
91
- it "returns true if the HTTP status is OK" do
92
- response.should be_valid
152
+ describe "#valid?" do
153
+
154
+ context "when HTTP status is OK" do
155
+
156
+ it "returns true" do
157
+ response.should be_valid
158
+ end
159
+
93
160
  end
94
161
 
95
- it "returns false if the HTTP status is not OK" do
96
- response.code = 403
97
- response.should_not be_valid
162
+ context "when HTTP status is not OK" do
163
+
164
+ it "returns false" do
165
+ response.code = 403
166
+ response.should_not be_valid
167
+ end
168
+
98
169
  end
170
+
99
171
  end
172
+
100
173
  end
174
+
101
175
  end
@@ -0,0 +1,3787 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 11
63
+ spec_helper
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 6
69
+ Sucker
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 6
82
+ Sucker
83
+ i
84
+ 13
85
+ 5
86
+ 66
87
+ 5
88
+ 45
89
+ 0
90
+ 1
91
+ 56
92
+ 2
93
+ 47
94
+ 50
95
+ 3
96
+ 1
97
+ 11
98
+ I
99
+ 3
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 4
109
+ x
110
+ 8
111
+ Response
112
+ n
113
+ M
114
+ 1
115
+ p
116
+ 2
117
+ x
118
+ 9
119
+ for_block
120
+ t
121
+ n
122
+ x
123
+ 6
124
+ Sucker
125
+ i
126
+ 122
127
+ 5
128
+ 7
129
+ 0
130
+ 64
131
+ 44
132
+ 43
133
+ 1
134
+ 79
135
+ 49
136
+ 2
137
+ 1
138
+ 13
139
+ 7
140
+ 3
141
+ 7
142
+ 4
143
+ 49
144
+ 5
145
+ 2
146
+ 15
147
+ 47
148
+ 49
149
+ 6
150
+ 2
151
+ 15
152
+ 5
153
+ 7
154
+ 7
155
+ 56
156
+ 8
157
+ 47
158
+ 50
159
+ 9
160
+ 1
161
+ 15
162
+ 5
163
+ 7
164
+ 10
165
+ 56
166
+ 11
167
+ 47
168
+ 50
169
+ 9
170
+ 1
171
+ 15
172
+ 5
173
+ 7
174
+ 12
175
+ 64
176
+ 56
177
+ 13
178
+ 47
179
+ 50
180
+ 14
181
+ 1
182
+ 15
183
+ 5
184
+ 7
185
+ 15
186
+ 64
187
+ 56
188
+ 16
189
+ 47
190
+ 50
191
+ 14
192
+ 1
193
+ 15
194
+ 5
195
+ 7
196
+ 17
197
+ 64
198
+ 56
199
+ 18
200
+ 47
201
+ 50
202
+ 14
203
+ 1
204
+ 15
205
+ 5
206
+ 7
207
+ 19
208
+ 64
209
+ 56
210
+ 20
211
+ 47
212
+ 50
213
+ 14
214
+ 1
215
+ 15
216
+ 5
217
+ 7
218
+ 21
219
+ 64
220
+ 56
221
+ 22
222
+ 47
223
+ 50
224
+ 14
225
+ 1
226
+ 15
227
+ 5
228
+ 7
229
+ 23
230
+ 64
231
+ 56
232
+ 24
233
+ 47
234
+ 50
235
+ 14
236
+ 1
237
+ 15
238
+ 5
239
+ 7
240
+ 25
241
+ 64
242
+ 56
243
+ 26
244
+ 47
245
+ 50
246
+ 14
247
+ 1
248
+ 11
249
+ I
250
+ 7
251
+ I
252
+ 0
253
+ I
254
+ 0
255
+ I
256
+ 0
257
+ I
258
+ -2
259
+ p
260
+ 27
261
+ s
262
+ 20
263
+ unit/sucker/response
264
+ x
265
+ 4
266
+ Hash
267
+ x
268
+ 16
269
+ new_from_literal
270
+ x
271
+ 6
272
+ record
273
+ x
274
+ 12
275
+ new_episodes
276
+ x
277
+ 3
278
+ []=
279
+ x
280
+ 16
281
+ use_vcr_cassette
282
+ x
283
+ 5
284
+ asins
285
+ M
286
+ 1
287
+ p
288
+ 2
289
+ x
290
+ 9
291
+ for_block
292
+ t
293
+ n
294
+ x
295
+ 6
296
+ Sucker
297
+ i
298
+ 9
299
+ 7
300
+ 0
301
+ 64
302
+ 7
303
+ 1
304
+ 64
305
+ 35
306
+ 2
307
+ 11
308
+ I
309
+ 3
310
+ I
311
+ 0
312
+ I
313
+ 0
314
+ I
315
+ 0
316
+ I
317
+ -2
318
+ p
319
+ 2
320
+ s
321
+ 10
322
+ 0816614024
323
+ s
324
+ 10
325
+ 0143105825
326
+ p
327
+ 3
328
+ I
329
+ 0
330
+ I
331
+ a
332
+ I
333
+ 9
334
+ x
335
+ 56
336
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
337
+ p
338
+ 0
339
+ x
340
+ 3
341
+ let
342
+ x
343
+ 8
344
+ response
345
+ M
346
+ 1
347
+ p
348
+ 2
349
+ x
350
+ 9
351
+ for_block
352
+ t
353
+ n
354
+ x
355
+ 6
356
+ Sucker
357
+ i
358
+ 196
359
+ 45
360
+ 0
361
+ 1
362
+ 13
363
+ 71
364
+ 2
365
+ 47
366
+ 9
367
+ 71
368
+ 47
369
+ 49
370
+ 3
371
+ 0
372
+ 13
373
+ 44
374
+ 43
375
+ 4
376
+ 4
377
+ 3
378
+ 49
379
+ 5
380
+ 1
381
+ 13
382
+ 7
383
+ 6
384
+ 7
385
+ 7
386
+ 64
387
+ 49
388
+ 8
389
+ 2
390
+ 15
391
+ 13
392
+ 7
393
+ 9
394
+ 5
395
+ 48
396
+ 10
397
+ 7
398
+ 11
399
+ 64
400
+ 49
401
+ 12
402
+ 1
403
+ 49
404
+ 8
405
+ 2
406
+ 15
407
+ 13
408
+ 7
409
+ 13
410
+ 5
411
+ 48
412
+ 10
413
+ 7
414
+ 14
415
+ 64
416
+ 49
417
+ 12
418
+ 1
419
+ 49
420
+ 8
421
+ 2
422
+ 15
423
+ 47
424
+ 49
425
+ 15
426
+ 1
427
+ 15
428
+ 8
429
+ 124
430
+ 44
431
+ 43
432
+ 4
433
+ 4
434
+ 3
435
+ 49
436
+ 5
437
+ 1
438
+ 13
439
+ 7
440
+ 6
441
+ 7
442
+ 7
443
+ 64
444
+ 49
445
+ 8
446
+ 2
447
+ 15
448
+ 13
449
+ 7
450
+ 9
451
+ 5
452
+ 48
453
+ 10
454
+ 7
455
+ 11
456
+ 64
457
+ 49
458
+ 12
459
+ 1
460
+ 49
461
+ 8
462
+ 2
463
+ 15
464
+ 13
465
+ 7
466
+ 13
467
+ 5
468
+ 48
469
+ 10
470
+ 7
471
+ 14
472
+ 64
473
+ 49
474
+ 12
475
+ 1
476
+ 49
477
+ 8
478
+ 2
479
+ 15
480
+ 49
481
+ 2
482
+ 1
483
+ 19
484
+ 0
485
+ 15
486
+ 20
487
+ 0
488
+ 44
489
+ 43
490
+ 4
491
+ 4
492
+ 4
493
+ 49
494
+ 5
495
+ 1
496
+ 13
497
+ 7
498
+ 16
499
+ 64
500
+ 7
501
+ 17
502
+ 64
503
+ 49
504
+ 8
505
+ 2
506
+ 15
507
+ 13
508
+ 7
509
+ 18
510
+ 64
511
+ 7
512
+ 19
513
+ 64
514
+ 49
515
+ 8
516
+ 2
517
+ 15
518
+ 13
519
+ 7
520
+ 20
521
+ 64
522
+ 7
523
+ 21
524
+ 64
525
+ 7
526
+ 22
527
+ 64
528
+ 35
529
+ 2
530
+ 49
531
+ 8
532
+ 2
533
+ 15
534
+ 13
535
+ 7
536
+ 23
537
+ 64
538
+ 5
539
+ 48
540
+ 24
541
+ 49
542
+ 8
543
+ 2
544
+ 15
545
+ 49
546
+ 25
547
+ 1
548
+ 15
549
+ 20
550
+ 0
551
+ 49
552
+ 26
553
+ 0
554
+ 11
555
+ I
556
+ 9
557
+ I
558
+ 1
559
+ I
560
+ 0
561
+ I
562
+ 0
563
+ I
564
+ -2
565
+ p
566
+ 27
567
+ x
568
+ 6
569
+ Sucker
570
+ n
571
+ x
572
+ 3
573
+ new
574
+ x
575
+ 8
576
+ allocate
577
+ x
578
+ 4
579
+ Hash
580
+ x
581
+ 16
582
+ new_from_literal
583
+ x
584
+ 6
585
+ locale
586
+ s
587
+ 2
588
+ us
589
+ x
590
+ 3
591
+ []=
592
+ x
593
+ 3
594
+ key
595
+ x
596
+ 6
597
+ amazon
598
+ s
599
+ 3
600
+ key
601
+ x
602
+ 2
603
+ []
604
+ x
605
+ 6
606
+ secret
607
+ s
608
+ 6
609
+ secret
610
+ x
611
+ 10
612
+ initialize
613
+ s
614
+ 9
615
+ Operation
616
+ s
617
+ 10
618
+ ItemLookup
619
+ s
620
+ 6
621
+ IdType
622
+ s
623
+ 4
624
+ ASIN
625
+ s
626
+ 13
627
+ ResponseGroup
628
+ s
629
+ 14
630
+ ItemAttributes
631
+ s
632
+ 9
633
+ OfferFull
634
+ s
635
+ 6
636
+ ItemId
637
+ x
638
+ 5
639
+ asins
640
+ x
641
+ 2
642
+ <<
643
+ x
644
+ 3
645
+ get
646
+ p
647
+ 33
648
+ I
649
+ 0
650
+ I
651
+ c
652
+ I
653
+ 0
654
+ I
655
+ d
656
+ I
657
+ e
658
+ I
659
+ 10
660
+ I
661
+ 17
662
+ I
663
+ e
664
+ I
665
+ 21
666
+ I
667
+ f
668
+ I
669
+ 31
670
+ I
671
+ 10
672
+ I
673
+ 50
674
+ I
675
+ e
676
+ I
677
+ 5a
678
+ I
679
+ f
680
+ I
681
+ 6a
682
+ I
683
+ 10
684
+ I
685
+ 7f
686
+ I
687
+ 11
688
+ I
689
+ 81
690
+ I
691
+ 15
692
+ I
693
+ 8a
694
+ I
695
+ 12
696
+ I
697
+ 95
698
+ I
699
+ 13
700
+ I
701
+ a0
702
+ I
703
+ 14
704
+ I
705
+ b0
706
+ I
707
+ 15
708
+ I
709
+ be
710
+ I
711
+ 16
712
+ I
713
+ c4
714
+ x
715
+ 56
716
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
717
+ p
718
+ 1
719
+ x
720
+ 6
721
+ worker
722
+ s
723
+ 4
724
+ .new
725
+ M
726
+ 1
727
+ p
728
+ 2
729
+ x
730
+ 9
731
+ for_block
732
+ t
733
+ n
734
+ x
735
+ 6
736
+ Sucker
737
+ i
738
+ 33
739
+ 5
740
+ 7
741
+ 0
742
+ 64
743
+ 56
744
+ 1
745
+ 47
746
+ 50
747
+ 2
748
+ 1
749
+ 15
750
+ 5
751
+ 7
752
+ 3
753
+ 64
754
+ 56
755
+ 4
756
+ 47
757
+ 50
758
+ 2
759
+ 1
760
+ 15
761
+ 5
762
+ 7
763
+ 5
764
+ 64
765
+ 56
766
+ 6
767
+ 47
768
+ 50
769
+ 2
770
+ 1
771
+ 11
772
+ I
773
+ 4
774
+ I
775
+ 0
776
+ I
777
+ 0
778
+ I
779
+ 0
780
+ I
781
+ -2
782
+ p
783
+ 7
784
+ s
785
+ 29
786
+ initializes the response body
787
+ M
788
+ 1
789
+ p
790
+ 2
791
+ x
792
+ 9
793
+ for_block
794
+ t
795
+ n
796
+ x
797
+ 6
798
+ Sucker
799
+ i
800
+ 18
801
+ 5
802
+ 48
803
+ 0
804
+ 49
805
+ 1
806
+ 0
807
+ 5
808
+ 45
809
+ 2
810
+ 3
811
+ 47
812
+ 49
813
+ 4
814
+ 1
815
+ 49
816
+ 5
817
+ 1
818
+ 11
819
+ I
820
+ 4
821
+ I
822
+ 0
823
+ I
824
+ 0
825
+ I
826
+ 0
827
+ I
828
+ -2
829
+ p
830
+ 6
831
+ x
832
+ 8
833
+ response
834
+ x
835
+ 4
836
+ body
837
+ x
838
+ 6
839
+ String
840
+ n
841
+ x
842
+ 17
843
+ be_an_instance_of
844
+ x
845
+ 6
846
+ should
847
+ p
848
+ 5
849
+ I
850
+ 0
851
+ I
852
+ 1b
853
+ I
854
+ 0
855
+ I
856
+ 1c
857
+ I
858
+ 12
859
+ x
860
+ 56
861
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
862
+ p
863
+ 0
864
+ x
865
+ 2
866
+ it
867
+ s
868
+ 29
869
+ initializes the response code
870
+ M
871
+ 1
872
+ p
873
+ 2
874
+ x
875
+ 9
876
+ for_block
877
+ t
878
+ n
879
+ x
880
+ 6
881
+ Sucker
882
+ i
883
+ 14
884
+ 5
885
+ 48
886
+ 0
887
+ 49
888
+ 1
889
+ 0
890
+ 49
891
+ 2
892
+ 0
893
+ 4
894
+ 200
895
+ 83
896
+ 3
897
+ 11
898
+ I
899
+ 3
900
+ I
901
+ 0
902
+ I
903
+ 0
904
+ I
905
+ 0
906
+ I
907
+ -2
908
+ p
909
+ 4
910
+ x
911
+ 8
912
+ response
913
+ x
914
+ 4
915
+ code
916
+ x
917
+ 6
918
+ should
919
+ x
920
+ 2
921
+ ==
922
+ p
923
+ 5
924
+ I
925
+ 0
926
+ I
927
+ 1f
928
+ I
929
+ 0
930
+ I
931
+ 20
932
+ I
933
+ e
934
+ x
935
+ 56
936
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
937
+ p
938
+ 0
939
+ s
940
+ 29
941
+ initializes the response time
942
+ M
943
+ 1
944
+ p
945
+ 2
946
+ x
947
+ 9
948
+ for_block
949
+ t
950
+ n
951
+ x
952
+ 6
953
+ Sucker
954
+ i
955
+ 18
956
+ 5
957
+ 48
958
+ 0
959
+ 49
960
+ 1
961
+ 0
962
+ 5
963
+ 45
964
+ 2
965
+ 3
966
+ 47
967
+ 49
968
+ 4
969
+ 1
970
+ 49
971
+ 5
972
+ 1
973
+ 11
974
+ I
975
+ 4
976
+ I
977
+ 0
978
+ I
979
+ 0
980
+ I
981
+ 0
982
+ I
983
+ -2
984
+ p
985
+ 6
986
+ x
987
+ 8
988
+ response
989
+ x
990
+ 4
991
+ time
992
+ x
993
+ 5
994
+ Float
995
+ n
996
+ x
997
+ 17
998
+ be_an_instance_of
999
+ x
1000
+ 6
1001
+ should
1002
+ p
1003
+ 5
1004
+ I
1005
+ 0
1006
+ I
1007
+ 23
1008
+ I
1009
+ 0
1010
+ I
1011
+ 24
1012
+ I
1013
+ 12
1014
+ x
1015
+ 56
1016
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1017
+ p
1018
+ 0
1019
+ p
1020
+ 9
1021
+ I
1022
+ 0
1023
+ I
1024
+ 19
1025
+ I
1026
+ 0
1027
+ I
1028
+ 1b
1029
+ I
1030
+ b
1031
+ I
1032
+ 1f
1033
+ I
1034
+ 16
1035
+ I
1036
+ 23
1037
+ I
1038
+ 21
1039
+ x
1040
+ 56
1041
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1042
+ p
1043
+ 0
1044
+ x
1045
+ 8
1046
+ describe
1047
+ s
1048
+ 4
1049
+ #xml
1050
+ M
1051
+ 1
1052
+ p
1053
+ 2
1054
+ x
1055
+ 9
1056
+ for_block
1057
+ t
1058
+ n
1059
+ x
1060
+ 6
1061
+ Sucker
1062
+ i
1063
+ 11
1064
+ 5
1065
+ 7
1066
+ 0
1067
+ 64
1068
+ 56
1069
+ 1
1070
+ 47
1071
+ 50
1072
+ 2
1073
+ 1
1074
+ 11
1075
+ I
1076
+ 4
1077
+ I
1078
+ 0
1079
+ I
1080
+ 0
1081
+ I
1082
+ 0
1083
+ I
1084
+ -2
1085
+ p
1086
+ 3
1087
+ s
1088
+ 27
1089
+ returns a Nokogiri document
1090
+ M
1091
+ 1
1092
+ p
1093
+ 2
1094
+ x
1095
+ 9
1096
+ for_block
1097
+ t
1098
+ n
1099
+ x
1100
+ 6
1101
+ Sucker
1102
+ i
1103
+ 22
1104
+ 5
1105
+ 48
1106
+ 0
1107
+ 49
1108
+ 1
1109
+ 0
1110
+ 5
1111
+ 45
1112
+ 2
1113
+ 3
1114
+ 43
1115
+ 4
1116
+ 43
1117
+ 5
1118
+ 47
1119
+ 49
1120
+ 6
1121
+ 1
1122
+ 49
1123
+ 7
1124
+ 1
1125
+ 11
1126
+ I
1127
+ 4
1128
+ I
1129
+ 0
1130
+ I
1131
+ 0
1132
+ I
1133
+ 0
1134
+ I
1135
+ -2
1136
+ p
1137
+ 8
1138
+ x
1139
+ 8
1140
+ response
1141
+ x
1142
+ 3
1143
+ xml
1144
+ x
1145
+ 8
1146
+ Nokogiri
1147
+ n
1148
+ x
1149
+ 3
1150
+ XML
1151
+ x
1152
+ 8
1153
+ Document
1154
+ x
1155
+ 17
1156
+ be_an_instance_of
1157
+ x
1158
+ 6
1159
+ should
1160
+ p
1161
+ 5
1162
+ I
1163
+ 0
1164
+ I
1165
+ 2a
1166
+ I
1167
+ 0
1168
+ I
1169
+ 2b
1170
+ I
1171
+ 16
1172
+ x
1173
+ 56
1174
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1175
+ p
1176
+ 0
1177
+ x
1178
+ 2
1179
+ it
1180
+ p
1181
+ 5
1182
+ I
1183
+ 0
1184
+ I
1185
+ 28
1186
+ I
1187
+ 0
1188
+ I
1189
+ 2a
1190
+ I
1191
+ b
1192
+ x
1193
+ 56
1194
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1195
+ p
1196
+ 0
1197
+ s
1198
+ 5
1199
+ #find
1200
+ M
1201
+ 1
1202
+ p
1203
+ 2
1204
+ x
1205
+ 9
1206
+ for_block
1207
+ t
1208
+ n
1209
+ x
1210
+ 6
1211
+ Sucker
1212
+ i
1213
+ 22
1214
+ 5
1215
+ 7
1216
+ 0
1217
+ 64
1218
+ 56
1219
+ 1
1220
+ 47
1221
+ 50
1222
+ 2
1223
+ 1
1224
+ 15
1225
+ 5
1226
+ 7
1227
+ 3
1228
+ 64
1229
+ 56
1230
+ 4
1231
+ 47
1232
+ 50
1233
+ 2
1234
+ 1
1235
+ 11
1236
+ I
1237
+ 4
1238
+ I
1239
+ 0
1240
+ I
1241
+ 0
1242
+ I
1243
+ 0
1244
+ I
1245
+ -2
1246
+ p
1247
+ 5
1248
+ s
1249
+ 22
1250
+ when there are matches
1251
+ M
1252
+ 1
1253
+ p
1254
+ 2
1255
+ x
1256
+ 9
1257
+ for_block
1258
+ t
1259
+ n
1260
+ x
1261
+ 6
1262
+ Sucker
1263
+ i
1264
+ 11
1265
+ 5
1266
+ 7
1267
+ 0
1268
+ 64
1269
+ 56
1270
+ 1
1271
+ 47
1272
+ 50
1273
+ 2
1274
+ 1
1275
+ 11
1276
+ I
1277
+ 4
1278
+ I
1279
+ 0
1280
+ I
1281
+ 0
1282
+ I
1283
+ 0
1284
+ I
1285
+ -2
1286
+ p
1287
+ 3
1288
+ s
1289
+ 34
1290
+ returns an array of matching nodes
1291
+ M
1292
+ 1
1293
+ p
1294
+ 2
1295
+ x
1296
+ 9
1297
+ for_block
1298
+ t
1299
+ n
1300
+ x
1301
+ 6
1302
+ Sucker
1303
+ i
1304
+ 31
1305
+ 5
1306
+ 48
1307
+ 0
1308
+ 7
1309
+ 1
1310
+ 64
1311
+ 49
1312
+ 2
1313
+ 1
1314
+ 19
1315
+ 0
1316
+ 15
1317
+ 20
1318
+ 0
1319
+ 56
1320
+ 3
1321
+ 50
1322
+ 4
1323
+ 0
1324
+ 5
1325
+ 5
1326
+ 48
1327
+ 5
1328
+ 47
1329
+ 49
1330
+ 6
1331
+ 1
1332
+ 49
1333
+ 7
1334
+ 1
1335
+ 11
1336
+ I
1337
+ 5
1338
+ I
1339
+ 1
1340
+ I
1341
+ 0
1342
+ I
1343
+ 0
1344
+ I
1345
+ -2
1346
+ p
1347
+ 8
1348
+ x
1349
+ 8
1350
+ response
1351
+ s
1352
+ 14
1353
+ ItemAttributes
1354
+ x
1355
+ 4
1356
+ find
1357
+ M
1358
+ 1
1359
+ p
1360
+ 2
1361
+ x
1362
+ 9
1363
+ for_block
1364
+ t
1365
+ n
1366
+ x
1367
+ 6
1368
+ Sucker
1369
+ i
1370
+ 13
1371
+ 57
1372
+ 19
1373
+ 0
1374
+ 15
1375
+ 20
1376
+ 0
1377
+ 7
1378
+ 0
1379
+ 64
1380
+ 49
1381
+ 1
1382
+ 1
1383
+ 11
1384
+ I
1385
+ 4
1386
+ I
1387
+ 1
1388
+ I
1389
+ 1
1390
+ I
1391
+ 1
1392
+ n
1393
+ p
1394
+ 2
1395
+ s
1396
+ 4
1397
+ ISBN
1398
+ x
1399
+ 2
1400
+ []
1401
+ p
1402
+ 3
1403
+ I
1404
+ 0
1405
+ I
1406
+ 36
1407
+ I
1408
+ d
1409
+ x
1410
+ 56
1411
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1412
+ p
1413
+ 1
1414
+ x
1415
+ 4
1416
+ book
1417
+ x
1418
+ 3
1419
+ map
1420
+ x
1421
+ 5
1422
+ asins
1423
+ x
1424
+ 3
1425
+ eql
1426
+ x
1427
+ 6
1428
+ should
1429
+ p
1430
+ 7
1431
+ I
1432
+ 0
1433
+ I
1434
+ 34
1435
+ I
1436
+ 0
1437
+ I
1438
+ 35
1439
+ I
1440
+ c
1441
+ I
1442
+ 36
1443
+ I
1444
+ 1f
1445
+ x
1446
+ 56
1447
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1448
+ p
1449
+ 1
1450
+ x
1451
+ 4
1452
+ node
1453
+ x
1454
+ 2
1455
+ it
1456
+ p
1457
+ 5
1458
+ I
1459
+ 0
1460
+ I
1461
+ 32
1462
+ I
1463
+ 0
1464
+ I
1465
+ 34
1466
+ I
1467
+ b
1468
+ x
1469
+ 56
1470
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1471
+ p
1472
+ 0
1473
+ x
1474
+ 7
1475
+ context
1476
+ s
1477
+ 25
1478
+ when there are no matches
1479
+ M
1480
+ 1
1481
+ p
1482
+ 2
1483
+ x
1484
+ 9
1485
+ for_block
1486
+ t
1487
+ n
1488
+ x
1489
+ 6
1490
+ Sucker
1491
+ i
1492
+ 11
1493
+ 5
1494
+ 7
1495
+ 0
1496
+ 64
1497
+ 56
1498
+ 1
1499
+ 47
1500
+ 50
1501
+ 2
1502
+ 1
1503
+ 11
1504
+ I
1505
+ 4
1506
+ I
1507
+ 0
1508
+ I
1509
+ 0
1510
+ I
1511
+ 0
1512
+ I
1513
+ -2
1514
+ p
1515
+ 3
1516
+ s
1517
+ 22
1518
+ returns an empty array
1519
+ M
1520
+ 1
1521
+ p
1522
+ 2
1523
+ x
1524
+ 9
1525
+ for_block
1526
+ t
1527
+ n
1528
+ x
1529
+ 6
1530
+ Sucker
1531
+ i
1532
+ 25
1533
+ 5
1534
+ 48
1535
+ 0
1536
+ 7
1537
+ 1
1538
+ 64
1539
+ 49
1540
+ 2
1541
+ 1
1542
+ 19
1543
+ 0
1544
+ 15
1545
+ 20
1546
+ 0
1547
+ 5
1548
+ 35
1549
+ 0
1550
+ 47
1551
+ 49
1552
+ 3
1553
+ 1
1554
+ 49
1555
+ 4
1556
+ 1
1557
+ 11
1558
+ I
1559
+ 5
1560
+ I
1561
+ 1
1562
+ I
1563
+ 0
1564
+ I
1565
+ 0
1566
+ I
1567
+ -2
1568
+ p
1569
+ 5
1570
+ x
1571
+ 8
1572
+ response
1573
+ s
1574
+ 3
1575
+ Foo
1576
+ x
1577
+ 4
1578
+ find
1579
+ x
1580
+ 3
1581
+ eql
1582
+ x
1583
+ 6
1584
+ should
1585
+ p
1586
+ 7
1587
+ I
1588
+ 0
1589
+ I
1590
+ 3d
1591
+ I
1592
+ 0
1593
+ I
1594
+ 3e
1595
+ I
1596
+ c
1597
+ I
1598
+ 3f
1599
+ I
1600
+ 19
1601
+ x
1602
+ 56
1603
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1604
+ p
1605
+ 1
1606
+ x
1607
+ 4
1608
+ node
1609
+ x
1610
+ 2
1611
+ it
1612
+ p
1613
+ 5
1614
+ I
1615
+ 0
1616
+ I
1617
+ 3b
1618
+ I
1619
+ 0
1620
+ I
1621
+ 3d
1622
+ I
1623
+ b
1624
+ x
1625
+ 56
1626
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1627
+ p
1628
+ 0
1629
+ p
1630
+ 7
1631
+ I
1632
+ 0
1633
+ I
1634
+ 30
1635
+ I
1636
+ 0
1637
+ I
1638
+ 32
1639
+ I
1640
+ b
1641
+ I
1642
+ 3b
1643
+ I
1644
+ 16
1645
+ x
1646
+ 56
1647
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1648
+ p
1649
+ 0
1650
+ s
1651
+ 5
1652
+ #each
1653
+ M
1654
+ 1
1655
+ p
1656
+ 2
1657
+ x
1658
+ 9
1659
+ for_block
1660
+ t
1661
+ n
1662
+ x
1663
+ 6
1664
+ Sucker
1665
+ i
1666
+ 22
1667
+ 5
1668
+ 7
1669
+ 0
1670
+ 64
1671
+ 56
1672
+ 1
1673
+ 47
1674
+ 50
1675
+ 2
1676
+ 1
1677
+ 15
1678
+ 5
1679
+ 7
1680
+ 3
1681
+ 64
1682
+ 56
1683
+ 4
1684
+ 47
1685
+ 50
1686
+ 2
1687
+ 1
1688
+ 11
1689
+ I
1690
+ 4
1691
+ I
1692
+ 0
1693
+ I
1694
+ 0
1695
+ I
1696
+ 0
1697
+ I
1698
+ -2
1699
+ p
1700
+ 5
1701
+ s
1702
+ 21
1703
+ when a block is given
1704
+ M
1705
+ 1
1706
+ p
1707
+ 2
1708
+ x
1709
+ 9
1710
+ for_block
1711
+ t
1712
+ n
1713
+ x
1714
+ 6
1715
+ Sucker
1716
+ i
1717
+ 11
1718
+ 5
1719
+ 7
1720
+ 0
1721
+ 64
1722
+ 56
1723
+ 1
1724
+ 47
1725
+ 50
1726
+ 2
1727
+ 1
1728
+ 11
1729
+ I
1730
+ 4
1731
+ I
1732
+ 0
1733
+ I
1734
+ 0
1735
+ I
1736
+ 0
1737
+ I
1738
+ -2
1739
+ p
1740
+ 3
1741
+ s
1742
+ 28
1743
+ yields each match to a block
1744
+ M
1745
+ 1
1746
+ p
1747
+ 2
1748
+ x
1749
+ 9
1750
+ for_block
1751
+ t
1752
+ n
1753
+ x
1754
+ 6
1755
+ Sucker
1756
+ i
1757
+ 25
1758
+ 3
1759
+ 19
1760
+ 0
1761
+ 15
1762
+ 5
1763
+ 48
1764
+ 0
1765
+ 7
1766
+ 1
1767
+ 64
1768
+ 56
1769
+ 2
1770
+ 50
1771
+ 3
1772
+ 1
1773
+ 15
1774
+ 20
1775
+ 0
1776
+ 5
1777
+ 48
1778
+ 4
1779
+ 49
1780
+ 5
1781
+ 1
1782
+ 11
1783
+ I
1784
+ 5
1785
+ I
1786
+ 1
1787
+ I
1788
+ 0
1789
+ I
1790
+ 0
1791
+ I
1792
+ -2
1793
+ p
1794
+ 6
1795
+ x
1796
+ 8
1797
+ response
1798
+ s
1799
+ 14
1800
+ ItemAttributes
1801
+ M
1802
+ 1
1803
+ p
1804
+ 2
1805
+ x
1806
+ 9
1807
+ for_block
1808
+ t
1809
+ n
1810
+ x
1811
+ 6
1812
+ Sucker
1813
+ i
1814
+ 23
1815
+ 57
1816
+ 19
1817
+ 0
1818
+ 15
1819
+ 2
1820
+ 22
1821
+ 1
1822
+ 0
1823
+ 15
1824
+ 20
1825
+ 0
1826
+ 5
1827
+ 45
1828
+ 0
1829
+ 1
1830
+ 47
1831
+ 49
1832
+ 2
1833
+ 1
1834
+ 49
1835
+ 3
1836
+ 1
1837
+ 11
1838
+ I
1839
+ 5
1840
+ I
1841
+ 1
1842
+ I
1843
+ 1
1844
+ I
1845
+ 1
1846
+ n
1847
+ p
1848
+ 4
1849
+ x
1850
+ 4
1851
+ Hash
1852
+ n
1853
+ x
1854
+ 17
1855
+ be_an_instance_of
1856
+ x
1857
+ 6
1858
+ should
1859
+ p
1860
+ 7
1861
+ I
1862
+ 0
1863
+ I
1864
+ 4d
1865
+ I
1866
+ 4
1867
+ I
1868
+ 4e
1869
+ I
1870
+ 9
1871
+ I
1872
+ 4f
1873
+ I
1874
+ 17
1875
+ x
1876
+ 56
1877
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1878
+ p
1879
+ 1
1880
+ x
1881
+ 4
1882
+ item
1883
+ x
1884
+ 4
1885
+ each
1886
+ x
1887
+ 7
1888
+ be_true
1889
+ x
1890
+ 6
1891
+ should
1892
+ p
1893
+ 9
1894
+ I
1895
+ 0
1896
+ I
1897
+ 4a
1898
+ I
1899
+ 0
1900
+ I
1901
+ 4b
1902
+ I
1903
+ 4
1904
+ I
1905
+ 4d
1906
+ I
1907
+ 10
1908
+ I
1909
+ 52
1910
+ I
1911
+ 19
1912
+ x
1913
+ 56
1914
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1915
+ p
1916
+ 1
1917
+ x
1918
+ 11
1919
+ has_yielded
1920
+ x
1921
+ 2
1922
+ it
1923
+ p
1924
+ 5
1925
+ I
1926
+ 0
1927
+ I
1928
+ 48
1929
+ I
1930
+ 0
1931
+ I
1932
+ 4a
1933
+ I
1934
+ b
1935
+ x
1936
+ 56
1937
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
1938
+ p
1939
+ 0
1940
+ x
1941
+ 7
1942
+ context
1943
+ s
1944
+ 22
1945
+ when no block is given
1946
+ M
1947
+ 1
1948
+ p
1949
+ 2
1950
+ x
1951
+ 9
1952
+ for_block
1953
+ t
1954
+ n
1955
+ x
1956
+ 6
1957
+ Sucker
1958
+ i
1959
+ 11
1960
+ 5
1961
+ 7
1962
+ 0
1963
+ 64
1964
+ 56
1965
+ 1
1966
+ 47
1967
+ 50
1968
+ 2
1969
+ 1
1970
+ 11
1971
+ I
1972
+ 4
1973
+ I
1974
+ 0
1975
+ I
1976
+ 0
1977
+ I
1978
+ 0
1979
+ I
1980
+ -2
1981
+ p
1982
+ 3
1983
+ s
1984
+ 12
1985
+ raises error
1986
+ M
1987
+ 1
1988
+ p
1989
+ 2
1990
+ x
1991
+ 9
1992
+ for_block
1993
+ t
1994
+ n
1995
+ x
1996
+ 6
1997
+ Sucker
1998
+ i
1999
+ 19
2000
+ 5
2001
+ 56
2002
+ 0
2003
+ 47
2004
+ 50
2005
+ 1
2006
+ 0
2007
+ 5
2008
+ 45
2009
+ 2
2010
+ 3
2011
+ 47
2012
+ 49
2013
+ 4
2014
+ 1
2015
+ 49
2016
+ 5
2017
+ 1
2018
+ 11
2019
+ I
2020
+ 4
2021
+ I
2022
+ 0
2023
+ I
2024
+ 0
2025
+ I
2026
+ 0
2027
+ I
2028
+ -2
2029
+ p
2030
+ 6
2031
+ M
2032
+ 1
2033
+ p
2034
+ 2
2035
+ x
2036
+ 9
2037
+ for_block
2038
+ t
2039
+ n
2040
+ x
2041
+ 6
2042
+ Sucker
2043
+ i
2044
+ 10
2045
+ 5
2046
+ 48
2047
+ 0
2048
+ 7
2049
+ 1
2050
+ 64
2051
+ 49
2052
+ 2
2053
+ 1
2054
+ 11
2055
+ I
2056
+ 3
2057
+ I
2058
+ 0
2059
+ I
2060
+ 0
2061
+ I
2062
+ 0
2063
+ I
2064
+ -2
2065
+ p
2066
+ 3
2067
+ x
2068
+ 8
2069
+ response
2070
+ s
2071
+ 14
2072
+ ItemAttributes
2073
+ x
2074
+ 4
2075
+ each
2076
+ p
2077
+ 3
2078
+ I
2079
+ 0
2080
+ I
2081
+ 5a
2082
+ I
2083
+ a
2084
+ x
2085
+ 56
2086
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2087
+ p
2088
+ 0
2089
+ x
2090
+ 6
2091
+ lambda
2092
+ x
2093
+ 14
2094
+ LocalJumpError
2095
+ n
2096
+ x
2097
+ 11
2098
+ raise_error
2099
+ x
2100
+ 6
2101
+ should
2102
+ p
2103
+ 5
2104
+ I
2105
+ 0
2106
+ I
2107
+ 59
2108
+ I
2109
+ 0
2110
+ I
2111
+ 5a
2112
+ I
2113
+ 13
2114
+ x
2115
+ 56
2116
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2117
+ p
2118
+ 0
2119
+ x
2120
+ 2
2121
+ it
2122
+ p
2123
+ 5
2124
+ I
2125
+ 0
2126
+ I
2127
+ 57
2128
+ I
2129
+ 0
2130
+ I
2131
+ 59
2132
+ I
2133
+ b
2134
+ x
2135
+ 56
2136
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2137
+ p
2138
+ 0
2139
+ p
2140
+ 7
2141
+ I
2142
+ 0
2143
+ I
2144
+ 46
2145
+ I
2146
+ 0
2147
+ I
2148
+ 48
2149
+ I
2150
+ b
2151
+ I
2152
+ 57
2153
+ I
2154
+ 16
2155
+ x
2156
+ 56
2157
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2158
+ p
2159
+ 0
2160
+ s
2161
+ 4
2162
+ #map
2163
+ M
2164
+ 1
2165
+ p
2166
+ 2
2167
+ x
2168
+ 9
2169
+ for_block
2170
+ t
2171
+ n
2172
+ x
2173
+ 6
2174
+ Sucker
2175
+ i
2176
+ 22
2177
+ 5
2178
+ 7
2179
+ 0
2180
+ 64
2181
+ 56
2182
+ 1
2183
+ 47
2184
+ 50
2185
+ 2
2186
+ 1
2187
+ 15
2188
+ 5
2189
+ 7
2190
+ 3
2191
+ 64
2192
+ 56
2193
+ 4
2194
+ 47
2195
+ 50
2196
+ 2
2197
+ 1
2198
+ 11
2199
+ I
2200
+ 4
2201
+ I
2202
+ 0
2203
+ I
2204
+ 0
2205
+ I
2206
+ 0
2207
+ I
2208
+ -2
2209
+ p
2210
+ 5
2211
+ s
2212
+ 21
2213
+ when a block is given
2214
+ M
2215
+ 1
2216
+ p
2217
+ 2
2218
+ x
2219
+ 9
2220
+ for_block
2221
+ t
2222
+ n
2223
+ x
2224
+ 6
2225
+ Sucker
2226
+ i
2227
+ 11
2228
+ 5
2229
+ 7
2230
+ 0
2231
+ 64
2232
+ 56
2233
+ 1
2234
+ 47
2235
+ 50
2236
+ 2
2237
+ 1
2238
+ 11
2239
+ I
2240
+ 4
2241
+ I
2242
+ 0
2243
+ I
2244
+ 0
2245
+ I
2246
+ 0
2247
+ I
2248
+ -2
2249
+ p
2250
+ 3
2251
+ s
2252
+ 53
2253
+ yields each match to a block and maps returned values
2254
+ M
2255
+ 1
2256
+ p
2257
+ 2
2258
+ x
2259
+ 9
2260
+ for_block
2261
+ t
2262
+ n
2263
+ x
2264
+ 6
2265
+ Sucker
2266
+ i
2267
+ 33
2268
+ 5
2269
+ 48
2270
+ 0
2271
+ 7
2272
+ 1
2273
+ 64
2274
+ 56
2275
+ 2
2276
+ 50
2277
+ 3
2278
+ 1
2279
+ 19
2280
+ 0
2281
+ 15
2282
+ 20
2283
+ 0
2284
+ 49
2285
+ 4
2286
+ 0
2287
+ 5
2288
+ 7
2289
+ 5
2290
+ 64
2291
+ 35
2292
+ 1
2293
+ 47
2294
+ 49
2295
+ 6
2296
+ 1
2297
+ 49
2298
+ 7
2299
+ 1
2300
+ 11
2301
+ I
2302
+ 5
2303
+ I
2304
+ 1
2305
+ I
2306
+ 0
2307
+ I
2308
+ 0
2309
+ I
2310
+ -2
2311
+ p
2312
+ 8
2313
+ x
2314
+ 8
2315
+ response
2316
+ s
2317
+ 14
2318
+ ItemAttributes
2319
+ M
2320
+ 1
2321
+ p
2322
+ 2
2323
+ x
2324
+ 9
2325
+ for_block
2326
+ t
2327
+ n
2328
+ x
2329
+ 6
2330
+ Sucker
2331
+ i
2332
+ 22
2333
+ 57
2334
+ 19
2335
+ 0
2336
+ 15
2337
+ 20
2338
+ 0
2339
+ 5
2340
+ 45
2341
+ 0
2342
+ 1
2343
+ 47
2344
+ 49
2345
+ 2
2346
+ 1
2347
+ 49
2348
+ 3
2349
+ 1
2350
+ 15
2351
+ 7
2352
+ 4
2353
+ 64
2354
+ 11
2355
+ I
2356
+ 5
2357
+ I
2358
+ 1
2359
+ I
2360
+ 1
2361
+ I
2362
+ 1
2363
+ n
2364
+ p
2365
+ 5
2366
+ x
2367
+ 4
2368
+ Hash
2369
+ n
2370
+ x
2371
+ 17
2372
+ be_an_instance_of
2373
+ x
2374
+ 6
2375
+ should
2376
+ s
2377
+ 3
2378
+ foo
2379
+ p
2380
+ 7
2381
+ I
2382
+ 0
2383
+ I
2384
+ 67
2385
+ I
2386
+ 4
2387
+ I
2388
+ 68
2389
+ I
2390
+ 12
2391
+ I
2392
+ 69
2393
+ I
2394
+ 16
2395
+ x
2396
+ 56
2397
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2398
+ p
2399
+ 1
2400
+ x
2401
+ 4
2402
+ item
2403
+ x
2404
+ 3
2405
+ map
2406
+ x
2407
+ 4
2408
+ uniq
2409
+ s
2410
+ 3
2411
+ foo
2412
+ x
2413
+ 3
2414
+ eql
2415
+ x
2416
+ 6
2417
+ should
2418
+ p
2419
+ 7
2420
+ I
2421
+ 0
2422
+ I
2423
+ 66
2424
+ I
2425
+ 0
2426
+ I
2427
+ 67
2428
+ I
2429
+ e
2430
+ I
2431
+ 6c
2432
+ I
2433
+ 21
2434
+ x
2435
+ 56
2436
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2437
+ p
2438
+ 1
2439
+ x
2440
+ 6
2441
+ result
2442
+ x
2443
+ 2
2444
+ it
2445
+ p
2446
+ 5
2447
+ I
2448
+ 0
2449
+ I
2450
+ 64
2451
+ I
2452
+ 0
2453
+ I
2454
+ 66
2455
+ I
2456
+ b
2457
+ x
2458
+ 56
2459
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2460
+ p
2461
+ 0
2462
+ x
2463
+ 7
2464
+ context
2465
+ s
2466
+ 22
2467
+ when no block is given
2468
+ M
2469
+ 1
2470
+ p
2471
+ 2
2472
+ x
2473
+ 9
2474
+ for_block
2475
+ t
2476
+ n
2477
+ x
2478
+ 6
2479
+ Sucker
2480
+ i
2481
+ 11
2482
+ 5
2483
+ 7
2484
+ 0
2485
+ 64
2486
+ 56
2487
+ 1
2488
+ 47
2489
+ 50
2490
+ 2
2491
+ 1
2492
+ 11
2493
+ I
2494
+ 4
2495
+ I
2496
+ 0
2497
+ I
2498
+ 0
2499
+ I
2500
+ 0
2501
+ I
2502
+ -2
2503
+ p
2504
+ 3
2505
+ s
2506
+ 12
2507
+ raises error
2508
+ M
2509
+ 1
2510
+ p
2511
+ 2
2512
+ x
2513
+ 9
2514
+ for_block
2515
+ t
2516
+ n
2517
+ x
2518
+ 6
2519
+ Sucker
2520
+ i
2521
+ 19
2522
+ 5
2523
+ 56
2524
+ 0
2525
+ 47
2526
+ 50
2527
+ 1
2528
+ 0
2529
+ 5
2530
+ 45
2531
+ 2
2532
+ 3
2533
+ 47
2534
+ 49
2535
+ 4
2536
+ 1
2537
+ 49
2538
+ 5
2539
+ 1
2540
+ 11
2541
+ I
2542
+ 4
2543
+ I
2544
+ 0
2545
+ I
2546
+ 0
2547
+ I
2548
+ 0
2549
+ I
2550
+ -2
2551
+ p
2552
+ 6
2553
+ M
2554
+ 1
2555
+ p
2556
+ 2
2557
+ x
2558
+ 9
2559
+ for_block
2560
+ t
2561
+ n
2562
+ x
2563
+ 6
2564
+ Sucker
2565
+ i
2566
+ 10
2567
+ 5
2568
+ 48
2569
+ 0
2570
+ 7
2571
+ 1
2572
+ 64
2573
+ 49
2574
+ 2
2575
+ 1
2576
+ 11
2577
+ I
2578
+ 3
2579
+ I
2580
+ 0
2581
+ I
2582
+ 0
2583
+ I
2584
+ 0
2585
+ I
2586
+ -2
2587
+ p
2588
+ 3
2589
+ x
2590
+ 8
2591
+ response
2592
+ s
2593
+ 14
2594
+ ItemAttributes
2595
+ x
2596
+ 3
2597
+ map
2598
+ p
2599
+ 3
2600
+ I
2601
+ 0
2602
+ I
2603
+ 74
2604
+ I
2605
+ a
2606
+ x
2607
+ 56
2608
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2609
+ p
2610
+ 0
2611
+ x
2612
+ 6
2613
+ lambda
2614
+ x
2615
+ 14
2616
+ LocalJumpError
2617
+ n
2618
+ x
2619
+ 11
2620
+ raise_error
2621
+ x
2622
+ 6
2623
+ should
2624
+ p
2625
+ 5
2626
+ I
2627
+ 0
2628
+ I
2629
+ 73
2630
+ I
2631
+ 0
2632
+ I
2633
+ 74
2634
+ I
2635
+ 13
2636
+ x
2637
+ 56
2638
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2639
+ p
2640
+ 0
2641
+ x
2642
+ 2
2643
+ it
2644
+ p
2645
+ 5
2646
+ I
2647
+ 0
2648
+ I
2649
+ 71
2650
+ I
2651
+ 0
2652
+ I
2653
+ 73
2654
+ I
2655
+ b
2656
+ x
2657
+ 56
2658
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2659
+ p
2660
+ 0
2661
+ p
2662
+ 7
2663
+ I
2664
+ 0
2665
+ I
2666
+ 62
2667
+ I
2668
+ 0
2669
+ I
2670
+ 64
2671
+ I
2672
+ b
2673
+ I
2674
+ 71
2675
+ I
2676
+ 16
2677
+ x
2678
+ 56
2679
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2680
+ p
2681
+ 0
2682
+ s
2683
+ 8
2684
+ #to_hash
2685
+ M
2686
+ 1
2687
+ p
2688
+ 2
2689
+ x
2690
+ 9
2691
+ for_block
2692
+ t
2693
+ n
2694
+ x
2695
+ 6
2696
+ Sucker
2697
+ i
2698
+ 55
2699
+ 5
2700
+ 7
2701
+ 0
2702
+ 64
2703
+ 56
2704
+ 1
2705
+ 47
2706
+ 50
2707
+ 2
2708
+ 1
2709
+ 15
2710
+ 5
2711
+ 7
2712
+ 3
2713
+ 64
2714
+ 56
2715
+ 4
2716
+ 47
2717
+ 50
2718
+ 2
2719
+ 1
2720
+ 15
2721
+ 5
2722
+ 7
2723
+ 5
2724
+ 64
2725
+ 56
2726
+ 6
2727
+ 47
2728
+ 50
2729
+ 2
2730
+ 1
2731
+ 15
2732
+ 5
2733
+ 7
2734
+ 7
2735
+ 64
2736
+ 56
2737
+ 8
2738
+ 47
2739
+ 50
2740
+ 2
2741
+ 1
2742
+ 15
2743
+ 5
2744
+ 7
2745
+ 9
2746
+ 64
2747
+ 56
2748
+ 10
2749
+ 47
2750
+ 50
2751
+ 2
2752
+ 1
2753
+ 11
2754
+ I
2755
+ 4
2756
+ I
2757
+ 0
2758
+ I
2759
+ 0
2760
+ I
2761
+ 0
2762
+ I
2763
+ -2
2764
+ p
2765
+ 11
2766
+ s
2767
+ 14
2768
+ returns a hash
2769
+ M
2770
+ 1
2771
+ p
2772
+ 2
2773
+ x
2774
+ 9
2775
+ for_block
2776
+ t
2777
+ n
2778
+ x
2779
+ 6
2780
+ Sucker
2781
+ i
2782
+ 18
2783
+ 5
2784
+ 48
2785
+ 0
2786
+ 49
2787
+ 1
2788
+ 0
2789
+ 5
2790
+ 45
2791
+ 2
2792
+ 3
2793
+ 47
2794
+ 49
2795
+ 4
2796
+ 1
2797
+ 49
2798
+ 5
2799
+ 1
2800
+ 11
2801
+ I
2802
+ 4
2803
+ I
2804
+ 0
2805
+ I
2806
+ 0
2807
+ I
2808
+ 0
2809
+ I
2810
+ -2
2811
+ p
2812
+ 6
2813
+ x
2814
+ 8
2815
+ response
2816
+ x
2817
+ 7
2818
+ to_hash
2819
+ x
2820
+ 4
2821
+ Hash
2822
+ n
2823
+ x
2824
+ 17
2825
+ be_an_instance_of
2826
+ x
2827
+ 6
2828
+ should
2829
+ p
2830
+ 5
2831
+ I
2832
+ 0
2833
+ I
2834
+ 7e
2835
+ I
2836
+ 0
2837
+ I
2838
+ 7f
2839
+ I
2840
+ 12
2841
+ x
2842
+ 56
2843
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2844
+ p
2845
+ 0
2846
+ x
2847
+ 2
2848
+ it
2849
+ s
2850
+ 33
2851
+ converts a content hash to string
2852
+ M
2853
+ 1
2854
+ p
2855
+ 2
2856
+ x
2857
+ 9
2858
+ for_block
2859
+ t
2860
+ n
2861
+ x
2862
+ 6
2863
+ Sucker
2864
+ i
2865
+ 44
2866
+ 5
2867
+ 48
2868
+ 0
2869
+ 7
2870
+ 1
2871
+ 64
2872
+ 13
2873
+ 18
2874
+ 2
2875
+ 49
2876
+ 2
2877
+ 1
2878
+ 15
2879
+ 15
2880
+ 5
2881
+ 48
2882
+ 0
2883
+ 49
2884
+ 3
2885
+ 0
2886
+ 7
2887
+ 4
2888
+ 64
2889
+ 49
2890
+ 5
2891
+ 1
2892
+ 7
2893
+ 6
2894
+ 64
2895
+ 49
2896
+ 5
2897
+ 1
2898
+ 5
2899
+ 45
2900
+ 7
2901
+ 8
2902
+ 47
2903
+ 49
2904
+ 9
2905
+ 1
2906
+ 49
2907
+ 10
2908
+ 1
2909
+ 11
2910
+ I
2911
+ 4
2912
+ I
2913
+ 0
2914
+ I
2915
+ 0
2916
+ I
2917
+ 0
2918
+ I
2919
+ -2
2920
+ p
2921
+ 11
2922
+ x
2923
+ 8
2924
+ response
2925
+ s
2926
+ 47
2927
+ <book><title>A Thousand Plateaus</title></book>
2928
+ x
2929
+ 5
2930
+ body=
2931
+ x
2932
+ 7
2933
+ to_hash
2934
+ s
2935
+ 4
2936
+ book
2937
+ x
2938
+ 2
2939
+ []
2940
+ s
2941
+ 5
2942
+ title
2943
+ x
2944
+ 6
2945
+ String
2946
+ n
2947
+ x
2948
+ 17
2949
+ be_an_instance_of
2950
+ x
2951
+ 6
2952
+ should
2953
+ p
2954
+ 7
2955
+ I
2956
+ 0
2957
+ I
2958
+ 82
2959
+ I
2960
+ 0
2961
+ I
2962
+ 83
2963
+ I
2964
+ e
2965
+ I
2966
+ 84
2967
+ I
2968
+ 2c
2969
+ x
2970
+ 56
2971
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
2972
+ p
2973
+ 0
2974
+ s
2975
+ 14
2976
+ renders French
2977
+ M
2978
+ 1
2979
+ p
2980
+ 2
2981
+ x
2982
+ 9
2983
+ for_block
2984
+ t
2985
+ n
2986
+ x
2987
+ 6
2988
+ Sucker
2989
+ i
2990
+ 38
2991
+ 5
2992
+ 48
2993
+ 0
2994
+ 7
2995
+ 1
2996
+ 64
2997
+ 13
2998
+ 18
2999
+ 2
3000
+ 49
3001
+ 2
3002
+ 1
3003
+ 15
3004
+ 15
3005
+ 5
3006
+ 48
3007
+ 0
3008
+ 49
3009
+ 3
3010
+ 0
3011
+ 7
3012
+ 4
3013
+ 64
3014
+ 49
3015
+ 5
3016
+ 1
3017
+ 5
3018
+ 7
3019
+ 6
3020
+ 64
3021
+ 47
3022
+ 49
3023
+ 7
3024
+ 1
3025
+ 49
3026
+ 8
3027
+ 1
3028
+ 11
3029
+ I
3030
+ 4
3031
+ I
3032
+ 0
3033
+ I
3034
+ 0
3035
+ I
3036
+ 0
3037
+ I
3038
+ -2
3039
+ p
3040
+ 9
3041
+ x
3042
+ 8
3043
+ response
3044
+ s
3045
+ 39
3046
+ <Title>L'archéologie du savoir</Title>
3047
+ x
3048
+ 5
3049
+ body=
3050
+ x
3051
+ 7
3052
+ to_hash
3053
+ s
3054
+ 5
3055
+ Title
3056
+ x
3057
+ 2
3058
+ []
3059
+ s
3060
+ 24
3061
+ L'archéologie du savoir
3062
+ x
3063
+ 3
3064
+ eql
3065
+ x
3066
+ 6
3067
+ should
3068
+ p
3069
+ 7
3070
+ I
3071
+ 0
3072
+ I
3073
+ 87
3074
+ I
3075
+ 0
3076
+ I
3077
+ 88
3078
+ I
3079
+ e
3080
+ I
3081
+ 89
3082
+ I
3083
+ 26
3084
+ x
3085
+ 56
3086
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3087
+ p
3088
+ 0
3089
+ s
3090
+ 14
3091
+ renders German
3092
+ M
3093
+ 1
3094
+ p
3095
+ 2
3096
+ x
3097
+ 9
3098
+ for_block
3099
+ t
3100
+ n
3101
+ x
3102
+ 6
3103
+ Sucker
3104
+ i
3105
+ 38
3106
+ 5
3107
+ 48
3108
+ 0
3109
+ 7
3110
+ 1
3111
+ 64
3112
+ 13
3113
+ 18
3114
+ 2
3115
+ 49
3116
+ 2
3117
+ 1
3118
+ 15
3119
+ 15
3120
+ 5
3121
+ 48
3122
+ 0
3123
+ 49
3124
+ 3
3125
+ 0
3126
+ 7
3127
+ 4
3128
+ 64
3129
+ 49
3130
+ 5
3131
+ 1
3132
+ 5
3133
+ 7
3134
+ 6
3135
+ 64
3136
+ 47
3137
+ 49
3138
+ 7
3139
+ 1
3140
+ 49
3141
+ 8
3142
+ 1
3143
+ 11
3144
+ I
3145
+ 4
3146
+ I
3147
+ 0
3148
+ I
3149
+ 0
3150
+ I
3151
+ 0
3152
+ I
3153
+ -2
3154
+ p
3155
+ 9
3156
+ x
3157
+ 8
3158
+ response
3159
+ s
3160
+ 48
3161
+ <Title>Kafka: Für eine kleine Literatur</Title>
3162
+ x
3163
+ 5
3164
+ body=
3165
+ x
3166
+ 7
3167
+ to_hash
3168
+ s
3169
+ 5
3170
+ Title
3171
+ x
3172
+ 2
3173
+ []
3174
+ s
3175
+ 33
3176
+ Kafka: Für eine kleine Literatur
3177
+ x
3178
+ 3
3179
+ eql
3180
+ x
3181
+ 6
3182
+ should
3183
+ p
3184
+ 7
3185
+ I
3186
+ 0
3187
+ I
3188
+ 8c
3189
+ I
3190
+ 0
3191
+ I
3192
+ 8d
3193
+ I
3194
+ e
3195
+ I
3196
+ 8e
3197
+ I
3198
+ 26
3199
+ x
3200
+ 56
3201
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3202
+ p
3203
+ 0
3204
+ s
3205
+ 16
3206
+ renders Japanese
3207
+ M
3208
+ 1
3209
+ p
3210
+ 2
3211
+ x
3212
+ 9
3213
+ for_block
3214
+ t
3215
+ n
3216
+ x
3217
+ 6
3218
+ Sucker
3219
+ i
3220
+ 38
3221
+ 5
3222
+ 48
3223
+ 0
3224
+ 7
3225
+ 1
3226
+ 64
3227
+ 13
3228
+ 18
3229
+ 2
3230
+ 49
3231
+ 2
3232
+ 1
3233
+ 15
3234
+ 15
3235
+ 5
3236
+ 48
3237
+ 0
3238
+ 49
3239
+ 3
3240
+ 0
3241
+ 7
3242
+ 4
3243
+ 64
3244
+ 49
3245
+ 5
3246
+ 1
3247
+ 5
3248
+ 7
3249
+ 6
3250
+ 64
3251
+ 47
3252
+ 49
3253
+ 7
3254
+ 1
3255
+ 49
3256
+ 8
3257
+ 1
3258
+ 11
3259
+ I
3260
+ 4
3261
+ I
3262
+ 0
3263
+ I
3264
+ 0
3265
+ I
3266
+ 0
3267
+ I
3268
+ -2
3269
+ p
3270
+ 9
3271
+ x
3272
+ 8
3273
+ response
3274
+ s
3275
+ 105
3276
+ <Title>スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則</Title>
3277
+ x
3278
+ 5
3279
+ body=
3280
+ x
3281
+ 7
3282
+ to_hash
3283
+ s
3284
+ 5
3285
+ Title
3286
+ x
3287
+ 2
3288
+ []
3289
+ s
3290
+ 90
3291
+ スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則
3292
+ x
3293
+ 3
3294
+ eql
3295
+ x
3296
+ 6
3297
+ should
3298
+ p
3299
+ 7
3300
+ I
3301
+ 0
3302
+ I
3303
+ 91
3304
+ I
3305
+ 0
3306
+ I
3307
+ 92
3308
+ I
3309
+ e
3310
+ I
3311
+ 93
3312
+ I
3313
+ 26
3314
+ x
3315
+ 56
3316
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3317
+ p
3318
+ 0
3319
+ p
3320
+ 13
3321
+ I
3322
+ 0
3323
+ I
3324
+ 7c
3325
+ I
3326
+ 0
3327
+ I
3328
+ 7e
3329
+ I
3330
+ b
3331
+ I
3332
+ 82
3333
+ I
3334
+ 16
3335
+ I
3336
+ 87
3337
+ I
3338
+ 21
3339
+ I
3340
+ 8c
3341
+ I
3342
+ 2c
3343
+ I
3344
+ 91
3345
+ I
3346
+ 37
3347
+ x
3348
+ 56
3349
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3350
+ p
3351
+ 0
3352
+ s
3353
+ 7
3354
+ #valid?
3355
+ M
3356
+ 1
3357
+ p
3358
+ 2
3359
+ x
3360
+ 9
3361
+ for_block
3362
+ t
3363
+ n
3364
+ x
3365
+ 6
3366
+ Sucker
3367
+ i
3368
+ 22
3369
+ 5
3370
+ 7
3371
+ 0
3372
+ 64
3373
+ 56
3374
+ 1
3375
+ 47
3376
+ 50
3377
+ 2
3378
+ 1
3379
+ 15
3380
+ 5
3381
+ 7
3382
+ 3
3383
+ 64
3384
+ 56
3385
+ 4
3386
+ 47
3387
+ 50
3388
+ 2
3389
+ 1
3390
+ 11
3391
+ I
3392
+ 4
3393
+ I
3394
+ 0
3395
+ I
3396
+ 0
3397
+ I
3398
+ 0
3399
+ I
3400
+ -2
3401
+ p
3402
+ 5
3403
+ s
3404
+ 22
3405
+ when HTTP status is OK
3406
+ M
3407
+ 1
3408
+ p
3409
+ 2
3410
+ x
3411
+ 9
3412
+ for_block
3413
+ t
3414
+ n
3415
+ x
3416
+ 6
3417
+ Sucker
3418
+ i
3419
+ 11
3420
+ 5
3421
+ 7
3422
+ 0
3423
+ 64
3424
+ 56
3425
+ 1
3426
+ 47
3427
+ 50
3428
+ 2
3429
+ 1
3430
+ 11
3431
+ I
3432
+ 4
3433
+ I
3434
+ 0
3435
+ I
3436
+ 0
3437
+ I
3438
+ 0
3439
+ I
3440
+ -2
3441
+ p
3442
+ 3
3443
+ s
3444
+ 12
3445
+ returns true
3446
+ M
3447
+ 1
3448
+ p
3449
+ 2
3450
+ x
3451
+ 9
3452
+ for_block
3453
+ t
3454
+ n
3455
+ x
3456
+ 6
3457
+ Sucker
3458
+ i
3459
+ 10
3460
+ 5
3461
+ 48
3462
+ 0
3463
+ 5
3464
+ 48
3465
+ 1
3466
+ 49
3467
+ 2
3468
+ 1
3469
+ 11
3470
+ I
3471
+ 3
3472
+ I
3473
+ 0
3474
+ I
3475
+ 0
3476
+ I
3477
+ 0
3478
+ I
3479
+ -2
3480
+ p
3481
+ 3
3482
+ x
3483
+ 8
3484
+ response
3485
+ x
3486
+ 8
3487
+ be_valid
3488
+ x
3489
+ 6
3490
+ should
3491
+ p
3492
+ 5
3493
+ I
3494
+ 0
3495
+ I
3496
+ 9c
3497
+ I
3498
+ 0
3499
+ I
3500
+ 9d
3501
+ I
3502
+ a
3503
+ x
3504
+ 56
3505
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3506
+ p
3507
+ 0
3508
+ x
3509
+ 2
3510
+ it
3511
+ p
3512
+ 5
3513
+ I
3514
+ 0
3515
+ I
3516
+ 9a
3517
+ I
3518
+ 0
3519
+ I
3520
+ 9c
3521
+ I
3522
+ b
3523
+ x
3524
+ 56
3525
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3526
+ p
3527
+ 0
3528
+ x
3529
+ 7
3530
+ context
3531
+ s
3532
+ 26
3533
+ when HTTP status is not OK
3534
+ M
3535
+ 1
3536
+ p
3537
+ 2
3538
+ x
3539
+ 9
3540
+ for_block
3541
+ t
3542
+ n
3543
+ x
3544
+ 6
3545
+ Sucker
3546
+ i
3547
+ 11
3548
+ 5
3549
+ 7
3550
+ 0
3551
+ 64
3552
+ 56
3553
+ 1
3554
+ 47
3555
+ 50
3556
+ 2
3557
+ 1
3558
+ 11
3559
+ I
3560
+ 4
3561
+ I
3562
+ 0
3563
+ I
3564
+ 0
3565
+ I
3566
+ 0
3567
+ I
3568
+ -2
3569
+ p
3570
+ 3
3571
+ s
3572
+ 13
3573
+ returns false
3574
+ M
3575
+ 1
3576
+ p
3577
+ 2
3578
+ x
3579
+ 9
3580
+ for_block
3581
+ t
3582
+ n
3583
+ x
3584
+ 6
3585
+ Sucker
3586
+ i
3587
+ 23
3588
+ 5
3589
+ 48
3590
+ 0
3591
+ 7
3592
+ 1
3593
+ 13
3594
+ 18
3595
+ 2
3596
+ 49
3597
+ 2
3598
+ 1
3599
+ 15
3600
+ 15
3601
+ 5
3602
+ 48
3603
+ 0
3604
+ 5
3605
+ 48
3606
+ 3
3607
+ 49
3608
+ 4
3609
+ 1
3610
+ 11
3611
+ I
3612
+ 4
3613
+ I
3614
+ 0
3615
+ I
3616
+ 0
3617
+ I
3618
+ 0
3619
+ I
3620
+ -2
3621
+ p
3622
+ 5
3623
+ x
3624
+ 8
3625
+ response
3626
+ I
3627
+ 193
3628
+ x
3629
+ 5
3630
+ code=
3631
+ x
3632
+ 8
3633
+ be_valid
3634
+ x
3635
+ 10
3636
+ should_not
3637
+ p
3638
+ 7
3639
+ I
3640
+ 0
3641
+ I
3642
+ a4
3643
+ I
3644
+ 0
3645
+ I
3646
+ a5
3647
+ I
3648
+ d
3649
+ I
3650
+ a6
3651
+ I
3652
+ 17
3653
+ x
3654
+ 56
3655
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3656
+ p
3657
+ 0
3658
+ x
3659
+ 2
3660
+ it
3661
+ p
3662
+ 5
3663
+ I
3664
+ 0
3665
+ I
3666
+ a2
3667
+ I
3668
+ 0
3669
+ I
3670
+ a4
3671
+ I
3672
+ b
3673
+ x
3674
+ 56
3675
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3676
+ p
3677
+ 0
3678
+ p
3679
+ 7
3680
+ I
3681
+ 0
3682
+ I
3683
+ 98
3684
+ I
3685
+ 0
3686
+ I
3687
+ 9a
3688
+ I
3689
+ b
3690
+ I
3691
+ a2
3692
+ I
3693
+ 16
3694
+ x
3695
+ 56
3696
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3697
+ p
3698
+ 0
3699
+ p
3700
+ 23
3701
+ I
3702
+ 0
3703
+ I
3704
+ 6
3705
+ I
3706
+ 0
3707
+ I
3708
+ 8
3709
+ I
3710
+ 19
3711
+ I
3712
+ a
3713
+ I
3714
+ 23
3715
+ I
3716
+ c
3717
+ I
3718
+ 2d
3719
+ I
3720
+ 19
3721
+ I
3722
+ 38
3723
+ I
3724
+ 28
3725
+ I
3726
+ 43
3727
+ I
3728
+ 30
3729
+ I
3730
+ 4e
3731
+ I
3732
+ 46
3733
+ I
3734
+ 59
3735
+ I
3736
+ 62
3737
+ I
3738
+ 64
3739
+ I
3740
+ 7c
3741
+ I
3742
+ 6f
3743
+ I
3744
+ 98
3745
+ I
3746
+ 7a
3747
+ x
3748
+ 56
3749
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3750
+ p
3751
+ 0
3752
+ x
3753
+ 8
3754
+ describe
3755
+ p
3756
+ 3
3757
+ I
3758
+ 2
3759
+ I
3760
+ 6
3761
+ I
3762
+ d
3763
+ x
3764
+ 56
3765
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3766
+ p
3767
+ 0
3768
+ x
3769
+ 13
3770
+ attach_method
3771
+ p
3772
+ 5
3773
+ I
3774
+ 0
3775
+ I
3776
+ 2
3777
+ I
3778
+ 9
3779
+ I
3780
+ 4
3781
+ I
3782
+ 25
3783
+ x
3784
+ 56
3785
+ /Users/snl/code/sucker/spec/unit/sucker/response_spec.rb
3786
+ p
3787
+ 0