sucker 1.0.0 → 1.1.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 (56) hide show
  1. data/CHANGELOG.md +9 -18
  2. data/README.md +9 -5
  3. data/lib/sucker.rb +0 -3
  4. data/lib/sucker/request.rb +96 -18
  5. data/lib/sucker/response.rb +20 -14
  6. data/lib/sucker/version.rb +1 -1
  7. data/spec/integration/multiple_locales_spec.rb +28 -3
  8. data/spec/support/vcr.rb +3 -2
  9. data/spec/unit/sucker/request_spec.rb +109 -29
  10. data/spec/unit/sucker/response_spec.rb +26 -23
  11. metadata +23 -137
  12. data/lib/sucker.rbc +0 -341
  13. data/lib/sucker/request.rbc +0 -2481
  14. data/lib/sucker/response.rbc +0 -1554
  15. data/lib/sucker/version.rbc +0 -130
  16. data/spec/fixtures/cassette_library/integration/alternate_versions.yml +0 -27
  17. data/spec/fixtures/cassette_library/integration/errors.yml +0 -27
  18. data/spec/fixtures/cassette_library/integration/france.yml +0 -27
  19. data/spec/fixtures/cassette_library/integration/images.yml +0 -27
  20. data/spec/fixtures/cassette_library/integration/item_lookup/multiple.yml +0 -27
  21. data/spec/fixtures/cassette_library/integration/item_lookup/single.yml +0 -27
  22. data/spec/fixtures/cassette_library/integration/item_search.yml +0 -27
  23. data/spec/fixtures/cassette_library/integration/japan.yml +0 -27
  24. data/spec/fixtures/cassette_library/integration/keyword_search.yml +0 -27
  25. data/spec/fixtures/cassette_library/integration/kindle.yml +0 -27
  26. data/spec/fixtures/cassette_library/integration/kindle_2.yml +0 -27
  27. data/spec/fixtures/cassette_library/integration/multiple_locales.yml +0 -157
  28. data/spec/fixtures/cassette_library/integration/power_search.yml +0 -27
  29. data/spec/fixtures/cassette_library/integration/related_items/child.yml +0 -27
  30. data/spec/fixtures/cassette_library/integration/related_items/parent.yml +0 -27
  31. data/spec/fixtures/cassette_library/integration/seller_listings_search.yml +0 -27
  32. data/spec/fixtures/cassette_library/integration/twenty_items.yml +0 -27
  33. data/spec/fixtures/cassette_library/unit/sucker/request.yml +0 -29
  34. data/spec/fixtures/cassette_library/unit/sucker/response.yml +0 -27
  35. data/spec/integration/alternate_versions_spec.rbc +0 -843
  36. data/spec/integration/errors_spec.rbc +0 -964
  37. data/spec/integration/france_spec.rbc +0 -1012
  38. data/spec/integration/images_spec.rbc +0 -1047
  39. data/spec/integration/item_lookup_spec.rbc +0 -1723
  40. data/spec/integration/item_search_spec.rbc +0 -926
  41. data/spec/integration/japan_spec.rbc +0 -849
  42. data/spec/integration/keyword_search_spec.rbc +0 -838
  43. data/spec/integration/kindle_spec.rbc +0 -1425
  44. data/spec/integration/multiple_locales_spec.rbc +0 -1090
  45. data/spec/integration/power_search_spec.rbc +0 -838
  46. data/spec/integration/related_items_spec.rbc +0 -1228
  47. data/spec/integration/seller_listing_search_spec.rbc +0 -852
  48. data/spec/integration/twenty_items_spec.rbc +0 -1166
  49. data/spec/spec_helper.rbc +0 -231
  50. data/spec/support/amazon.yml +0 -3
  51. data/spec/support/amazon_credentials.rbc +0 -154
  52. data/spec/support/asins.rbc +0 -335
  53. data/spec/support/vcr.rbc +0 -360
  54. data/spec/unit/sucker/request_spec.rbc +0 -4031
  55. data/spec/unit/sucker/response_spec.rbc +0 -3787
  56. data/spec/unit/sucker_spec.rbc +0 -299
@@ -1,299 +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
- 5
225
- I
226
- 0
227
- I
228
- 7
229
- I
230
- 0
231
- I
232
- 8
233
- I
234
- 26
235
- x
236
- 47
237
- /Users/snl/code/sucker/spec/unit/sucker_spec.rb
238
- p
239
- 0
240
- x
241
- 2
242
- it
243
- p
244
- 5
245
- I
246
- 0
247
- I
248
- 5
249
- I
250
- 0
251
- I
252
- 7
253
- I
254
- b
255
- x
256
- 47
257
- /Users/snl/code/sucker/spec/unit/sucker_spec.rb
258
- p
259
- 0
260
- x
261
- 8
262
- describe
263
- p
264
- 5
265
- I
266
- 0
267
- I
268
- 3
269
- I
270
- 0
271
- I
272
- 5
273
- I
274
- b
275
- x
276
- 47
277
- /Users/snl/code/sucker/spec/unit/sucker_spec.rb
278
- p
279
- 0
280
- x
281
- 8
282
- describe
283
- p
284
- 5
285
- I
286
- 0
287
- I
288
- 1
289
- I
290
- 9
291
- I
292
- 3
293
- I
294
- 16
295
- x
296
- 47
297
- /Users/snl/code/sucker/spec/unit/sucker_spec.rb
298
- p
299
- 0