vacuum 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/vacuum/request.rb +2 -1
- data/lib/vacuum/version.rb +1 -1
- data/test/cassettes/vacuum.yml +180 -0
- data/test/test_integration.rb +1 -1
- data/test/test_vacuum.rb +4 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df850a458336e82984c3b2eacb1cfabd70470608
|
4
|
+
data.tar.gz: fc09442244188347f4e2ca9a9eaf92d82ce9a1ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8908f5f1c4dba41b40e0b255ff22742e28a5c0226525b48c99340fb5e40b6db19c1900d1560e6daede3c7e449ac8b1680036056a14f0bcb04d1c02f18d64a7c2
|
7
|
+
data.tar.gz: 13624259664f0c2e5d3b6ba8d4964a2a06d77862a953b20c45110846df0e75ab5bff46a1dab86829cf19ac0e85b97ef8b009813fdf438ebfcf59b1c2d3b27997
|
data/README.md
CHANGED
@@ -7,6 +7,10 @@ Vacuum is a fast, light-weight Ruby wrapper to the [Amazon Product Advertising A
|
|
7
7
|
|
8
8
|
## Usage
|
9
9
|
|
10
|
+
### Prerequisite
|
11
|
+
|
12
|
+
Your Access Id must be registered for the Amazon Product Advertising API. Use the AccessKey Id obtained after registering at [https://affiliate-program.amazon.com/gp/flex/advertising/api/sign-in.html](https://affiliate-program.amazon.com/gp/flex/advertising/api/sign-in.html)
|
13
|
+
|
10
14
|
### Setup
|
11
15
|
|
12
16
|
Create a request:
|
data/lib/vacuum/request.rb
CHANGED
@@ -21,7 +21,8 @@ module Vacuum
|
|
21
21
|
'IN' => 'webservices.amazon.in',
|
22
22
|
'IT' => 'webservices.amazon.it',
|
23
23
|
'JP' => 'webservices.amazon.co.jp',
|
24
|
-
'US' => 'webservices.amazon.com'
|
24
|
+
'US' => 'webservices.amazon.com',
|
25
|
+
'MX' => 'webservices.amazon.com.mx'
|
25
26
|
}.freeze
|
26
27
|
|
27
28
|
OPERATIONS = %w(
|
data/lib/vacuum/version.rb
CHANGED
data/test/cassettes/vacuum.yml
CHANGED
@@ -2258,4 +2258,184 @@ http_interactions:
|
|
2258
2258
|
<ItemSearchErrorResponse xmlns="http://ecs.amazonaws.com/doc/2011-08-01/"><Error><Code>InvalidClientTokenId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message></Error><RequestId>abe6635a-e9d5-47cf-bc4c-9eee708225d3</RequestId></ItemSearchErrorResponse>
|
2259
2259
|
http_version:
|
2260
2260
|
recorded_at: Sat, 14 Mar 2015 22:01:46 GMT
|
2261
|
+
- request:
|
2262
|
+
method: get
|
2263
|
+
uri: http://webservices.amazon.com.mx/onca/xml?AWSAccessKeyId=AKIAIHNK3TBF4L5EDREQ&AssociateTag=foo&Keywords=google&Operation=ItemSearch&SearchIndex=All&Service=AWSECommerceService&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-10-20T17%3A27%3A37Z&Version=2013-08-01&Signature=OUcjDhF62QjqUHetCHOKG94wmfD9btPSHUpKO49X0Vw%3D
|
2264
|
+
body:
|
2265
|
+
encoding: US-ASCII
|
2266
|
+
string: ''
|
2267
|
+
headers:
|
2268
|
+
User-Agent:
|
2269
|
+
- Jeff/1.5.1 (Language=Ruby; Herman-MBP.lan)
|
2270
|
+
response:
|
2271
|
+
status:
|
2272
|
+
code: 200
|
2273
|
+
message:
|
2274
|
+
headers:
|
2275
|
+
Date:
|
2276
|
+
- Tue, 20 Oct 2015 17:27:37 GMT
|
2277
|
+
Server:
|
2278
|
+
- Apache-Coyote/1.1
|
2279
|
+
Content-Type:
|
2280
|
+
- text/xml;charset=UTF-8
|
2281
|
+
Vary:
|
2282
|
+
- Accept-Encoding,User-Agent
|
2283
|
+
body:
|
2284
|
+
encoding: ASCII-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|
2434
|
+
ciB3b3JrOiBSZXZlbGFjaW9uZXMgZGUgZ29vZ2xlIHF1ZSBjYW1iaWFyYW4g
|
2435
|
+
c3UgZm9ybWEgZGUgdml2aXIgeSBsaWRlcmVhciAvIFJldmVsYXRpb25zIG9m
|
2436
|
+
IEdvb2dsZSBXaGljaCBXaWxsIENoYW5nZSBZb3VyIFdheSBvZiBMaXZpbmcg
|
2437
|
+
YW5kIExlYWQ8L1RpdGxlPjwvSXRlbUF0dHJpYnV0ZXM+PC9JdGVtPjwvSXRl
|
2438
|
+
bXM+PC9JdGVtU2VhcmNoUmVzcG9uc2U+
|
2439
|
+
http_version:
|
2440
|
+
recorded_at: Tue, 20 Oct 2015 17:27:38 GMT
|
2261
2441
|
recorded_with: VCR 2.9.3
|
data/test/test_integration.rb
CHANGED
@@ -28,7 +28,7 @@ class TestIntegration < Minitest::Test
|
|
28
28
|
# rubocop:disable AbcSize
|
29
29
|
def test_encoding_issues
|
30
30
|
params = { 'SearchIndex' => 'All', 'Keywords' => 'google' }
|
31
|
-
titles = %w(BR CA CN DE ES FR GB IN IT JP US).flat_map do |locale|
|
31
|
+
titles = %w(BR CA CN DE ES FR GB IN IT JP US MX).flat_map do |locale|
|
32
32
|
req = Vacuum.new(locale)
|
33
33
|
req.associate_tag = 'foo'
|
34
34
|
res = req.item_search(query: params)
|
data/test/test_vacuum.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vacuum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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: 2015-
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jeff
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.4.5
|
133
|
+
rubygems_version: 2.4.5.1
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Amazon Product Advertising in Ruby
|
@@ -138,3 +138,4 @@ test_files:
|
|
138
138
|
- test/cassettes/vacuum.yml
|
139
139
|
- test/test_integration.rb
|
140
140
|
- test/test_vacuum.rb
|
141
|
+
has_rdoc:
|