cloudcannon-jekyll 3.1.0 → 3.2.1

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: 0fed35269d24b4a1fd24b64ff5d89264e69e31b4d2b1451923824ae994ed43df
4
- data.tar.gz: 3f0338deb85d35b56f577f90408ad11660479a05d203ce4b5a17588b44439e0c
3
+ metadata.gz: dd3e4826b181fb4ef65a89bb32d863c0aa61918b00ec81a49c02450f3bb141e2
4
+ data.tar.gz: 8031b3e4c93bfa7ab139691b5dad29f93de7d1457fb3e140f27abdd4f7c8df96
5
5
  SHA512:
6
- metadata.gz: 20e086e703f86bf8221b88cc9e419b7f1715976a42fa736a0e0d08df2a1e062b583f0bfdb201f2ee5bfde4cbd1e8a2a8bb0f23436eaba8e5b3275467fec9e08e
7
- data.tar.gz: 728c3feb864fcc8eed871fd188d4304870733e66074657af3a5ceeef4760d4f38478b59dacfa606c454adde6ff8ba15e45f0da82082535858316cc666d76b027
6
+ metadata.gz: c9d4070e718c37c728f60c8a6ed256b4d8dd7a1ab4a64943d27d505644a8718aad0379c5ba657124d4a10b85dd646eb86daa50d8f37c032f2f0a646333f436b4
7
+ data.tar.gz: 5163fbb5f10c2bf0a920da5f440d6bf4ecbae933c45a3a117d5cad9713352ac92116ccb69d3d8919e49fcdad0ad9cd17f29865aafded895e947104514deed198
data/HISTORY.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 3.2.1
2
+
3
+ * Pass through any keys in the global configuration file
4
+
5
+ # 3.2.0
6
+
7
+ * Add dam_uploads and dam_static to paths
8
+
1
9
  # 3.1.0
2
10
 
3
11
  * Add options for ignoring and preventing parsing collections
@@ -22,36 +22,25 @@ module CloudCannonJekyll
22
22
  collections = collections_generator.generate_collections(collections_config)
23
23
  collections_generator.remove_empty_collection_config(collections_config, collections)
24
24
 
25
- {
25
+ base = @config || {}
26
+
27
+ generated = {
26
28
  time: site.time.iso8601,
27
29
  version: '0.0.3',
28
30
  cloudcannon: generate_cloudcannon,
29
31
  generator: generate_generator,
30
32
  paths: generate_paths,
31
33
  collections_config: collections_config,
32
- collection_groups: @config['collection_groups'],
33
34
  collections: collections,
34
35
  data: generate_data,
35
36
  source: @config['source'] || '',
36
- timezone: @config['timezone'],
37
37
  base_url: @config['base_url'] || '',
38
- editor: @config['editor'],
39
- source_editor: @config['source_editor'],
40
- _inputs: @config['_inputs'],
41
- _editables: @config['_editables'],
42
- _select_data: @config['_select_data'],
43
- _structures: @config['_structures'],
44
-
45
- # Deprecated
46
- _array_structures: @config['_array_structures'],
47
- _comments: @config['_comments'],
48
- _enabled_editors: @config['_enabled_editors'],
49
- _instance_values: @config['_instance_values'],
50
- _options: @config['_options'],
51
38
 
52
39
  # Jekyll-only
53
40
  defaults: @site_config['defaults']
54
- }.compact
41
+ }
42
+
43
+ base.merge(generated).compact
55
44
  end
56
45
 
57
46
  def generate_data
@@ -70,6 +59,8 @@ module CloudCannonJekyll
70
59
  {
71
60
  static: '',
72
61
  uploads: @config.dig('paths', 'uploads') || 'uploads',
62
+ dam_uploads: @config.dig('paths', 'dam_uploads') || '',
63
+ dam_static: @config.dig('paths', 'dam_static') || '',
73
64
  data: @data_dir,
74
65
  collections: @collections_dir,
75
66
  layouts: @site_config['layouts_dir'] || '_layouts'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudCannonJekyll
4
- VERSION = '3.1.0'
4
+ VERSION = '3.2.1'
5
5
  end
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.1.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudCannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll