stack_master 2.14.0 → 2.14.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: 1199ce77646538900036cbc5f15765e3ff709e3732214787da844e6843757339
4
- data.tar.gz: '086c79b68d70852700324fb12afd8f1f7fb3142104270ff9cd3bdb1f077e1fdd'
3
+ metadata.gz: bacf542a4b317cf98eb9e39a70740e393ddea1eb9363e65340975e568d3191e1
4
+ data.tar.gz: 4582583ac6fa9681edf9f3a8bf4ed478e728b09e0aaebce244234ab50ff0376c
5
5
  SHA512:
6
- metadata.gz: 03431d20607e92edf9c666597a7b47ebeb9bf1309c407fbbaec455f2104f8bab3e22fd645f0ee2745943eb0d7229e87d1069e603db2b1f5885c4a2f98d6c7aca
7
- data.tar.gz: b3f011fe065c9c5993ed048ed21beedac418cf7e50ba8161e3ebbd0618f8f7ce804285d86e78a25ea5098041dbea9f38248e000326ef6b218feee400bb409017
6
+ metadata.gz: bce540f043c5010594155cfd41fab249b531e80febb96cc46cebce7b957e8de2f7aca20f8b0dc09cf13050338e0455d3438ec36341d49d838002ab9fa8b21905
7
+ data.tar.gz: 61dae834acf176052b3fe8c2bb53443fc44dc0b68dbf33f7b053365088624b664aa6ba504697e839a18a63c5192a961e80d1736ce7efbdc82351616faf9bb8d7
@@ -50,6 +50,8 @@ module StackMaster
50
50
  end
51
51
  @region_defaults = normalise_region_defaults(config.fetch('region_defaults', {}))
52
52
  @stacks = []
53
+
54
+ raise ConfigParseError.new("Stack defaults can't be undefined") if @stack_defaults.nil?
53
55
  load_template_compilers(config)
54
56
  load_config
55
57
  end
@@ -112,6 +114,8 @@ module StackMaster
112
114
  stacks.each do |region, stacks_for_region|
113
115
  region = Utils.underscore_to_hyphen(region)
114
116
  stacks_for_region.each do |stack_name, attributes|
117
+ raise ConfigParseError.new("Entry for stack #{stack_name} has no attributes") if attributes.nil?
118
+
115
119
  stack_name = Utils.underscore_to_hyphen(stack_name)
116
120
  stack_attributes = build_stack_defaults(region).deeper_merge!(attributes).merge(
117
121
  'region' => region,
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "2.14.0"
2
+ VERSION = "2.14.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Hodgkiss
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-02-05 00:00:00.000000000 Z
12
+ date: 2024-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -579,8 +579,8 @@ licenses:
579
579
  metadata:
580
580
  bug_tracker_uri: https://github.com/envato/stack_master/issues
581
581
  changelog_uri: https://github.com/envato/stack_master/blob/master/CHANGELOG.md
582
- documentation_uri: https://www.rubydoc.info/gems/stack_master/2.14.0
583
- source_code_uri: https://github.com/envato/stack_master/tree/v2.14.0
582
+ documentation_uri: https://www.rubydoc.info/gems/stack_master/2.14.1
583
+ source_code_uri: https://github.com/envato/stack_master/tree/v2.14.1
584
584
  post_install_message:
585
585
  rdoc_options: []
586
586
  require_paths:
@@ -596,7 +596,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
596
596
  - !ruby/object:Gem::Version
597
597
  version: '0'
598
598
  requirements: []
599
- rubygems_version: 3.4.20
599
+ rubygems_version: 3.3.26
600
600
  signing_key:
601
601
  specification_version: 4
602
602
  summary: StackMaster is a sure-footed way of creating, updating and keeping track