jekyll-itafroma-post_groups 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/lib/jekyll/itafroma/post_groups.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb752e04597f6e94bee0494b2fb2a5e4ee60b50
|
4
|
+
data.tar.gz: 7ad56c44c9681070bd81926f4518ab3ea9247754
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5513a5785db5efb88993fd051d4cad4d4924230ee9ffcf67e1e816ebb74fccda243cacd68f4875ec0a418c203a6a7a440a872b981320c8c77f510f10a178f14e
|
7
|
+
data.tar.gz: 0eeae1976f00f8e7f90eeca23baeafef95e2b51751429b13623c3d8eec7dad4d6143251bf77158af47c66d423c69075eec7b658984b8bc1dc3481d64f58f9eb5
|
@@ -10,10 +10,10 @@ module Jekyll
|
|
10
10
|
class PostGroupsGenerator < Jekyll::Generator
|
11
11
|
def generate(site)
|
12
12
|
site.config['post_groups'].each do |group|
|
13
|
-
|
14
|
-
|
13
|
+
post_key = group['key']
|
14
|
+
collection = group['group']
|
15
15
|
exclude = group['exclude'] || []
|
16
|
-
site.config[
|
16
|
+
site.config[collection] = post_key_hash(site, post_key, exclude)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-itafroma-post_groups
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Trapp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Jekyll plugin to group posts by arbitrary front-matter keys.
|
14
14
|
email: mark@marktrapp.com
|
@@ -27,17 +27,17 @@ require_paths:
|
|
27
27
|
- lib
|
28
28
|
required_ruby_version: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.2.2
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: Jekyll plugin to group posts by arbitrary front-matter keys.
|