sucker 1.5.0.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/README.md +11 -12
  2. data/lib/sucker.rb +12 -9
  3. data/lib/sucker/parameters.rb +5 -3
  4. data/lib/sucker/request.rb +27 -27
  5. data/lib/sucker/version.rb +1 -1
  6. data/spec/sucker/request_spec.rb +10 -15
  7. data/spec/sucker/response_spec.rb +2 -2
  8. data/spec/support/amazon_credentials.rb +6 -2
  9. metadata +62 -71
  10. data/lib/sucker.rbc +0 -265
  11. data/lib/sucker/hash.rbc +0 -914
  12. data/lib/sucker/parameters.rbc +0 -843
  13. data/lib/sucker/request.rbc +0 -2315
  14. data/lib/sucker/response.rbc +0 -1229
  15. data/lib/sucker/version.rbc +0 -130
  16. data/spec/fixtures/cassette_library/cartcreate/e3e2f9b71afba67619a95c7178178595.yml +0 -26
  17. data/spec/fixtures/cassette_library/itemlookup/4908294851a4df13269707e9f6507f91.yml +0 -26
  18. data/spec/fixtures/cassette_library/itemlookup/5670727fa0cb9f30464e41aa1346c91c.yml +0 -26
  19. data/spec/fixtures/cassette_library/itemlookup/6e6b1dc74378e2e1118713e254191fc0.yml +0 -26
  20. data/spec/fixtures/cassette_library/itemlookup/76f548183c2804a74d0ed7e0bfbd6d4a.yml +0 -26
  21. data/spec/fixtures/cassette_library/itemlookup/8286b763b726d3dc1fc992023e639b9b.yml +0 -151
  22. data/spec/fixtures/cassette_library/itemlookup/9d82768fe80b09c4a3697c608e5edebe.yml +0 -26
  23. data/spec/fixtures/cassette_library/itemlookup/d3d6ea869d31173526f48907bff752a3.yml +0 -26
  24. data/spec/fixtures/cassette_library/itemlookup/d8ad346710c3b479febcf58e67fea7ef.yml +0 -26
  25. data/spec/fixtures/cassette_library/itemsearch/295b9eadfb69d55e1c0acb06220e0b6e.yml +0 -26
  26. data/spec/fixtures/cassette_library/itemsearch/4c1e50d070821f4eb9fe3961aba105ee.yml +0 -26
  27. data/spec/fixtures/cassette_library/itemsearch/5a15430433ab94c70466eb61c919a028.yml +0 -26
  28. data/spec/fixtures/cassette_library/itemsearch/8fd40b929a9ed46e2b38ac905c8ab53a.yml +0 -26
  29. data/spec/fixtures/cassette_library/sellerlistingsearch/cb25caadce96ac3de70b69b76431d730.yml +0 -26
  30. data/spec/fixtures/cassette_library/sellerlistingsearch/e1261838e1754870ffd309dd78eb7374.yml +0 -26
  31. data/spec/spec_helper.rbc +0 -230
  32. data/spec/sucker/hash_spec.rbc +0 -861
  33. data/spec/sucker/parameters_spec.rbc +0 -1475
  34. data/spec/sucker/request_spec.rbc +0 -2754
  35. data/spec/sucker/response_spec.rbc +0 -3627
  36. data/spec/sucker_spec.rbc +0 -287
  37. data/spec/support/amazon.yml +0 -3
  38. data/spec/support/amazon.yml.example +0 -3
  39. data/spec/support/amazon_credentials.rbc +0 -154
  40. data/spec/support/asins.rbc +0 -335
  41. data/spec/support/vcr.rbc +0 -356
@@ -1,335 +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
- 16
13
- 99
14
- 7
15
- 0
16
- 7
17
- 1
18
- 65
19
- 67
20
- 49
21
- 2
22
- 0
23
- 49
24
- 3
25
- 4
26
- 15
27
- 2
28
- 11
29
- I
30
- 5
31
- I
32
- 0
33
- I
34
- 0
35
- I
36
- 0
37
- n
38
- p
39
- 4
40
- x
41
- 13
42
- asins_fixture
43
- M
44
- 1
45
- n
46
- n
47
- x
48
- 13
49
- asins_fixture
50
- i
51
- 81
52
- 45
53
- 0
54
- 1
55
- 13
56
- 71
57
- 2
58
- 47
59
- 9
60
- 37
61
- 47
62
- 49
63
- 3
64
- 0
65
- 13
66
- 45
67
- 0
68
- 4
69
- 7
70
- 5
71
- 64
72
- 65
73
- 49
74
- 6
75
- 0
76
- 49
77
- 7
78
- 2
79
- 7
80
- 8
81
- 64
82
- 47
83
- 49
84
- 9
85
- 2
86
- 15
87
- 8
88
- 56
89
- 45
90
- 0
91
- 10
92
- 7
93
- 5
94
- 64
95
- 65
96
- 49
97
- 6
98
- 0
99
- 49
100
- 7
101
- 2
102
- 7
103
- 8
104
- 64
105
- 49
106
- 2
107
- 2
108
- 56
109
- 11
110
- 50
111
- 12
112
- 0
113
- 19
114
- 0
115
- 15
116
- 94
117
- 9
118
- 76
119
- 20
120
- 0
121
- 56
122
- 13
123
- 50
124
- 14
125
- 0
126
- 8
127
- 77
128
- 1
129
- 15
130
- 20
131
- 0
132
- 11
133
- I
134
- 6
135
- I
136
- 1
137
- I
138
- 0
139
- I
140
- 0
141
- n
142
- p
143
- 15
144
- x
145
- 4
146
- File
147
- n
148
- x
149
- 3
150
- new
151
- x
152
- 8
153
- allocate
154
- n
155
- s
156
- 24
157
- ../../fixtures/asins.txt
158
- x
159
- 11
160
- active_path
161
- x
162
- 11
163
- expand_path
164
- s
165
- 1
166
- r
167
- x
168
- 10
169
- initialize
170
- n
171
- M
172
- 1
173
- p
174
- 2
175
- x
176
- 9
177
- for_block
178
- t
179
- n
180
- x
181
- 13
182
- asins_fixture
183
- i
184
- 10
185
- 57
186
- 19
187
- 0
188
- 15
189
- 20
190
- 0
191
- 49
192
- 0
193
- 0
194
- 11
195
- I
196
- 3
197
- I
198
- 1
199
- I
200
- 1
201
- I
202
- 1
203
- n
204
- p
205
- 1
206
- x
207
- 5
208
- chomp
209
- p
210
- 3
211
- I
212
- 0
213
- I
214
- 2
215
- I
216
- a
217
- x
218
- 52
219
- /Users/hakanensari/code/sucker/spec/support/asins.rb
220
- p
221
- 1
222
- x
223
- 4
224
- line
225
- x
226
- 3
227
- map
228
- M
229
- 1
230
- p
231
- 2
232
- x
233
- 9
234
- for_block
235
- t
236
- n
237
- x
238
- 13
239
- asins_fixture
240
- i
241
- 9
242
- 57
243
- 19
244
- 0
245
- 15
246
- 20
247
- 0
248
- 60
249
- 1
250
- 11
251
- I
252
- 3
253
- I
254
- 1
255
- I
256
- 1
257
- I
258
- 1
259
- n
260
- p
261
- 0
262
- p
263
- 3
264
- I
265
- 0
266
- I
267
- 4
268
- I
269
- 9
270
- x
271
- 52
272
- /Users/hakanensari/code/sucker/spec/support/asins.rb
273
- p
274
- 1
275
- x
276
- 4
277
- asin
278
- x
279
- 4
280
- each
281
- p
282
- 13
283
- I
284
- -1
285
- I
286
- 1
287
- I
288
- 0
289
- I
290
- 2
291
- I
292
- 40
293
- I
294
- 3
295
- I
296
- 43
297
- I
298
- 4
299
- I
300
- 4c
301
- I
302
- 3
303
- I
304
- 4e
305
- I
306
- 7
307
- I
308
- 51
309
- x
310
- 52
311
- /Users/hakanensari/code/sucker/spec/support/asins.rb
312
- p
313
- 1
314
- x
315
- 5
316
- asins
317
- x
318
- 17
319
- method_visibility
320
- x
321
- 15
322
- add_defn_method
323
- p
324
- 3
325
- I
326
- 0
327
- I
328
- 1
329
- I
330
- 10
331
- x
332
- 52
333
- /Users/hakanensari/code/sucker/spec/support/asins.rb
334
- p
335
- 0
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