jekyll-react 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/jekyll-react-0.0.4.gem +0 -0
- data/jekyll-react.gemspec +1 -1
- data/lib/jekyll_react/render.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d5bffe812a5b1a686023db9deb0bafc6d98be9f
|
4
|
+
data.tar.gz: b28a447e65d2da1006df103c3f274c9b999f48fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca27ecd19f1c344d73bb0727e88b35fb116abb8dcd719f15f25b140e98df540ecc06040a8f24761b136f337afe2617d46cab69996d887fdb989b01df89d5efc
|
7
|
+
data.tar.gz: 69e0e832107455d52ff9b8a1ec5bd8b86c21feb95d08b8f7c07a7f80310cab5b4a9cc1324683a452a3d5662ce61952a30a734e0f1ad78d525575a7a5bc7c50c0
|
Binary file
|
data/jekyll-react.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name ="jekyll-react"
|
4
|
-
spec.version ="0.0.
|
4
|
+
spec.version ="0.0.5"
|
5
5
|
spec.authors ="Andrew Plaza (InsidiousMind)"
|
6
6
|
spec.email =["aplaza@liquidthink.net"]
|
7
7
|
spec.summary =%q{A Jekyll Plugin that generates a JSON file of configuration variables and Pages}
|
data/lib/jekyll_react/render.rb
CHANGED
@@ -63,11 +63,11 @@ module JekyllReact
|
|
63
63
|
payload["paginator"] = document.pager.to_liquid
|
64
64
|
end
|
65
65
|
|
66
|
-
if document.is_a?(Jekyll::Document) && document.collection.label == "posts"
|
67
|
-
|
68
|
-
else
|
69
|
-
|
70
|
-
end
|
66
|
+
# if document.is_a?(Jekyll::Document) && document.collection.label == "posts"
|
67
|
+
# payload["site"]["related_posts"] = document.related_posts
|
68
|
+
# else
|
69
|
+
# payload["site"]["related_posts"] = nil
|
70
|
+
# end
|
71
71
|
|
72
72
|
# render and transform content (this becomes the final content of the object)
|
73
73
|
payload["highlighter_prefix"] = converters.first.highlighter_prefix
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-react
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Plaza (InsidiousMind)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -40,6 +40,7 @@ files:
|
|
40
40
|
- ".gitignore"
|
41
41
|
- LICENSE
|
42
42
|
- README.md
|
43
|
+
- jekyll-react-0.0.4.gem
|
43
44
|
- jekyll-react.gemspec
|
44
45
|
- lib/jekyll-react.rb
|
45
46
|
- lib/jekyll_react/json-generator.rb
|
@@ -65,10 +66,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
66
|
version: '0'
|
66
67
|
requirements: []
|
67
68
|
rubyforge_project:
|
68
|
-
rubygems_version: 2.
|
69
|
+
rubygems_version: 2.6.12
|
69
70
|
signing_key:
|
70
71
|
specification_version: 4
|
71
72
|
summary: A Jekyll Plugin that generates a JSON file of configuration variables and
|
72
73
|
Pages
|
73
74
|
test_files: []
|
74
|
-
has_rdoc:
|