sucker 1.3.0.pre.1 → 1.3.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sucker/version.rb +1 -1
- data/spec/fixtures/cassette_library/067972110x.yml +26 -0
- data/spec/fixtures/cassette_library/integration/alternate_versions.yml +26 -0
- data/spec/fixtures/cassette_library/integration/errors.yml +26 -0
- data/spec/fixtures/cassette_library/integration/france.yml +26 -0
- data/spec/fixtures/cassette_library/integration/images.yml +26 -0
- data/spec/fixtures/cassette_library/integration/item_lookup/multiple.yml +26 -0
- data/spec/fixtures/cassette_library/integration/item_lookup/single.yml +26 -0
- data/spec/fixtures/cassette_library/integration/item_search.yml +26 -0
- data/spec/fixtures/cassette_library/integration/japan.yml +26 -0
- data/spec/fixtures/cassette_library/integration/keyword_search.yml +26 -0
- data/spec/fixtures/cassette_library/integration/kindle.yml +26 -0
- data/spec/fixtures/cassette_library/integration/kindle_2.yml +26 -0
- data/spec/fixtures/cassette_library/integration/multiple_locales.yml +151 -0
- data/spec/fixtures/cassette_library/integration/power_search.yml +26 -0
- data/spec/fixtures/cassette_library/integration/related_items/child.yml +26 -0
- data/spec/fixtures/cassette_library/integration/related_items/parent.yml +26 -0
- data/spec/fixtures/cassette_library/integration/seller_listings_search.yml +26 -0
- data/spec/fixtures/cassette_library/integration/twenty_items.yml +26 -0
- data/spec/fixtures/cassette_library/unit/sucker/request.yml +61 -0
- data/spec/fixtures/cassette_library/unit/sucker/response.yml +26 -0
- metadata +44 -25
- data/lib/sucker/parameters.rbc +0 -723
- data/lib/sucker/request.rbc +0 -2674
- data/lib/sucker/response.rbc +0 -1319
- data/lib/sucker/version.rbc +0 -130
- data/lib/sucker.rbc +0 -281
- data/spec/spec_helper.rbc +0 -230
- data/spec/sucker/parameters_spec.rbc +0 -1476
- data/spec/sucker/request_spec.rbc +0 -2642
- data/spec/sucker/response_spec.rbc +0 -2854
- data/spec/sucker_spec.rbc +0 -287
- data/spec/support/amazon_credentials.rbc +0 -154
- data/spec/support/asins.rbc +0 -335
- data/spec/support/vcr.rbc +0 -356
data/spec/support/vcr.rbc
DELETED
@@ -1,356 +0,0 @@
|
|
1
|
-
!RBIX
|
2
|
-
0
|
3
|
-
x
|
4
|
-
M
|
5
|
-
1
|
6
|
-
n
|
7
|
-
n
|
8
|
-
x
|
9
|
-
10
|
10
|
-
__script__
|
11
|
-
i
|
12
|
-
29
|
13
|
-
5
|
14
|
-
7
|
15
|
-
0
|
16
|
-
64
|
17
|
-
47
|
18
|
-
49
|
19
|
-
1
|
20
|
-
1
|
21
|
-
15
|
22
|
-
45
|
23
|
-
2
|
24
|
-
3
|
25
|
-
56
|
26
|
-
4
|
27
|
-
50
|
28
|
-
5
|
29
|
-
0
|
30
|
-
15
|
31
|
-
45
|
32
|
-
6
|
33
|
-
7
|
34
|
-
56
|
35
|
-
8
|
36
|
-
50
|
37
|
-
9
|
38
|
-
0
|
39
|
-
15
|
40
|
-
2
|
41
|
-
11
|
42
|
-
I
|
43
|
-
2
|
44
|
-
I
|
45
|
-
0
|
46
|
-
I
|
47
|
-
0
|
48
|
-
I
|
49
|
-
0
|
50
|
-
n
|
51
|
-
p
|
52
|
-
10
|
53
|
-
s
|
54
|
-
3
|
55
|
-
vcr
|
56
|
-
x
|
57
|
-
7
|
58
|
-
require
|
59
|
-
x
|
60
|
-
3
|
61
|
-
VCR
|
62
|
-
n
|
63
|
-
M
|
64
|
-
1
|
65
|
-
p
|
66
|
-
2
|
67
|
-
x
|
68
|
-
9
|
69
|
-
for_block
|
70
|
-
t
|
71
|
-
n
|
72
|
-
x
|
73
|
-
9
|
74
|
-
__block__
|
75
|
-
i
|
76
|
-
74
|
77
|
-
57
|
78
|
-
19
|
79
|
-
0
|
80
|
-
15
|
81
|
-
20
|
82
|
-
0
|
83
|
-
45
|
84
|
-
0
|
85
|
-
1
|
86
|
-
65
|
87
|
-
49
|
88
|
-
2
|
89
|
-
0
|
90
|
-
49
|
91
|
-
3
|
92
|
-
1
|
93
|
-
7
|
94
|
-
4
|
95
|
-
64
|
96
|
-
81
|
97
|
-
5
|
98
|
-
13
|
99
|
-
18
|
100
|
-
2
|
101
|
-
49
|
102
|
-
6
|
103
|
-
1
|
104
|
-
15
|
105
|
-
15
|
106
|
-
20
|
107
|
-
0
|
108
|
-
44
|
109
|
-
43
|
110
|
-
7
|
111
|
-
80
|
112
|
-
49
|
113
|
-
8
|
114
|
-
1
|
115
|
-
13
|
116
|
-
7
|
117
|
-
9
|
118
|
-
7
|
119
|
-
10
|
120
|
-
49
|
121
|
-
11
|
122
|
-
2
|
123
|
-
15
|
124
|
-
13
|
125
|
-
7
|
126
|
-
12
|
127
|
-
7
|
128
|
-
13
|
129
|
-
35
|
130
|
-
1
|
131
|
-
49
|
132
|
-
11
|
133
|
-
2
|
134
|
-
15
|
135
|
-
13
|
136
|
-
18
|
137
|
-
2
|
138
|
-
49
|
139
|
-
14
|
140
|
-
1
|
141
|
-
15
|
142
|
-
15
|
143
|
-
20
|
144
|
-
0
|
145
|
-
7
|
146
|
-
15
|
147
|
-
49
|
148
|
-
16
|
149
|
-
1
|
150
|
-
11
|
151
|
-
I
|
152
|
-
7
|
153
|
-
I
|
154
|
-
1
|
155
|
-
I
|
156
|
-
1
|
157
|
-
I
|
158
|
-
1
|
159
|
-
n
|
160
|
-
p
|
161
|
-
17
|
162
|
-
x
|
163
|
-
4
|
164
|
-
File
|
165
|
-
n
|
166
|
-
x
|
167
|
-
11
|
168
|
-
active_path
|
169
|
-
x
|
170
|
-
7
|
171
|
-
dirname
|
172
|
-
s
|
173
|
-
29
|
174
|
-
/../fixtures/cassette_library
|
175
|
-
x
|
176
|
-
1
|
177
|
-
+
|
178
|
-
x
|
179
|
-
21
|
180
|
-
cassette_library_dir=
|
181
|
-
x
|
182
|
-
4
|
183
|
-
Hash
|
184
|
-
x
|
185
|
-
16
|
186
|
-
new_from_literal
|
187
|
-
x
|
188
|
-
6
|
189
|
-
record
|
190
|
-
x
|
191
|
-
4
|
192
|
-
none
|
193
|
-
x
|
194
|
-
3
|
195
|
-
[]=
|
196
|
-
x
|
197
|
-
17
|
198
|
-
match_requests_on
|
199
|
-
x
|
200
|
-
4
|
201
|
-
host
|
202
|
-
x
|
203
|
-
25
|
204
|
-
default_cassette_options=
|
205
|
-
x
|
206
|
-
7
|
207
|
-
webmock
|
208
|
-
x
|
209
|
-
9
|
210
|
-
stub_with
|
211
|
-
p
|
212
|
-
15
|
213
|
-
I
|
214
|
-
0
|
215
|
-
I
|
216
|
-
3
|
217
|
-
I
|
218
|
-
4
|
219
|
-
I
|
220
|
-
4
|
221
|
-
I
|
222
|
-
1d
|
223
|
-
I
|
224
|
-
5
|
225
|
-
I
|
226
|
-
1f
|
227
|
-
I
|
228
|
-
7
|
229
|
-
I
|
230
|
-
27
|
231
|
-
I
|
232
|
-
6
|
233
|
-
I
|
234
|
-
30
|
235
|
-
I
|
236
|
-
7
|
237
|
-
I
|
238
|
-
42
|
239
|
-
I
|
240
|
-
8
|
241
|
-
I
|
242
|
-
4a
|
243
|
-
x
|
244
|
-
50
|
245
|
-
/Users/hakanensari/code/sucker/spec/support/vcr.rb
|
246
|
-
p
|
247
|
-
1
|
248
|
-
x
|
249
|
-
1
|
250
|
-
c
|
251
|
-
x
|
252
|
-
6
|
253
|
-
config
|
254
|
-
x
|
255
|
-
5
|
256
|
-
RSpec
|
257
|
-
n
|
258
|
-
M
|
259
|
-
1
|
260
|
-
p
|
261
|
-
2
|
262
|
-
x
|
263
|
-
9
|
264
|
-
for_block
|
265
|
-
t
|
266
|
-
n
|
267
|
-
x
|
268
|
-
9
|
269
|
-
__block__
|
270
|
-
i
|
271
|
-
17
|
272
|
-
57
|
273
|
-
19
|
274
|
-
0
|
275
|
-
15
|
276
|
-
20
|
277
|
-
0
|
278
|
-
45
|
279
|
-
0
|
280
|
-
1
|
281
|
-
43
|
282
|
-
2
|
283
|
-
43
|
284
|
-
3
|
285
|
-
49
|
286
|
-
4
|
287
|
-
1
|
288
|
-
11
|
289
|
-
I
|
290
|
-
4
|
291
|
-
I
|
292
|
-
1
|
293
|
-
I
|
294
|
-
1
|
295
|
-
I
|
296
|
-
1
|
297
|
-
n
|
298
|
-
p
|
299
|
-
5
|
300
|
-
x
|
301
|
-
3
|
302
|
-
VCR
|
303
|
-
n
|
304
|
-
x
|
305
|
-
5
|
306
|
-
RSpec
|
307
|
-
x
|
308
|
-
6
|
309
|
-
Macros
|
310
|
-
x
|
311
|
-
6
|
312
|
-
extend
|
313
|
-
p
|
314
|
-
5
|
315
|
-
I
|
316
|
-
0
|
317
|
-
I
|
318
|
-
b
|
319
|
-
I
|
320
|
-
4
|
321
|
-
I
|
322
|
-
c
|
323
|
-
I
|
324
|
-
11
|
325
|
-
x
|
326
|
-
50
|
327
|
-
/Users/hakanensari/code/sucker/spec/support/vcr.rb
|
328
|
-
p
|
329
|
-
1
|
330
|
-
x
|
331
|
-
6
|
332
|
-
config
|
333
|
-
x
|
334
|
-
9
|
335
|
-
configure
|
336
|
-
p
|
337
|
-
7
|
338
|
-
I
|
339
|
-
0
|
340
|
-
I
|
341
|
-
1
|
342
|
-
I
|
343
|
-
9
|
344
|
-
I
|
345
|
-
3
|
346
|
-
I
|
347
|
-
12
|
348
|
-
I
|
349
|
-
b
|
350
|
-
I
|
351
|
-
1d
|
352
|
-
x
|
353
|
-
50
|
354
|
-
/Users/hakanensari/code/sucker/spec/support/vcr.rb
|
355
|
-
p
|
356
|
-
0
|