guignol 0.3.5 → 0.3.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- guignol (0.3.5)
4
+ guignol (0.3.5.1)
5
5
  activesupport
6
6
  fog (~> 1.6.0)
7
7
  parallel (~> 0.5.14)
@@ -17,7 +17,7 @@ GEM
17
17
  builder (3.1.3)
18
18
  coderay (1.0.7)
19
19
  diff-lcs (1.1.3)
20
- excon (0.16.4)
20
+ excon (0.16.7)
21
21
  fog (1.6.0)
22
22
  builder
23
23
  excon (~> 0.14)
@@ -30,14 +30,12 @@ GEM
30
30
  ruby-hmac
31
31
  formatador (0.2.3)
32
32
  i18n (0.6.1)
33
- jruby-pageant (1.1.1)
34
33
  method_source (0.8)
35
34
  mime-types (1.19)
36
35
  multi_json (1.3.6)
37
36
  net-scp (1.0.4)
38
37
  net-ssh (>= 1.99.1)
39
- net-ssh (2.6.0)
40
- jruby-pageant (>= 1.1.1)
38
+ net-ssh (2.6.1)
41
39
  nokogiri (1.5.5)
42
40
  parallel (0.5.19)
43
41
  pry (0.9.10)
@@ -24,17 +24,17 @@ module Guignol::Commands
24
24
  results[name] = run_on_server(instance, @options)
25
25
  end
26
26
 
27
- after_run(results)
27
+ after_run(results, @options)
28
28
  end
29
29
 
30
30
 
31
31
  protected
32
32
 
33
33
  # Override in subclasses
34
- def before_run(configs) ; true ; end
34
+ def before_run(configs, options) ; true ; end
35
35
 
36
36
  # Override in subclasses
37
- def after_run(data) ; true ; end
37
+ def after_run(data, options) ; true ; end
38
38
 
39
39
 
40
40
  def shell
@@ -48,13 +48,6 @@ module Guignol::Commands
48
48
  end
49
49
  end
50
50
 
51
-
52
- def self.add_force_option
53
- method_option :force,
54
- :aliases => %w(-f), :type => :boolean, :default => false,
55
- :desc => 'Do not ask for confirmation'
56
- end
57
-
58
51
  private
59
52
 
60
53
  def parallel_options
@@ -50,7 +50,7 @@ module Guignol::Commands
50
50
  print_output(instance.name, "#{e.message} (#{e.class.name})", :red)
51
51
  end
52
52
 
53
- def before_run(configs)
53
+ def before_run(configs, options = {})
54
54
  @max_width = configs.keys.map(&:size).max
55
55
  end
56
56
 
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Guignol
3
- VERSION = "0.3.5"
3
+ VERSION = "0.3.5.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guignol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -232,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  segments:
234
234
  - 0
235
- hash: 3108163077006615043
235
+ hash: -3716300324724774277
236
236
  required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  none: false
238
238
  requirements: