jekyll-everypolitician 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/jekyll/everypolitician.rb +1 -2
- data/lib/jekyll/everypolitician/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df7c92e1d38d1a4ba4e7675ec40f6b225966b5e1
|
4
|
+
data.tar.gz: d5ecc1fb4943a25e7d2694ec8145e6a60e0fa420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61a1c1bac048520a7a1aa29e57b00b19df6d5ad273663bdf72f2f32e1d49c0bffbc1b66e93948e82baea53c8f58741ba4cd168b2d041df068972fbf63388cfb
|
7
|
+
data.tar.gz: 1cd95835ec1f3c1f68ed429036e158b9af00e2594e02d2d0f1d7ff31e448e37defbc8d76adb545b057c8e607afa633f8befae368b80bba9bf131e297bb4b959c
|
data/CHANGELOG.md
CHANGED
@@ -5,3 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
## 0.1.0 - 2015-12-02
|
6
6
|
|
7
7
|
- Initial release
|
8
|
+
|
9
|
+
## [0.2.0] - 2015-12-02
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- You can now set `everypolitician_url` in `_config.yml` to an everypolitician popolo url
|
14
|
+
|
15
|
+
[0.2.0]: https://github.com/everypolitician/jekyll-everypolitician/compare/v0.1.0...v0.2.0
|
@@ -11,8 +11,7 @@ module Jekyll
|
|
11
11
|
module Everypolitician
|
12
12
|
class Generator < Jekyll::Generator
|
13
13
|
def generate(site)
|
14
|
-
|
15
|
-
popolo = JSON.parse(open(popolo_url).read)
|
14
|
+
popolo = JSON.parse(open(site.config['everypolitician_url']).read)
|
16
15
|
memberships = popolo['memberships']
|
17
16
|
popolo.keys.each do |collection_name|
|
18
17
|
next unless popolo[collection_name].is_a?(Array)
|