cfn-toml 1.0.10 → 1.0.12

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: 46739e6edd56b42ca3c92a8cdf768bf9469acac67d0ea61473dcaa48baddfb0a
4
- data.tar.gz: aa7591f7169127e49da07f45fa0f653b1d9e7d4d61b0202f465d3857c18e41e6
3
+ metadata.gz: aa56b3d8ee19c38475155aabd2be3300657190654e24d27139b2664ae59f6264
4
+ data.tar.gz: 1116c7f62abd07045e4569ae242e61c94c6fb012249cce9c59054fc1ea3575e1
5
5
  SHA512:
6
- metadata.gz: c4bc3881195a9ca3ceb54f28c0e66499c2a865942075a7f6635fb54de2de2639ef19234ad1da95d23d5bb5d815ab7863646a2614391ec1c25330512e48e7d671
7
- data.tar.gz: ad4538766ee68e4e018a747e627553f887b419da1de98d07001d0a5dfba3b7e48518c59ddeab7353c113fb74125f0448ea96cf68da7b768e5a12eeeb8dba0c0c
6
+ metadata.gz: eaba1e8fd9ce59c892ef619059b3113bd2d4692962406dfb0ffc33cf5bfebbde2cb3f1aeb017814a2177bd61b647ab083be185b70eb5600050049c2fca87328c
7
+ data.tar.gz: 0523520f993a291d8009fb1ee1352ac98efe60a810cf21c32f0d6412baa0dc4517bad62aefa41498357c9184ae02a2fde99ab4c72b5811472505bd25b9132225
data/bin/cfn-toml CHANGED
@@ -65,9 +65,9 @@ begin
65
65
  options[:profile] ||= 'default'
66
66
 
67
67
  if options[:cfn_filepath].nil?
68
- if File.exists?(File.expand_path('template.yaml'))
68
+ if File.exist?(File.expand_path('template.yaml'))
69
69
  options[:cfn_filepath] = "template.yaml"
70
- elsif File.exists?(File.expand_path('template.yml'))
70
+ elsif File.exist?(File.expand_path('template.yml'))
71
71
  options[:cfn_filepath] = "template.yml"
72
72
  end
73
73
  options[:cfn_filepath] ||= "template.yaml"
@@ -1,3 +1,3 @@
1
1
  module CfnToml
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.12'
3
3
  end
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.10
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown