cloudcannon-jekyll 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/cloudcannon-jekyll/generators/collections.rb +3 -2
- data/lib/cloudcannon-jekyll/version.rb +1 -1
- data/script/test-all-versions +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 513b1c1c89c2e6e713b7d1f82496400f8f5f6e60c765c0b68561b5e8cd809f34
|
4
|
+
data.tar.gz: 1b2b100c5841ff0d833c82b50d64615b81c07f8cab17dd1bede470f55a2a9b4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbc774784b2c71e1d6bce5e4b0ee9dbee6b2c830b860a3d52a33cf49d14fedd1567bb041c201ad8400a1e05fabe82a8d2daee787e4d5255b7b00df0716df078
|
7
|
+
data.tar.gz: 2715611c238b1fdf22896bbc4a07b0070209149f03e38e075ab1db4eaae49243344a21a8774312996fb8e27eba9c9d59b0494ce0f73cba7cba60551175291f64
|
data/HISTORY.md
CHANGED
@@ -157,7 +157,7 @@ module CloudCannonJekyll
|
|
157
157
|
def document_type(doc)
|
158
158
|
if IS_JEKYLL_2_X_X && (doc.instance_of?(Jekyll::Post) || doc.instance_of?(Jekyll::Draft))
|
159
159
|
:posts
|
160
|
-
elsif doc.respond_to?
|
160
|
+
elsif doc.respond_to?(:type)
|
161
161
|
doc.type
|
162
162
|
elsif doc.respond_to?(:collection)
|
163
163
|
doc.collection.label.to_sym
|
@@ -188,11 +188,12 @@ module CloudCannonJekyll
|
|
188
188
|
data = if legacy_doc?(doc)
|
189
189
|
legacy_document_data(doc)
|
190
190
|
elsif doc.respond_to?(:data)
|
191
|
-
doc.data
|
191
|
+
doc.data.dup
|
192
192
|
else
|
193
193
|
{}
|
194
194
|
end
|
195
195
|
|
196
|
+
data.delete('excerpt')
|
196
197
|
defaults = @site.frontmatter_defaults.all(doc.relative_path, document_type(doc))
|
197
198
|
defaults.merge(data)
|
198
199
|
end
|
data/script/test-all-versions
CHANGED
@@ -4,6 +4,7 @@ set -ex
|
|
4
4
|
|
5
5
|
JEKYLL_VERSION=2.4.0 bundle update && $(dirname "$0")/test &&
|
6
6
|
JEKYLL_VERSION=3.0.0 bundle update && $(dirname "$0")/test &&
|
7
|
+
JEKYLL_VERSION=3.3.1 bundle update && $(dirname "$0")/test &&
|
7
8
|
JEKYLL_VERSION=3.8.5 bundle update && $(dirname "$0")/test &&
|
8
9
|
JEKYLL_VERSION=4.2.1 bundle update && $(dirname "$0")/test
|
9
10
|
|
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: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CloudCannon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|