cloudcannon-jekyll 2.0.2 → 2.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ba3dd6e0f966b1e258e25c63e10ca6b38d6b1fa5eef20867e35f4e1d3679584
4
- data.tar.gz: 6cc8bc3ecc01cabcbce3e9f9691a9acf296a8e703651f1c9e6defd59c9467660
3
+ metadata.gz: 400439f9c6fb804aca466171d82c98d2b9925547ea3b4e2b0d08eafe92b3c8dd
4
+ data.tar.gz: 5867df83dfb8e2adecb88812e285db78582be51b52f7809a25931e8cd7bdc815
5
5
  SHA512:
6
- metadata.gz: 0df6f5ab7cef31e3481b85a0485bddebbd088a7211dc5a82bd7487964c5650963ed583feaf8674603c8831fef5f00b5e4376dc6d5377bf05da6c9c0653a0046e
7
- data.tar.gz: 80ad95aa7b61d49a41f908f834d616b493d027d5f9c2feaf38205db236895a19be9d320c8736f7a8d2ec01909e357d012615d2b09d6f565c5772607ed2c13638
6
+ metadata.gz: 7caed857729fb823104ffad2a2e6229dd9009a5522eb13a945d2bb3fee43cad093547740ba862d98749da7a3686f520f0e738786b220e2243ebbe61e551fb725
7
+ data.tar.gz: 5036b4de220e4624312952d2c67b27ed77784ef74c4f3e36baee1367f5dc8251854a3529c4c9e80655406c9fe65b8e682782d137e52f649e2f8d0dbcc474a2e8
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.1.0
2
+
3
+ * Add `_instance_values` to global scope
4
+
1
5
  # 2.0.2
2
6
 
3
7
  * Add `_enabled_editors` to global scope
@@ -39,6 +39,9 @@
39
39
  {% if config._enabled_editors %}
40
40
  "_enabled_editors": {{ config._enabled_editors | cc_jsonify }},
41
41
  {% endif %}
42
+ {% if config._instance_values %}
43
+ "_instance_values": {{ config._instance_values | cc_jsonify }},
44
+ {% endif %}
42
45
  {% if config._options %}
43
46
  "_options": {{ config._options | cc_jsonify }},
44
47
  {% endif %}
@@ -38,6 +38,9 @@
38
38
  {% if config._enabled_editors %}
39
39
  "_enabled_editors": {{ config._enabled_editors | cc_jsonify }},
40
40
  {% endif %}
41
+ {% if config._instance_values %}
42
+ "_instance_values": {{ config._instance_values | cc_jsonify }},
43
+ {% endif %}
41
44
  {% if config._options %}
42
45
  "_options": {{ config._options | cc_jsonify }},
43
46
  {% endif %}
@@ -51,6 +51,9 @@
51
51
  {% if config._enabled_editors -%}
52
52
  "_enabled_editors": {{ config._enabled_editors | cc_jsonify }},
53
53
  {%- endif %}
54
+ {% if config._instance_values -%}
55
+ "_instance_values": {{ config._instance_values | cc_jsonify }},
56
+ {%- endif %}
54
57
  {% if config._options -%}
55
58
  "_options": {{ config._options | cc_jsonify }},
56
59
  {%- endif %}
@@ -150,7 +150,7 @@ module CloudCannonJekyll
150
150
  baseurl show_dir_listing permalink paginate_path timezone quiet verbose defaults
151
151
  liquid kramdown title url description uploads_dir _comments _options _editor
152
152
  _explore _source_editor _array_structures maruku redcloth rdiscount redcarpet
153
- gems plugins cloudcannon _collection_groups _enabled_editors)
153
+ gems plugins cloudcannon _collection_groups _enabled_editors _instance_values)
154
154
 
155
155
  out = input.map do |key, value|
156
156
  next unless value.is_a?(Array) || value.is_a?(Hash)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = "2.0.2"
4
+ VERSION = "2.1.0"
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: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-28 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll