cloudcannon-jekyll 4.0.5 → 4.0.6

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: 8b1ebbc5ea9251c3a955ea8288e35eb521880b21f61c99831fde8389de98a762
4
- data.tar.gz: aab449193d9b11643707935fc2382a1d42fa4fbbdd8513d228529a0502eba027
3
+ metadata.gz: cf62c33f7f7b5a78549efbaf6945f4e9d5fbb0578d953e737a58ea6bceba9492
4
+ data.tar.gz: e1e61ffc1dfd7353cced1f759fc3644722d8fae8cb8b0448fb038a756a84a394
5
5
  SHA512:
6
- metadata.gz: f7fb932d4a82f8918eeff082deb6c5ec6670e6e57fbd094694e68616ac6cf9731d5bc77b7008032e56a451246a958934653b9a71148a3c99cc8dd49ee7f58de0
7
- data.tar.gz: bb57046070c99208660f1f070d2c34a10cca9f613cca92c79aef99c159f47fcf6b6d65dc5eff87cf93c0ef04ff2875450ff4775dcb55cfa77f1b41217679595e
6
+ metadata.gz: c4b4b5404c75e793969dfef2b070cfd3689c0886e8c518d4a0a7ea1acf899e97a360cae4bbc6966a968f239d2932c5b1cce1b4440e35a12c570bc9190ff0a987
7
+ data.tar.gz: 3c9cd1e8a71d6544435a63d9169a95d3202700a4f91a898d8cee8226f143df4b020e12e18374ba435746d15f2fb12dcc0872bf82d5bfbcb69df763e053bb580d
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 4.0.6
2
+
3
+ * Remove auto-discovered collections with duplicate paths
4
+ * Update Jekyll 4 test version to 4.3.2
5
+
1
6
  # 4.0.5
2
7
 
3
8
  * Fix builds breaking on one unparseable file
@@ -106,6 +106,10 @@ module CloudCannonJekyll
106
106
  collections_config[key] = defaults.merge(collections_config[key] || {})
107
107
  end
108
108
 
109
+ # Remove auto-discovered collections with duplicate paths
110
+ set_paths = collections_config.filter_map { |_, v| v['path'] unless v['auto_discovered'] }
111
+ collections_config.delete_if { |_, v| v['auto_discovered'] && set_paths.include?(v['path']) }
112
+
109
113
  collections_config
110
114
  end
111
115
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = '4.0.5'
4
+ VERSION = '4.0.6'
5
5
  end
@@ -6,5 +6,5 @@ JEKYLL_VERSION=2.4.0 bundle update && $(dirname "$0")/test &&
6
6
  JEKYLL_VERSION=3.0.0 bundle update && $(dirname "$0")/test &&
7
7
  JEKYLL_VERSION=3.3.1 bundle update && $(dirname "$0")/test &&
8
8
  JEKYLL_VERSION=3.8.5 bundle update && $(dirname "$0")/test &&
9
- JEKYLL_VERSION=4.3.1 bundle update && $(dirname "$0")/test
9
+ JEKYLL_VERSION=4.3.2 bundle update && $(dirname "$0")/test
10
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: 4.0.5
4
+ version: 4.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.1.6
123
+ rubygems_version: 3.4.14
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: CloudCannon Jekyll integration