cfn-toml 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cfn_toml/version.rb +1 -1
- data/lib/cfn_toml.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13a0bb5a6fa693cdebfe50e081f27de82166dce8232c8cb0e827f809b1df33bd
|
4
|
+
data.tar.gz: bd980cea0d66962cbd1bf297a80767fb16c10915beb72b2ad84896cbf832aabf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bf802d29f8bb188cc9b338f9cf37ab24f3db6922cfd48d8f35780525e41ad2d47dccadc03decf1f9e122133a2cf894e3fb0ad5471223c9850b039d40f7a1436
|
7
|
+
data.tar.gz: 76fb7e467d0f1c87cad5f351bccdbd5637588e1a51fc9819e12b84997160106f93154df0ef6fbbe11d4d1a23aaf83655ace00930e7ad6f1ba8f7b699db6ae618
|
data/lib/cfn_toml/version.rb
CHANGED
data/lib/cfn_toml.rb
CHANGED
@@ -50,6 +50,7 @@ module CfnToml
|
|
50
50
|
|
51
51
|
def self.params toml_filepath, params_version, parameters_name='parameters'
|
52
52
|
data = TomlRB.load_file(toml_filepath)
|
53
|
+
parameters_name ||= 'parameters'
|
53
54
|
if params_version == 'v1'
|
54
55
|
data[parameters_name].map do |k,v|
|
55
56
|
"ParameterKey=#{k},ParameterValue=#{v}"
|