cloudcannon-jekyll 1.4.2 → 1.4.3

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: db495486f69fc156d24ba59209fb5f1627e6692e500d7175daf0f393634339b4
4
- data.tar.gz: 3baa3ab9dec30d4d2f834c14b6088780f22365a3bece79cf2a70428a225ed67e
3
+ metadata.gz: 92b0e675c47140f4aef7c11b38d2f3fb9e650dfe68639f0a0f7a66c0fd312ad1
4
+ data.tar.gz: 4bead9682c10702bfb3271e6dd103df94a35106f70136fb5b3c37a11b833c9f8
5
5
  SHA512:
6
- metadata.gz: 5716ed9e99d8e57681880932c10c2f18eb0cfab47b82bb269ba544e67b4819fee5fe4a20deb03371c160d920b38acdd4356afe79ad5fe76b67c89b2059fd4bb4
7
- data.tar.gz: cb4af8135d9426e12bf16532835ec31c01081f22ba5cfa9fecd80a7e8643136c5c2d0242cd99eb573f7c55079466ae9c032a93a1be32827cc7e6b0802af8f941
6
+ metadata.gz: 9639f12433c8ccd842eea34ae0569d0ec6a0dcf062ba37e2f9fc313cb15de81720db9a91ceea91bfabc39eed094dd333cebd3fb271af11ee7a105b11f2e9470a
7
+ data.tar.gz: c8f6b1b80ad75c5ea2f76d638cc4843fa020449d30c1d35a3b863f6d99f9cc9cb5d8842fc7b38a968a43998506e305f60d4701352fa838e112e62dbd97ed8417
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.4.3
2
+
3
+ * Fix off-by-one depth for nested documents from last change
4
+
1
5
  # 1.4.2
2
6
 
3
7
  * Added max depth parameter for jsonify filter and increase it for array structures in config output
@@ -180,7 +180,7 @@ module CloudCannonJekyll
180
180
  def self.to_json(input, depth, max_depth = 9, key_swaps = {})
181
181
  depth += 1
182
182
 
183
- if depth > max_depth || (depth > 2 && JsonifyFilter.document_type?(input))
183
+ if depth > max_depth || (depth > 3 && JsonifyFilter.document_type?(input))
184
184
  '"MAXIMUM_DEPTH"'
185
185
  elsif JsonifyFilter.simple_type?(input)
186
186
  input.to_json
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = "1.4.2"
4
+ VERSION = "1.4.3"
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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2020-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll