stack_master 1.9.1-x64-mingw32 → 1.10.0-x64-mingw32

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
  SHA1:
3
- metadata.gz: f71d91f414a4f67493100b9b7ef4e3dcf37476a7
4
- data.tar.gz: 3db923e527cca2a514ef68b7275359739846f959
3
+ metadata.gz: 5f359347cf3c2e7ad300393c550fb21e3523be5b
4
+ data.tar.gz: 1ca05709e18af376335e04a14fec28944ede74c8
5
5
  SHA512:
6
- metadata.gz: 0fc6749e976d1838098df6cf9bec82d887a41aa76b76b2c06fa42c9a3fc4440c336cb1ee82e78e212789f39528ab86a71b91e1b743e26f3faff47d16670b09b4
7
- data.tar.gz: d0a7a0058b0f2a19fc64f8e9c16362ca931960600690368186e141af94a22dde738bba108b47e1f66f0c94e02309bedb5c9f23b9f08c3a03b790c327c5dc55c5
6
+ metadata.gz: 70a5dae34f06553ceabf446d5c8f62d3be3e86bece6e0c46073d2fe45691b381923ef9fd6660e0af8b9c096a67341cf374be88ac649661d49d862c4a93460536
7
+ data.tar.gz: 192ee3afceb9b81ceeb696b1902d7880befee795338bbf264ed816d38caac00082e07cdb0006b32e8f45e250ee4ede70da72445fef0689492b84637ee24bb57d
@@ -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: x64-mingw32
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