fig2coreos 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fig2coreos +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56cc01e8482595c4315fffdf300e87d9b34238f1
4
- data.tar.gz: 9c9bf73108bdfe6a4808830baa02a9d42c9de7bb
3
+ metadata.gz: bd5d27b0ec671f6529e556e3b11a2d4a53ec5a78
4
+ data.tar.gz: 7d6cab2d5c5d7868a30a9c411f539e0544a5a0bc
5
5
  SHA512:
6
- metadata.gz: f41ae4f0ded5d19a6420e08f68034b51771db0bff807a6983ad7cf2fcfe253e2e151b957bba671136c3576d3067a9296cdf6dc10c5fd170413e8b3d4ea27ec3e
7
- data.tar.gz: 5a94d05010ebc4deb760b3e8ab3526f6923482488345bac6d24b4075d7b085ebfe68d7c7172ebb918a60207b42e45f9aca34e4193919ed6aef12324311926815
6
+ metadata.gz: 85fd4e509febdfb36e4b5740c09fa22edc417db7713617bd5534cf56df671f5c49028642b929c193348e91d08d335cb1993d9bb30eb56487115f514a03782024
7
+ data.tar.gz: 93401b500ee80755755fa25ff2cae1179aa7f95d8bb8d0c6270a70f09d475172e787706abcbb9e0f01e509b69510572395b8ac98e2ca89ffa568ee9456bdc770
data/bin/fig2coreos CHANGED
@@ -25,7 +25,7 @@ if !File.file?(File.expand_path(ARGV[1].to_s))
25
25
  exit -1
26
26
  end
27
27
 
28
- if !ARGV[2] || !File.directory?(File.expand_path(ARGV[2].to_s))
28
+ if !ARGV[2] || !File.directory?(File.expand_path(ARGV[2].to_s)) || !FileUtils.mkdir_p(File.join(ARGV[2].to_s, "media", "state", "units"))
29
29
  puts "[ERROR] OUTPUT_DIRECTORY required"
30
30
  puts FIG2COREOS_BANNER
31
31
  exit -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fig2coreos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Carlson