cfn-toml 1.0.9 → 1.0.10

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: 13a0bb5a6fa693cdebfe50e081f27de82166dce8232c8cb0e827f809b1df33bd
4
- data.tar.gz: bd980cea0d66962cbd1bf297a80767fb16c10915beb72b2ad84896cbf832aabf
3
+ metadata.gz: 46739e6edd56b42ca3c92a8cdf768bf9469acac67d0ea61473dcaa48baddfb0a
4
+ data.tar.gz: aa7591f7169127e49da07f45fa0f653b1d9e7d4d61b0202f465d3857c18e41e6
5
5
  SHA512:
6
- metadata.gz: 4bf802d29f8bb188cc9b338f9cf37ab24f3db6922cfd48d8f35780525e41ad2d47dccadc03decf1f9e122133a2cf894e3fb0ad5471223c9850b039d40f7a1436
7
- data.tar.gz: 76fb7e467d0f1c87cad5f351bccdbd5637588e1a51fc9819e12b84997160106f93154df0ef6fbbe11d4d1a23aaf83655ace00930e7ad6f1ba8f7b699db6ae618
6
+ metadata.gz: c4bc3881195a9ca3ceb54f28c0e66499c2a865942075a7f6635fb54de2de2639ef19234ad1da95d23d5bb5d815ab7863646a2614391ec1c25330512e48e7d671
7
+ data.tar.gz: ad4538766ee68e4e018a747e627553f887b419da1de98d07001d0a5dfba3b7e48518c59ddeab7353c113fb74125f0448ea96cf68da7b768e5a12eeeb8dba0c0c
@@ -1,3 +1,3 @@
1
1
  module CfnToml
2
- VERSION = '1.0.9'
2
+ VERSION = '1.0.10'
3
3
  end
data/lib/cfn_toml.rb CHANGED
@@ -9,7 +9,7 @@ module CfnToml
9
9
  stackname ||= 'stackname'
10
10
 
11
11
  toml_path = File.dirname toml_filepath
12
- FileUtils.mkpath(toml_path) unless File.exists?(toml_path)
12
+ FileUtils.mkpath(toml_path) unless File.exist?(toml_path)
13
13
 
14
14
  File.open(toml_filepath, "w") do |f|
15
15
  f.write "[deploy]\n"
@@ -22,7 +22,7 @@ module CfnToml
22
22
  end
23
23
 
24
24
  def self.init_parameters f, cfn_filepath
25
- return unless File.exists?(cfn_filepath)
25
+ return unless File.exist?(cfn_filepath)
26
26
  contents = File.open(cfn_filepath).read
27
27
  hash = YAML.load(contents)
28
28
  return unless hash.key?('Parameters')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-toml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Brown
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-17 00:00:00.000000000 Z
11
+ date: 2023-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toml-rb
@@ -54,7 +54,7 @@ homepage: https://github.com/teacherseat/cfn-toml
54
54
  licenses:
55
55
  - MIT
56
56
  metadata: {}
57
- post_install_message:
57
+ post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths:
60
60
  - lib
@@ -69,8 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
73
- signing_key:
72
+ rubygems_version: 3.4.6
73
+ signing_key:
74
74
  specification_version: 4
75
75
  summary: Configuration file parsing for CFN Bash scripting
76
76
  test_files: []