amazon_seller_central 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +55 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +15 -8
- data/VERSION +1 -1
- data/amazon_seller_central.gemspec +12 -11
- data/lib/amazon_seller_central/feedback_page.rb +1 -1
- data/lib/amazon_seller_central/inventory_page.rb +18 -18
- data/lib/amazon_seller_central/page.rb +10 -0
- data/spec/lib/inventory_page_spec.rb +22 -32
- data/spec/lib/listing_set_spec.rb +6 -6
- data/spec/support/sample_pages/listings_last_page.html +3833 -8962
- data/spec/support/sample_pages/listings_page_1.html +7061 -6473
- data/spec/support/sample_pages/listings_page_2.html +7127 -6588
- data/spec/support/sample_pages/update_inventory_result_from_page_1.html +7034 -6446
- data/spec/support/sample_pages.rb +1 -1
- metadata +131 -197
@@ -28,5 +28,5 @@ def mock_seller_central_page_results!
|
|
28
28
|
FakeWeb.register_uri(:get, 'https://sellercentral.amazon.com/gp/ezdpc-gui/inventory-status/status.html/ref=ag_invmgr_mmap_home&searchPageOffset=2', :response => mock_pages[:listings_page_2])
|
29
29
|
FakeWeb.register_uri(:get, 'https://sellercentral.amazon.com/gp/ezdpc-gui/inventory-status/status.html/ref=ag_invmgr_mmap_home&searchPageOffset=3', :response => mock_pages[:listings_last_page])
|
30
30
|
FakeWeb.register_uri(:post, 'https://sellercentral.amazon.com/myi/search/ProductSummary', :response => mock_pages[:update_inventory_result_from_page_1])
|
31
|
-
FakeWeb.register_uri(:post, 'https://sellercentral.amazon.com/myi/search/ProductSummary;jsessionid=
|
31
|
+
FakeWeb.register_uri(:post, 'https://sellercentral.amazon.com/myi/search/ProductSummary;jsessionid=10F6EC9ECBC6E9C3B45EB5DEC1B13D46', :response => mock_pages[:update_inventory_result_from_page_1])
|
32
32
|
end
|
metadata
CHANGED
@@ -1,241 +1,182 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon_seller_central
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 2
|
10
|
-
version: 0.2.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- optoro
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-12-01 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: mechanize
|
23
|
-
|
16
|
+
requirement: &20989560 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 0
|
32
|
-
- 0
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 1.0.0
|
34
|
-
prerelease: false
|
35
22
|
type: :runtime
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *20989560
|
25
|
+
- !ruby/object:Gem::Dependency
|
38
26
|
name: rspec
|
39
|
-
|
27
|
+
requirement: &20988360 !ruby/object:Gem::Requirement
|
40
28
|
none: false
|
41
|
-
requirements:
|
29
|
+
requirements:
|
42
30
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 3
|
45
|
-
segments:
|
46
|
-
- 2
|
47
|
-
- 3
|
48
|
-
- 0
|
31
|
+
- !ruby/object:Gem::Version
|
49
32
|
version: 2.3.0
|
50
|
-
prerelease: false
|
51
33
|
type: :development
|
52
|
-
|
53
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *20988360
|
36
|
+
- !ruby/object:Gem::Dependency
|
54
37
|
name: bundler
|
55
|
-
|
38
|
+
requirement: &20986480 !ruby/object:Gem::Requirement
|
56
39
|
none: false
|
57
|
-
requirements:
|
40
|
+
requirements:
|
58
41
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 23
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 0
|
64
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
65
43
|
version: 1.0.0
|
66
|
-
prerelease: false
|
67
44
|
type: :development
|
68
|
-
|
69
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *20986480
|
47
|
+
- !ruby/object:Gem::Dependency
|
70
48
|
name: jeweler
|
71
|
-
|
49
|
+
requirement: &20973360 !ruby/object:Gem::Requirement
|
72
50
|
none: false
|
73
|
-
requirements:
|
51
|
+
requirements:
|
74
52
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
hash: 9
|
77
|
-
segments:
|
78
|
-
- 1
|
79
|
-
- 6
|
80
|
-
- 3
|
53
|
+
- !ruby/object:Gem::Version
|
81
54
|
version: 1.6.3
|
82
|
-
prerelease: false
|
83
55
|
type: :development
|
84
|
-
|
85
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *20973360
|
58
|
+
- !ruby/object:Gem::Dependency
|
86
59
|
name: rcov
|
87
|
-
|
60
|
+
requirement: &20969420 !ruby/object:Gem::Requirement
|
88
61
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
|
93
|
-
segments:
|
94
|
-
- 0
|
95
|
-
version: "0"
|
96
|
-
prerelease: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
97
66
|
type: :development
|
98
|
-
|
99
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *20969420
|
69
|
+
- !ruby/object:Gem::Dependency
|
100
70
|
name: yard
|
101
|
-
|
71
|
+
requirement: &20966800 !ruby/object:Gem::Requirement
|
102
72
|
none: false
|
103
|
-
requirements:
|
104
|
-
- -
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
version: "0"
|
110
|
-
prerelease: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
111
77
|
type: :development
|
112
|
-
|
113
|
-
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *20966800
|
80
|
+
- !ruby/object:Gem::Dependency
|
114
81
|
name: guard
|
115
|
-
|
82
|
+
requirement: &20956260 !ruby/object:Gem::Requirement
|
116
83
|
none: false
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
121
|
-
segments:
|
122
|
-
- 0
|
123
|
-
version: "0"
|
124
|
-
prerelease: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
125
88
|
type: :development
|
126
|
-
|
127
|
-
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *20956260
|
91
|
+
- !ruby/object:Gem::Dependency
|
128
92
|
name: guard-rspec
|
129
|
-
|
93
|
+
requirement: &20954160 !ruby/object:Gem::Requirement
|
130
94
|
none: false
|
131
|
-
requirements:
|
132
|
-
- -
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
version: "0"
|
138
|
-
prerelease: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
139
99
|
type: :development
|
140
|
-
|
141
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *20954160
|
102
|
+
- !ruby/object:Gem::Dependency
|
142
103
|
name: rb-inotify
|
143
|
-
|
104
|
+
requirement: &20951960 !ruby/object:Gem::Requirement
|
144
105
|
none: false
|
145
|
-
requirements:
|
146
|
-
- -
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
hash: 53
|
149
|
-
segments:
|
150
|
-
- 0
|
151
|
-
- 8
|
152
|
-
- 5
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
153
109
|
version: 0.8.5
|
154
|
-
prerelease: false
|
155
110
|
type: :development
|
156
|
-
|
157
|
-
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *20951960
|
113
|
+
- !ruby/object:Gem::Dependency
|
158
114
|
name: libnotify
|
159
|
-
|
115
|
+
requirement: &20946980 !ruby/object:Gem::Requirement
|
160
116
|
none: false
|
161
|
-
requirements:
|
162
|
-
- -
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
|
165
|
-
segments:
|
166
|
-
- 0
|
167
|
-
version: "0"
|
168
|
-
prerelease: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
169
121
|
type: :development
|
170
|
-
|
171
|
-
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *20946980
|
124
|
+
- !ruby/object:Gem::Dependency
|
172
125
|
name: ffi
|
173
|
-
|
126
|
+
requirement: &20943580 !ruby/object:Gem::Requirement
|
174
127
|
none: false
|
175
|
-
requirements:
|
176
|
-
- -
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
|
179
|
-
segments:
|
180
|
-
- 0
|
181
|
-
version: "0"
|
182
|
-
prerelease: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
183
132
|
type: :development
|
184
|
-
|
185
|
-
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *20943580
|
135
|
+
- !ruby/object:Gem::Dependency
|
186
136
|
name: faker
|
187
|
-
|
137
|
+
requirement: &20926120 !ruby/object:Gem::Requirement
|
188
138
|
none: false
|
189
|
-
requirements:
|
190
|
-
- -
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
|
193
|
-
segments:
|
194
|
-
- 0
|
195
|
-
version: "0"
|
196
|
-
prerelease: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
197
143
|
type: :development
|
198
|
-
|
199
|
-
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *20926120
|
146
|
+
- !ruby/object:Gem::Dependency
|
200
147
|
name: fakeweb
|
201
|
-
|
148
|
+
requirement: &20922380 !ruby/object:Gem::Requirement
|
202
149
|
none: false
|
203
|
-
requirements:
|
204
|
-
- -
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
|
207
|
-
segments:
|
208
|
-
- 0
|
209
|
-
version: "0"
|
210
|
-
prerelease: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
211
154
|
type: :development
|
212
|
-
requirement: *id013
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: ruby-debug
|
215
|
-
version_requirements: &id014 !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
|
-
requirements:
|
218
|
-
- - ">="
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
hash: 3
|
221
|
-
segments:
|
222
|
-
- 0
|
223
|
-
version: "0"
|
224
155
|
prerelease: false
|
156
|
+
version_requirements: *20922380
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: ruby-debug19
|
159
|
+
requirement: &20910620 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
225
165
|
type: :development
|
226
|
-
|
227
|
-
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *20910620
|
168
|
+
description: This gem is intended to wrap Amazon's SellerCentral pages with a Ruby
|
169
|
+
API. Currently this gem supports accessing buyer feedback only.
|
228
170
|
email: dev@optoro.com
|
229
171
|
executables: []
|
230
|
-
|
231
172
|
extensions: []
|
232
|
-
|
233
|
-
extra_rdoc_files:
|
173
|
+
extra_rdoc_files:
|
234
174
|
- LICENSE.txt
|
235
175
|
- README.md
|
236
|
-
files:
|
176
|
+
files:
|
237
177
|
- .document
|
238
178
|
- .rspec
|
179
|
+
- .rvmrc
|
239
180
|
- CHANGELOG.md
|
240
181
|
- Gemfile
|
241
182
|
- Gemfile.lock
|
@@ -281,39 +222,32 @@ files:
|
|
281
222
|
- spec/support/sample_pages/update_inventory_result_from_last_page.html
|
282
223
|
- spec/support/sample_pages/update_inventory_result_from_page_1.html
|
283
224
|
- spec/support/sample_pages/update_inventory_result_from_page_2.html
|
284
|
-
has_rdoc: true
|
285
225
|
homepage: http://github.com/optoro/amazon_seller_central
|
286
|
-
licenses:
|
226
|
+
licenses:
|
287
227
|
- MIT
|
288
228
|
post_install_message:
|
289
229
|
rdoc_options: []
|
290
|
-
|
291
|
-
require_paths:
|
230
|
+
require_paths:
|
292
231
|
- lib
|
293
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
294
233
|
none: false
|
295
|
-
requirements:
|
296
|
-
- -
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
|
299
|
-
segments:
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
segments:
|
300
239
|
- 0
|
301
|
-
|
302
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
hash: 2775985803911156428
|
241
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
242
|
none: false
|
304
|
-
requirements:
|
305
|
-
- -
|
306
|
-
- !ruby/object:Gem::Version
|
307
|
-
|
308
|
-
segments:
|
309
|
-
- 0
|
310
|
-
version: "0"
|
243
|
+
requirements:
|
244
|
+
- - ! '>='
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '0'
|
311
247
|
requirements: []
|
312
|
-
|
313
248
|
rubyforge_project:
|
314
|
-
rubygems_version: 1.
|
249
|
+
rubygems_version: 1.8.10
|
315
250
|
signing_key:
|
316
251
|
specification_version: 3
|
317
252
|
summary: Ruby API to access Amazon's SellerCentral
|
318
253
|
test_files: []
|
319
|
-
|