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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87630b089c657874260e5a6491254a2cf0f265cf2fcd264c59befac41b930b6a
4
- data.tar.gz: 6422d3ff5f38b2b16ca8e9ba71257f885592d95ea2d812632a0015156a83f7db
3
+ metadata.gz: f8f3ec342c9c81f5cac5ebd53b5b1b85b9bdb2639909eb30e417bd3f47245a8e
4
+ data.tar.gz: c4845e2cbc067c72b28a7384dca7d09e2f06b4c0674bf87b40944b1ef4bd5071
5
5
  SHA512:
6
- metadata.gz: 79ed8633e468d90da53d2e8fc1fbb4bb3af74cdb2a5deec8d2495a002f51987533336a81841cef71ae53c3697b6a5af6ff9288b971756aac134c635011190dfc
7
- data.tar.gz: c45c024732bc361b93e18bcf05b7d62a6ce61f9f6cdc5695b94966cd67b9a3cc777e788fc8f7d5090cf919ecf89a77112b467d28e52f4e374d92395cd874578b
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, _compile_time_parameters, _compiler_options = {})
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
 
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "1.9.1"
2
+ VERSION = "1.10.0"
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: 1.9.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-03 00:00:00.000000000 Z
12
+ date: 2018-09-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler