peddler 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,383 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://mws.amazonservices.ca/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-11-06T01%3A43%3A45Z&Signature=Q59aKTmnwpFhCrkLt39qNUxRKErzCC4TpTe9pv0Bv74%3D
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ Date:
18
+ - Thu, 06 Nov 2014 01:43:39 GMT
19
+ Server:
20
+ - AmazonMWS
21
+ x-mws-request-id:
22
+ - 32c855f2-869b-4388-a378-99f89698bbde
23
+ x-mws-timestamp:
24
+ - '2014-11-06T01:43:39.948Z'
25
+ x-mws-response-context:
26
+ - jc1U7JVFZvx7TZiem+QBDIPR4xsHlYCJbHNhDEUVx2wsisD08GztNE+RH+9+JqijU8r09ThXBKs=
27
+ Content-Type:
28
+ - text/xml
29
+ Content-Length:
30
+ - '376'
31
+ Vary:
32
+ - User-Agent
33
+ body:
34
+ encoding: UTF-8
35
+ string: |
36
+ <?xml version="1.0"?>
37
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/webstore/2014-09-01">
38
+ <GetServiceStatusResult>
39
+ <Status>GREEN</Status>
40
+ <Timestamp>2014-11-06T01:43:39.948Z</Timestamp>
41
+ </GetServiceStatusResult>
42
+ <ResponseMetadata>
43
+ <RequestId>32c855f2-869b-4388-a378-99f89698bbde</RequestId>
44
+ </ResponseMetadata>
45
+ </GetServiceStatusResponse>
46
+ http_version:
47
+ recorded_at: Thu, 06 Nov 2014 01:43:46 GMT
48
+ - request:
49
+ method: post
50
+ uri: https://mws-eu.amazonservices.com/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-11-06T01%3A43%3A46Z&Signature=uTy3oi71CScntO7Ob%2Bcq8eMSD%2BIghTmYGCKXgyxflSs%3D
51
+ body:
52
+ encoding: US-ASCII
53
+ string: ''
54
+ headers:
55
+ User-Agent:
56
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
57
+ response:
58
+ status:
59
+ code: 200
60
+ message:
61
+ headers:
62
+ Date:
63
+ - Thu, 06 Nov 2014 01:43:40 GMT
64
+ Server:
65
+ - AmazonMWS
66
+ x-mws-request-id:
67
+ - 14793a11-9123-4460-aa05-d5150f0b55cb
68
+ x-mws-timestamp:
69
+ - '2014-11-06T01:43:40.523Z'
70
+ x-mws-response-context:
71
+ - R18+sgLUQaLue+3OCoHCqvxY6xiZWFo8MlOlbnGWEONbxr/iXsy70tZOuYnkdbv0H68lC3Zpzbg=
72
+ Content-Type:
73
+ - text/xml
74
+ Content-Length:
75
+ - '376'
76
+ Vary:
77
+ - User-Agent
78
+ body:
79
+ encoding: UTF-8
80
+ string: |
81
+ <?xml version="1.0"?>
82
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/webstore/2014-09-01">
83
+ <GetServiceStatusResult>
84
+ <Status>GREEN</Status>
85
+ <Timestamp>2014-11-06T01:43:40.523Z</Timestamp>
86
+ </GetServiceStatusResult>
87
+ <ResponseMetadata>
88
+ <RequestId>14793a11-9123-4460-aa05-d5150f0b55cb</RequestId>
89
+ </ResponseMetadata>
90
+ </GetServiceStatusResponse>
91
+ http_version:
92
+ recorded_at: Thu, 06 Nov 2014 01:43:46 GMT
93
+ - request:
94
+ method: post
95
+ uri: https://mws.amazonservices.jp/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-11-06T01%3A43%3A46Z&Signature=8ft39xUNz7sxJojqOy6F%2FDIA2%2BM%2Bl0q9O9k3UfQWAiE%3D
96
+ body:
97
+ encoding: US-ASCII
98
+ string: ''
99
+ headers:
100
+ User-Agent:
101
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
102
+ response:
103
+ status:
104
+ code: 200
105
+ message:
106
+ headers:
107
+ Date:
108
+ - Thu, 06 Nov 2014 01:43:41 GMT
109
+ Server:
110
+ - AmazonMWS
111
+ x-mws-request-id:
112
+ - aaa8f04d-8a86-4e5c-a8ba-f821477773a6
113
+ x-mws-timestamp:
114
+ - '2014-11-06T01:43:41.485Z'
115
+ x-mws-response-context:
116
+ - 5aIaW62twoD+ex1te/QK3uzXtIvO+IN7VSeih+ubFv3SKA5R3VCPi1Z1gnYX04hc7aVNPFcoQK4=
117
+ Content-Type:
118
+ - text/xml
119
+ Content-Length:
120
+ - '376'
121
+ Vary:
122
+ - User-Agent
123
+ body:
124
+ encoding: UTF-8
125
+ string: |
126
+ <?xml version="1.0"?>
127
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/webstore/2014-09-01">
128
+ <GetServiceStatusResult>
129
+ <Status>GREEN</Status>
130
+ <Timestamp>2014-11-06T01:43:41.485Z</Timestamp>
131
+ </GetServiceStatusResult>
132
+ <ResponseMetadata>
133
+ <RequestId>aaa8f04d-8a86-4e5c-a8ba-f821477773a6</RequestId>
134
+ </ResponseMetadata>
135
+ </GetServiceStatusResponse>
136
+ http_version:
137
+ recorded_at: Thu, 06 Nov 2014 01:43:47 GMT
138
+ - request:
139
+ method: post
140
+ uri: https://mws.amazonservices.com/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=GetServiceStatus&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-11-06T01%3A43%3A47Z&Signature=Gy01xJubcaOoOuPORSMcAkPPn7Wv9ZxTwHwb0dnuAXo%3D
141
+ body:
142
+ encoding: US-ASCII
143
+ string: ''
144
+ headers:
145
+ User-Agent:
146
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
147
+ response:
148
+ status:
149
+ code: 200
150
+ message:
151
+ headers:
152
+ Date:
153
+ - Thu, 06 Nov 2014 01:43:41 GMT
154
+ Server:
155
+ - AmazonMWS
156
+ x-mws-request-id:
157
+ - 1f93acff-d54a-4695-a316-e6776bb05b21
158
+ x-mws-timestamp:
159
+ - '2014-11-06T01:43:42.087Z'
160
+ x-mws-response-context:
161
+ - yi2sF8bJXm01f2jP4gnWZEpRzz58/ib1U1jahHvXWDfNQ7WmdSEqRROrLveQ+Dw7C9yTsRpnQ5w=
162
+ Content-Type:
163
+ - text/xml
164
+ Content-Length:
165
+ - '376'
166
+ Vary:
167
+ - User-Agent
168
+ body:
169
+ encoding: UTF-8
170
+ string: |
171
+ <?xml version="1.0"?>
172
+ <GetServiceStatusResponse xmlns="http://mws.amazonservices.com/webstore/2014-09-01">
173
+ <GetServiceStatusResult>
174
+ <Status>GREEN</Status>
175
+ <Timestamp>2014-11-06T01:43:42.087Z</Timestamp>
176
+ </GetServiceStatusResult>
177
+ <ResponseMetadata>
178
+ <RequestId>1f93acff-d54a-4695-a316-e6776bb05b21</RequestId>
179
+ </ResponseMetadata>
180
+ </GetServiceStatusResponse>
181
+ http_version:
182
+ recorded_at: Thu, 06 Nov 2014 01:43:48 GMT
183
+ - request:
184
+ method: post
185
+ uri: https://mws.amazonservices.ca/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListSubscriptionsCount&MarketplaceId=A2EUQ1WTGCTBG2&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&SubscriptionState=Subscribed&Timestamp=2014-11-06T01%3A43%3A48Z&Signature=faY2cxOOHAKUfdk5rp19CizUW0BR0WMekFDFlA35uqU%3D
186
+ body:
187
+ encoding: US-ASCII
188
+ string: ''
189
+ headers:
190
+ User-Agent:
191
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
192
+ response:
193
+ status:
194
+ code: 200
195
+ message:
196
+ headers:
197
+ Date:
198
+ - Thu, 06 Nov 2014 01:43:43 GMT
199
+ Server:
200
+ - AmazonMWS
201
+ X-Amz-Date:
202
+ - Thu, 06 Nov 2014 01:43:43 GMT
203
+ x-mws-request-id:
204
+ - 950cbdde-d54d-4e0c-8a3f-9f688b7cffcc
205
+ x-mws-timestamp:
206
+ - '2014-11-06T01:43:42.781Z'
207
+ x-mws-response-context:
208
+ - DheMOgLnQrOdwdr67sBYuAJ4GhmrHz3fKfp5Zq/2aE7DXs/c+Vivy+0EBzerUQx4Bkg3sVyI3Ow=
209
+ Content-Type:
210
+ - text/xml
211
+ Content-Length:
212
+ - '537'
213
+ Vary:
214
+ - User-Agent
215
+ body:
216
+ encoding: UTF-8
217
+ string: |
218
+ <ListSubscriptionsCountResponse xmlns="http://mws.amazonservices.com/schema/Webstore/2014-09-01">
219
+ <ListSubscriptionsCountResult>
220
+ <StartDate>2014-07-01T01:43:43.034Z</StartDate>
221
+ <SellerId>MERCHANT_ID</SellerId>
222
+ <NextToken/>
223
+ <EndDate>2014-11-06T01:43:43.054Z</EndDate>
224
+ <MarketplaceId>A2EUQ1WTGCTBG2</MarketplaceId>
225
+ <SubscriptionList/>
226
+ </ListSubscriptionsCountResult>
227
+ <ResponseMetadata>
228
+ <RequestId>950cbdde-d54d-4e0c-8a3f-9f688b7cffcc</RequestId>
229
+ </ResponseMetadata>
230
+ </ListSubscriptionsCountResponse>
231
+ http_version:
232
+ recorded_at: Thu, 06 Nov 2014 01:43:49 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://mws.amazonservices.com/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListSubscriptionsCount&MarketplaceId=ATVPDKIKX0DER&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&SubscriptionState=Subscribed&Timestamp=2014-11-06T01%3A47%3A18Z&Signature=I29X1QUUaqAUbmx%2FiF3zCUxYkKpuAE5CP8gdtIxusgY%3D
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ''
239
+ headers:
240
+ User-Agent:
241
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
242
+ response:
243
+ status:
244
+ code: 200
245
+ message:
246
+ headers:
247
+ Date:
248
+ - Thu, 06 Nov 2014 01:47:13 GMT
249
+ Server:
250
+ - AmazonMWS
251
+ X-Amz-Date:
252
+ - Thu, 06 Nov 2014 01:47:13 GMT
253
+ x-mws-request-id:
254
+ - fe2f5221-4d59-4f5f-920b-188a66855c9d
255
+ x-mws-timestamp:
256
+ - '2014-11-06T01:47:13.223Z'
257
+ x-mws-response-context:
258
+ - hSYSuH9JUydmnq6sV5hLes5KOBm4xybSRGEAVXtLfRtsp3Buhxcv5AsTWfOREzvFWWRFzrjol0U=
259
+ Content-Type:
260
+ - text/xml
261
+ Content-Length:
262
+ - '536'
263
+ Vary:
264
+ - User-Agent
265
+ body:
266
+ encoding: UTF-8
267
+ string: |
268
+ <ListSubscriptionsCountResponse xmlns="http://mws.amazonservices.com/schema/Webstore/2014-09-01">
269
+ <ListSubscriptionsCountResult>
270
+ <StartDate>2014-07-01T01:47:13.415Z</StartDate>
271
+ <SellerId>MERCHANT_ID</SellerId>
272
+ <NextToken/>
273
+ <EndDate>2014-11-06T01:47:13.432Z</EndDate>
274
+ <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
275
+ <SubscriptionList/>
276
+ </ListSubscriptionsCountResult>
277
+ <ResponseMetadata>
278
+ <RequestId>fe2f5221-4d59-4f5f-920b-188a66855c9d</RequestId>
279
+ </ResponseMetadata>
280
+ </ListSubscriptionsCountResponse>
281
+ http_version:
282
+ recorded_at: Thu, 06 Nov 2014 01:47:19 GMT
283
+ - request:
284
+ method: post
285
+ uri: https://mws-eu.amazonservices.com/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListSubscriptionsCount&MarketplaceId=A1PA6795UKMFR9&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&SubscriptionState=Subscribed&Timestamp=2014-11-06T01%3A47%3A18Z&Signature=I29X1QUUaqAUbmx%2FiF3zCUxYkKpuAE5CP8gdtIxusgY%3D
286
+ body:
287
+ encoding: US-ASCII
288
+ string: ''
289
+ headers:
290
+ User-Agent:
291
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
292
+ response:
293
+ status:
294
+ code: 200
295
+ message:
296
+ headers:
297
+ Date:
298
+ - Thu, 06 Nov 2014 01:47:13 GMT
299
+ Server:
300
+ - AmazonMWS
301
+ X-Amz-Date:
302
+ - Thu, 06 Nov 2014 01:47:13 GMT
303
+ x-mws-request-id:
304
+ - fe2f5221-4d59-4f5f-920b-188a66855c9d
305
+ x-mws-timestamp:
306
+ - '2014-11-06T01:47:13.223Z'
307
+ x-mws-response-context:
308
+ - hSYSuH9JUydmnq6sV5hLes5KOBm4xybSRGEAVXtLfRtsp3Buhxcv5AsTWfOREzvFWWRFzrjol0U=
309
+ Content-Type:
310
+ - text/xml
311
+ Content-Length:
312
+ - '536'
313
+ Vary:
314
+ - User-Agent
315
+ body:
316
+ encoding: UTF-8
317
+ string: |
318
+ <ListSubscriptionsCountResponse xmlns="http://mws.amazonservices.com/schema/Webstore/2014-09-01">
319
+ <ListSubscriptionsCountResult>
320
+ <StartDate>2014-07-01T01:47:13.415Z</StartDate>
321
+ <SellerId>MERCHANT_ID</SellerId>
322
+ <NextToken/>
323
+ <EndDate>2014-11-06T01:47:13.432Z</EndDate>
324
+ <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
325
+ <SubscriptionList/>
326
+ </ListSubscriptionsCountResult>
327
+ <ResponseMetadata>
328
+ <RequestId>fe2f5221-4d59-4f5f-920b-188a66855c9d</RequestId>
329
+ </ResponseMetadata>
330
+ </ListSubscriptionsCountResponse>
331
+ http_version:
332
+ recorded_at: Thu, 06 Nov 2014 01:47:19 GMT
333
+ - request:
334
+ method: post
335
+ uri: https://mws.amazonservices.jp/Webstore/2014-09-01/?AWSAccessKeyId=AWS_ACCESS_KEY_ID&Action=ListSubscriptionsCount&MarketplaceId=A1VC38T7YXB528&SellerId=MERCHANT_ID&SignatureMethod=HmacSHA256&SignatureVersion=2&SubscriptionState=Subscribed&Timestamp=2014-11-06T01%3A47%3A18Z&Signature=I29X1QUUaqAUbmx%2FiF3zCUxYkKpuAE5CP8gdtIxusgY%3D
336
+ body:
337
+ encoding: US-ASCII
338
+ string: ''
339
+ headers:
340
+ User-Agent:
341
+ - Jeff/1.1.0 (Language=Ruby; Hakans-MacBook-Pro-3.local)
342
+ response:
343
+ status:
344
+ code: 200
345
+ message:
346
+ headers:
347
+ Date:
348
+ - Thu, 06 Nov 2014 01:47:13 GMT
349
+ Server:
350
+ - AmazonMWS
351
+ X-Amz-Date:
352
+ - Thu, 06 Nov 2014 01:47:13 GMT
353
+ x-mws-request-id:
354
+ - fe2f5221-4d59-4f5f-920b-188a66855c9d
355
+ x-mws-timestamp:
356
+ - '2014-11-06T01:47:13.223Z'
357
+ x-mws-response-context:
358
+ - hSYSuH9JUydmnq6sV5hLes5KOBm4xybSRGEAVXtLfRtsp3Buhxcv5AsTWfOREzvFWWRFzrjol0U=
359
+ Content-Type:
360
+ - text/xml
361
+ Content-Length:
362
+ - '536'
363
+ Vary:
364
+ - User-Agent
365
+ body:
366
+ encoding: UTF-8
367
+ string: |
368
+ <ListSubscriptionsCountResponse xmlns="http://mws.amazonservices.com/schema/Webstore/2014-09-01">
369
+ <ListSubscriptionsCountResult>
370
+ <StartDate>2014-07-01T01:47:13.415Z</StartDate>
371
+ <SellerId>MERCHANT_ID</SellerId>
372
+ <NextToken/>
373
+ <EndDate>2014-11-06T01:47:13.432Z</EndDate>
374
+ <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
375
+ <SubscriptionList/>
376
+ </ListSubscriptionsCountResult>
377
+ <ResponseMetadata>
378
+ <RequestId>fe2f5221-4d59-4f5f-920b-188a66855c9d</RequestId>
379
+ </ResponseMetadata>
380
+ </ListSubscriptionsCountResponse>
381
+ http_version:
382
+ recorded_at: Thu, 06 Nov 2014 01:47:19 GMT
383
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-16 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeff
@@ -74,6 +74,8 @@ files:
74
74
  - lib/mws/sellers/client.rb
75
75
  - lib/mws/subscriptions.rb
76
76
  - lib/mws/subscriptions/client.rb
77
+ - lib/mws/webstore.rb
78
+ - lib/mws/webstore/client.rb
77
79
  - lib/peddler.rb
78
80
  - lib/peddler/client.rb
79
81
  - lib/peddler/flat_file_parser.rb
@@ -96,6 +98,7 @@ files:
96
98
  - test/integration/test_reports.rb
97
99
  - test/integration/test_sellers.rb
98
100
  - test/integration/test_subscriptions.rb
101
+ - test/integration/test_webstore.rb
99
102
  - test/integration_test_helper.rb
100
103
  - test/mws.yml
101
104
  - test/mws.yml.bak
@@ -124,6 +127,7 @@ files:
124
127
  - test/vcr_cassettes/Reports.yml
125
128
  - test/vcr_cassettes/Sellers.yml
126
129
  - test/vcr_cassettes/Subscriptions.yml
130
+ - test/vcr_cassettes/Webstore.yml
127
131
  homepage: http://github.com/hakanensari/peddler
128
132
  licenses:
129
133
  - MIT
@@ -162,6 +166,7 @@ test_files:
162
166
  - test/integration/test_reports.rb
163
167
  - test/integration/test_sellers.rb
164
168
  - test/integration/test_subscriptions.rb
169
+ - test/integration/test_webstore.rb
165
170
  - test/integration_test_helper.rb
166
171
  - test/mws.yml
167
172
  - test/mws.yml.bak
@@ -190,4 +195,5 @@ test_files:
190
195
  - test/vcr_cassettes/Reports.yml
191
196
  - test/vcr_cassettes/Sellers.yml
192
197
  - test/vcr_cassettes/Subscriptions.yml
198
+ - test/vcr_cassettes/Webstore.yml
193
199
  has_rdoc: