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 +4 -4
- data/lib/stack_master/config.rb +4 -0
- data/lib/stack_master/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bacf542a4b317cf98eb9e39a70740e393ddea1eb9363e65340975e568d3191e1
|
4
|
+
data.tar.gz: 4582583ac6fa9681edf9f3a8bf4ed478e728b09e0aaebce244234ab50ff0376c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bce540f043c5010594155cfd41fab249b531e80febb96cc46cebce7b957e8de2f7aca20f8b0dc09cf13050338e0455d3438ec36341d49d838002ab9fa8b21905
|
7
|
+
data.tar.gz: 61dae834acf176052b3fe8c2bb53443fc44dc0b68dbf33f7b053365088624b664aa6ba504697e839a18a63c5192a961e80d1736ce7efbdc82351616faf9bb8d7
|
data/lib/stack_master/config.rb
CHANGED
@@ -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,
|
data/lib/stack_master/version.rb
CHANGED
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.
|
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-
|
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.
|
583
|
-
source_code_uri: https://github.com/envato/stack_master/tree/v2.14.
|
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.
|
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
|