amazon-mws-plus 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.project +12 -0
  4. data/Gemfile +13 -0
  5. data/README.markdown +30 -0
  6. data/Rakefile +50 -0
  7. data/amazon-mws-plus.gemspec +23 -0
  8. data/amazon-mws.tmproj +27 -0
  9. data/examples/xml/cancel_feed_submissions.xml +16 -0
  10. data/examples/xml/cancel_fulfillment_order.xml +6 -0
  11. data/examples/xml/cancel_report_requests.xml +18 -0
  12. data/examples/xml/create_fulfillment_order.xml +6 -0
  13. data/examples/xml/error.xml +10 -0
  14. data/examples/xml/get_feed_submission_count.xml +10 -0
  15. data/examples/xml/get_feed_submission_list.xml +18 -0
  16. data/examples/xml/get_feed_submission_list_by_next_token.xml +16 -0
  17. data/examples/xml/get_feed_submission_result.xml +30 -0
  18. data/examples/xml/get_fulfillment_order.xml +113 -0
  19. data/examples/xml/get_fulfillment_preview.xml +148 -0
  20. data/examples/xml/get_matching_product.xml +115 -0
  21. data/examples/xml/get_matching_product_for_id.xml +119 -0
  22. data/examples/xml/get_report.xml +237 -0
  23. data/examples/xml/get_report_count.xml +9 -0
  24. data/examples/xml/get_report_list.xml +17 -0
  25. data/examples/xml/get_report_request_count.xml +8 -0
  26. data/examples/xml/get_report_request_list.xml +120 -0
  27. data/examples/xml/get_report_request_list_by_next_token.xml +20 -0
  28. data/examples/xml/get_report_schedule_count.xml +10 -0
  29. data/examples/xml/get_report_schedule_list.xml +15 -0
  30. data/examples/xml/get_report_schedule_list_by_next_token.xml +15 -0
  31. data/examples/xml/list_all_fulfillment_orders.xml +69 -0
  32. data/examples/xml/list_all_fulfillment_orders_by_next_token.xml +61 -0
  33. data/examples/xml/manage_report_schedule.xml +14 -0
  34. data/examples/xml/orders_request.xml +39 -0
  35. data/examples/xml/request_order_items.xml +51 -0
  36. data/examples/xml/request_order_items_by_next_token.xml +51 -0
  37. data/examples/xml/request_orders.xml +43 -0
  38. data/examples/xml/request_orders_by_next_token.xml +69 -0
  39. data/examples/xml/request_report.xml +17 -0
  40. data/examples/xml/submit_feed.xml +14 -0
  41. data/examples/xml/update_report_acknowledgements.xml +18 -0
  42. data/examples/xsd/Inventory.xsd +49 -0
  43. data/examples/xsd/Item.xsd +285 -0
  44. data/examples/xsd/Listings.xsd +32 -0
  45. data/examples/xsd/OrderAcknowledgement.xsd +55 -0
  46. data/examples/xsd/OrderAdjustment.xsd +94 -0
  47. data/examples/xsd/OrderFulfillment.xsd +57 -0
  48. data/examples/xsd/Override.xsd +48 -0
  49. data/examples/xsd/Price.xsd +59 -0
  50. data/examples/xsd/ProcessingReport.xsd +87 -0
  51. data/examples/xsd/Product.xsd +220 -0
  52. data/examples/xsd/Product/AutoAccessory.xsd +807 -0
  53. data/examples/xsd/Product/Beauty.xsd +114 -0
  54. data/examples/xsd/Product/CE.xsd +544 -0
  55. data/examples/xsd/Product/CameraPhoto.xsd +2410 -0
  56. data/examples/xsd/Product/FoodAndBeverages.xsd +270 -0
  57. data/examples/xsd/Product/Gourmet.xsd +85 -0
  58. data/examples/xsd/Product/Health.xsd +189 -0
  59. data/examples/xsd/Product/Home.xsd +654 -0
  60. data/examples/xsd/Product/Jewelry.xsd +603 -0
  61. data/examples/xsd/Product/Miscellaneous.xsd +157 -0
  62. data/examples/xsd/Product/MusicalInstruments.xsd +853 -0
  63. data/examples/xsd/Product/Office.xsd +550 -0
  64. data/examples/xsd/Product/PetSupplies.xsd +40 -0
  65. data/examples/xsd/Product/ProductClothing.xsd +197 -0
  66. data/examples/xsd/Product/SWVG.xsd +238 -0
  67. data/examples/xsd/Product/Sports.xsd +308 -0
  68. data/examples/xsd/Product/TiresAndWheels.xsd +159 -0
  69. data/examples/xsd/Product/Tools.xsd +62 -0
  70. data/examples/xsd/Product/ToysBaby.xsd +241 -0
  71. data/examples/xsd/Product/Wireless.xsd +77 -0
  72. data/examples/xsd/ProductImage.xsd +39 -0
  73. data/examples/xsd/Relationship.xsd +47 -0
  74. data/examples/xsd/SettlementReport.xsd +158 -0
  75. data/examples/xsd/amzn-base.xsd +1600 -0
  76. data/examples/xsd/amzn-envelope.xsd +98 -0
  77. data/examples/xsd/amzn-header.xsd +45 -0
  78. data/lib/amazon-mws.rb +6 -0
  79. data/lib/amazon/mws.rb +69 -0
  80. data/lib/amazon/mws/authentication.rb +10 -0
  81. data/lib/amazon/mws/authentication/query_string.rb +36 -0
  82. data/lib/amazon/mws/authentication/signature.rb +43 -0
  83. data/lib/amazon/mws/base.rb +74 -0
  84. data/lib/amazon/mws/connection.rb +107 -0
  85. data/lib/amazon/mws/connection/management.rb +95 -0
  86. data/lib/amazon/mws/connection/request_builder.rb +67 -0
  87. data/lib/amazon/mws/exceptions.rb +55 -0
  88. data/lib/amazon/mws/lib/extensions.rb +178 -0
  89. data/lib/amazon/mws/lib/memoizable.rb +10 -0
  90. data/lib/amazon/mws/request/feed.rb +276 -0
  91. data/lib/amazon/mws/request/feed_builder.rb +83 -0
  92. data/lib/amazon/mws/request/fulfillment.rb +50 -0
  93. data/lib/amazon/mws/request/orders.rb +107 -0
  94. data/lib/amazon/mws/request/products.rb +38 -0
  95. data/lib/amazon/mws/request/report.rb +330 -0
  96. data/lib/amazon/mws/response.rb +43 -0
  97. data/lib/amazon/mws/response/feed/cancel_feed_submissions_response.rb +15 -0
  98. data/lib/amazon/mws/response/feed/get_feed_submission_count_response.rb +13 -0
  99. data/lib/amazon/mws/response/feed/get_feed_submission_list_by_next_token_response.rb +17 -0
  100. data/lib/amazon/mws/response/feed/get_feed_submission_list_response.rb +16 -0
  101. data/lib/amazon/mws/response/feed/get_feed_submission_result_response.rb +54 -0
  102. data/lib/amazon/mws/response/feed/models/feed_submission.rb +16 -0
  103. data/lib/amazon/mws/response/feed/submit_feed_response.rb +15 -0
  104. data/lib/amazon/mws/response/fulfillment_order/cancel_fulfillment_order_response.rb +11 -0
  105. data/lib/amazon/mws/response/fulfillment_order/create_fulfillment_order_response.rb +12 -0
  106. data/lib/amazon/mws/response/fulfillment_order/get_fulfillment_order_response.rb +19 -0
  107. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_by_next_token_response.rb +16 -0
  108. data/lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_response.rb +15 -0
  109. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_address.rb +18 -0
  110. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order.rb +24 -0
  111. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_order_item.rb +20 -0
  112. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment.rb +18 -0
  113. data/lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment_item.rb +14 -0
  114. data/lib/amazon/mws/response/order/models/order.rb +43 -0
  115. data/lib/amazon/mws/response/order/models/order_item.rb +48 -0
  116. data/lib/amazon/mws/response/order/models/promotion_id.rb +9 -0
  117. data/lib/amazon/mws/response/order/request_get_order_response.rb +15 -0
  118. data/lib/amazon/mws/response/order/request_order_items_response.rb +25 -0
  119. data/lib/amazon/mws/response/order/request_orders_response.rb +28 -0
  120. data/lib/amazon/mws/response/product/get_matching_proudct.rb +31 -0
  121. data/lib/amazon/mws/response/product/models/product.rb +36 -0
  122. data/lib/amazon/mws/response/report/cancel_report_requests_response.rb +16 -0
  123. data/lib/amazon/mws/response/report/get_report_count_response.rb +13 -0
  124. data/lib/amazon/mws/response/report/get_report_list_response.rb +17 -0
  125. data/lib/amazon/mws/response/report/get_report_request_count_response.rb +13 -0
  126. data/lib/amazon/mws/response/report/get_report_request_list_by_next_token_response.rb +17 -0
  127. data/lib/amazon/mws/response/report/get_report_request_list_response.rb +17 -0
  128. data/lib/amazon/mws/response/report/get_report_schedule_count_response.rb +13 -0
  129. data/lib/amazon/mws/response/report/get_report_schedule_list_by_next_token_response.rb +17 -0
  130. data/lib/amazon/mws/response/report/get_report_schedule_list_response.rb +17 -0
  131. data/lib/amazon/mws/response/report/manage_report_schedule_response.rb +16 -0
  132. data/lib/amazon/mws/response/report/models/report_info.rb +16 -0
  133. data/lib/amazon/mws/response/report/models/report_request.rb +20 -0
  134. data/lib/amazon/mws/response/report/models/report_schedule.rb +13 -0
  135. data/lib/amazon/mws/response/report/request_report_response.rb +15 -0
  136. data/lib/amazon/mws/response/report/update_reports_acknowledgements_response.rb +16 -0
  137. data/lib/amazon/mws/response/response.rb +43 -0
  138. data/lib/amazon/mws/response/response_error.rb +21 -0
  139. data/test/connection_test.rb +14 -0
  140. data/test/feed_builder_test.rb +74 -0
  141. data/test/feed_test.rb +144 -0
  142. data/test/fulfillment_order.rb +49 -0
  143. data/test/orders_test.rb +78 -0
  144. data/test/products_test.rb +28 -0
  145. data/test/query_string_test.rb +18 -0
  146. data/test/report_test.rb +88 -0
  147. data/test/response_test.rb +172 -0
  148. data/test/signature_test.rb +32 -0
  149. data/test/test_config.yml +6 -0
  150. data/test/test_helper.rb +33 -0
  151. metadata +335 -0
@@ -0,0 +1,172 @@
1
+ require 'test_helper'
2
+
3
+ class ResponseTest < Minitest::Test
4
+
5
+ def test_submit_feed_response
6
+ response = SubmitFeedResponse.format(xml_for('submit_feed',200))
7
+
8
+ assert_equal '2291326430', response.feed_submission.id
9
+ assert_equal '_POST_PRODUCT_DATA_', response.feed_submission.feed_type
10
+ assert_equal '75424a38-f333-4105-98f0-2aa9592d665c', response.request_id
11
+ end
12
+
13
+ def test_feed_submission_list_response
14
+ response = GetFeedSubmissionListResponse.format(xml_for('get_feed_submission_list',200))
15
+
16
+ assert_equal "1105b931-6f1c-4480-8e97-f3b467840a9e", response.request_id
17
+ assert response.has_next?
18
+ assert_equal "2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=", response.next_token
19
+ assert_equal 1, response.feed_submissions.size
20
+ assert_equal '2291326430', response.feed_submissions.first.id
21
+ end
22
+
23
+ def test_get_feed_submission_list_by_next_token
24
+ response = GetFeedSubmissionListByNextTokenResponse.format(xml_for('get_feed_submission_list_by_next_token',200))
25
+
26
+ assert_equal "1105b931-6f1c-4480-8e97-f3b467840a9e", response.request_id
27
+ assert !response.has_next?
28
+ assert_equal 'none', response.next_token
29
+ assert_equal 1, response.feed_submissions.size
30
+ assert_equal '2291326430', response.feed_submissions.first.id
31
+ assert_equal '1105b931-6f1c-4480-8e97-f3b467840a9e', response.request_id
32
+ end
33
+
34
+ def test_get_feed_submission_count
35
+ response = GetFeedSubmissionCountResponse.format(xml_for('get_feed_submission_count',200))
36
+
37
+ assert_equal(463, response.count)
38
+ assert_equal('21e482a8-15c7-4da3-91a4-424995ed0756', response.request_id)
39
+ end
40
+
41
+ def test_cancel_feed_submissions
42
+ response = CancelFeedSubmissionsResponse.format(xml_for('cancel_feed_submissions',200))
43
+
44
+ assert_equal(1, response.count)
45
+ assert_equal(1, response.feed_submissions.size)
46
+ assert_equal('18e78983-bbf9-43aa-a661-ae7696cb49d4', response.request_id)
47
+ end
48
+
49
+ def test_request_report
50
+ response = RequestReportResponse.format(xml_for('request_report',200))
51
+
52
+ assert_equal("88faca76-b600-46d2-b53c-0c8c4533e43a", response.request_id)
53
+
54
+ assert(response.report_request)
55
+ assert_equal(response.report_request.report_type, "_GET_MERCHANT_LISTINGS_DATA_")
56
+ assert_equal(response.report_request.scheduled?, false)
57
+ assert_equal(response.report_request.report_processing_status, "_SUBMITTED_")
58
+ end
59
+
60
+ def test_get_report_request_list
61
+ response = GetReportRequestListResponse.format(xml_for('get_report_request_list',200))
62
+
63
+ assert_equal(response.request_id, "1e1d7b22-004e-4333-a881-1f20b671097f")
64
+ assert(response.has_next?)
65
+ assert_equal(response.next_token, "gTw92cRxgz0D2s1QD6a1Fdz+0b6t4r6aM48r5nOh7ZQ2cKWBkRSk57AfQiDLYYb/tts/YTgAGXw7u4xT348+ZoSJ8NeAlfpOrrBJpKO2HAHCv/LqsB0EzxybTwcKfw+6oQjX0m4upU+Q1A2v3FCYQ1eWYigAJMzhvZSqczZdpQRFrR1eNdlVGQ==")
66
+ assert_equal(response.report_requests.size, 10)
67
+ end
68
+
69
+ def test_get_report_request_list_by_next_token
70
+ response = GetReportRequestListByNextTokenResponse.format(xml_for('get_report_request_list_by_next_token',200))
71
+
72
+ assert_equal("732480cb-84a8-4c15-9084-a46bd9a0889b", response.request_id)
73
+ assert_equal('none', response.next_token)
74
+ assert_equal(false, response.has_next?) # same as false ???
75
+
76
+ assert_equal(1, response.report_requests.size)
77
+ assert_equal(2291326454, response.report_requests.first.id)
78
+ assert_equal('732480cb-84a8-4c15-9084-a46bd9a0889b', response.request_id)
79
+ end
80
+
81
+ def test_get_report_request_count
82
+ response = GetReportRequestCountResponse.format(xml_for('get_report_request_count',200))
83
+
84
+ assert_equal(1276, response.count)
85
+ assert_equal('7e155027-3741-4422-95a7-1de12703c13e', response.request_id)
86
+ end
87
+
88
+ def test_cancel_report_requests
89
+ response = CancelReportRequestsResponse.format(xml_for('cancel_report_requests',200))
90
+
91
+ assert_equal(10, response.count)
92
+ assert_equal(1, response.report_requests.size)
93
+ assert_equal('a720f9d6-83e9-4684-bc35-065b41ed5ca4', response.request_id)
94
+ end
95
+
96
+ def test_get_report_list_response
97
+ response = GetReportListResponse.format(xml_for('get_report_list',200))
98
+
99
+ assert_equal("fbf677c1-dcee-4110-bc88-2ba3702e331b", response.request_id)
100
+ assert(response.has_next?)
101
+ #assert_equal(response.next_token, "2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=")
102
+ assert_equal(response.reports.size, 1)
103
+
104
+ assert_equal(898899473, response.reports.first.id)
105
+ assert_equal('_GET_MERCHANT_LISTINGS_DATA_', response.reports.first.type)
106
+ assert_equal(2278662938, response.reports.first.report_request_id)
107
+ assert_equal(Time.parse('Tue Feb 10 04:22:33 -0500 2009'), response.reports.first.available_date)
108
+ assert_equal(response.reports.first.acknowledged?, false)
109
+ end
110
+
111
+ def test_get_report_count
112
+ response = GetReportCountResponse.format(xml_for('get_report_count',200))
113
+
114
+ assert_equal(166, response.count)
115
+ assert_equal('a497aadb-5ea1-49bf-aa14-dabe914465e3', response.request_id)
116
+ end
117
+
118
+ def test_manage_report_schedule
119
+ response = ManageReportScheduleResponse.format(xml_for('manage_report_schedule',200))
120
+
121
+ assert_equal(1, response.count)
122
+ assert_equal('7ee1bc50-5a13-4db1-afd7-1386e481984e', response.request_id)
123
+
124
+ assert(response.report_schedule)
125
+ assert_equal('_GET_ORDERS_DATA_', response.report_schedule.report_type)
126
+ assert_equal('_30_DAYS_', response.report_schedule.schedule)
127
+ assert_equal(Time.parse('2009-02-20T02:10:42+00:00'), response.report_schedule.scheduled_date)
128
+ end
129
+
130
+ def test_get_report_schedule_list_response
131
+ response = GetReportScheduleListResponse.format(xml_for('get_report_schedule_list',200))
132
+
133
+ assert_equal("c0464157-b74f-4e52-bd1a-4ebf4bc7e5aa", response.request_id)
134
+ assert(response.has_next?)
135
+ assert_equal("4XgYW55IPQhcm5hbCBwbGVhc3VyZS4=", response.next_token)
136
+
137
+ assert_equal(response.report_schedules.size, 1)
138
+
139
+ assert_equal('_GET_ORDERS_DATA_', response.report_schedules[0].report_type)
140
+ assert_equal('_30_DAYS_', response.report_schedules[0].schedule)
141
+ assert_equal(Time.parse('2009-02-20T02:10:42+00:00'), response.report_schedules[0].scheduled_date)
142
+ end
143
+
144
+ def test_get_report_schedule_list_by_next_token
145
+ response = GetReportScheduleListByNextTokenResponse.format(xml_for('get_report_schedule_list_by_next_token',200))
146
+
147
+ assert_equal("c0464157-b74f-4e52-bd1a-4ebf4bc7e5aa", response.request_id)
148
+ assert_equal('none', response.next_token)
149
+ assert_equal(false, response.has_next?) # same as false ???
150
+
151
+ assert_equal(1, response.report_schedules.size)
152
+ # assert_equal(13050620, response.report_schedules[0].id)
153
+ assert_equal('c0464157-b74f-4e52-bd1a-4ebf4bc7e5aa', response.request_id)
154
+ end
155
+
156
+ def test_get_report_schedule_count
157
+ response = GetReportScheduleCountResponse.format(xml_for('get_report_schedule_count',200))
158
+
159
+ assert_equal(18, response.count)
160
+ assert_equal('21e482a8-15c7-4da3-91a4-424995ed0756', response.request_id)
161
+ end
162
+
163
+ def test_update_report_acknowledgements
164
+ response = UpdateReportAcknowledgementsResponse.format(xml_for('update_report_acknowledgements',200))
165
+
166
+ assert_equal(1, response.count)
167
+ assert_equal('42a578a7-ed92-486b-ac67-5de7464fcdfa', response.request_id)
168
+ assert(response.reports)
169
+ end
170
+
171
+ end
172
+
@@ -0,0 +1,32 @@
1
+ require 'test_helper'
2
+
3
+ class SignatureTest < Minitest::Test
4
+ def setup
5
+ #@expected_base64 = "F8zvW31wDYENPZrwkVYaPOLHh2R+goZncb0SlwTwyes="
6
+ @expected_base64 = "JYhNqz8a5iDPZn+igV4ixr3MdU3A+1w6rQR0ocneNLU="
7
+ @expected_digest = Base64.decode64(@expected_base64) #TODO this is a cop out
8
+ #@expected_digest = "\027\314\357[}p\r\201\r=\232\360\221V\032<\342\307\207d~\202\206gq\275\022\227\004\360\311\353"
9
+ end
10
+
11
+ def test_sign_with_string_keys
12
+ signature = Amazon::MWS::Authentication::Signature.new(
13
+ {"devil" => "666"},
14
+ {:verb => :get, :secret_access_key => "beelzebub"}
15
+ )
16
+
17
+ # Not sure if this really helps, just locks it down
18
+ assert_equal(@expected_base64, signature)
19
+ assert_equal(@expected_digest, Base64.decode64(signature))
20
+ end
21
+
22
+ def test_sign_with_symbol_keys
23
+ signature = Amazon::MWS::Authentication::Signature.new(
24
+ {:devil => "666"},
25
+ {:verb => :get, :secret_access_key => "beelzebub"}
26
+ )
27
+
28
+ # Not sure if this really helps, just locks it down
29
+ assert_equal(@expected_base64, signature)
30
+ assert_equal(@expected_digest, Base64.decode64(signature))
31
+ end
32
+ end
@@ -0,0 +1,6 @@
1
+ test:
2
+ access_key: opensesame
3
+ secret_access_key: '9876'
4
+ merchant_id: '12345'
5
+ marketplace_id: '9876'
6
+
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ #require 'rubygems'
3
+
4
+ if RUBY_VERSION.match("1.9")
5
+ require 'simplecov'
6
+ SimpleCov.start do
7
+ add_filter 'test'
8
+ end
9
+ end
10
+
11
+ require 'minitest/autorun'
12
+ require 'pathname'
13
+ require 'yaml'
14
+ #require 'fakeweb'
15
+ require 'mocha/setup'
16
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'amazon', 'mws')
17
+
18
+ include Amazon::MWS
19
+
20
+ def xml_for(name, code)
21
+ file = File.open(Pathname.new(File.dirname(__FILE__)).expand_path.dirname.join("examples/xml/#{name}.xml"),'rb')
22
+ mock_response(code, {:content_type=>'text/xml', :body=>file.read})
23
+ end
24
+
25
+ def mock_response(code, options={})
26
+ body = options[:body]
27
+ content_type = options[:content_type]
28
+ response = Net::HTTPResponse.send(:response_class, code.to_s).new("1.0", code.to_s, "message")
29
+ response.instance_variable_set(:@body, body)
30
+ response.instance_variable_set(:@read, true)
31
+ response.content_type = content_type
32
+ return response
33
+ end
metadata ADDED
@@ -0,0 +1,335 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: amazon-mws-plus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - David Michael
8
+ - A. Edward Wible
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-12-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ruby-hmac
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 0.4.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 0.4.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: roxml
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 3.3.1
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 3.3.1
42
+ - !ruby/object:Gem::Dependency
43
+ name: xml-simple
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: 1.1.1
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.1.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: builder
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 3.0.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 3.0.0
70
+ description: A Ruby Wrapper for the Amazon MWS API
71
+ email:
72
+ - david.michael@sonymusic.com
73
+ - aewible@gmail.com
74
+ executables: []
75
+ extensions: []
76
+ extra_rdoc_files: []
77
+ files:
78
+ - ".DS_Store"
79
+ - ".gitignore"
80
+ - ".project"
81
+ - Gemfile
82
+ - README.markdown
83
+ - Rakefile
84
+ - amazon-mws-plus.gemspec
85
+ - amazon-mws.tmproj
86
+ - examples/.DS_Store
87
+ - examples/xml/.DS_Store
88
+ - examples/xml/cancel_feed_submissions.xml
89
+ - examples/xml/cancel_fulfillment_order.xml
90
+ - examples/xml/cancel_report_requests.xml
91
+ - examples/xml/create_fulfillment_order.xml
92
+ - examples/xml/error.xml
93
+ - examples/xml/get_feed_submission_count.xml
94
+ - examples/xml/get_feed_submission_list.xml
95
+ - examples/xml/get_feed_submission_list_by_next_token.xml
96
+ - examples/xml/get_feed_submission_result.xml
97
+ - examples/xml/get_fulfillment_order.xml
98
+ - examples/xml/get_fulfillment_preview.xml
99
+ - examples/xml/get_matching_product.xml
100
+ - examples/xml/get_matching_product_for_id.xml
101
+ - examples/xml/get_report.xml
102
+ - examples/xml/get_report_count.xml
103
+ - examples/xml/get_report_list.xml
104
+ - examples/xml/get_report_request_count.xml
105
+ - examples/xml/get_report_request_list.xml
106
+ - examples/xml/get_report_request_list_by_next_token.xml
107
+ - examples/xml/get_report_schedule_count.xml
108
+ - examples/xml/get_report_schedule_list.xml
109
+ - examples/xml/get_report_schedule_list_by_next_token.xml
110
+ - examples/xml/list_all_fulfillment_orders.xml
111
+ - examples/xml/list_all_fulfillment_orders_by_next_token.xml
112
+ - examples/xml/manage_report_schedule.xml
113
+ - examples/xml/orders_request.xml
114
+ - examples/xml/request_order_items.xml
115
+ - examples/xml/request_order_items_by_next_token.xml
116
+ - examples/xml/request_orders.xml
117
+ - examples/xml/request_orders_by_next_token.xml
118
+ - examples/xml/request_report.xml
119
+ - examples/xml/submit_feed.xml
120
+ - examples/xml/update_report_acknowledgements.xml
121
+ - examples/xsd/Inventory.xsd
122
+ - examples/xsd/Item.xsd
123
+ - examples/xsd/Listings.xsd
124
+ - examples/xsd/OrderAcknowledgement.xsd
125
+ - examples/xsd/OrderAdjustment.xsd
126
+ - examples/xsd/OrderFulfillment.xsd
127
+ - examples/xsd/Override.xsd
128
+ - examples/xsd/Price.xsd
129
+ - examples/xsd/ProcessingReport.xsd
130
+ - examples/xsd/Product.xsd
131
+ - examples/xsd/Product/AutoAccessory.xsd
132
+ - examples/xsd/Product/Beauty.xsd
133
+ - examples/xsd/Product/CE.xsd
134
+ - examples/xsd/Product/CameraPhoto.xsd
135
+ - examples/xsd/Product/FoodAndBeverages.xsd
136
+ - examples/xsd/Product/Gourmet.xsd
137
+ - examples/xsd/Product/Health.xsd
138
+ - examples/xsd/Product/Home.xsd
139
+ - examples/xsd/Product/Jewelry.xsd
140
+ - examples/xsd/Product/Miscellaneous.xsd
141
+ - examples/xsd/Product/MusicalInstruments.xsd
142
+ - examples/xsd/Product/Office.xsd
143
+ - examples/xsd/Product/PetSupplies.xsd
144
+ - examples/xsd/Product/ProductClothing.xsd
145
+ - examples/xsd/Product/SWVG.xsd
146
+ - examples/xsd/Product/Sports.xsd
147
+ - examples/xsd/Product/TiresAndWheels.xsd
148
+ - examples/xsd/Product/Tools.xsd
149
+ - examples/xsd/Product/ToysBaby.xsd
150
+ - examples/xsd/Product/Wireless.xsd
151
+ - examples/xsd/ProductImage.xsd
152
+ - examples/xsd/Relationship.xsd
153
+ - examples/xsd/SettlementReport.xsd
154
+ - examples/xsd/amzn-base.xsd
155
+ - examples/xsd/amzn-envelope.xsd
156
+ - examples/xsd/amzn-header.xsd
157
+ - lib/amazon-mws.rb
158
+ - lib/amazon/mws.rb
159
+ - lib/amazon/mws/authentication.rb
160
+ - lib/amazon/mws/authentication/query_string.rb
161
+ - lib/amazon/mws/authentication/signature.rb
162
+ - lib/amazon/mws/base.rb
163
+ - lib/amazon/mws/connection.rb
164
+ - lib/amazon/mws/connection/management.rb
165
+ - lib/amazon/mws/connection/request_builder.rb
166
+ - lib/amazon/mws/exceptions.rb
167
+ - lib/amazon/mws/lib/extensions.rb
168
+ - lib/amazon/mws/lib/memoizable.rb
169
+ - lib/amazon/mws/request/feed.rb
170
+ - lib/amazon/mws/request/feed_builder.rb
171
+ - lib/amazon/mws/request/fulfillment.rb
172
+ - lib/amazon/mws/request/orders.rb
173
+ - lib/amazon/mws/request/products.rb
174
+ - lib/amazon/mws/request/report.rb
175
+ - lib/amazon/mws/response.rb
176
+ - lib/amazon/mws/response/feed/cancel_feed_submissions_response.rb
177
+ - lib/amazon/mws/response/feed/get_feed_submission_count_response.rb
178
+ - lib/amazon/mws/response/feed/get_feed_submission_list_by_next_token_response.rb
179
+ - lib/amazon/mws/response/feed/get_feed_submission_list_response.rb
180
+ - lib/amazon/mws/response/feed/get_feed_submission_result_response.rb
181
+ - lib/amazon/mws/response/feed/models/feed_submission.rb
182
+ - lib/amazon/mws/response/feed/submit_feed_response.rb
183
+ - lib/amazon/mws/response/fulfillment_order/cancel_fulfillment_order_response.rb
184
+ - lib/amazon/mws/response/fulfillment_order/create_fulfillment_order_response.rb
185
+ - lib/amazon/mws/response/fulfillment_order/get_fulfillment_order_response.rb
186
+ - lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_by_next_token_response.rb
187
+ - lib/amazon/mws/response/fulfillment_order/list_all_fulfillment_orders_response.rb
188
+ - lib/amazon/mws/response/fulfillment_order/models/fulfillment_address.rb
189
+ - lib/amazon/mws/response/fulfillment_order/models/fulfillment_order.rb
190
+ - lib/amazon/mws/response/fulfillment_order/models/fulfillment_order_item.rb
191
+ - lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment.rb
192
+ - lib/amazon/mws/response/fulfillment_order/models/fulfillment_shipment_item.rb
193
+ - lib/amazon/mws/response/order/models/order.rb
194
+ - lib/amazon/mws/response/order/models/order_item.rb
195
+ - lib/amazon/mws/response/order/models/promotion_id.rb
196
+ - lib/amazon/mws/response/order/request_get_order_response.rb
197
+ - lib/amazon/mws/response/order/request_order_items_response.rb
198
+ - lib/amazon/mws/response/order/request_orders_response.rb
199
+ - lib/amazon/mws/response/product/get_matching_proudct.rb
200
+ - lib/amazon/mws/response/product/models/product.rb
201
+ - lib/amazon/mws/response/report/cancel_report_requests_response.rb
202
+ - lib/amazon/mws/response/report/get_report_count_response.rb
203
+ - lib/amazon/mws/response/report/get_report_list_response.rb
204
+ - lib/amazon/mws/response/report/get_report_request_count_response.rb
205
+ - lib/amazon/mws/response/report/get_report_request_list_by_next_token_response.rb
206
+ - lib/amazon/mws/response/report/get_report_request_list_response.rb
207
+ - lib/amazon/mws/response/report/get_report_schedule_count_response.rb
208
+ - lib/amazon/mws/response/report/get_report_schedule_list_by_next_token_response.rb
209
+ - lib/amazon/mws/response/report/get_report_schedule_list_response.rb
210
+ - lib/amazon/mws/response/report/manage_report_schedule_response.rb
211
+ - lib/amazon/mws/response/report/models/report_info.rb
212
+ - lib/amazon/mws/response/report/models/report_request.rb
213
+ - lib/amazon/mws/response/report/models/report_schedule.rb
214
+ - lib/amazon/mws/response/report/request_report_response.rb
215
+ - lib/amazon/mws/response/report/update_reports_acknowledgements_response.rb
216
+ - lib/amazon/mws/response/response.rb
217
+ - lib/amazon/mws/response/response_error.rb
218
+ - test/connection_test.rb
219
+ - test/feed_builder_test.rb
220
+ - test/feed_test.rb
221
+ - test/fulfillment_order.rb
222
+ - test/orders_test.rb
223
+ - test/products_test.rb
224
+ - test/query_string_test.rb
225
+ - test/report_test.rb
226
+ - test/response_test.rb
227
+ - test/signature_test.rb
228
+ - test/test_config.yml
229
+ - test/test_helper.rb
230
+ homepage: http://github.com/aew/amazon-mws
231
+ licenses: []
232
+ metadata: {}
233
+ post_install_message:
234
+ rdoc_options: []
235
+ require_paths:
236
+ - lib
237
+ required_ruby_version: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ required_rubygems_version: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ version: '0'
247
+ requirements: []
248
+ rubyforge_project:
249
+ rubygems_version: 2.2.2
250
+ signing_key:
251
+ specification_version: 4
252
+ summary: A Ruby Wrapper for the Amazon MWS API
253
+ test_files:
254
+ - examples/xml/.DS_Store
255
+ - examples/xml/cancel_feed_submissions.xml
256
+ - examples/xml/cancel_fulfillment_order.xml
257
+ - examples/xml/cancel_report_requests.xml
258
+ - examples/xml/create_fulfillment_order.xml
259
+ - examples/xml/error.xml
260
+ - examples/xml/get_feed_submission_count.xml
261
+ - examples/xml/get_feed_submission_list.xml
262
+ - examples/xml/get_feed_submission_list_by_next_token.xml
263
+ - examples/xml/get_feed_submission_result.xml
264
+ - examples/xml/get_fulfillment_order.xml
265
+ - examples/xml/get_fulfillment_preview.xml
266
+ - examples/xml/get_matching_product.xml
267
+ - examples/xml/get_matching_product_for_id.xml
268
+ - examples/xml/get_report.xml
269
+ - examples/xml/get_report_count.xml
270
+ - examples/xml/get_report_list.xml
271
+ - examples/xml/get_report_request_count.xml
272
+ - examples/xml/get_report_request_list.xml
273
+ - examples/xml/get_report_request_list_by_next_token.xml
274
+ - examples/xml/get_report_schedule_count.xml
275
+ - examples/xml/get_report_schedule_list.xml
276
+ - examples/xml/get_report_schedule_list_by_next_token.xml
277
+ - examples/xml/list_all_fulfillment_orders.xml
278
+ - examples/xml/list_all_fulfillment_orders_by_next_token.xml
279
+ - examples/xml/manage_report_schedule.xml
280
+ - examples/xml/orders_request.xml
281
+ - examples/xml/request_order_items.xml
282
+ - examples/xml/request_order_items_by_next_token.xml
283
+ - examples/xml/request_orders.xml
284
+ - examples/xml/request_orders_by_next_token.xml
285
+ - examples/xml/request_report.xml
286
+ - examples/xml/submit_feed.xml
287
+ - examples/xml/update_report_acknowledgements.xml
288
+ - examples/xsd/Inventory.xsd
289
+ - examples/xsd/Item.xsd
290
+ - examples/xsd/Listings.xsd
291
+ - examples/xsd/OrderAcknowledgement.xsd
292
+ - examples/xsd/OrderAdjustment.xsd
293
+ - examples/xsd/OrderFulfillment.xsd
294
+ - examples/xsd/Override.xsd
295
+ - examples/xsd/Price.xsd
296
+ - examples/xsd/ProcessingReport.xsd
297
+ - examples/xsd/Product.xsd
298
+ - examples/xsd/Product/AutoAccessory.xsd
299
+ - examples/xsd/Product/Beauty.xsd
300
+ - examples/xsd/Product/CE.xsd
301
+ - examples/xsd/Product/CameraPhoto.xsd
302
+ - examples/xsd/Product/FoodAndBeverages.xsd
303
+ - examples/xsd/Product/Gourmet.xsd
304
+ - examples/xsd/Product/Health.xsd
305
+ - examples/xsd/Product/Home.xsd
306
+ - examples/xsd/Product/Jewelry.xsd
307
+ - examples/xsd/Product/Miscellaneous.xsd
308
+ - examples/xsd/Product/MusicalInstruments.xsd
309
+ - examples/xsd/Product/Office.xsd
310
+ - examples/xsd/Product/PetSupplies.xsd
311
+ - examples/xsd/Product/ProductClothing.xsd
312
+ - examples/xsd/Product/SWVG.xsd
313
+ - examples/xsd/Product/Sports.xsd
314
+ - examples/xsd/Product/TiresAndWheels.xsd
315
+ - examples/xsd/Product/Tools.xsd
316
+ - examples/xsd/Product/ToysBaby.xsd
317
+ - examples/xsd/Product/Wireless.xsd
318
+ - examples/xsd/ProductImage.xsd
319
+ - examples/xsd/Relationship.xsd
320
+ - examples/xsd/SettlementReport.xsd
321
+ - examples/xsd/amzn-base.xsd
322
+ - examples/xsd/amzn-envelope.xsd
323
+ - examples/xsd/amzn-header.xsd
324
+ - test/connection_test.rb
325
+ - test/feed_builder_test.rb
326
+ - test/feed_test.rb
327
+ - test/fulfillment_order.rb
328
+ - test/orders_test.rb
329
+ - test/products_test.rb
330
+ - test/query_string_test.rb
331
+ - test/report_test.rb
332
+ - test/response_test.rb
333
+ - test/signature_test.rb
334
+ - test/test_config.yml
335
+ - test/test_helper.rb