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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6231b5acafab23def30852d2afd8c66f8f38c80f
4
- data.tar.gz: 00a275662d32a15da94aeebe90b13d36dd82b47e
3
+ metadata.gz: d26cfe071a4a29ceda2c35f3325a9ff459381d22
4
+ data.tar.gz: c46e953d7f3bd946faaa56da74efb154d28d1ee3
5
5
  SHA512:
6
- metadata.gz: ef5de7c7ff99bf8f7ec827a038ad79e3bbc7d27cbb4feec34e0972d04ef613d195673252a766a6ad7ad301fdbc935cc8f32688f5d68dcb3dc7e83c2ab0e2b80b
7
- data.tar.gz: 0a39eea82d48d29434ca31a6f76a6a1d50860ad8466da8a1c8f1a2a338af944f222a47a82d84d54315821c5649eb34bc31040714237744cbc633ba60b9024e4f
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 varables of the amazon ecs:
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.
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Amazon
3
- VERSION = '0.2.1'.freeze
3
+ VERSION = '0.2.2'.freeze
4
4
  end
5
5
  end
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.1
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: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2017-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazon-ecs