cfn-toml 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46739e6edd56b42ca3c92a8cdf768bf9469acac67d0ea61473dcaa48baddfb0a
4
- data.tar.gz: aa7591f7169127e49da07f45fa0f653b1d9e7d4d61b0202f465d3857c18e41e6
3
+ metadata.gz: 4d56a7aaa80756c4e557d3270509a5f4f3dbca615ddc6cc21aff858a9422fb44
4
+ data.tar.gz: 854d611bfd615ab67c1b70d4f14c19ff2041b4ff3cf4d981713c52be26ada165
5
5
  SHA512:
6
- metadata.gz: c4bc3881195a9ca3ceb54f28c0e66499c2a865942075a7f6635fb54de2de2639ef19234ad1da95d23d5bb5d815ab7863646a2614391ec1c25330512e48e7d671
7
- data.tar.gz: ad4538766ee68e4e018a747e627553f887b419da1de98d07001d0a5dfba3b7e48518c59ddeab7353c113fb74125f0448ea96cf68da7b768e5a12eeeb8dba0c0c
6
+ metadata.gz: c9eafd081970cfc43501049e27e4b27360be88c320c5a8f746e8f33cf3a2d92c529ee6e4fbd3aeae8f82ac18da9a0e92756b81d1652ee2e4431f69364a51d5af
7
+ data.tar.gz: 5a77ae80df32a9ac6e412f745612db36e9238b1a1481aa481becf8eb2287ab184a526266300e25b62f54ed5eefc9cb74c5c806be84ead82ccff20400c932eb8c
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.11'
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.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown