catfish 0.0.6 → 0.0.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
  SHA1:
3
- metadata.gz: e52c11f61f31793e6c0ac553a99194d1561c109d
4
- data.tar.gz: 6b4cb85095aaf1ea865c98b6a526b189c7ed69a0
3
+ metadata.gz: 0c7b5485ea2c1f9302882355b1dc14d33deca505
4
+ data.tar.gz: 993e762a13c58f8ca95fea15e54f8d4c865389f1
5
5
  SHA512:
6
- metadata.gz: 5b206cc2edbd443ece2160f6aca5a60760d345a2cf05ac91610d3744e255970faeb2f70bd291c976473f2ab98c77d5e8f7ff48aa5824f1ff9198da79bc630a61
7
- data.tar.gz: da9abc0e61b1afea9954e19d371c46a7ce12ae708699b60d338b8f2c60be05cac34c358adfbc704f7e14c24112c0773c729f85d3bd56e008621f2e4378dc9cb3
6
+ metadata.gz: 488629ee393efd089eae591cf4d7a708d674f52730af1d604d5968a70d54a6bf25f4aea54d1f5e36637a4331799997da5eea1e0ef619cc22e7201a7fcbdefead
7
+ data.tar.gz: 59cbb197d317bb25e6ad54790468e8b6f263c00fc8a8aaf5c5377458e7ba2e612c7624176909e32644730f9bc9c55db795a34523bcc8c848bbfaabba8612440a
data/lib/catfish/cli.rb CHANGED
@@ -45,7 +45,7 @@ module Catfish
45
45
  Init.new(options.dup, self).run
46
46
  end
47
47
 
48
- desc 'resolve [OPTIONS]', 'Resolves the servers listed in Catfishfile to .lock'
48
+ desc 'resolve', 'Resolves the servers listed in Catfishfile to .lock'
49
49
  def resolve
50
50
  require 'catfish/cli/resolve'
51
51
  Resolve.new(options.dup).run
@@ -68,14 +68,13 @@ module Catfish
68
68
  method_option 'parallel', type: :boolean, default: false, banner: 'Run provisioning in parallel'
69
69
  def provision
70
70
  exists_before_resolve = File.exist?('Catfishfile.lock')
71
- invoke :resolve
72
- invoke :plugin
71
+ resolve
72
+ plugin
73
73
  require 'catfish/cli/provision'
74
74
  Provision.new(options.dup).run
75
-
76
75
  # If the Catfishfile.lock existed before the start of the run, then
77
76
  # we should leave it there. Otherwise, we should clean it up.
78
- FileUtils.rm 'Catfishfile.lock', force: true unless exists_before_resolve
77
+ clean unless exists_before_resolve
79
78
  end
80
79
  end
81
80
  end
@@ -1,3 +1,3 @@
1
1
  module Catfish
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catfish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Baldauf