eac_launcher 0.6.6 → 0.6.7

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: d36b89fd1074427a33288a42121b46805843c55fad78c9826284e08d1847bacd
4
- data.tar.gz: fafbfeafd5d7c642122787fbc2cc1356da6dcce51a62ffcddf238f099b5e4423
3
+ metadata.gz: 65c7ef15311d6d137ce967d907cda418c642fab2b7ac9e6c8874d2ab0ce41564
4
+ data.tar.gz: 58ab67b0615108a640f9a6d52e84ef7bfd0d6be9a65e75a2830b2253f9d36f48
5
5
  SHA512:
6
- metadata.gz: f70a04dd185704cfcf72e77e418370373a40a3ac0cf7f511da39125bdfc95bbfe53adba067e0d997fb07618203c9783e02ddcd92f2b3ebe17167f038be9c7bef
7
- data.tar.gz: 7bb322b0d6847009f6e7e682b24ea011d4bac45bfde76473feeaff61cea5a839248997a740359c566df561c581f96f75bdf17b7c893d447f14dccb9ba8026a24
6
+ metadata.gz: 463c38cb4c628bd84aba499d4caf5e545178cdad2246492fa7e33dacc582de89c4cd2dec4de8bf604a2b21c2b748f52935df6c1191682a0746cd06a115069ce1
7
+ data.tar.gz: 37fff487242d5dd1a102f14e094d916e188f77ee239ba6e1afffce2236ca816a48f791f7675f48c9915bc25b5c61df9a32a5d4486748094720c7d39e3e194ddc
@@ -10,6 +10,10 @@ module EacLauncher
10
10
  include ::EacRubyUtils::SimpleCache
11
11
 
12
12
  def initialize(file)
13
+ unless ::File.exist?(file)
14
+ ::FileUtils.mkdir_p(::File.dirname(file))
15
+ ::File.write(file, {}.to_yaml)
16
+ end
13
17
  @data = YAML.load_file(file)
14
18
  end
15
19
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacLauncher
4
- VERSION = '0.6.6'
4
+ VERSION = '0.6.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2019-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport