fig2coreos 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fig2coreos +6 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd5d27b0ec671f6529e556e3b11a2d4a53ec5a78
4
- data.tar.gz: 7d6cab2d5c5d7868a30a9c411f539e0544a5a0bc
3
+ metadata.gz: f87c74758c0107485803a7ae86a76bbb911c9d04
4
+ data.tar.gz: 33bb2f28e45ef8ade3ad9ca37d57b3539f16aeb4
5
5
  SHA512:
6
- metadata.gz: 85fd4e509febdfb36e4b5740c09fa22edc417db7713617bd5534cf56df671f5c49028642b929c193348e91d08d335cb1993d9bb30eb56487115f514a03782024
7
- data.tar.gz: 93401b500ee80755755fa25ff2cae1179aa7f95d8bb8d0c6270a70f09d475172e787706abcbb9e0f01e509b69510572395b8ac98e2ca89ffa568ee9456bdc770
6
+ metadata.gz: 31b5964a6009a3d1a426cf8fbc03a682ee91a7a8b97b4cc42723d53383e28b0c54edb2c354ab5fbb0b4dd1e686411351c019781b70365a9bb1a749e1de7febf9
7
+ data.tar.gz: a27373fa6f860c9dad9b60a0528f962a81fb45157767c7beb8d53cea1524a8215ce409c08296c5c6075dd56a54c1fe261c146cced2e97b1b3126214dc4afaa65
data/bin/fig2coreos CHANGED
@@ -25,10 +25,12 @@ 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)) || !FileUtils.mkdir_p(File.join(ARGV[2].to_s, "media", "state", "units"))
29
- puts "[ERROR] OUTPUT_DIRECTORY required"
30
- puts FIG2COREOS_BANNER
31
- exit -1
28
+ if !ARGV[2] || !File.directory?(File.expand_path(ARGV[2].to_s))
29
+ if !FileUtils.mkdir_p(File.join(ARGV[2].to_s, "media", "state", "units"))
30
+ puts "[ERROR] OUTPUT_DIRECTORY required"
31
+ puts FIG2COREOS_BANNER
32
+ exit -1
33
+ end
32
34
  end
33
35
 
34
36
  vagrant_version = `vagrant --version`.split.last
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Carlson