cloudcannon-jekyll 1.5.0 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33d4053706ea20c8d2e3985de49e437dcee1c275ecd4ccdf78dc7c7d1a94cf83
4
- data.tar.gz: 4fe382c19ba59e3242f6cfa9b5b7e46de152c2091036602a622618fce3f2e8ba
3
+ metadata.gz: 0407bacd5338d40b0e7b409eda06a76d37a9919783257247f1d3f3690e699efa
4
+ data.tar.gz: 06cff77745e8ac590eaad34a544323dd8ca268655b6a62006ffd9572c1e1b402
5
5
  SHA512:
6
- metadata.gz: f3d509ec5cfdedc0dce34b639152efd81a81c2d798f403dbf656ab17cc16af127a45609d4cf482b830e02fbdbe4b77c7c6bc7a8a8a3a584b501273b3f40d4fdb
7
- data.tar.gz: f1c56c046ff5dcf46048184cf7de498aff85706804afbf168613cfac4d0e6a448ebecc29e6575114ee58098c7df7e3a83ba19bb07f9d68902aa0cbd60db120e0
6
+ metadata.gz: 9261bb287f986877ac87f34ad50a4ed4102b84571a0595fab098021d17a06f7f8132e7e27ce98fa08597e392330db9b206f77f7f96c6e0caad573282776994f0
7
+ data.tar.gz: d0d882360b677dd594316b92cf0f4ec3798d35451248fc5ed5d13df002d3015f473463994bf85f9d977b8850a0b66995253c630ff5296aa98b1c045ff901ad00
data/HISTORY.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 1.5.2
2
+
3
+ * Fix for empty collection configurations
4
+
5
+ # 1.5.1
6
+
7
+ * Add empty paths.pages
8
+
1
9
  # 1.5.0
2
10
 
3
11
  * Added drafts to collections in details
@@ -25,6 +25,7 @@
25
25
  "uploads": {{ config.uploads_dir | cc_jsonify }},
26
26
  "plugins": {{ config.plugins_dir | cc_jsonify }},
27
27
  "data": {{ config.data_dir | cc_jsonify }},
28
+ "pages": "",
28
29
  "collections": {{ config.collections_dir | cc_jsonify }},
29
30
  "includes": {{ config.includes_dir | cc_jsonify }},
30
31
  "layouts": {{ config.layouts_dir | cc_jsonify }}
@@ -25,6 +25,7 @@
25
25
  "uploads": {{ config.uploads_dir | cc_jsonify }},
26
26
  "plugins": {{ config.plugins_dir | cc_jsonify }},
27
27
  "data": {{ config.data_dir | cc_jsonify }},
28
+ "pages": "",
28
29
  "collections": {{ config.collections_dir | cc_jsonify }},
29
30
  "includes": {{ config.includes_dir | cc_jsonify }},
30
31
  "layouts": {{ config.layouts_dir | cc_jsonify }}
@@ -41,6 +41,7 @@
41
41
  "uploads": {{ config.uploads_dir | cc_jsonify }},
42
42
  "plugins": {{ config.plugins_dir | cc_jsonify }},
43
43
  "data": {{ config.data_dir | cc_jsonify }},
44
+ "pages": "",
44
45
  "collections": {{ config.collections_dir | cc_jsonify }},
45
46
  "includes": {{ config.includes_dir | cc_jsonify }},
46
47
  "layouts": {{ config.layouts_dir | cc_jsonify }}
@@ -15,6 +15,11 @@ module CloudCannonJekyll
15
15
 
16
16
  collections_config = @site.config["collections"].dup || {}
17
17
 
18
+ # Workaround for empty collection configurations
19
+ collections_config.each_key do |key|
20
+ collections_config[key] ||= { "output" => false }
21
+ end
22
+
18
23
  payload = @site.site_payload.merge({
19
24
  "gem_version" => CloudCannonJekyll::VERSION,
20
25
  })
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = "1.5.0"
4
+ VERSION = "1.5.2"
5
5
  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: 1.5.0
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll