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