jekyll-algolia 1.7.0 → 1.7.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c7f25e93449e7de0ed0ca453837ee37d2ad17ce0910b058f55f278ebe7dca83
|
4
|
+
data.tar.gz: 7993b1bae0c39e33cb39638b7b6d258be8bb7ffa79f61e21817b701e7aa5256c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2021dca64a85cfbc2496a4f1b88cd73ccdf1202bfb190edfdaabd27bcb503b52e063152409fee5c56edf9a243ef410a3be1469e128b356505081ed2bb6b11b
|
7
|
+
data.tar.gz: be2e802a61c162846d4eb8760239fed3767618391caff853a73f25a1f978acb5678ad394c3fe4f5c3ccac13d5d35ee63d0a267530da0228806de165e6c311fe4
|
@@ -5,9 +5,10 @@ module Jekyll
|
|
5
5
|
class Document
|
6
6
|
# By default, Jekyll will set the current date (time of build) to any
|
7
7
|
# collection item. This will break our diff algorithm, so we monkey patch
|
8
|
-
# this call to return nil if no date is defined
|
8
|
+
# this call to return nil if no date is defined and the file is not a
|
9
|
+
# draft instead.
|
9
10
|
def date
|
10
|
-
data[
|
11
|
+
data["date"] ||= (draft? ? source_file_mtime : nil)
|
11
12
|
end
|
12
13
|
end
|
13
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Carry
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-05-
|
12
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: algolia_html_extractor
|