cloudcannon-jekyll 2.0.0 → 2.0.1
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/HISTORY.md +4 -0
- data/lib/cloudcannon-jekyll/jsonify-filter.rb +2 -2
- data/lib/cloudcannon-jekyll/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53ae411ed9f49f16499909a76dac7d5ed5b2081e5bfe68f689bab9d50579f5f3
|
|
4
|
+
data.tar.gz: 8a7706bf17a6f5ccb3b2c7d25d2b13ba32b4e957e2f190cf2cdc889f641cb16e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f86f4d41b7ad221de5008fe53d1ff81e0f3d74b2e096d41169db2b311ecbc12d62fe176d285171f2a0a54e4ac33eb3b8a6011296e52c2792b89e11f0fa0d7c56
|
|
7
|
+
data.tar.gz: 9b0ff63a9a2753e8195b99c05607c08225f33636898ae31eb082c77ad930c7c6308c4393c019e0a74484eb9acb53c3d12ad50b923da47773e7a6342dc6a32441
|
data/HISTORY.md
CHANGED
|
@@ -60,7 +60,7 @@ module CloudCannonJekyll
|
|
|
60
60
|
prevent += %w(content output next previous excerpt)
|
|
61
61
|
|
|
62
62
|
out = data.map do |key, value|
|
|
63
|
-
next if prevent.include? key
|
|
63
|
+
next if prevent.include?(key) || key.nil?
|
|
64
64
|
|
|
65
65
|
prevent.push key
|
|
66
66
|
next_max_depth = key == "_array_structures" ? 20 : max_depth
|
|
@@ -167,7 +167,7 @@ module CloudCannonJekyll
|
|
|
167
167
|
|
|
168
168
|
out = input.map do |key, value|
|
|
169
169
|
next unless value.is_a?(Array) || value.is_a?(Hash)
|
|
170
|
-
next if prevent.include? key
|
|
170
|
+
next if prevent.include?(key) || key.nil?
|
|
171
171
|
|
|
172
172
|
prevent.push key
|
|
173
173
|
"#{key.to_s.to_json}: #{JsonifyFilter.to_json(value, depth)}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudcannon-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CloudCannon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|