cloudcannon-jekyll 4.0.5 → 4.0.6
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 +4 -4
- data/HISTORY.md +5 -0
- data/lib/cloudcannon-jekyll/generators/collections.rb +4 -0
- data/lib/cloudcannon-jekyll/version.rb +1 -1
- data/script/test-all-versions +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf62c33f7f7b5a78549efbaf6945f4e9d5fbb0578d953e737a58ea6bceba9492
|
|
4
|
+
data.tar.gz: e1e61ffc1dfd7353cced1f759fc3644722d8fae8cb8b0448fb038a756a84a394
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4b4b5404c75e793969dfef2b070cfd3689c0886e8c518d4a0a7ea1acf899e97a360cae4bbc6966a968f239d2932c5b1cce1b4440e35a12c570bc9190ff0a987
|
|
7
|
+
data.tar.gz: 3c9cd1e8a71d6544435a63d9169a95d3202700a4f91a898d8cee8226f143df4b020e12e18374ba435746d15f2fb12dcc0872bf82d5bfbcb69df763e053bb580d
|
data/HISTORY.md
CHANGED
|
@@ -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
|
|
data/script/test-all-versions
CHANGED
|
@@ -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.
|
|
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.
|
|
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-
|
|
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.
|
|
123
|
+
rubygems_version: 3.4.14
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: CloudCannon Jekyll integration
|