cloudcannon-jekyll 4.0.3 → 4.0.4

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: c10ae31782108d62b207265b1e7b7dc1f28555a2a93ea43b10057624e2495c83
4
- data.tar.gz: '06866a7ee56d23c0ce3cb05b29076bbe8d127824caf9c8d61da6b4c96d82a9b5'
3
+ metadata.gz: 2f8cf0b736a3578323fa400e6e891886eb0bad2aa3710136f6bf7baa7ec3f2ab
4
+ data.tar.gz: 8a65016f4eba1af443c3e4b9fbaaa168e106264b005512bb3b3329a42d996367
5
5
  SHA512:
6
- metadata.gz: fa76996ca4f7240bf7ba04e33732881e62390e96177023795edc741433a675afbe7345086444fc4cc794a3f0395ccea3520a3f8d9aa90b1ff5077370f65f3171
7
- data.tar.gz: d297135160ace25ecf34dcb4f2656688ede3bcf3f88b8ac76ded42db446299851facd407ff16df0348bf9cadc98048162fa5a4a08b0b4e8066c7a9e672e57cbf
6
+ metadata.gz: 32cf8db70549016d4c0bee8805ea61ca23cef66576fac26111d8111658cc4e58605d3b6b7683f143e36f62d19611bdfcbd0184ebd0fe8cf37e4db20eb4b33674
7
+ data.tar.gz: 81617011ea53c32ec1185f0f5db3d8270c35ce1b749a587af77b52eb17aea6ac528aa13915baed6448f3eb2eb06663e0d96492e14556e56c7acae0620e94e60b
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.0.4
2
+
3
+ * Fix PageWithoutAFile check for Jekyll ~v3.6
4
+
1
5
  # 4.0.3
2
6
 
3
7
  * Print version when starting
@@ -297,7 +297,7 @@ module CloudCannonJekyll
297
297
  end
298
298
 
299
299
  def allowed_document?(doc)
300
- if !IS_JEKYLL_2_X_X && !IS_JEKYLL_3_04_X && doc.instance_of?(Jekyll::PageWithoutAFile)
300
+ if Jekyll.const_defined?(:PageWithoutAFile) && doc.instance_of?(Jekyll::PageWithoutAFile)
301
301
  false
302
302
  elsif doc.instance_of?(Jekyll::Page)
303
303
  allowed_page?(doc)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = '4.0.3'
4
+ VERSION = '4.0.4'
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: 4.0.3
4
+ version: 4.0.4
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-09 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll