peddler 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +48 -145
  3. data/lib/mws/feeds/client.rb +7 -1
  4. data/lib/mws/feeds/parsers/feed.rb +3 -3
  5. data/lib/mws/feeds/parsers/feed_submission_count.rb +2 -5
  6. data/lib/mws/feeds/parsers/{feed_submission.rb → feed_submission_info.rb} +1 -1
  7. data/lib/mws/feeds/parsers/feed_submission_list.rb +6 -3
  8. data/lib/mws/feeds/parsers/feed_submissions.rb +2 -2
  9. data/lib/mws/feeds/requests/feed_submission_list.rb +4 -2
  10. data/lib/mws/orders/client.rb +12 -2
  11. data/lib/mws/orders/parsers/order_items.rb +3 -0
  12. data/lib/mws/orders/parsers/orders.rb +6 -3
  13. data/lib/mws/orders/requests/order_items.rb +4 -2
  14. data/lib/mws/orders/requests/orders.rb +4 -2
  15. data/lib/mws/reports/client.rb +243 -0
  16. data/lib/mws/reports/parsers/report.rb +10 -0
  17. data/lib/mws/reports/parsers/report_acknowledgements.rb +20 -0
  18. data/lib/mws/reports/parsers/report_count.rb +10 -0
  19. data/lib/mws/reports/parsers/report_info.rb +29 -0
  20. data/lib/mws/reports/parsers/report_list.rb +23 -0
  21. data/lib/mws/reports/parsers/report_request_count.rb +10 -0
  22. data/lib/mws/reports/parsers/report_request_info.rb +49 -0
  23. data/lib/mws/reports/parsers/report_request_list.rb +23 -0
  24. data/lib/mws/reports/parsers/report_requests.rb +18 -0
  25. data/lib/mws/reports/parsers/report_schedule.rb +21 -0
  26. data/lib/mws/reports/parsers/report_schedule_count.rb +10 -0
  27. data/lib/mws/reports/parsers/report_schedule_list.rb +23 -0
  28. data/lib/mws/reports/parsers/report_scheduler.rb +19 -0
  29. data/lib/mws/reports/requests/report.rb +18 -0
  30. data/lib/mws/reports/requests/report_acknowledgements.rb +27 -0
  31. data/lib/mws/reports/requests/report_count.rb +20 -0
  32. data/lib/mws/reports/requests/report_list.rb +30 -0
  33. data/lib/mws/reports/requests/report_request_count.rb +20 -0
  34. data/lib/mws/reports/requests/report_request_info.rb +21 -0
  35. data/lib/mws/reports/requests/report_request_list.rb +30 -0
  36. data/lib/mws/reports/requests/report_requests.rb +20 -0
  37. data/lib/mws/reports/requests/report_schedule_count.rb +19 -0
  38. data/lib/mws/reports/requests/report_schedule_list.rb +23 -0
  39. data/lib/mws/reports/requests/report_scheduler.rb +29 -0
  40. data/lib/mws/sellers/client.rb +46 -0
  41. data/lib/mws/sellers/parsers/marketplace.rb +33 -0
  42. data/lib/mws/sellers/parsers/marketplace_participations.rb +32 -0
  43. data/lib/mws/sellers/parsers/participation.rb +21 -0
  44. data/lib/mws/sellers/parsers/service_status.rb +36 -0
  45. data/lib/mws/sellers/parsers/service_status_message.rb +17 -0
  46. data/lib/mws/sellers/requests/marketplace_participations.rb +27 -0
  47. data/lib/mws/sellers/requests/service_status.rb +15 -0
  48. data/lib/peddler/parsers/base.rb +2 -2
  49. data/lib/peddler/parsers/counter.rb +13 -0
  50. data/lib/peddler/parsers/model.rb +4 -5
  51. data/lib/peddler/parsers/text.rb +0 -5
  52. data/lib/peddler/parsers/tokenable.rb +13 -0
  53. data/lib/peddler/parsers/xml.rb +10 -5
  54. data/lib/peddler/request/parameters.rb +2 -1
  55. data/lib/peddler/request/structured_list.rb +5 -0
  56. data/lib/peddler/request.rb +13 -15
  57. data/lib/peddler/response/base.rb +0 -0
  58. data/lib/peddler/response/payload/base.rb +0 -0
  59. data/lib/peddler/response/payload/csv.rb +0 -0
  60. data/lib/peddler/response/payload/xml.rb +0 -0
  61. data/lib/peddler/{response_wrapper.rb → response.rb} +6 -11
  62. data/lib/peddler/version.rb +1 -1
  63. data/test/fixtures/mws.yml +4 -0
  64. data/test/fixtures/reports/report.xml +8 -0
  65. data/test/fixtures/reports/report_acknowledgements.xml +18 -0
  66. data/test/fixtures/reports/report_count.xml +9 -0
  67. data/test/fixtures/reports/report_list.xml +17 -0
  68. data/test/fixtures/reports/report_request_count.xml +9 -0
  69. data/test/fixtures/reports/report_request_list.xml +24 -0
  70. data/test/fixtures/reports/report_requests.xml +19 -0
  71. data/test/fixtures/reports/report_schedule_count.xml +10 -0
  72. data/test/fixtures/reports/report_schedule_list.xml +16 -0
  73. data/test/fixtures/reports/report_scheduler.xml +15 -0
  74. data/test/fixtures/sellers/market_participations.xml +27 -0
  75. data/test/fixtures/sellers/service_status.xml +9 -0
  76. data/test/integration/feeds/test_feed_submission_list.rb +2 -0
  77. data/test/integration/orders/test_orders.rb +3 -0
  78. data/test/integration/reports/test_report.rb +15 -0
  79. data/test/integration/reports/test_report_count.rb +13 -0
  80. data/test/integration/reports/test_report_list.rb +17 -0
  81. data/test/integration/reports/test_report_request_count.rb +13 -0
  82. data/test/integration/reports/test_report_request_list.rb +17 -0
  83. data/test/integration/reports/test_report_schedule_count.rb +13 -0
  84. data/test/integration/reports/test_report_schedule_list.rb +13 -0
  85. data/test/integration/reports/test_report_scheduler.rb +16 -0
  86. data/test/integration/sellers/test_marketplace_participations.rb +13 -0
  87. data/test/integration/sellers/test_service_status.rb +12 -0
  88. data/test/integration_helper.rb +3 -0
  89. data/test/mws/feeds/parsers/test_feed.rb +2 -2
  90. data/test/mws/feeds/parsers/{test_feed_submission.rb → test_feed_submission_info.rb} +3 -3
  91. data/test/mws/feeds/parsers/test_feed_submission_list.rb +5 -1
  92. data/test/mws/feeds/parsers/test_feed_submission_result.rb +1 -1
  93. data/test/mws/feeds/requests/test_feed_submission_list.rb +3 -6
  94. data/test/mws/orders/parsers/test_order_items.rb +4 -0
  95. data/test/mws/orders/parsers/test_orders.rb +4 -0
  96. data/test/mws/orders/parsers/test_service_status.rb +1 -1
  97. data/test/mws/orders/requests/test_order_items.rb +3 -6
  98. data/test/mws/orders/requests/test_orders.rb +3 -6
  99. data/test/mws/reports/parsers/test_report_acknowledgments.rb +14 -0
  100. data/test/mws/reports/parsers/test_report_count.rb +13 -0
  101. data/test/mws/reports/parsers/test_report_info.rb +29 -0
  102. data/test/mws/reports/parsers/test_report_list.rb +18 -0
  103. data/test/mws/reports/parsers/test_report_request_count.rb +13 -0
  104. data/test/mws/reports/parsers/test_report_request_info.rb +49 -0
  105. data/test/mws/reports/parsers/test_report_request_list.rb +18 -0
  106. data/test/mws/reports/parsers/test_report_requests.rb +17 -0
  107. data/test/mws/reports/parsers/test_report_schedule_count.rb +13 -0
  108. data/test/mws/reports/parsers/test_report_schedule_list.rb +18 -0
  109. data/test/mws/reports/parsers/test_report_scheduler.rb +17 -0
  110. data/test/mws/reports/requests/test_acknowledgements.rb +36 -0
  111. data/test/mws/reports/requests/test_report_count.rb +23 -0
  112. data/test/mws/reports/requests/test_report_info.rb +29 -0
  113. data/test/mws/reports/requests/test_report_list.rb +39 -0
  114. data/test/mws/reports/requests/test_report_request_count.rb +23 -0
  115. data/test/mws/reports/requests/test_report_request_list.rb +44 -0
  116. data/test/mws/reports/requests/test_report_requests.rb +29 -0
  117. data/test/mws/reports/requests/test_report_schedule_count.rb +22 -0
  118. data/test/mws/reports/requests/test_report_schedule_list.rb +36 -0
  119. data/test/mws/reports/requests/test_report_scheduler.rb +33 -0
  120. data/test/mws/sellers/parsers/test_market_participations.rb +19 -0
  121. data/test/mws/sellers/parsers/test_service_status.rb +35 -0
  122. data/test/mws/sellers/requests/test_marketplace_participation_list.rb +39 -0
  123. data/test/mws/sellers/requests/test_service_status.rb +25 -0
  124. data/test/peddler/parsers/test_model.rb +36 -0
  125. data/test/request_helper.rb +1 -1
  126. metadata +171 -42
  127. data/test/peddler/test_request.rb +0 -18
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peddler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-07 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeff
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.7.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.7.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: money
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '5.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '5.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: structure
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.25.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.25.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '5.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '5.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: A Ruby interface to the Amazon Marketplace Web Service (MWS) APIs
@@ -129,10 +129,13 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
+ - LICENSE
133
+ - README.md
134
+ - lib/mws/feeds.rb
132
135
  - lib/mws/feeds/client.rb
133
136
  - lib/mws/feeds/parsers/feed.rb
134
- - lib/mws/feeds/parsers/feed_submission.rb
135
137
  - lib/mws/feeds/parsers/feed_submission_count.rb
138
+ - lib/mws/feeds/parsers/feed_submission_info.rb
136
139
  - lib/mws/feeds/parsers/feed_submission_list.rb
137
140
  - lib/mws/feeds/parsers/feed_submission_result.rb
138
141
  - lib/mws/feeds/parsers/feed_submissions.rb
@@ -141,15 +144,15 @@ files:
141
144
  - lib/mws/feeds/requests/feed_submission_list.rb
142
145
  - lib/mws/feeds/requests/feed_submission_result.rb
143
146
  - lib/mws/feeds/requests/feed_submissions.rb
144
- - lib/mws/feeds.rb
145
- - lib/mws/fulfillment_inbound_shipment/client.rb
146
147
  - lib/mws/fulfillment_inbound_shipment.rb
147
- - lib/mws/fulfillment_inventory/client.rb
148
+ - lib/mws/fulfillment_inbound_shipment/client.rb
148
149
  - lib/mws/fulfillment_inventory.rb
149
- - lib/mws/fulfillment_outbound_shipment/client.rb
150
+ - lib/mws/fulfillment_inventory/client.rb
150
151
  - lib/mws/fulfillment_outbound_shipment.rb
151
- - lib/mws/off_amazon_payments/client.rb
152
+ - lib/mws/fulfillment_outbound_shipment/client.rb
152
153
  - lib/mws/off_amazon_payments.rb
154
+ - lib/mws/off_amazon_payments/client.rb
155
+ - lib/mws/orders.rb
153
156
  - lib/mws/orders/client.rb
154
157
  - lib/mws/orders/parsers/invoice_data.rb
155
158
  - lib/mws/orders/parsers/order.rb
@@ -164,31 +167,65 @@ files:
164
167
  - lib/mws/orders/requests/order_items.rb
165
168
  - lib/mws/orders/requests/orders.rb
166
169
  - lib/mws/orders/requests/service_status.rb
167
- - lib/mws/orders.rb
168
- - lib/mws/products/client.rb
169
170
  - lib/mws/products.rb
170
- - lib/mws/recommendations/client.rb
171
+ - lib/mws/products/client.rb
171
172
  - lib/mws/recommendations.rb
172
- - lib/mws/reports/client.rb
173
+ - lib/mws/recommendations/client.rb
173
174
  - lib/mws/reports.rb
174
- - lib/mws/sellers/client.rb
175
+ - lib/mws/reports/client.rb
176
+ - lib/mws/reports/parsers/report.rb
177
+ - lib/mws/reports/parsers/report_acknowledgements.rb
178
+ - lib/mws/reports/parsers/report_count.rb
179
+ - lib/mws/reports/parsers/report_info.rb
180
+ - lib/mws/reports/parsers/report_list.rb
181
+ - lib/mws/reports/parsers/report_request_count.rb
182
+ - lib/mws/reports/parsers/report_request_info.rb
183
+ - lib/mws/reports/parsers/report_request_list.rb
184
+ - lib/mws/reports/parsers/report_requests.rb
185
+ - lib/mws/reports/parsers/report_schedule.rb
186
+ - lib/mws/reports/parsers/report_schedule_count.rb
187
+ - lib/mws/reports/parsers/report_schedule_list.rb
188
+ - lib/mws/reports/parsers/report_scheduler.rb
189
+ - lib/mws/reports/requests/report.rb
190
+ - lib/mws/reports/requests/report_acknowledgements.rb
191
+ - lib/mws/reports/requests/report_count.rb
192
+ - lib/mws/reports/requests/report_list.rb
193
+ - lib/mws/reports/requests/report_request_count.rb
194
+ - lib/mws/reports/requests/report_request_info.rb
195
+ - lib/mws/reports/requests/report_request_list.rb
196
+ - lib/mws/reports/requests/report_requests.rb
197
+ - lib/mws/reports/requests/report_schedule_count.rb
198
+ - lib/mws/reports/requests/report_schedule_list.rb
199
+ - lib/mws/reports/requests/report_scheduler.rb
175
200
  - lib/mws/sellers.rb
176
- - lib/mws/subscriptions/client.rb
201
+ - lib/mws/sellers/client.rb
202
+ - lib/mws/sellers/parsers/marketplace.rb
203
+ - lib/mws/sellers/parsers/marketplace_participations.rb
204
+ - lib/mws/sellers/parsers/participation.rb
205
+ - lib/mws/sellers/parsers/service_status.rb
206
+ - lib/mws/sellers/parsers/service_status_message.rb
207
+ - lib/mws/sellers/requests/marketplace_participations.rb
208
+ - lib/mws/sellers/requests/service_status.rb
177
209
  - lib/mws/subscriptions.rb
210
+ - lib/mws/subscriptions/client.rb
211
+ - lib/peddler.rb
178
212
  - lib/peddler/client.rb
179
213
  - lib/peddler/parsers/base.rb
180
214
  - lib/peddler/parsers/collection.rb
215
+ - lib/peddler/parsers/counter.rb
181
216
  - lib/peddler/parsers/model.rb
182
217
  - lib/peddler/parsers/text.rb
218
+ - lib/peddler/parsers/tokenable.rb
183
219
  - lib/peddler/parsers/xml.rb
220
+ - lib/peddler/request.rb
184
221
  - lib/peddler/request/parameters.rb
185
222
  - lib/peddler/request/structured_list.rb
186
- - lib/peddler/request.rb
187
- - lib/peddler/response_wrapper.rb
223
+ - lib/peddler/response.rb
224
+ - lib/peddler/response/base.rb
225
+ - lib/peddler/response/payload/base.rb
226
+ - lib/peddler/response/payload/csv.rb
227
+ - lib/peddler/response/payload/xml.rb
188
228
  - lib/peddler/version.rb
189
- - lib/peddler.rb
190
- - LICENSE
191
- - README.md
192
229
  - test/fixtures/feeds/feed_submission.xml
193
230
  - test/fixtures/feeds/feed_submission_count.xml
194
231
  - test/fixtures/feeds/feed_submission_list.xml
@@ -198,6 +235,18 @@ files:
198
235
  - test/fixtures/orders/order_items.xml
199
236
  - test/fixtures/orders/orders.xml
200
237
  - test/fixtures/orders/service_status.xml
238
+ - test/fixtures/reports/report.xml
239
+ - test/fixtures/reports/report_acknowledgements.xml
240
+ - test/fixtures/reports/report_count.xml
241
+ - test/fixtures/reports/report_list.xml
242
+ - test/fixtures/reports/report_request_count.xml
243
+ - test/fixtures/reports/report_request_list.xml
244
+ - test/fixtures/reports/report_requests.xml
245
+ - test/fixtures/reports/report_schedule_count.xml
246
+ - test/fixtures/reports/report_schedule_list.xml
247
+ - test/fixtures/reports/report_scheduler.xml
248
+ - test/fixtures/sellers/market_participations.xml
249
+ - test/fixtures/sellers/service_status.xml
201
250
  - test/helper.rb
202
251
  - test/integration/feeds/test_feed_submission_count.rb
203
252
  - test/integration/feeds/test_feed_submission_list.rb
@@ -205,10 +254,20 @@ files:
205
254
  - test/integration/orders/test_order_items.rb
206
255
  - test/integration/orders/test_orders.rb
207
256
  - test/integration/orders/test_service_status.rb
257
+ - test/integration/reports/test_report.rb
258
+ - test/integration/reports/test_report_count.rb
259
+ - test/integration/reports/test_report_list.rb
260
+ - test/integration/reports/test_report_request_count.rb
261
+ - test/integration/reports/test_report_request_list.rb
262
+ - test/integration/reports/test_report_schedule_count.rb
263
+ - test/integration/reports/test_report_schedule_list.rb
264
+ - test/integration/reports/test_report_scheduler.rb
265
+ - test/integration/sellers/test_marketplace_participations.rb
266
+ - test/integration/sellers/test_service_status.rb
208
267
  - test/integration_helper.rb
209
268
  - test/mws/feeds/parsers/test_feed.rb
210
- - test/mws/feeds/parsers/test_feed_submission.rb
211
269
  - test/mws/feeds/parsers/test_feed_submission_count.rb
270
+ - test/mws/feeds/parsers/test_feed_submission_info.rb
212
271
  - test/mws/feeds/parsers/test_feed_submission_list.rb
213
272
  - test/mws/feeds/parsers/test_feed_submission_result.rb
214
273
  - test/mws/feeds/parsers/test_feed_submissions.rb
@@ -228,13 +287,37 @@ files:
228
287
  - test/mws/orders/requests/test_order_items.rb
229
288
  - test/mws/orders/requests/test_orders.rb
230
289
  - test/mws/orders/requests/test_service_status.rb
290
+ - test/mws/reports/parsers/test_report_acknowledgments.rb
291
+ - test/mws/reports/parsers/test_report_count.rb
292
+ - test/mws/reports/parsers/test_report_info.rb
293
+ - test/mws/reports/parsers/test_report_list.rb
294
+ - test/mws/reports/parsers/test_report_request_count.rb
295
+ - test/mws/reports/parsers/test_report_request_info.rb
296
+ - test/mws/reports/parsers/test_report_request_list.rb
297
+ - test/mws/reports/parsers/test_report_requests.rb
298
+ - test/mws/reports/parsers/test_report_schedule_count.rb
299
+ - test/mws/reports/parsers/test_report_schedule_list.rb
300
+ - test/mws/reports/parsers/test_report_scheduler.rb
301
+ - test/mws/reports/requests/test_acknowledgements.rb
302
+ - test/mws/reports/requests/test_report_count.rb
303
+ - test/mws/reports/requests/test_report_info.rb
304
+ - test/mws/reports/requests/test_report_list.rb
305
+ - test/mws/reports/requests/test_report_request_count.rb
306
+ - test/mws/reports/requests/test_report_request_list.rb
307
+ - test/mws/reports/requests/test_report_requests.rb
308
+ - test/mws/reports/requests/test_report_schedule_count.rb
309
+ - test/mws/reports/requests/test_report_schedule_list.rb
310
+ - test/mws/reports/requests/test_report_scheduler.rb
311
+ - test/mws/sellers/parsers/test_market_participations.rb
312
+ - test/mws/sellers/parsers/test_service_status.rb
313
+ - test/mws/sellers/requests/test_marketplace_participation_list.rb
314
+ - test/mws/sellers/requests/test_service_status.rb
231
315
  - test/parser_helper.rb
232
316
  - test/peddler/parsers/test_collection.rb
233
317
  - test/peddler/parsers/test_model.rb
234
318
  - test/peddler/request/test_parameters.rb
235
319
  - test/peddler/request/test_structured_list.rb
236
320
  - test/peddler/test_client.rb
237
- - test/peddler/test_request.rb
238
321
  - test/request_helper.rb
239
322
  - test/test_peddler.rb
240
323
  homepage: http://github.com/papercavalier/peddler
@@ -246,17 +329,17 @@ require_paths:
246
329
  - lib
247
330
  required_ruby_version: !ruby/object:Gem::Requirement
248
331
  requirements:
249
- - - '>='
332
+ - - ">="
250
333
  - !ruby/object:Gem::Version
251
334
  version: '1.9'
252
335
  required_rubygems_version: !ruby/object:Gem::Requirement
253
336
  requirements:
254
- - - '>='
337
+ - - ">="
255
338
  - !ruby/object:Gem::Version
256
339
  version: '0'
257
340
  requirements: []
258
341
  rubyforge_project:
259
- rubygems_version: 2.0.3
342
+ rubygems_version: 2.2.0
260
343
  signing_key:
261
344
  specification_version: 4
262
345
  summary: Wraps the Amazon MWS APIs
@@ -270,6 +353,18 @@ test_files:
270
353
  - test/fixtures/orders/order_items.xml
271
354
  - test/fixtures/orders/orders.xml
272
355
  - test/fixtures/orders/service_status.xml
356
+ - test/fixtures/reports/report.xml
357
+ - test/fixtures/reports/report_acknowledgements.xml
358
+ - test/fixtures/reports/report_count.xml
359
+ - test/fixtures/reports/report_list.xml
360
+ - test/fixtures/reports/report_request_count.xml
361
+ - test/fixtures/reports/report_request_list.xml
362
+ - test/fixtures/reports/report_requests.xml
363
+ - test/fixtures/reports/report_schedule_count.xml
364
+ - test/fixtures/reports/report_schedule_list.xml
365
+ - test/fixtures/reports/report_scheduler.xml
366
+ - test/fixtures/sellers/market_participations.xml
367
+ - test/fixtures/sellers/service_status.xml
273
368
  - test/helper.rb
274
369
  - test/integration/feeds/test_feed_submission_count.rb
275
370
  - test/integration/feeds/test_feed_submission_list.rb
@@ -277,10 +372,20 @@ test_files:
277
372
  - test/integration/orders/test_order_items.rb
278
373
  - test/integration/orders/test_orders.rb
279
374
  - test/integration/orders/test_service_status.rb
375
+ - test/integration/reports/test_report.rb
376
+ - test/integration/reports/test_report_count.rb
377
+ - test/integration/reports/test_report_list.rb
378
+ - test/integration/reports/test_report_request_count.rb
379
+ - test/integration/reports/test_report_request_list.rb
380
+ - test/integration/reports/test_report_schedule_count.rb
381
+ - test/integration/reports/test_report_schedule_list.rb
382
+ - test/integration/reports/test_report_scheduler.rb
383
+ - test/integration/sellers/test_marketplace_participations.rb
384
+ - test/integration/sellers/test_service_status.rb
280
385
  - test/integration_helper.rb
281
386
  - test/mws/feeds/parsers/test_feed.rb
282
- - test/mws/feeds/parsers/test_feed_submission.rb
283
387
  - test/mws/feeds/parsers/test_feed_submission_count.rb
388
+ - test/mws/feeds/parsers/test_feed_submission_info.rb
284
389
  - test/mws/feeds/parsers/test_feed_submission_list.rb
285
390
  - test/mws/feeds/parsers/test_feed_submission_result.rb
286
391
  - test/mws/feeds/parsers/test_feed_submissions.rb
@@ -300,12 +405,36 @@ test_files:
300
405
  - test/mws/orders/requests/test_order_items.rb
301
406
  - test/mws/orders/requests/test_orders.rb
302
407
  - test/mws/orders/requests/test_service_status.rb
408
+ - test/mws/reports/parsers/test_report_acknowledgments.rb
409
+ - test/mws/reports/parsers/test_report_count.rb
410
+ - test/mws/reports/parsers/test_report_info.rb
411
+ - test/mws/reports/parsers/test_report_list.rb
412
+ - test/mws/reports/parsers/test_report_request_count.rb
413
+ - test/mws/reports/parsers/test_report_request_info.rb
414
+ - test/mws/reports/parsers/test_report_request_list.rb
415
+ - test/mws/reports/parsers/test_report_requests.rb
416
+ - test/mws/reports/parsers/test_report_schedule_count.rb
417
+ - test/mws/reports/parsers/test_report_schedule_list.rb
418
+ - test/mws/reports/parsers/test_report_scheduler.rb
419
+ - test/mws/reports/requests/test_acknowledgements.rb
420
+ - test/mws/reports/requests/test_report_count.rb
421
+ - test/mws/reports/requests/test_report_info.rb
422
+ - test/mws/reports/requests/test_report_list.rb
423
+ - test/mws/reports/requests/test_report_request_count.rb
424
+ - test/mws/reports/requests/test_report_request_list.rb
425
+ - test/mws/reports/requests/test_report_requests.rb
426
+ - test/mws/reports/requests/test_report_schedule_count.rb
427
+ - test/mws/reports/requests/test_report_schedule_list.rb
428
+ - test/mws/reports/requests/test_report_scheduler.rb
429
+ - test/mws/sellers/parsers/test_market_participations.rb
430
+ - test/mws/sellers/parsers/test_service_status.rb
431
+ - test/mws/sellers/requests/test_marketplace_participation_list.rb
432
+ - test/mws/sellers/requests/test_service_status.rb
303
433
  - test/parser_helper.rb
304
434
  - test/peddler/parsers/test_collection.rb
305
435
  - test/peddler/parsers/test_model.rb
306
436
  - test/peddler/request/test_parameters.rb
307
437
  - test/peddler/request/test_structured_list.rb
308
438
  - test/peddler/test_client.rb
309
- - test/peddler/test_request.rb
310
439
  - test/request_helper.rb
311
440
  - test/test_peddler.rb
@@ -1,18 +0,0 @@
1
- require 'helper'
2
- require 'peddler/request'
3
-
4
- class PeddlerRequestTest < MiniTest::Test
5
- def setup
6
- @request = Peddler::Request.new(nil)
7
- end
8
-
9
- def test_has_next_token?
10
- response = MiniTest::Mock.new
11
- @request.last_response = response
12
-
13
- response.expect(:next_token, nil)
14
- assert_equal false, @request.has_next_token?
15
- response.expect(:next_token, '123')
16
- assert_equal true, @request.has_next_token?
17
- end
18
- end