jekyll-incremental 1.0.1 → 1.0.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: 1e4f8c14b09988e0651d6ca9f56b00919255da515e37e348486145d06fe4a461
4
- data.tar.gz: 166cb41772d5fee5ddd798c1f54565ec3b52346ab9963469b1ebb1d8c67f592c
3
+ metadata.gz: c605e48a1b73e52858d7d9259836f67cdd9c1967781c29b40ccac855570c8ef0
4
+ data.tar.gz: ca57d829b516b064777e435a1a012ae24a39d0ea1bc780804397473179c874fb
5
5
  SHA512:
6
- metadata.gz: 86560c79b81aed73e03a33241f800d32b8148c680a804da6aded3555889a26642ff989870c8904f455fecb6da053380e2b0279ce2d7b84de6f1469d33a6dc99b
7
- data.tar.gz: b35c7e842926045279baa525a859ec5fff12b4374bd6ffd9a3494cc8c9e413141c2ad15e9eaff74e75db394b8845516a3929664841684e623172a64dc69efeca
6
+ metadata.gz: 767c1ea5db7201f8ac1451050f3318721da27a6fe1822ce22552a3a786c0f1b73f6a814ea3e25d2209af1050854a5eeb3dec5783b5a43f0d74bf881fa1e87474
7
+ data.tar.gz: 22e1d8570ae4843a1d0b62aca3914485b03ef56e09760756c5da8ec54efb6b979d091348555ec20704166698f00f9fcc9b2f64a4c67b634499435de8efbcb08e
@@ -31,8 +31,8 @@ module Jekyll
31
31
  # --
32
32
  def regenerate?(doc)
33
33
  return false unless doc.write?
34
+ return true if doc.respond_to?(:asset_file?) && doc.asset_file?
34
35
  return true if forced_by_data?(doc)
35
- return true if doc&.asset_file?
36
36
  modified?(doc)
37
37
  end
38
38
 
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Jekyll
6
6
  module Incremental
7
- VERSION = "1.0.1"
7
+ VERSION = "1.0.2"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-incremental
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell