jekyll-amazon 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -1
- data/lib/jekyll-amazon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d26cfe071a4a29ceda2c35f3325a9ff459381d22
|
4
|
+
data.tar.gz: c46e953d7f3bd946faaa56da74efb154d28d1ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db8af2c368a3d2883d85be286d16c38a81f3b2969e476bb0a34b310353d964a45b1227cc636a61921ab9da1942fba499510eec1a0265132d704455bbaa30678
|
7
|
+
data.tar.gz: 37815a9067a508d78526ce91f7b2402e1d20395ff71e5ab83c57b646b152b2edaf01b46aabb25ee2fc328d8dfd62c5b20904ac27350d70e35112556916317d72
|
data/README.md
CHANGED
@@ -18,12 +18,19 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
$ gem install jekyll-amazon
|
20
20
|
|
21
|
-
And set the environment
|
21
|
+
And set the environment variables required by the Product Advertising API:
|
22
22
|
|
23
23
|
$ export ECS_ASSOCIATE_TAG=...
|
24
24
|
$ export AWS_ACCESS_KEY_ID=...
|
25
25
|
$ export AWS_SECRET_KEY=...
|
26
26
|
|
27
|
+
(`ECS_ASSOCIATE_TAG` is the Tracking ID for your Affiliate account; `AWS_ACCESS_KEY_ID` and `AWS_SECRET_KEY` are your security credentials from your AWS account. An AWS account is required for the use of this API.)
|
28
|
+
|
29
|
+
Users outside of Japan will also want to set
|
30
|
+
|
31
|
+
$ export ECS_COUNTRY=...
|
32
|
+
|
33
|
+
with the two character country code of their Amazon Affiliate account (e.g. `'us'` for United States).
|
27
34
|
|
28
35
|
Finally, add the following to your site's `_config.yml`:
|
29
36
|
|
@@ -32,6 +39,12 @@ gems:
|
|
32
39
|
- jekyll-amazon
|
33
40
|
```
|
34
41
|
|
42
|
+
and if English labels are desired,
|
43
|
+
|
44
|
+
```
|
45
|
+
amazon_locale : en
|
46
|
+
```
|
47
|
+
|
35
48
|
## Usage
|
36
49
|
|
37
50
|
Use the tag as follows in your jekyll pages, posts and collections:
|
@@ -41,6 +54,9 @@ Use the tag as follows in your jekyll pages, posts and collections:
|
|
41
54
|
{% amazon 4083210443 detail %}
|
42
55
|
```
|
43
56
|
|
57
|
+
|
58
|
+
|
59
|
+
|
44
60
|
## Contributing
|
45
61
|
|
46
62
|
Bug reports and pull requests are welcome on GitHub at https://github.com/tokzk/jekyll-amazon.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-amazon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tokzk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazon-ecs
|