cloudcannon-jekyll 4.0.4 → 4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/cloudcannon-jekyll/generators/collections.rb +9 -1
- 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: 8b1ebbc5ea9251c3a955ea8288e35eb521880b21f61c99831fde8389de98a762
|
4
|
+
data.tar.gz: aab449193d9b11643707935fc2382a1d42fa4fbbdd8513d228529a0502eba027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fb932d4a82f8918eeff082deb6c5ec6670e6e57fbd094694e68616ac6cf9731d5bc77b7008032e56a451246a958934653b9a71148a3c99cc8dd49ee7f58de0
|
7
|
+
data.tar.gz: bb57046070c99208660f1f070d2c34a10cca9f613cca92c79aef99c159f47fcf6b6d65dc5eff87cf93c0ef04ff2875450ff4775dcb55cfa77f1b41217679595e
|
data/HISTORY.md
CHANGED
@@ -149,7 +149,15 @@ module CloudCannonJekyll
|
|
149
149
|
end
|
150
150
|
|
151
151
|
collections[key] ||= []
|
152
|
-
|
152
|
+
|
153
|
+
begin
|
154
|
+
jsonified = document_to_json(doc, key)
|
155
|
+
JSON.generate(jsonified) # this is here to catch JSON errors per file
|
156
|
+
collections[key].push(jsonified)
|
157
|
+
rescue
|
158
|
+
Logger.warn "⚠️ Failed to parse #{doc.relative_path.bold}"
|
159
|
+
end
|
160
|
+
|
153
161
|
|
154
162
|
assigned_pages[doc.relative_path] = true if doc.instance_of?(Jekyll::Page)
|
155
163
|
end
|
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: 4.0.
|
4
|
+
version: 4.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CloudCannon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|