sucker 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +16 -11
- data/lib/sucker.rb +3 -3
- data/lib/sucker.rbc +18 -34
- data/lib/sucker/hash.rb +7 -0
- data/lib/sucker/hash.rbc +914 -0
- data/lib/sucker/parameters.rb +3 -4
- data/lib/sucker/parameters.rbc +177 -122
- data/lib/sucker/request.rb +13 -11
- data/lib/sucker/request.rbc +257 -792
- data/lib/sucker/response.rb +25 -20
- data/lib/sucker/response.rbc +356 -472
- data/lib/sucker/version.rb +1 -1
- data/lib/sucker/version.rbc +4 -4
- data/spec/sucker/hash_spec.rbc +861 -0
- data/spec/sucker/parameters_spec.rbc +5 -6
- data/spec/sucker/request_spec.rbc +38 -420
- data/spec/sucker/response_spec.rb +2 -2
- data/spec/sucker/response_spec.rbc +1258 -349
- metadata +5 -90
@@ -66,7 +66,7 @@ module Sucker
|
|
66
66
|
it "raises error" do
|
67
67
|
expect do
|
68
68
|
response.each("ItemAttributes")
|
69
|
-
end.to raise_error(
|
69
|
+
end.to raise_error(NoMethodError)
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
@@ -99,7 +99,7 @@ module Sucker
|
|
99
99
|
it "raises error" do
|
100
100
|
expect do
|
101
101
|
response.map("ItemAttributes")
|
102
|
-
end.to raise_error(
|
102
|
+
end.to raise_error(NoMethodError)
|
103
103
|
end
|
104
104
|
end
|
105
105
|
end
|
@@ -123,7 +123,7 @@ x
|
|
123
123
|
6
|
124
124
|
Sucker
|
125
125
|
i
|
126
|
-
|
126
|
+
158
|
127
127
|
5
|
128
128
|
7
|
129
129
|
0
|
@@ -169,70 +169,117 @@ i
|
|
169
169
|
9
|
170
170
|
1
|
171
171
|
15
|
172
|
-
|
172
|
+
99
|
173
173
|
7
|
174
174
|
12
|
175
|
+
7
|
176
|
+
13
|
177
|
+
65
|
178
|
+
67
|
179
|
+
49
|
180
|
+
14
|
181
|
+
0
|
182
|
+
49
|
183
|
+
15
|
184
|
+
4
|
185
|
+
15
|
186
|
+
5
|
187
|
+
7
|
188
|
+
16
|
175
189
|
64
|
176
190
|
56
|
177
|
-
|
191
|
+
17
|
178
192
|
47
|
179
193
|
50
|
180
|
-
|
194
|
+
18
|
181
195
|
1
|
182
196
|
15
|
183
197
|
5
|
184
198
|
7
|
199
|
+
19
|
200
|
+
64
|
201
|
+
56
|
202
|
+
20
|
203
|
+
47
|
204
|
+
50
|
205
|
+
21
|
206
|
+
1
|
185
207
|
15
|
208
|
+
5
|
209
|
+
7
|
210
|
+
22
|
186
211
|
64
|
187
212
|
56
|
188
|
-
|
213
|
+
23
|
189
214
|
47
|
190
215
|
50
|
191
|
-
|
216
|
+
18
|
192
217
|
1
|
193
218
|
15
|
194
219
|
5
|
195
220
|
7
|
221
|
+
24
|
222
|
+
64
|
223
|
+
56
|
224
|
+
25
|
225
|
+
47
|
226
|
+
50
|
196
227
|
18
|
228
|
+
1
|
229
|
+
15
|
230
|
+
5
|
231
|
+
7
|
232
|
+
26
|
197
233
|
64
|
198
234
|
56
|
199
|
-
|
235
|
+
27
|
200
236
|
47
|
201
237
|
50
|
202
|
-
|
238
|
+
18
|
203
239
|
1
|
204
240
|
15
|
205
241
|
5
|
206
242
|
7
|
207
|
-
|
243
|
+
28
|
208
244
|
64
|
209
245
|
56
|
210
|
-
|
246
|
+
29
|
211
247
|
47
|
212
248
|
50
|
213
|
-
|
249
|
+
18
|
214
250
|
1
|
215
251
|
15
|
216
252
|
5
|
217
253
|
7
|
218
|
-
|
254
|
+
30
|
219
255
|
64
|
220
256
|
56
|
221
|
-
|
257
|
+
31
|
222
258
|
47
|
223
259
|
50
|
224
|
-
|
260
|
+
18
|
225
261
|
1
|
226
262
|
15
|
227
263
|
5
|
228
264
|
7
|
229
|
-
|
265
|
+
32
|
230
266
|
64
|
231
267
|
56
|
232
|
-
|
268
|
+
33
|
233
269
|
47
|
234
270
|
50
|
235
|
-
|
271
|
+
18
|
272
|
+
1
|
273
|
+
15
|
274
|
+
5
|
275
|
+
7
|
276
|
+
34
|
277
|
+
64
|
278
|
+
56
|
279
|
+
35
|
280
|
+
47
|
281
|
+
50
|
282
|
+
18
|
236
283
|
1
|
237
284
|
11
|
238
285
|
I
|
@@ -246,7 +293,7 @@ I
|
|
246
293
|
I
|
247
294
|
-2
|
248
295
|
p
|
249
|
-
|
296
|
+
36
|
250
297
|
s
|
251
298
|
20
|
252
299
|
spec/sucker/response
|
@@ -681,6 +728,98 @@ p
|
|
681
728
|
x
|
682
729
|
6
|
683
730
|
worker
|
731
|
+
x
|
732
|
+
9
|
733
|
+
mock_body
|
734
|
+
M
|
735
|
+
1
|
736
|
+
n
|
737
|
+
n
|
738
|
+
x
|
739
|
+
9
|
740
|
+
mock_body
|
741
|
+
i
|
742
|
+
25
|
743
|
+
5
|
744
|
+
7
|
745
|
+
0
|
746
|
+
64
|
747
|
+
44
|
748
|
+
43
|
749
|
+
1
|
750
|
+
79
|
751
|
+
49
|
752
|
+
2
|
753
|
+
1
|
754
|
+
13
|
755
|
+
7
|
756
|
+
3
|
757
|
+
20
|
758
|
+
0
|
759
|
+
49
|
760
|
+
4
|
761
|
+
2
|
762
|
+
15
|
763
|
+
47
|
764
|
+
49
|
765
|
+
5
|
766
|
+
2
|
767
|
+
11
|
768
|
+
I
|
769
|
+
7
|
770
|
+
I
|
771
|
+
1
|
772
|
+
I
|
773
|
+
1
|
774
|
+
I
|
775
|
+
1
|
776
|
+
n
|
777
|
+
p
|
778
|
+
6
|
779
|
+
s
|
780
|
+
4
|
781
|
+
body
|
782
|
+
x
|
783
|
+
4
|
784
|
+
Hash
|
785
|
+
x
|
786
|
+
16
|
787
|
+
new_from_literal
|
788
|
+
x
|
789
|
+
4
|
790
|
+
dump
|
791
|
+
x
|
792
|
+
3
|
793
|
+
[]=
|
794
|
+
x
|
795
|
+
4
|
796
|
+
mock
|
797
|
+
p
|
798
|
+
5
|
799
|
+
I
|
800
|
+
-1
|
801
|
+
I
|
802
|
+
17
|
803
|
+
I
|
804
|
+
0
|
805
|
+
I
|
806
|
+
18
|
807
|
+
I
|
808
|
+
19
|
809
|
+
x
|
810
|
+
59
|
811
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
812
|
+
p
|
813
|
+
1
|
814
|
+
x
|
815
|
+
3
|
816
|
+
str
|
817
|
+
x
|
818
|
+
17
|
819
|
+
method_visibility
|
820
|
+
x
|
821
|
+
15
|
822
|
+
add_defn_method
|
684
823
|
s
|
685
824
|
4
|
686
825
|
.new
|
@@ -748,7 +887,7 @@ x
|
|
748
887
|
6
|
749
888
|
Sucker
|
750
889
|
i
|
751
|
-
|
890
|
+
22
|
752
891
|
5
|
753
892
|
48
|
754
893
|
0
|
@@ -759,12 +898,16 @@ i
|
|
759
898
|
45
|
760
899
|
2
|
761
900
|
3
|
901
|
+
43
|
902
|
+
4
|
903
|
+
43
|
904
|
+
5
|
762
905
|
47
|
763
906
|
49
|
764
|
-
|
907
|
+
6
|
765
908
|
1
|
766
909
|
49
|
767
|
-
|
910
|
+
7
|
768
911
|
1
|
769
912
|
11
|
770
913
|
I
|
@@ -778,7 +921,7 @@ I
|
|
778
921
|
I
|
779
922
|
-2
|
780
923
|
p
|
781
|
-
|
924
|
+
8
|
782
925
|
x
|
783
926
|
8
|
784
927
|
response
|
@@ -786,10 +929,16 @@ x
|
|
786
929
|
4
|
787
930
|
body
|
788
931
|
x
|
789
|
-
|
790
|
-
|
932
|
+
4
|
933
|
+
HTTP
|
791
934
|
n
|
792
935
|
x
|
936
|
+
7
|
937
|
+
Message
|
938
|
+
x
|
939
|
+
4
|
940
|
+
Body
|
941
|
+
x
|
793
942
|
17
|
794
943
|
be_an_instance_of
|
795
944
|
x
|
@@ -800,9 +949,9 @@ p
|
|
800
949
|
I
|
801
950
|
0
|
802
951
|
I
|
803
|
-
|
952
|
+
1d
|
804
953
|
I
|
805
|
-
|
954
|
+
16
|
806
955
|
x
|
807
956
|
59
|
808
957
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
@@ -827,7 +976,7 @@ x
|
|
827
976
|
6
|
828
977
|
Sucker
|
829
978
|
i
|
830
|
-
|
979
|
+
14
|
831
980
|
5
|
832
981
|
48
|
833
982
|
0
|
@@ -837,11 +986,10 @@ i
|
|
837
986
|
49
|
838
987
|
2
|
839
988
|
0
|
840
|
-
7
|
841
|
-
3
|
842
|
-
64
|
843
|
-
83
|
844
989
|
4
|
990
|
+
200
|
991
|
+
83
|
992
|
+
3
|
845
993
|
11
|
846
994
|
I
|
847
995
|
3
|
@@ -854,7 +1002,7 @@ I
|
|
854
1002
|
I
|
855
1003
|
-2
|
856
1004
|
p
|
857
|
-
|
1005
|
+
4
|
858
1006
|
x
|
859
1007
|
8
|
860
1008
|
response
|
@@ -864,9 +1012,6 @@ code
|
|
864
1012
|
x
|
865
1013
|
6
|
866
1014
|
should
|
867
|
-
s
|
868
|
-
3
|
869
|
-
200
|
870
1015
|
x
|
871
1016
|
2
|
872
1017
|
==
|
@@ -875,9 +1020,9 @@ p
|
|
875
1020
|
I
|
876
1021
|
0
|
877
1022
|
I
|
878
|
-
|
1023
|
+
21
|
879
1024
|
I
|
880
|
-
|
1025
|
+
e
|
881
1026
|
x
|
882
1027
|
59
|
883
1028
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
@@ -888,11 +1033,11 @@ p
|
|
888
1033
|
I
|
889
1034
|
0
|
890
1035
|
I
|
891
|
-
|
1036
|
+
1c
|
892
1037
|
I
|
893
1038
|
b
|
894
1039
|
I
|
895
|
-
|
1040
|
+
20
|
896
1041
|
I
|
897
1042
|
16
|
898
1043
|
x
|
@@ -975,18 +1120,23 @@ x
|
|
975
1120
|
6
|
976
1121
|
Sucker
|
977
1122
|
i
|
978
|
-
|
1123
|
+
19
|
979
1124
|
5
|
980
1125
|
48
|
981
1126
|
0
|
1127
|
+
5
|
982
1128
|
7
|
983
1129
|
1
|
984
1130
|
64
|
1131
|
+
47
|
1132
|
+
49
|
1133
|
+
2
|
1134
|
+
1
|
985
1135
|
13
|
986
1136
|
18
|
987
1137
|
2
|
988
1138
|
49
|
989
|
-
|
1139
|
+
3
|
990
1140
|
1
|
991
1141
|
15
|
992
1142
|
11
|
@@ -1001,7 +1151,7 @@ I
|
|
1001
1151
|
I
|
1002
1152
|
-2
|
1003
1153
|
p
|
1004
|
-
|
1154
|
+
4
|
1005
1155
|
x
|
1006
1156
|
8
|
1007
1157
|
response
|
@@ -1009,6 +1159,9 @@ s
|
|
1009
1159
|
164
|
1010
1160
|
<?xml version="1.0" ?><ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-09-01"><Errors><Error>foo</Error><Error>bar</Error></Errors>
|
1011
1161
|
x
|
1162
|
+
9
|
1163
|
+
mock_body
|
1164
|
+
x
|
1012
1165
|
5
|
1013
1166
|
body=
|
1014
1167
|
p
|
@@ -1016,9 +1169,9 @@ p
|
|
1016
1169
|
I
|
1017
1170
|
0
|
1018
1171
|
I
|
1019
|
-
|
1172
|
+
27
|
1020
1173
|
I
|
1021
|
-
|
1174
|
+
13
|
1022
1175
|
x
|
1023
1176
|
59
|
1024
1177
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
@@ -1135,7 +1288,7 @@ p
|
|
1135
1288
|
I
|
1136
1289
|
0
|
1137
1290
|
I
|
1138
|
-
|
1291
|
+
2c
|
1139
1292
|
I
|
1140
1293
|
13
|
1141
1294
|
x
|
@@ -1151,7 +1304,7 @@ p
|
|
1151
1304
|
I
|
1152
1305
|
0
|
1153
1306
|
I
|
1154
|
-
|
1307
|
+
2b
|
1155
1308
|
I
|
1156
1309
|
b
|
1157
1310
|
x
|
@@ -1255,7 +1408,7 @@ p
|
|
1255
1408
|
I
|
1256
1409
|
0
|
1257
1410
|
I
|
1258
|
-
|
1411
|
+
32
|
1259
1412
|
I
|
1260
1413
|
a
|
1261
1414
|
x
|
@@ -1271,7 +1424,7 @@ p
|
|
1271
1424
|
I
|
1272
1425
|
0
|
1273
1426
|
I
|
1274
|
-
|
1427
|
+
31
|
1275
1428
|
I
|
1276
1429
|
b
|
1277
1430
|
x
|
@@ -1284,15 +1437,15 @@ p
|
|
1284
1437
|
I
|
1285
1438
|
0
|
1286
1439
|
I
|
1287
|
-
|
1440
|
+
26
|
1288
1441
|
I
|
1289
1442
|
8
|
1290
1443
|
I
|
1291
|
-
|
1444
|
+
2a
|
1292
1445
|
I
|
1293
1446
|
13
|
1294
1447
|
I
|
1295
|
-
|
1448
|
+
30
|
1296
1449
|
I
|
1297
1450
|
1e
|
1298
1451
|
x
|
@@ -1305,7 +1458,7 @@ x
|
|
1305
1458
|
context
|
1306
1459
|
s
|
1307
1460
|
5
|
1308
|
-
#
|
1461
|
+
#each
|
1309
1462
|
M
|
1310
1463
|
1
|
1311
1464
|
p
|
@@ -1355,8 +1508,8 @@ I
|
|
1355
1508
|
p
|
1356
1509
|
5
|
1357
1510
|
s
|
1358
|
-
|
1359
|
-
when
|
1511
|
+
21
|
1512
|
+
when a block is given
|
1360
1513
|
M
|
1361
1514
|
1
|
1362
1515
|
p
|
@@ -1395,8 +1548,8 @@ I
|
|
1395
1548
|
p
|
1396
1549
|
3
|
1397
1550
|
s
|
1398
|
-
|
1399
|
-
|
1551
|
+
28
|
1552
|
+
yields each match to a block
|
1400
1553
|
M
|
1401
1554
|
1
|
1402
1555
|
p
|
@@ -1410,32 +1563,36 @@ x
|
|
1410
1563
|
6
|
1411
1564
|
Sucker
|
1412
1565
|
i
|
1413
|
-
|
1566
|
+
25
|
1567
|
+
3
|
1568
|
+
19
|
1569
|
+
0
|
1570
|
+
15
|
1414
1571
|
5
|
1415
1572
|
48
|
1416
1573
|
0
|
1417
1574
|
7
|
1418
1575
|
1
|
1419
1576
|
64
|
1420
|
-
|
1577
|
+
56
|
1421
1578
|
2
|
1579
|
+
50
|
1580
|
+
3
|
1422
1581
|
1
|
1423
|
-
|
1582
|
+
15
|
1583
|
+
20
|
1584
|
+
0
|
1424
1585
|
5
|
1425
1586
|
48
|
1426
|
-
3
|
1427
|
-
47
|
1428
|
-
49
|
1429
1587
|
4
|
1430
|
-
1
|
1431
1588
|
49
|
1432
1589
|
5
|
1433
1590
|
1
|
1434
1591
|
11
|
1435
1592
|
I
|
1436
|
-
|
1593
|
+
5
|
1437
1594
|
I
|
1438
|
-
|
1595
|
+
1
|
1439
1596
|
I
|
1440
1597
|
0
|
1441
1598
|
I
|
@@ -1448,33 +1605,123 @@ x
|
|
1448
1605
|
8
|
1449
1606
|
response
|
1450
1607
|
s
|
1451
|
-
|
1452
|
-
|
1608
|
+
14
|
1609
|
+
ItemAttributes
|
1610
|
+
M
|
1611
|
+
1
|
1612
|
+
p
|
1613
|
+
2
|
1453
1614
|
x
|
1454
|
-
|
1455
|
-
|
1615
|
+
9
|
1616
|
+
for_block
|
1617
|
+
t
|
1618
|
+
n
|
1456
1619
|
x
|
1620
|
+
6
|
1621
|
+
Sucker
|
1622
|
+
i
|
1623
|
+
23
|
1624
|
+
57
|
1625
|
+
19
|
1626
|
+
0
|
1627
|
+
15
|
1628
|
+
2
|
1629
|
+
22
|
1630
|
+
1
|
1631
|
+
0
|
1632
|
+
15
|
1633
|
+
20
|
1634
|
+
0
|
1457
1635
|
5
|
1458
|
-
|
1459
|
-
|
1636
|
+
45
|
1637
|
+
0
|
1638
|
+
1
|
1639
|
+
47
|
1640
|
+
49
|
1641
|
+
2
|
1642
|
+
1
|
1643
|
+
49
|
1460
1644
|
3
|
1461
|
-
|
1645
|
+
1
|
1646
|
+
11
|
1647
|
+
I
|
1648
|
+
5
|
1649
|
+
I
|
1650
|
+
1
|
1651
|
+
I
|
1652
|
+
1
|
1653
|
+
I
|
1654
|
+
1
|
1655
|
+
n
|
1656
|
+
p
|
1657
|
+
4
|
1658
|
+
x
|
1659
|
+
4
|
1660
|
+
Hash
|
1661
|
+
n
|
1662
|
+
x
|
1663
|
+
17
|
1664
|
+
be_an_instance_of
|
1462
1665
|
x
|
1463
1666
|
6
|
1464
1667
|
should
|
1465
1668
|
p
|
1466
|
-
|
1669
|
+
7
|
1467
1670
|
I
|
1468
1671
|
0
|
1469
1672
|
I
|
1470
|
-
|
1673
|
+
3c
|
1471
1674
|
I
|
1472
|
-
|
1675
|
+
4
|
1676
|
+
I
|
1677
|
+
3d
|
1678
|
+
I
|
1679
|
+
9
|
1680
|
+
I
|
1681
|
+
3e
|
1682
|
+
I
|
1683
|
+
17
|
1473
1684
|
x
|
1474
1685
|
59
|
1475
1686
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
1476
1687
|
p
|
1688
|
+
1
|
1689
|
+
x
|
1690
|
+
4
|
1691
|
+
item
|
1692
|
+
x
|
1693
|
+
4
|
1694
|
+
each
|
1695
|
+
x
|
1696
|
+
7
|
1697
|
+
be_true
|
1698
|
+
x
|
1699
|
+
6
|
1700
|
+
should
|
1701
|
+
p
|
1702
|
+
7
|
1703
|
+
I
|
1477
1704
|
0
|
1705
|
+
I
|
1706
|
+
3a
|
1707
|
+
I
|
1708
|
+
4
|
1709
|
+
I
|
1710
|
+
3c
|
1711
|
+
I
|
1712
|
+
10
|
1713
|
+
I
|
1714
|
+
41
|
1715
|
+
I
|
1716
|
+
19
|
1717
|
+
x
|
1718
|
+
59
|
1719
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
1720
|
+
p
|
1721
|
+
1
|
1722
|
+
x
|
1723
|
+
11
|
1724
|
+
has_yielded
|
1478
1725
|
x
|
1479
1726
|
2
|
1480
1727
|
it
|
@@ -1483,7 +1730,7 @@ p
|
|
1483
1730
|
I
|
1484
1731
|
0
|
1485
1732
|
I
|
1486
|
-
|
1733
|
+
39
|
1487
1734
|
I
|
1488
1735
|
b
|
1489
1736
|
x
|
@@ -1495,8 +1742,8 @@ x
|
|
1495
1742
|
7
|
1496
1743
|
context
|
1497
1744
|
s
|
1498
|
-
|
1499
|
-
when
|
1745
|
+
22
|
1746
|
+
when no block is given
|
1500
1747
|
M
|
1501
1748
|
1
|
1502
1749
|
p
|
@@ -1535,8 +1782,8 @@ I
|
|
1535
1782
|
p
|
1536
1783
|
3
|
1537
1784
|
s
|
1538
|
-
|
1539
|
-
|
1785
|
+
12
|
1786
|
+
raises error
|
1540
1787
|
M
|
1541
1788
|
1
|
1542
1789
|
p
|
@@ -1550,36 +1797,66 @@ x
|
|
1550
1797
|
6
|
1551
1798
|
Sucker
|
1552
1799
|
i
|
1553
|
-
|
1800
|
+
19
|
1554
1801
|
5
|
1555
|
-
|
1802
|
+
56
|
1556
1803
|
0
|
1557
|
-
|
1804
|
+
47
|
1805
|
+
50
|
1558
1806
|
1
|
1559
|
-
|
1560
|
-
|
1807
|
+
0
|
1808
|
+
5
|
1809
|
+
45
|
1561
1810
|
2
|
1811
|
+
3
|
1812
|
+
47
|
1813
|
+
49
|
1814
|
+
4
|
1562
1815
|
1
|
1563
|
-
|
1816
|
+
49
|
1817
|
+
5
|
1818
|
+
1
|
1819
|
+
11
|
1820
|
+
I
|
1821
|
+
4
|
1822
|
+
I
|
1564
1823
|
0
|
1565
|
-
|
1566
|
-
|
1824
|
+
I
|
1825
|
+
0
|
1826
|
+
I
|
1567
1827
|
0
|
1828
|
+
I
|
1829
|
+
-2
|
1830
|
+
p
|
1831
|
+
6
|
1832
|
+
M
|
1833
|
+
1
|
1834
|
+
p
|
1835
|
+
2
|
1836
|
+
x
|
1837
|
+
9
|
1838
|
+
for_block
|
1839
|
+
t
|
1840
|
+
n
|
1841
|
+
x
|
1842
|
+
6
|
1843
|
+
Sucker
|
1844
|
+
i
|
1845
|
+
10
|
1568
1846
|
5
|
1569
|
-
|
1847
|
+
48
|
1570
1848
|
0
|
1571
|
-
|
1572
|
-
49
|
1573
|
-
3
|
1849
|
+
7
|
1574
1850
|
1
|
1851
|
+
64
|
1575
1852
|
49
|
1576
|
-
|
1853
|
+
2
|
1577
1854
|
1
|
1578
1855
|
11
|
1579
1856
|
I
|
1580
|
-
|
1857
|
+
3
|
1581
1858
|
I
|
1582
|
-
|
1859
|
+
0
|
1583
1860
|
I
|
1584
1861
|
0
|
1585
1862
|
I
|
@@ -1587,42 +1864,63 @@ I
|
|
1587
1864
|
I
|
1588
1865
|
-2
|
1589
1866
|
p
|
1590
|
-
|
1867
|
+
3
|
1591
1868
|
x
|
1592
1869
|
8
|
1593
1870
|
response
|
1594
1871
|
s
|
1595
|
-
|
1596
|
-
|
1872
|
+
14
|
1873
|
+
ItemAttributes
|
1597
1874
|
x
|
1598
1875
|
4
|
1599
|
-
|
1600
|
-
|
1876
|
+
each
|
1877
|
+
p
|
1601
1878
|
3
|
1602
|
-
|
1879
|
+
I
|
1880
|
+
0
|
1881
|
+
I
|
1882
|
+
48
|
1883
|
+
I
|
1884
|
+
a
|
1885
|
+
x
|
1886
|
+
59
|
1887
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
1888
|
+
p
|
1889
|
+
0
|
1603
1890
|
x
|
1604
1891
|
6
|
1605
|
-
|
1892
|
+
expect
|
1893
|
+
x
|
1894
|
+
14
|
1895
|
+
LocalJumpError
|
1896
|
+
n
|
1897
|
+
x
|
1898
|
+
11
|
1899
|
+
raise_error
|
1900
|
+
x
|
1901
|
+
2
|
1902
|
+
to
|
1606
1903
|
p
|
1607
|
-
|
1904
|
+
7
|
1608
1905
|
I
|
1609
1906
|
0
|
1610
1907
|
I
|
1611
|
-
|
1908
|
+
47
|
1612
1909
|
I
|
1613
|
-
|
1910
|
+
7
|
1614
1911
|
I
|
1615
|
-
|
1912
|
+
49
|
1616
1913
|
I
|
1617
|
-
|
1914
|
+
f
|
1915
|
+
I
|
1916
|
+
47
|
1917
|
+
I
|
1918
|
+
13
|
1618
1919
|
x
|
1619
1920
|
59
|
1620
1921
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
1621
1922
|
p
|
1622
|
-
|
1623
|
-
x
|
1624
|
-
4
|
1625
|
-
node
|
1923
|
+
0
|
1626
1924
|
x
|
1627
1925
|
2
|
1628
1926
|
it
|
@@ -1631,7 +1929,7 @@ p
|
|
1631
1929
|
I
|
1632
1930
|
0
|
1633
1931
|
I
|
1634
|
-
|
1932
|
+
46
|
1635
1933
|
I
|
1636
1934
|
b
|
1637
1935
|
x
|
@@ -1644,11 +1942,11 @@ p
|
|
1644
1942
|
I
|
1645
1943
|
0
|
1646
1944
|
I
|
1647
|
-
|
1945
|
+
38
|
1648
1946
|
I
|
1649
1947
|
b
|
1650
1948
|
I
|
1651
|
-
|
1949
|
+
45
|
1652
1950
|
I
|
1653
1951
|
16
|
1654
1952
|
x
|
@@ -1657,8 +1955,8 @@ x
|
|
1657
1955
|
p
|
1658
1956
|
0
|
1659
1957
|
s
|
1660
|
-
|
1661
|
-
#
|
1958
|
+
5
|
1959
|
+
#find
|
1662
1960
|
M
|
1663
1961
|
1
|
1664
1962
|
p
|
@@ -1672,7 +1970,7 @@ x
|
|
1672
1970
|
6
|
1673
1971
|
Sucker
|
1674
1972
|
i
|
1675
|
-
|
1973
|
+
22
|
1676
1974
|
5
|
1677
1975
|
7
|
1678
1976
|
0
|
@@ -1694,35 +1992,42 @@ i
|
|
1694
1992
|
50
|
1695
1993
|
2
|
1696
1994
|
1
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1995
|
+
11
|
1996
|
+
I
|
1997
|
+
4
|
1998
|
+
I
|
1999
|
+
0
|
2000
|
+
I
|
2001
|
+
0
|
2002
|
+
I
|
2003
|
+
0
|
2004
|
+
I
|
2005
|
+
-2
|
2006
|
+
p
|
1700
2007
|
5
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
50
|
1706
|
-
2
|
1707
|
-
1
|
1708
|
-
15
|
1709
|
-
5
|
1710
|
-
7
|
1711
|
-
7
|
1712
|
-
64
|
1713
|
-
56
|
1714
|
-
8
|
1715
|
-
47
|
1716
|
-
50
|
1717
|
-
2
|
2008
|
+
s
|
2009
|
+
22
|
2010
|
+
when there are matches
|
2011
|
+
M
|
1718
2012
|
1
|
1719
|
-
|
2013
|
+
p
|
2014
|
+
2
|
2015
|
+
x
|
2016
|
+
9
|
2017
|
+
for_block
|
2018
|
+
t
|
2019
|
+
n
|
2020
|
+
x
|
2021
|
+
6
|
2022
|
+
Sucker
|
2023
|
+
i
|
2024
|
+
11
|
1720
2025
|
5
|
1721
2026
|
7
|
1722
|
-
|
2027
|
+
0
|
1723
2028
|
64
|
1724
2029
|
56
|
1725
|
-
|
2030
|
+
1
|
1726
2031
|
47
|
1727
2032
|
50
|
1728
2033
|
2
|
@@ -1739,10 +2044,10 @@ I
|
|
1739
2044
|
I
|
1740
2045
|
-2
|
1741
2046
|
p
|
1742
|
-
|
2047
|
+
3
|
1743
2048
|
s
|
1744
|
-
|
1745
|
-
returns
|
2049
|
+
34
|
2050
|
+
returns an array of matching nodes
|
1746
2051
|
M
|
1747
2052
|
1
|
1748
2053
|
p
|
@@ -1756,16 +2061,19 @@ x
|
|
1756
2061
|
6
|
1757
2062
|
Sucker
|
1758
2063
|
i
|
1759
|
-
|
2064
|
+
21
|
1760
2065
|
5
|
1761
2066
|
48
|
1762
2067
|
0
|
2068
|
+
7
|
2069
|
+
1
|
2070
|
+
64
|
1763
2071
|
49
|
2072
|
+
2
|
1764
2073
|
1
|
1765
|
-
0
|
1766
2074
|
5
|
1767
|
-
|
1768
|
-
|
2075
|
+
5
|
2076
|
+
48
|
1769
2077
|
3
|
1770
2078
|
47
|
1771
2079
|
49
|
@@ -1790,16 +2098,18 @@ p
|
|
1790
2098
|
x
|
1791
2099
|
8
|
1792
2100
|
response
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
2101
|
+
s
|
2102
|
+
4
|
2103
|
+
ASIN
|
1796
2104
|
x
|
1797
2105
|
4
|
1798
|
-
|
1799
|
-
n
|
2106
|
+
find
|
1800
2107
|
x
|
1801
|
-
|
1802
|
-
|
2108
|
+
5
|
2109
|
+
asins
|
2110
|
+
x
|
2111
|
+
3
|
2112
|
+
eql
|
1803
2113
|
x
|
1804
2114
|
6
|
1805
2115
|
should
|
@@ -1808,9 +2118,9 @@ p
|
|
1808
2118
|
I
|
1809
2119
|
0
|
1810
2120
|
I
|
1811
|
-
|
2121
|
+
51
|
1812
2122
|
I
|
1813
|
-
|
2123
|
+
15
|
1814
2124
|
x
|
1815
2125
|
59
|
1816
2126
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
@@ -1819,9 +2129,25 @@ p
|
|
1819
2129
|
x
|
1820
2130
|
2
|
1821
2131
|
it
|
2132
|
+
p
|
2133
|
+
3
|
2134
|
+
I
|
2135
|
+
0
|
2136
|
+
I
|
2137
|
+
50
|
2138
|
+
I
|
2139
|
+
b
|
2140
|
+
x
|
2141
|
+
59
|
2142
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2143
|
+
p
|
2144
|
+
0
|
2145
|
+
x
|
2146
|
+
7
|
2147
|
+
context
|
1822
2148
|
s
|
1823
|
-
|
1824
|
-
|
2149
|
+
25
|
2150
|
+
when there are no matches
|
1825
2151
|
M
|
1826
2152
|
1
|
1827
2153
|
p
|
@@ -1835,55 +2161,76 @@ x
|
|
1835
2161
|
6
|
1836
2162
|
Sucker
|
1837
2163
|
i
|
1838
|
-
|
2164
|
+
11
|
1839
2165
|
5
|
1840
|
-
48
|
1841
|
-
0
|
1842
2166
|
7
|
1843
|
-
|
2167
|
+
0
|
1844
2168
|
64
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
2169
|
+
56
|
2170
|
+
1
|
2171
|
+
47
|
2172
|
+
50
|
1849
2173
|
2
|
1850
2174
|
1
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
2175
|
+
11
|
2176
|
+
I
|
2177
|
+
4
|
2178
|
+
I
|
1855
2179
|
0
|
1856
|
-
|
2180
|
+
I
|
2181
|
+
0
|
2182
|
+
I
|
2183
|
+
0
|
2184
|
+
I
|
2185
|
+
-2
|
2186
|
+
p
|
1857
2187
|
3
|
2188
|
+
s
|
2189
|
+
22
|
2190
|
+
returns an empty array
|
2191
|
+
M
|
2192
|
+
1
|
2193
|
+
p
|
2194
|
+
2
|
2195
|
+
x
|
2196
|
+
9
|
2197
|
+
for_block
|
2198
|
+
t
|
2199
|
+
n
|
2200
|
+
x
|
2201
|
+
6
|
2202
|
+
Sucker
|
2203
|
+
i
|
2204
|
+
25
|
2205
|
+
5
|
2206
|
+
48
|
1858
2207
|
0
|
1859
2208
|
7
|
1860
|
-
4
|
1861
|
-
64
|
1862
|
-
49
|
1863
|
-
5
|
1864
2209
|
1
|
1865
|
-
7
|
1866
|
-
6
|
1867
2210
|
64
|
1868
2211
|
49
|
1869
|
-
|
2212
|
+
2
|
1870
2213
|
1
|
2214
|
+
19
|
2215
|
+
0
|
2216
|
+
15
|
2217
|
+
20
|
2218
|
+
0
|
1871
2219
|
5
|
1872
|
-
|
1873
|
-
|
1874
|
-
8
|
2220
|
+
35
|
2221
|
+
0
|
1875
2222
|
47
|
1876
2223
|
49
|
1877
|
-
|
2224
|
+
3
|
1878
2225
|
1
|
1879
2226
|
49
|
1880
|
-
|
2227
|
+
4
|
1881
2228
|
1
|
1882
2229
|
11
|
1883
2230
|
I
|
1884
|
-
|
2231
|
+
5
|
1885
2232
|
I
|
1886
|
-
|
2233
|
+
1
|
1887
2234
|
I
|
1888
2235
|
0
|
1889
2236
|
I
|
@@ -1891,58 +2238,78 @@ I
|
|
1891
2238
|
I
|
1892
2239
|
-2
|
1893
2240
|
p
|
1894
|
-
|
2241
|
+
5
|
1895
2242
|
x
|
1896
2243
|
8
|
1897
2244
|
response
|
1898
2245
|
s
|
1899
|
-
|
1900
|
-
|
1901
|
-
x
|
1902
|
-
5
|
1903
|
-
body=
|
2246
|
+
3
|
2247
|
+
Foo
|
1904
2248
|
x
|
1905
|
-
7
|
1906
|
-
to_hash
|
1907
|
-
s
|
1908
2249
|
4
|
1909
|
-
|
2250
|
+
find
|
1910
2251
|
x
|
1911
|
-
|
1912
|
-
|
1913
|
-
s
|
1914
|
-
5
|
1915
|
-
title
|
2252
|
+
3
|
2253
|
+
eql
|
1916
2254
|
x
|
1917
2255
|
6
|
1918
|
-
|
1919
|
-
|
2256
|
+
should
|
2257
|
+
p
|
2258
|
+
5
|
2259
|
+
I
|
2260
|
+
0
|
2261
|
+
I
|
2262
|
+
57
|
2263
|
+
I
|
2264
|
+
c
|
2265
|
+
I
|
2266
|
+
58
|
2267
|
+
I
|
2268
|
+
19
|
1920
2269
|
x
|
1921
|
-
|
1922
|
-
|
2270
|
+
59
|
2271
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2272
|
+
p
|
2273
|
+
1
|
1923
2274
|
x
|
1924
|
-
|
1925
|
-
|
2275
|
+
4
|
2276
|
+
node
|
2277
|
+
x
|
2278
|
+
2
|
2279
|
+
it
|
2280
|
+
p
|
2281
|
+
3
|
2282
|
+
I
|
2283
|
+
0
|
2284
|
+
I
|
2285
|
+
56
|
2286
|
+
I
|
2287
|
+
b
|
2288
|
+
x
|
2289
|
+
59
|
2290
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2291
|
+
p
|
2292
|
+
0
|
1926
2293
|
p
|
1927
2294
|
5
|
1928
2295
|
I
|
1929
2296
|
0
|
1930
2297
|
I
|
1931
|
-
|
2298
|
+
4f
|
1932
2299
|
I
|
1933
|
-
|
2300
|
+
b
|
1934
2301
|
I
|
1935
|
-
|
2302
|
+
55
|
1936
2303
|
I
|
1937
|
-
|
2304
|
+
16
|
1938
2305
|
x
|
1939
2306
|
59
|
1940
2307
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
1941
2308
|
p
|
1942
2309
|
0
|
1943
2310
|
s
|
1944
|
-
|
1945
|
-
|
2311
|
+
4
|
2312
|
+
#map
|
1946
2313
|
M
|
1947
2314
|
1
|
1948
2315
|
p
|
@@ -1956,47 +2323,555 @@ x
|
|
1956
2323
|
6
|
1957
2324
|
Sucker
|
1958
2325
|
i
|
1959
|
-
|
2326
|
+
22
|
2327
|
+
5
|
2328
|
+
7
|
2329
|
+
0
|
2330
|
+
64
|
2331
|
+
56
|
2332
|
+
1
|
2333
|
+
47
|
2334
|
+
50
|
2335
|
+
2
|
2336
|
+
1
|
2337
|
+
15
|
2338
|
+
5
|
2339
|
+
7
|
2340
|
+
3
|
2341
|
+
64
|
2342
|
+
56
|
2343
|
+
4
|
2344
|
+
47
|
2345
|
+
50
|
2346
|
+
2
|
2347
|
+
1
|
2348
|
+
11
|
2349
|
+
I
|
2350
|
+
4
|
2351
|
+
I
|
2352
|
+
0
|
2353
|
+
I
|
2354
|
+
0
|
2355
|
+
I
|
2356
|
+
0
|
2357
|
+
I
|
2358
|
+
-2
|
2359
|
+
p
|
2360
|
+
5
|
2361
|
+
s
|
2362
|
+
21
|
2363
|
+
when a block is given
|
2364
|
+
M
|
2365
|
+
1
|
2366
|
+
p
|
2367
|
+
2
|
2368
|
+
x
|
2369
|
+
9
|
2370
|
+
for_block
|
2371
|
+
t
|
2372
|
+
n
|
2373
|
+
x
|
2374
|
+
6
|
2375
|
+
Sucker
|
2376
|
+
i
|
2377
|
+
11
|
2378
|
+
5
|
2379
|
+
7
|
2380
|
+
0
|
2381
|
+
64
|
2382
|
+
56
|
2383
|
+
1
|
2384
|
+
47
|
2385
|
+
50
|
2386
|
+
2
|
2387
|
+
1
|
2388
|
+
11
|
2389
|
+
I
|
2390
|
+
4
|
2391
|
+
I
|
2392
|
+
0
|
2393
|
+
I
|
2394
|
+
0
|
2395
|
+
I
|
2396
|
+
0
|
2397
|
+
I
|
2398
|
+
-2
|
2399
|
+
p
|
2400
|
+
3
|
2401
|
+
s
|
2402
|
+
53
|
2403
|
+
yields each match to a block and maps returned values
|
2404
|
+
M
|
2405
|
+
1
|
2406
|
+
p
|
2407
|
+
2
|
2408
|
+
x
|
2409
|
+
9
|
2410
|
+
for_block
|
2411
|
+
t
|
2412
|
+
n
|
2413
|
+
x
|
2414
|
+
6
|
2415
|
+
Sucker
|
2416
|
+
i
|
2417
|
+
29
|
2418
|
+
5
|
2419
|
+
48
|
2420
|
+
0
|
2421
|
+
7
|
2422
|
+
1
|
2423
|
+
64
|
2424
|
+
56
|
2425
|
+
2
|
2426
|
+
50
|
2427
|
+
3
|
2428
|
+
1
|
2429
|
+
19
|
2430
|
+
0
|
2431
|
+
15
|
2432
|
+
20
|
2433
|
+
0
|
2434
|
+
49
|
2435
|
+
4
|
2436
|
+
0
|
2437
|
+
5
|
2438
|
+
80
|
2439
|
+
47
|
2440
|
+
49
|
2441
|
+
5
|
2442
|
+
1
|
2443
|
+
49
|
2444
|
+
6
|
2445
|
+
1
|
2446
|
+
11
|
2447
|
+
I
|
2448
|
+
5
|
2449
|
+
I
|
2450
|
+
1
|
2451
|
+
I
|
2452
|
+
0
|
2453
|
+
I
|
2454
|
+
0
|
2455
|
+
I
|
2456
|
+
-2
|
2457
|
+
p
|
2458
|
+
7
|
2459
|
+
x
|
2460
|
+
8
|
2461
|
+
response
|
2462
|
+
s
|
2463
|
+
14
|
2464
|
+
ItemAttributes
|
2465
|
+
M
|
2466
|
+
1
|
2467
|
+
p
|
2468
|
+
2
|
2469
|
+
x
|
2470
|
+
9
|
2471
|
+
for_block
|
2472
|
+
t
|
2473
|
+
n
|
2474
|
+
x
|
2475
|
+
6
|
2476
|
+
Sucker
|
2477
|
+
i
|
2478
|
+
13
|
2479
|
+
57
|
2480
|
+
19
|
2481
|
+
0
|
2482
|
+
15
|
2483
|
+
20
|
2484
|
+
0
|
2485
|
+
7
|
2486
|
+
0
|
2487
|
+
64
|
2488
|
+
49
|
2489
|
+
1
|
2490
|
+
1
|
2491
|
+
11
|
2492
|
+
I
|
2493
|
+
4
|
2494
|
+
I
|
2495
|
+
1
|
2496
|
+
I
|
2497
|
+
1
|
2498
|
+
I
|
2499
|
+
1
|
2500
|
+
n
|
2501
|
+
p
|
2502
|
+
2
|
2503
|
+
s
|
2504
|
+
5
|
2505
|
+
Title
|
2506
|
+
x
|
2507
|
+
2
|
2508
|
+
[]
|
2509
|
+
p
|
2510
|
+
3
|
2511
|
+
I
|
2512
|
+
0
|
2513
|
+
I
|
2514
|
+
60
|
2515
|
+
I
|
2516
|
+
d
|
2517
|
+
x
|
2518
|
+
59
|
2519
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2520
|
+
p
|
2521
|
+
1
|
2522
|
+
x
|
2523
|
+
4
|
2524
|
+
item
|
2525
|
+
x
|
2526
|
+
3
|
2527
|
+
map
|
2528
|
+
x
|
2529
|
+
5
|
2530
|
+
count
|
2531
|
+
x
|
2532
|
+
3
|
2533
|
+
eql
|
2534
|
+
x
|
2535
|
+
6
|
2536
|
+
should
|
2537
|
+
p
|
2538
|
+
5
|
2539
|
+
I
|
2540
|
+
0
|
2541
|
+
I
|
2542
|
+
60
|
2543
|
+
I
|
2544
|
+
e
|
2545
|
+
I
|
2546
|
+
62
|
2547
|
+
I
|
2548
|
+
1d
|
2549
|
+
x
|
2550
|
+
59
|
2551
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2552
|
+
p
|
2553
|
+
1
|
2554
|
+
x
|
2555
|
+
6
|
2556
|
+
titles
|
2557
|
+
x
|
2558
|
+
2
|
2559
|
+
it
|
2560
|
+
p
|
2561
|
+
3
|
2562
|
+
I
|
2563
|
+
0
|
2564
|
+
I
|
2565
|
+
5f
|
2566
|
+
I
|
2567
|
+
b
|
2568
|
+
x
|
2569
|
+
59
|
2570
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2571
|
+
p
|
2572
|
+
0
|
2573
|
+
x
|
2574
|
+
7
|
2575
|
+
context
|
2576
|
+
s
|
2577
|
+
22
|
2578
|
+
when no block is given
|
2579
|
+
M
|
2580
|
+
1
|
2581
|
+
p
|
2582
|
+
2
|
2583
|
+
x
|
2584
|
+
9
|
2585
|
+
for_block
|
2586
|
+
t
|
2587
|
+
n
|
2588
|
+
x
|
2589
|
+
6
|
2590
|
+
Sucker
|
2591
|
+
i
|
2592
|
+
11
|
2593
|
+
5
|
2594
|
+
7
|
2595
|
+
0
|
2596
|
+
64
|
2597
|
+
56
|
2598
|
+
1
|
2599
|
+
47
|
2600
|
+
50
|
2601
|
+
2
|
2602
|
+
1
|
2603
|
+
11
|
2604
|
+
I
|
2605
|
+
4
|
2606
|
+
I
|
2607
|
+
0
|
2608
|
+
I
|
2609
|
+
0
|
2610
|
+
I
|
2611
|
+
0
|
2612
|
+
I
|
2613
|
+
-2
|
2614
|
+
p
|
2615
|
+
3
|
2616
|
+
s
|
2617
|
+
12
|
2618
|
+
raises error
|
2619
|
+
M
|
2620
|
+
1
|
2621
|
+
p
|
2622
|
+
2
|
2623
|
+
x
|
2624
|
+
9
|
2625
|
+
for_block
|
2626
|
+
t
|
2627
|
+
n
|
2628
|
+
x
|
2629
|
+
6
|
2630
|
+
Sucker
|
2631
|
+
i
|
2632
|
+
19
|
2633
|
+
5
|
2634
|
+
56
|
2635
|
+
0
|
2636
|
+
47
|
2637
|
+
50
|
2638
|
+
1
|
2639
|
+
0
|
2640
|
+
5
|
2641
|
+
45
|
2642
|
+
2
|
2643
|
+
3
|
2644
|
+
47
|
2645
|
+
49
|
2646
|
+
4
|
2647
|
+
1
|
2648
|
+
49
|
2649
|
+
5
|
2650
|
+
1
|
2651
|
+
11
|
2652
|
+
I
|
2653
|
+
4
|
2654
|
+
I
|
2655
|
+
0
|
2656
|
+
I
|
2657
|
+
0
|
2658
|
+
I
|
2659
|
+
0
|
2660
|
+
I
|
2661
|
+
-2
|
2662
|
+
p
|
2663
|
+
6
|
2664
|
+
M
|
2665
|
+
1
|
2666
|
+
p
|
2667
|
+
2
|
2668
|
+
x
|
2669
|
+
9
|
2670
|
+
for_block
|
2671
|
+
t
|
2672
|
+
n
|
2673
|
+
x
|
2674
|
+
6
|
2675
|
+
Sucker
|
2676
|
+
i
|
2677
|
+
10
|
2678
|
+
5
|
2679
|
+
48
|
2680
|
+
0
|
2681
|
+
7
|
2682
|
+
1
|
2683
|
+
64
|
2684
|
+
49
|
2685
|
+
2
|
2686
|
+
1
|
2687
|
+
11
|
2688
|
+
I
|
2689
|
+
3
|
2690
|
+
I
|
2691
|
+
0
|
2692
|
+
I
|
2693
|
+
0
|
2694
|
+
I
|
2695
|
+
0
|
2696
|
+
I
|
2697
|
+
-2
|
2698
|
+
p
|
2699
|
+
3
|
2700
|
+
x
|
2701
|
+
8
|
2702
|
+
response
|
2703
|
+
s
|
2704
|
+
14
|
2705
|
+
ItemAttributes
|
2706
|
+
x
|
2707
|
+
3
|
2708
|
+
map
|
2709
|
+
p
|
2710
|
+
3
|
2711
|
+
I
|
2712
|
+
0
|
2713
|
+
I
|
2714
|
+
69
|
2715
|
+
I
|
2716
|
+
a
|
2717
|
+
x
|
2718
|
+
59
|
2719
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2720
|
+
p
|
2721
|
+
0
|
2722
|
+
x
|
2723
|
+
6
|
2724
|
+
expect
|
2725
|
+
x
|
2726
|
+
14
|
2727
|
+
LocalJumpError
|
2728
|
+
n
|
2729
|
+
x
|
2730
|
+
11
|
2731
|
+
raise_error
|
2732
|
+
x
|
2733
|
+
2
|
2734
|
+
to
|
2735
|
+
p
|
2736
|
+
7
|
2737
|
+
I
|
2738
|
+
0
|
2739
|
+
I
|
2740
|
+
68
|
2741
|
+
I
|
2742
|
+
7
|
2743
|
+
I
|
2744
|
+
6a
|
2745
|
+
I
|
2746
|
+
f
|
2747
|
+
I
|
2748
|
+
68
|
2749
|
+
I
|
2750
|
+
13
|
2751
|
+
x
|
2752
|
+
59
|
2753
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2754
|
+
p
|
2755
|
+
0
|
2756
|
+
x
|
2757
|
+
2
|
2758
|
+
it
|
2759
|
+
p
|
2760
|
+
3
|
2761
|
+
I
|
2762
|
+
0
|
2763
|
+
I
|
2764
|
+
67
|
2765
|
+
I
|
2766
|
+
b
|
2767
|
+
x
|
2768
|
+
59
|
2769
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2770
|
+
p
|
2771
|
+
0
|
2772
|
+
p
|
2773
|
+
5
|
2774
|
+
I
|
2775
|
+
0
|
2776
|
+
I
|
2777
|
+
5e
|
2778
|
+
I
|
2779
|
+
b
|
2780
|
+
I
|
2781
|
+
66
|
2782
|
+
I
|
2783
|
+
16
|
2784
|
+
x
|
2785
|
+
59
|
2786
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2787
|
+
p
|
2788
|
+
0
|
2789
|
+
s
|
2790
|
+
3
|
2791
|
+
#[]
|
2792
|
+
M
|
2793
|
+
1
|
2794
|
+
p
|
2795
|
+
2
|
2796
|
+
x
|
2797
|
+
9
|
2798
|
+
for_block
|
2799
|
+
t
|
2800
|
+
n
|
2801
|
+
x
|
2802
|
+
6
|
2803
|
+
Sucker
|
2804
|
+
i
|
2805
|
+
11
|
2806
|
+
5
|
2807
|
+
7
|
2808
|
+
0
|
2809
|
+
64
|
2810
|
+
56
|
2811
|
+
1
|
2812
|
+
47
|
2813
|
+
50
|
2814
|
+
2
|
2815
|
+
1
|
2816
|
+
11
|
2817
|
+
I
|
2818
|
+
4
|
2819
|
+
I
|
2820
|
+
0
|
2821
|
+
I
|
2822
|
+
0
|
2823
|
+
I
|
2824
|
+
0
|
2825
|
+
I
|
2826
|
+
-2
|
2827
|
+
p
|
2828
|
+
3
|
2829
|
+
s
|
2830
|
+
20
|
2831
|
+
is an alias of #find
|
2832
|
+
M
|
2833
|
+
1
|
2834
|
+
p
|
2835
|
+
2
|
2836
|
+
x
|
2837
|
+
9
|
2838
|
+
for_block
|
2839
|
+
t
|
2840
|
+
n
|
2841
|
+
x
|
2842
|
+
6
|
2843
|
+
Sucker
|
2844
|
+
i
|
2845
|
+
27
|
1960
2846
|
5
|
1961
2847
|
48
|
1962
2848
|
0
|
1963
2849
|
7
|
1964
2850
|
1
|
1965
2851
|
64
|
1966
|
-
13
|
1967
|
-
18
|
1968
|
-
2
|
1969
2852
|
49
|
1970
2853
|
2
|
1971
2854
|
1
|
1972
|
-
|
1973
|
-
15
|
2855
|
+
5
|
1974
2856
|
5
|
1975
2857
|
48
|
1976
2858
|
0
|
1977
|
-
49
|
1978
|
-
3
|
1979
|
-
0
|
1980
2859
|
7
|
1981
|
-
|
2860
|
+
1
|
1982
2861
|
64
|
1983
2862
|
49
|
1984
|
-
|
2863
|
+
3
|
1985
2864
|
1
|
1986
|
-
5
|
1987
|
-
7
|
1988
|
-
6
|
1989
|
-
64
|
1990
2865
|
47
|
1991
2866
|
49
|
1992
|
-
|
2867
|
+
4
|
1993
2868
|
1
|
1994
2869
|
49
|
1995
|
-
|
2870
|
+
5
|
1996
2871
|
1
|
1997
2872
|
11
|
1998
2873
|
I
|
1999
|
-
|
2874
|
+
5
|
2000
2875
|
I
|
2001
2876
|
0
|
2002
2877
|
I
|
@@ -2006,28 +2881,19 @@ I
|
|
2006
2881
|
I
|
2007
2882
|
-2
|
2008
2883
|
p
|
2009
|
-
|
2884
|
+
6
|
2010
2885
|
x
|
2011
2886
|
8
|
2012
2887
|
response
|
2013
2888
|
s
|
2014
|
-
|
2015
|
-
|
2016
|
-
x
|
2017
|
-
5
|
2018
|
-
body=
|
2019
|
-
x
|
2020
|
-
7
|
2021
|
-
to_hash
|
2022
|
-
s
|
2023
|
-
5
|
2024
|
-
Title
|
2889
|
+
3
|
2890
|
+
Foo
|
2025
2891
|
x
|
2026
2892
|
2
|
2027
2893
|
[]
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2894
|
+
x
|
2895
|
+
4
|
2896
|
+
find
|
2031
2897
|
x
|
2032
2898
|
3
|
2033
2899
|
eql
|
@@ -2035,25 +2901,37 @@ x
|
|
2035
2901
|
6
|
2036
2902
|
should
|
2037
2903
|
p
|
2038
|
-
|
2904
|
+
3
|
2039
2905
|
I
|
2040
2906
|
0
|
2041
2907
|
I
|
2042
|
-
|
2908
|
+
71
|
2043
2909
|
I
|
2044
|
-
|
2910
|
+
1b
|
2911
|
+
x
|
2912
|
+
59
|
2913
|
+
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2914
|
+
p
|
2915
|
+
0
|
2916
|
+
x
|
2917
|
+
2
|
2918
|
+
it
|
2919
|
+
p
|
2920
|
+
3
|
2045
2921
|
I
|
2046
|
-
|
2922
|
+
0
|
2047
2923
|
I
|
2048
|
-
|
2924
|
+
70
|
2925
|
+
I
|
2926
|
+
b
|
2049
2927
|
x
|
2050
2928
|
59
|
2051
2929
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2052
2930
|
p
|
2053
2931
|
0
|
2054
2932
|
s
|
2055
|
-
|
2056
|
-
|
2933
|
+
8
|
2934
|
+
#to_hash
|
2057
2935
|
M
|
2058
2936
|
1
|
2059
2937
|
p
|
@@ -2067,43 +2945,74 @@ x
|
|
2067
2945
|
6
|
2068
2946
|
Sucker
|
2069
2947
|
i
|
2070
|
-
|
2948
|
+
22
|
2071
2949
|
5
|
2072
|
-
48
|
2073
|
-
0
|
2074
2950
|
7
|
2075
|
-
|
2951
|
+
0
|
2076
2952
|
64
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2953
|
+
56
|
2954
|
+
1
|
2955
|
+
47
|
2956
|
+
50
|
2081
2957
|
2
|
2082
2958
|
1
|
2083
2959
|
15
|
2084
|
-
15
|
2085
2960
|
5
|
2086
|
-
48
|
2087
|
-
0
|
2088
|
-
49
|
2089
|
-
3
|
2090
|
-
0
|
2091
2961
|
7
|
2092
|
-
|
2962
|
+
3
|
2093
2963
|
64
|
2094
|
-
|
2095
|
-
|
2964
|
+
56
|
2965
|
+
4
|
2966
|
+
47
|
2967
|
+
50
|
2968
|
+
2
|
2096
2969
|
1
|
2970
|
+
11
|
2971
|
+
I
|
2972
|
+
4
|
2973
|
+
I
|
2974
|
+
0
|
2975
|
+
I
|
2976
|
+
0
|
2977
|
+
I
|
2978
|
+
0
|
2979
|
+
I
|
2980
|
+
-2
|
2981
|
+
p
|
2097
2982
|
5
|
2098
|
-
|
2983
|
+
s
|
2984
|
+
14
|
2985
|
+
returns a hash
|
2986
|
+
M
|
2987
|
+
1
|
2988
|
+
p
|
2989
|
+
2
|
2990
|
+
x
|
2991
|
+
9
|
2992
|
+
for_block
|
2993
|
+
t
|
2994
|
+
n
|
2995
|
+
x
|
2099
2996
|
6
|
2100
|
-
|
2997
|
+
Sucker
|
2998
|
+
i
|
2999
|
+
18
|
3000
|
+
5
|
3001
|
+
48
|
3002
|
+
0
|
3003
|
+
49
|
3004
|
+
1
|
3005
|
+
0
|
3006
|
+
5
|
3007
|
+
45
|
3008
|
+
2
|
3009
|
+
3
|
2101
3010
|
47
|
2102
3011
|
49
|
2103
|
-
|
3012
|
+
4
|
2104
3013
|
1
|
2105
3014
|
49
|
2106
|
-
|
3015
|
+
5
|
2107
3016
|
1
|
2108
3017
|
11
|
2109
3018
|
I
|
@@ -2117,54 +3026,42 @@ I
|
|
2117
3026
|
I
|
2118
3027
|
-2
|
2119
3028
|
p
|
2120
|
-
|
3029
|
+
6
|
2121
3030
|
x
|
2122
3031
|
8
|
2123
3032
|
response
|
2124
|
-
s
|
2125
|
-
48
|
2126
|
-
<Title>Kafka: Für eine kleine Literatur</Title>
|
2127
|
-
x
|
2128
|
-
5
|
2129
|
-
body=
|
2130
3033
|
x
|
2131
3034
|
7
|
2132
3035
|
to_hash
|
2133
|
-
s
|
2134
|
-
5
|
2135
|
-
Title
|
2136
3036
|
x
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
33
|
2141
|
-
Kafka: Für eine kleine Literatur
|
3037
|
+
4
|
3038
|
+
Hash
|
3039
|
+
n
|
2142
3040
|
x
|
2143
|
-
|
2144
|
-
|
3041
|
+
4
|
3042
|
+
be_a
|
2145
3043
|
x
|
2146
3044
|
6
|
2147
3045
|
should
|
2148
3046
|
p
|
2149
|
-
|
3047
|
+
3
|
2150
3048
|
I
|
2151
3049
|
0
|
2152
3050
|
I
|
2153
|
-
|
3051
|
+
77
|
2154
3052
|
I
|
2155
|
-
|
2156
|
-
I
|
2157
|
-
53
|
2158
|
-
I
|
2159
|
-
26
|
3053
|
+
12
|
2160
3054
|
x
|
2161
3055
|
59
|
2162
3056
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2163
3057
|
p
|
2164
3058
|
0
|
3059
|
+
x
|
3060
|
+
2
|
3061
|
+
it
|
2165
3062
|
s
|
2166
|
-
|
2167
|
-
renders
|
3063
|
+
28
|
3064
|
+
renders non-ASCII characters
|
2168
3065
|
M
|
2169
3066
|
1
|
2170
3067
|
p
|
@@ -2178,18 +3075,23 @@ x
|
|
2178
3075
|
6
|
2179
3076
|
Sucker
|
2180
3077
|
i
|
2181
|
-
|
3078
|
+
43
|
2182
3079
|
5
|
2183
3080
|
48
|
2184
3081
|
0
|
3082
|
+
5
|
2185
3083
|
7
|
2186
3084
|
1
|
2187
3085
|
64
|
3086
|
+
47
|
3087
|
+
49
|
3088
|
+
2
|
3089
|
+
1
|
2188
3090
|
13
|
2189
3091
|
18
|
2190
3092
|
2
|
2191
3093
|
49
|
2192
|
-
|
3094
|
+
3
|
2193
3095
|
1
|
2194
3096
|
15
|
2195
3097
|
15
|
@@ -2197,24 +3099,24 @@ i
|
|
2197
3099
|
48
|
2198
3100
|
0
|
2199
3101
|
49
|
2200
|
-
|
3102
|
+
4
|
2201
3103
|
0
|
2202
3104
|
7
|
2203
|
-
|
3105
|
+
5
|
2204
3106
|
64
|
2205
3107
|
49
|
2206
|
-
|
3108
|
+
6
|
2207
3109
|
1
|
2208
3110
|
5
|
2209
3111
|
7
|
2210
|
-
|
3112
|
+
7
|
2211
3113
|
64
|
2212
3114
|
47
|
2213
3115
|
49
|
2214
|
-
|
3116
|
+
8
|
2215
3117
|
1
|
2216
3118
|
49
|
2217
|
-
|
3119
|
+
9
|
2218
3120
|
1
|
2219
3121
|
11
|
2220
3122
|
I
|
@@ -2228,13 +3130,16 @@ I
|
|
2228
3130
|
I
|
2229
3131
|
-2
|
2230
3132
|
p
|
2231
|
-
|
3133
|
+
10
|
2232
3134
|
x
|
2233
3135
|
8
|
2234
3136
|
response
|
2235
3137
|
s
|
2236
|
-
|
2237
|
-
<Title>スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則</Title>
|
3138
|
+
138
|
3139
|
+
<ItemAttributes><Title>スティーブ・ジョブズ 驚異のプレゼン―人々を惹きつける18の法則</Title></ItemAttributes>
|
3140
|
+
x
|
3141
|
+
9
|
3142
|
+
mock_body
|
2238
3143
|
x
|
2239
3144
|
5
|
2240
3145
|
body=
|
@@ -2261,42 +3166,30 @@ p
|
|
2261
3166
|
I
|
2262
3167
|
0
|
2263
3168
|
I
|
2264
|
-
|
3169
|
+
7b
|
2265
3170
|
I
|
2266
|
-
|
3171
|
+
13
|
2267
3172
|
I
|
2268
|
-
|
3173
|
+
7c
|
2269
3174
|
I
|
2270
|
-
|
3175
|
+
2b
|
2271
3176
|
x
|
2272
3177
|
59
|
2273
3178
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
2274
3179
|
p
|
2275
3180
|
0
|
2276
3181
|
p
|
2277
|
-
|
3182
|
+
5
|
2278
3183
|
I
|
2279
3184
|
0
|
2280
3185
|
I
|
2281
|
-
|
3186
|
+
76
|
2282
3187
|
I
|
2283
3188
|
b
|
2284
3189
|
I
|
2285
|
-
|
3190
|
+
7a
|
2286
3191
|
I
|
2287
3192
|
16
|
2288
|
-
I
|
2289
|
-
4c
|
2290
|
-
I
|
2291
|
-
21
|
2292
|
-
I
|
2293
|
-
51
|
2294
|
-
I
|
2295
|
-
2c
|
2296
|
-
I
|
2297
|
-
56
|
2298
|
-
I
|
2299
|
-
37
|
2300
3193
|
x
|
2301
3194
|
59
|
2302
3195
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|
@@ -2446,7 +3339,7 @@ p
|
|
2446
3339
|
I
|
2447
3340
|
0
|
2448
3341
|
I
|
2449
|
-
|
3342
|
+
83
|
2450
3343
|
I
|
2451
3344
|
a
|
2452
3345
|
x
|
@@ -2462,7 +3355,7 @@ p
|
|
2462
3355
|
I
|
2463
3356
|
0
|
2464
3357
|
I
|
2465
|
-
|
3358
|
+
82
|
2466
3359
|
I
|
2467
3360
|
b
|
2468
3361
|
x
|
@@ -2584,11 +3477,11 @@ p
|
|
2584
3477
|
I
|
2585
3478
|
0
|
2586
3479
|
I
|
2587
|
-
|
3480
|
+
89
|
2588
3481
|
I
|
2589
3482
|
d
|
2590
3483
|
I
|
2591
|
-
|
3484
|
+
8a
|
2592
3485
|
I
|
2593
3486
|
17
|
2594
3487
|
x
|
@@ -2604,7 +3497,7 @@ p
|
|
2604
3497
|
I
|
2605
3498
|
0
|
2606
3499
|
I
|
2607
|
-
|
3500
|
+
88
|
2608
3501
|
I
|
2609
3502
|
b
|
2610
3503
|
x
|
@@ -2617,11 +3510,11 @@ p
|
|
2617
3510
|
I
|
2618
3511
|
0
|
2619
3512
|
I
|
2620
|
-
|
3513
|
+
81
|
2621
3514
|
I
|
2622
3515
|
b
|
2623
3516
|
I
|
2624
|
-
|
3517
|
+
87
|
2625
3518
|
I
|
2626
3519
|
16
|
2627
3520
|
x
|
@@ -2747,7 +3640,7 @@ p
|
|
2747
3640
|
I
|
2748
3641
|
0
|
2749
3642
|
I
|
2750
|
-
|
3643
|
+
91
|
2751
3644
|
I
|
2752
3645
|
16
|
2753
3646
|
x
|
@@ -2763,7 +3656,7 @@ p
|
|
2763
3656
|
I
|
2764
3657
|
0
|
2765
3658
|
I
|
2766
|
-
|
3659
|
+
90
|
2767
3660
|
I
|
2768
3661
|
b
|
2769
3662
|
x
|
@@ -2772,7 +3665,7 @@ x
|
|
2772
3665
|
p
|
2773
3666
|
0
|
2774
3667
|
p
|
2775
|
-
|
3668
|
+
27
|
2776
3669
|
I
|
2777
3670
|
0
|
2778
3671
|
I
|
@@ -2790,27 +3683,43 @@ I
|
|
2790
3683
|
I
|
2791
3684
|
17
|
2792
3685
|
I
|
2793
|
-
|
2794
|
-
I
|
2795
|
-
21
|
3686
|
+
3b
|
2796
3687
|
I
|
2797
|
-
|
3688
|
+
1b
|
2798
3689
|
I
|
2799
|
-
|
3690
|
+
46
|
2800
3691
|
I
|
2801
|
-
|
3692
|
+
25
|
2802
3693
|
I
|
2803
|
-
|
3694
|
+
51
|
2804
3695
|
I
|
2805
|
-
|
3696
|
+
37
|
2806
3697
|
I
|
2807
3698
|
5c
|
2808
3699
|
I
|
2809
|
-
|
3700
|
+
4e
|
3701
|
+
I
|
3702
|
+
67
|
3703
|
+
I
|
3704
|
+
5d
|
2810
3705
|
I
|
2811
|
-
|
3706
|
+
72
|
2812
3707
|
I
|
2813
3708
|
6f
|
3709
|
+
I
|
3710
|
+
7d
|
3711
|
+
I
|
3712
|
+
75
|
3713
|
+
I
|
3714
|
+
88
|
3715
|
+
I
|
3716
|
+
80
|
3717
|
+
I
|
3718
|
+
93
|
3719
|
+
I
|
3720
|
+
8f
|
3721
|
+
I
|
3722
|
+
9e
|
2814
3723
|
x
|
2815
3724
|
59
|
2816
3725
|
/Users/hakanensari/code/sucker/spec/sucker/response_spec.rb
|