vacuum 3.4.1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +3 -2
- data/lib/vacuum/locale.rb +5 -1
- data/lib/vacuum/response.rb +1 -1
- data/lib/vacuum/version.rb +1 -1
- metadata +14 -125
- data/test/cassettes/vacuum.yml +0 -2027
- data/test/helper.rb +0 -10
- data/test/integration/test_requests.rb +0 -105
- data/test/integration_helper.rb +0 -51
- data/test/locales.rb +0 -23
- data/test/locales.yml.example +0 -28
- data/test/unit/test_locale.rb +0 -43
- data/test/unit/test_operation.rb +0 -31
- data/test/unit/test_request.rb +0 -61
- data/test/unit/test_response.rb +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32de5f3eacc54e8af929aa9ea3bf20f729d95bb63ccec8b4ace5afc8964e67b3
|
4
|
+
data.tar.gz: b2851592e815e7d393619f6f6504acc3ef1668549ce966af5480ca293017c9c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a32eb1a6db5ee923a87e1ad20664eaa17621f5432b0041f4b831d5d67070e8deb7dd58928fad3aefa020fc18e553e95fcca01d5132d23d913dfcd3302a2f0cb
|
7
|
+
data.tar.gz: 91fd3af04a013591a90930db4d3c9e8de47b890899f8aa0973c04bd374b308309a15c20ad1342b3bb0e51375b8b44c4976bdb5a9cee4b3c53db02a91ddc50444
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@ Cart Form functionality is not covered by this gem but is a primary focus on [ca
|
|
10
10
|
|
11
11
|
You need to [register first](https://webservices.amazon.com/paapi5/documentation/register-for-pa-api.html) to use the API.
|
12
12
|
|
13
|
-
![vacuum](
|
13
|
+
![vacuum](https://github.com/hakanensari/vacuum/blob/main/images/vacuum.jpg?raw=true)
|
14
14
|
|
15
15
|
## Usage
|
16
16
|
|
@@ -174,6 +174,7 @@ In either case, add actual API credentials to a [`locales.yml`](https://github.c
|
|
174
174
|
## Getting Help
|
175
175
|
|
176
176
|
* Ask specific questions about the API on the [Amazon forum](https://forums.aws.amazon.com/forum.jspa?forumID=9).
|
177
|
-
* Report bugs
|
177
|
+
* Report bugs in [GitHub issues](https://github.com/hakanensari/vacuum/issues).
|
178
|
+
* Discuss potential features in [GitHub Discussions](https://github.com/hakanensari/vacuum/discussions).
|
178
179
|
|
179
180
|
|
data/lib/vacuum/locale.rb
CHANGED
@@ -25,7 +25,11 @@ module Vacuum
|
|
25
25
|
tr: ['webservices.amazon.com.tr', 'eu-west-1'],
|
26
26
|
ae: ['webservices.amazon.ae', 'eu-west-1'],
|
27
27
|
gb: ['webservices.amazon.co.uk', 'eu-west-1'],
|
28
|
-
us: ['webservices.amazon.com', 'us-east-1']
|
28
|
+
us: ['webservices.amazon.com', 'us-east-1'],
|
29
|
+
eg: ['webservices.amazon.eg', 'eu-west-1'],
|
30
|
+
pl: ['webservices.amazon.pl', 'eu-west-1'],
|
31
|
+
sa: ['webservices.amazon.sa', 'eu-west-1'],
|
32
|
+
se: ['webservices.amazon.se', 'eu-west-1']
|
29
33
|
}.freeze
|
30
34
|
private_constant :HOSTS_AND_REGIONS
|
31
35
|
|
data/lib/vacuum/response.rb
CHANGED
data/lib/vacuum/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vacuum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hakan Ensari
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sigv4
|
@@ -28,115 +28,23 @@ dependencies:
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: http
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '4.0'
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '4.0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: minitest
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: rake
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rubocop
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: simplecov
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - '='
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.17.1
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - '='
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 0.17.1
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: vcr
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
31
|
requirements:
|
109
32
|
- - ">="
|
110
33
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
-
|
113
|
-
name: webmock
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
34
|
+
version: '4.0'
|
35
|
+
- - "<"
|
117
36
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :
|
37
|
+
version: '6.0'
|
38
|
+
type: :runtime
|
120
39
|
prerelease: false
|
121
40
|
version_requirements: !ruby/object:Gem::Requirement
|
122
41
|
requirements:
|
123
42
|
- - ">="
|
124
43
|
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
-
|
127
|
-
name: yard
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
44
|
+
version: '4.0'
|
45
|
+
- - "<"
|
138
46
|
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
47
|
+
version: '6.0'
|
140
48
|
description: A wrapper to the Amazon Product Advertising API
|
141
49
|
email:
|
142
50
|
- me@hakanensari.com
|
@@ -154,20 +62,11 @@ files:
|
|
154
62
|
- lib/vacuum/request.rb
|
155
63
|
- lib/vacuum/response.rb
|
156
64
|
- lib/vacuum/version.rb
|
157
|
-
- test/cassettes/vacuum.yml
|
158
|
-
- test/helper.rb
|
159
|
-
- test/integration/test_requests.rb
|
160
|
-
- test/integration_helper.rb
|
161
|
-
- test/locales.rb
|
162
|
-
- test/locales.yml.example
|
163
|
-
- test/unit/test_locale.rb
|
164
|
-
- test/unit/test_operation.rb
|
165
|
-
- test/unit/test_request.rb
|
166
|
-
- test/unit/test_response.rb
|
167
65
|
homepage: https://github.com/hakanensari/vacuum
|
168
66
|
licenses:
|
169
67
|
- MIT
|
170
|
-
metadata:
|
68
|
+
metadata:
|
69
|
+
rubygems_mfa_required: 'true'
|
171
70
|
post_install_message:
|
172
71
|
rdoc_options: []
|
173
72
|
require_paths:
|
@@ -176,25 +75,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
75
|
requirements:
|
177
76
|
- - ">="
|
178
77
|
- !ruby/object:Gem::Version
|
179
|
-
version: '2.
|
78
|
+
version: '2.7'
|
180
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
80
|
requirements:
|
182
81
|
- - ">="
|
183
82
|
- !ruby/object:Gem::Version
|
184
83
|
version: '0'
|
185
84
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
85
|
+
rubygems_version: 3.4.3
|
187
86
|
signing_key:
|
188
87
|
specification_version: 4
|
189
88
|
summary: Amazon Product Advertising in Ruby
|
190
|
-
test_files:
|
191
|
-
- test/unit/test_operation.rb
|
192
|
-
- test/unit/test_request.rb
|
193
|
-
- test/unit/test_locale.rb
|
194
|
-
- test/unit/test_response.rb
|
195
|
-
- test/helper.rb
|
196
|
-
- test/locales.yml.example
|
197
|
-
- test/cassettes/vacuum.yml
|
198
|
-
- test/locales.rb
|
199
|
-
- test/integration_helper.rb
|
200
|
-
- test/integration/test_requests.rb
|
89
|
+
test_files: []
|