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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 726de702565cba929f871a0f61317b250f691ca552b6175b466fc84ef9ea3edd
4
- data.tar.gz: 1313e07afea85c8d6f2db84ee5a826ca8270eefc31f8becf963f9526046c8b40
3
+ metadata.gz: 513b1c1c89c2e6e713b7d1f82496400f8f5f6e60c765c0b68561b5e8cd809f34
4
+ data.tar.gz: 1b2b100c5841ff0d833c82b50d64615b81c07f8cab17dd1bede470f55a2a9b4e
5
5
  SHA512:
6
- metadata.gz: 10f106d6cd9e49c319383d7789c589f9d27b64c53b4b3514d6a90d1ecbeccc881c15d65e531f3061ffbe8832ad5d5b41f05f714e8c4611d8f2262f8d43e5aa34
7
- data.tar.gz: 44bdfbbfea06be2b1c8bb77031aafb0ad777905fab94e004e55b548e55d8508253cf70e019923d40dd933bfbef020566080221b3b00338a910c03cad3ef6dae4
6
+ metadata.gz: 1fbc774784b2c71e1d6bce5e4b0ee9dbee6b2c830b860a3d52a33cf49d14fedd1567bb041c201ad8400a1e05fabe82a8d2daee787e4d5255b7b00df0716df078
7
+ data.tar.gz: 2715611c238b1fdf22896bbc4a07b0070209149f03e38e075ab1db4eaae49243344a21a8774312996fb8e27eba9c9d59b0494ce0f73cba7cba60551175291f64
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 3.0.2
2
+
3
+ * Remove excerpt from output
4
+
1
5
  # 3.0.1
2
6
 
3
7
  * Support aliases in YAML configuration files
@@ -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? :type
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = '3.0.1'
4
+ VERSION = '3.0.2'
5
5
  end
@@ -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.1
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-19 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll