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
data/spec/sucker_spec.rbc DELETED
@@ -1,287 +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
- 22
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 5
23
- 45
24
- 2
25
- 3
26
- 56
27
- 4
28
- 47
29
- 50
30
- 5
31
- 1
32
- 15
33
- 2
34
- 11
35
- I
36
- 3
37
- I
38
- 0
39
- I
40
- 0
41
- I
42
- 0
43
- n
44
- p
45
- 6
46
- s
47
- 11
48
- spec_helper
49
- x
50
- 7
51
- require
52
- x
53
- 6
54
- Sucker
55
- n
56
- M
57
- 1
58
- p
59
- 2
60
- x
61
- 9
62
- for_block
63
- t
64
- n
65
- x
66
- 9
67
- __block__
68
- i
69
- 11
70
- 5
71
- 7
72
- 0
73
- 64
74
- 56
75
- 1
76
- 47
77
- 50
78
- 2
79
- 1
80
- 11
81
- I
82
- 4
83
- I
84
- 0
85
- I
86
- 0
87
- I
88
- 0
89
- I
90
- -2
91
- p
92
- 3
93
- s
94
- 4
95
- .new
96
- M
97
- 1
98
- p
99
- 2
100
- x
101
- 9
102
- for_block
103
- t
104
- n
105
- x
106
- 9
107
- __block__
108
- i
109
- 11
110
- 5
111
- 7
112
- 0
113
- 64
114
- 56
115
- 1
116
- 47
117
- 50
118
- 2
119
- 1
120
- 11
121
- I
122
- 4
123
- I
124
- 0
125
- I
126
- 0
127
- I
128
- 0
129
- I
130
- -2
131
- p
132
- 3
133
- s
134
- 24
135
- returns a Request object
136
- M
137
- 1
138
- p
139
- 2
140
- x
141
- 9
142
- for_block
143
- t
144
- n
145
- x
146
- 9
147
- __block__
148
- i
149
- 38
150
- 45
151
- 0
152
- 1
153
- 13
154
- 71
155
- 2
156
- 47
157
- 9
158
- 21
159
- 47
160
- 49
161
- 3
162
- 0
163
- 13
164
- 47
165
- 49
166
- 4
167
- 0
168
- 15
169
- 8
170
- 24
171
- 49
172
- 2
173
- 0
174
- 5
175
- 45
176
- 0
177
- 5
178
- 43
179
- 6
180
- 47
181
- 49
182
- 7
183
- 1
184
- 49
185
- 8
186
- 1
187
- 11
188
- I
189
- 4
190
- I
191
- 0
192
- I
193
- 0
194
- I
195
- 0
196
- I
197
- -2
198
- p
199
- 9
200
- x
201
- 6
202
- Sucker
203
- n
204
- x
205
- 3
206
- new
207
- x
208
- 8
209
- allocate
210
- x
211
- 10
212
- initialize
213
- n
214
- x
215
- 7
216
- Request
217
- x
218
- 17
219
- be_an_instance_of
220
- x
221
- 6
222
- should
223
- p
224
- 3
225
- I
226
- 0
227
- I
228
- 6
229
- I
230
- 26
231
- x
232
- 50
233
- /Users/hakanensari/code/sucker/spec/sucker_spec.rb
234
- p
235
- 0
236
- x
237
- 2
238
- it
239
- p
240
- 3
241
- I
242
- 0
243
- I
244
- 5
245
- I
246
- b
247
- x
248
- 50
249
- /Users/hakanensari/code/sucker/spec/sucker_spec.rb
250
- p
251
- 0
252
- x
253
- 8
254
- describe
255
- p
256
- 3
257
- I
258
- 0
259
- I
260
- 4
261
- I
262
- b
263
- x
264
- 50
265
- /Users/hakanensari/code/sucker/spec/sucker_spec.rb
266
- p
267
- 0
268
- x
269
- 8
270
- describe
271
- p
272
- 5
273
- I
274
- 0
275
- I
276
- 1
277
- I
278
- 9
279
- I
280
- 3
281
- I
282
- 16
283
- x
284
- 50
285
- /Users/hakanensari/code/sucker/spec/sucker_spec.rb
286
- p
287
- 0
@@ -1,3 +0,0 @@
1
- key: 0ZVSQ33MDFPQS8H2PM02
2
- secret: RmZEL4pZDNGj/dJ8+oSQdZpkm9aLCkq0hMhoDxrr
3
- associate_tag: papecava-20
@@ -1,3 +0,0 @@
1
- key: KEY
2
- secret: SECRET
3
- associate_tag: AFFILIATE
@@ -1,154 +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
- 6
42
- amazon
43
- M
44
- 1
45
- n
46
- n
47
- x
48
- 6
49
- amazon
50
- i
51
- 30
52
- 39
53
- 0
54
- 13
55
- 10
56
- 29
57
- 15
58
- 45
59
- 1
60
- 2
61
- 45
62
- 3
63
- 4
64
- 65
65
- 49
66
- 5
67
- 0
68
- 49
69
- 6
70
- 1
71
- 7
72
- 7
73
- 64
74
- 81
75
- 8
76
- 49
77
- 9
78
- 1
79
- 38
80
- 0
81
- 11
82
- I
83
- 3
84
- I
85
- 0
86
- I
87
- 0
88
- I
89
- 0
90
- n
91
- p
92
- 10
93
- x
94
- 7
95
- @amazon
96
- x
97
- 4
98
- YAML
99
- n
100
- x
101
- 4
102
- File
103
- n
104
- x
105
- 11
106
- active_path
107
- x
108
- 7
109
- dirname
110
- s
111
- 11
112
- /amazon.yml
113
- x
114
- 1
115
- +
116
- x
117
- 9
118
- load_file
119
- p
120
- 5
121
- I
122
- -1
123
- I
124
- 1
125
- I
126
- 0
127
- I
128
- 2
129
- I
130
- 1e
131
- x
132
- 65
133
- /Users/hakanensari/code/sucker/spec/support/amazon_credentials.rb
134
- p
135
- 0
136
- x
137
- 17
138
- method_visibility
139
- x
140
- 15
141
- add_defn_method
142
- p
143
- 3
144
- I
145
- 0
146
- I
147
- 1
148
- I
149
- 10
150
- x
151
- 65
152
- /Users/hakanensari/code/sucker/spec/support/amazon_credentials.rb
153
- p
154
- 0