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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00e25360cc6daac82cf8948a54773cb6336a343885d4f4c9b6d92c22d26cdfd
4
- data.tar.gz: 601f83414b46d373c645e26b635704566a82bcc203f4f333088e14426b8e1b85
3
+ metadata.gz: 13a0bb5a6fa693cdebfe50e081f27de82166dce8232c8cb0e827f809b1df33bd
4
+ data.tar.gz: bd980cea0d66962cbd1bf297a80767fb16c10915beb72b2ad84896cbf832aabf
5
5
  SHA512:
6
- metadata.gz: c1e6bcf2a73ac3d6f1e87396687225eb03ff3513b9f2ec1e41f831e6d3dfcc5b1d76663636556615b30bc40eb02d1b01453e841b5b549280acd0809a5919f98a
7
- data.tar.gz: 4010e915240b386bde01a5eb63c5e11568476363ceeeb9c0d1f4d04441528e61d18a8a5c309addc9a13c24eb4ed51872dcc4da1fa441720f85a17c3e11467497
6
+ metadata.gz: 4bf802d29f8bb188cc9b338f9cf37ab24f3db6922cfd48d8f35780525e41ad2d47dccadc03decf1f9e122133a2cf894e3fb0ad5471223c9850b039d40f7a1436
7
+ data.tar.gz: 76fb7e467d0f1c87cad5f351bccdbd5637588e1a51fc9819e12b84997160106f93154df0ef6fbbe11d4d1a23aaf83655ace00930e7ad6f1ba8f7b699db6ae618
@@ -1,3 +1,3 @@
1
1
  module CfnToml
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
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}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-toml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown