amazon_seller_central 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,4 +29,10 @@ def mock_seller_central_page_results!
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
31
  FakeWeb.register_uri(:post, 'https://sellercentral.amazon.com/myi/search/ProductSummary;jsessionid=10F6EC9ECBC6E9C3B45EB5DEC1B13D46', :response => mock_pages[:update_inventory_result_from_page_1])
32
+
33
+ #Orders
34
+ FakeWeb.register_uri(:get, "https://sellercentral.amazon.com/gp/orders-v2/list/ref=ag_myo_dos4_home?"+
35
+ "ie=UTF8&showCancelled=0&searchType=OrderStatus&ignoreSearchType=1&statusFilter=Pending&searchFulfillers=mfn&preSelectedRange=30"+
36
+ "&searchDateOption=preSelected&sortBy=OrderStatusDescending&itemsPerPage=100", :response => mock_pages[:manage_orders])
37
+
32
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_seller_central
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-01 00:00:00.000000000Z
12
+ date: 2012-03-26 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &20989560 !ruby/object:Gem::Requirement
16
+ requirement: &11549640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *20989560
24
+ version_requirements: *11549640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &20988360 !ruby/object:Gem::Requirement
27
+ requirement: &11549000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.3.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *20988360
35
+ version_requirements: *11549000
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &20986480 !ruby/object:Gem::Requirement
38
+ requirement: &11548380 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *20986480
46
+ version_requirements: *11548380
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &20973360 !ruby/object:Gem::Requirement
49
+ requirement: &11547780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.6.3
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *20973360
57
+ version_requirements: *11547780
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rcov
60
- requirement: &20969420 !ruby/object:Gem::Requirement
60
+ requirement: &11547080 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *20969420
68
+ version_requirements: *11547080
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: yard
71
- requirement: &20966800 !ruby/object:Gem::Requirement
71
+ requirement: &11546380 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *20966800
79
+ version_requirements: *11546380
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: guard
82
- requirement: &20956260 !ruby/object:Gem::Requirement
82
+ requirement: &11545760 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *20956260
90
+ version_requirements: *11545760
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: guard-rspec
93
- requirement: &20954160 !ruby/object:Gem::Requirement
93
+ requirement: &11545040 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *20954160
101
+ version_requirements: *11545040
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rb-inotify
104
- requirement: &20951960 !ruby/object:Gem::Requirement
104
+ requirement: &11544060 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.8.5
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *20951960
112
+ version_requirements: *11544060
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: libnotify
115
- requirement: &20946980 !ruby/object:Gem::Requirement
115
+ requirement: &11543220 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *20946980
123
+ version_requirements: *11543220
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: ffi
126
- requirement: &20943580 !ruby/object:Gem::Requirement
126
+ requirement: &11542360 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *20943580
134
+ version_requirements: *11542360
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: faker
137
- requirement: &20926120 !ruby/object:Gem::Requirement
137
+ requirement: &11541660 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *20926120
145
+ version_requirements: *11541660
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: fakeweb
148
- requirement: &20922380 !ruby/object:Gem::Requirement
148
+ requirement: &11541020 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *20922380
156
+ version_requirements: *11541020
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: ruby-debug19
159
- requirement: &20910620 !ruby/object:Gem::Requirement
159
+ requirement: &11540300 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *20910620
167
+ version_requirements: *11540300
168
168
  description: This gem is intended to wrap Amazon's SellerCentral pages with a Ruby
169
169
  API. Currently this gem supports accessing buyer feedback only.
170
170
  email: dev@optoro.com
@@ -195,6 +195,8 @@ files:
195
195
  - lib/amazon_seller_central/listing.rb
196
196
  - lib/amazon_seller_central/listing_set.rb
197
197
  - lib/amazon_seller_central/mechanizer.rb
198
+ - lib/amazon_seller_central/order.rb
199
+ - lib/amazon_seller_central/orders_page.rb
198
200
  - lib/amazon_seller_central/page.rb
199
201
  - spec/amazon_seller_central_spec.rb
200
202
  - spec/lib/feedback_page_spec.rb
@@ -204,6 +206,7 @@ files:
204
206
  - spec/lib/listing_set_spec.rb
205
207
  - spec/lib/listing_spec.rb
206
208
  - spec/lib/mechanizer_spec.rb
209
+ - spec/lib/orders_page_spec.rb
207
210
  - spec/spec_helper.rb
208
211
  - spec/support/page_body_regexen.rb
209
212
  - spec/support/page_examples.rb
@@ -212,6 +215,7 @@ files:
212
215
  - spec/support/sample_pages/Feedback Page 1.html
213
216
  - spec/support/sample_pages/Feedback Page 2.html
214
217
  - spec/support/sample_pages/Feedback Page Last.html
218
+ - spec/support/sample_pages/Manage Orders.html
215
219
  - spec/support/sample_pages/Seller Central Homepage.html
216
220
  - spec/support/sample_pages/Seller Central Redirect.html
217
221
  - spec/support/sample_pages/Seller Central.html
@@ -237,7 +241,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
237
241
  version: '0'
238
242
  segments:
239
243
  - 0
240
- hash: 2775985803911156428
244
+ hash: 4367338174243591656
241
245
  required_rubygems_version: !ruby/object:Gem::Requirement
242
246
  none: false
243
247
  requirements: