stack_master 1.9.1 → 1.10.0
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/template_compilers/cfndsl.rb +4 -1
- data/lib/stack_master/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f3ec342c9c81f5cac5ebd53b5b1b85b9bdb2639909eb30e417bd3f47245a8e
|
4
|
+
data.tar.gz: c4845e2cbc067c72b28a7384dca7d09e2f06b4c0674bf87b40944b1ef4bd5071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 259d79a2d44819916e2f7517cfda964bfd0aae5565baf21f78f43a0d985c865beaff38adf01e2514a484a886543b70d7704387962da2ea98d81b6f4a5cb43861
|
7
|
+
data.tar.gz: 8512744614c1a54960771e4fe6f61439693a1c086d1cc6c18bf00ab97f2f1345e57b532151926bc5035ca018ff2127d2fca3358f57911d88023558d9de0e8936
|
@@ -4,7 +4,10 @@ module StackMaster::TemplateCompilers
|
|
4
4
|
require 'cfndsl'
|
5
5
|
end
|
6
6
|
|
7
|
-
def self.compile(template_file_path,
|
7
|
+
def self.compile(template_file_path, compile_time_parameters, _compiler_options = {})
|
8
|
+
CfnDsl.disable_binding
|
9
|
+
CfnDsl::ExternalParameters.defaults.clear # Ensure there's no leakage across invocations
|
10
|
+
CfnDsl::ExternalParameters.defaults(compile_time_parameters.symbolize_keys)
|
8
11
|
::CfnDsl.eval_file_with_extras(template_file_path).to_json
|
9
12
|
end
|
10
13
|
|
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: 1.
|
4
|
+
version: 1.10.0
|
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: 2018-09-
|
12
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|