[DRE-commits] [ruby-aruba] 18/74: Fixed offenses
Hideki Yamane
henrich at moszumanska.debian.org
Sat Nov 28 01:16:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository ruby-aruba.
commit 001109ba05335d6be9c296c688ea9f39be97567b
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date: Tue Nov 24 10:13:48 2015 +0100
Fixed offenses
---
lib/aruba/process_monitor.rb | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/lib/aruba/process_monitor.rb b/lib/aruba/process_monitor.rb
index 91f0af8..a5809b4 100644
--- a/lib/aruba/process_monitor.rb
+++ b/lib/aruba/process_monitor.rb
@@ -24,15 +24,15 @@ module Aruba
def last_command_stopped
return @last_command_stopped if @last_command_stopped
return Command.new('false',
- :mode => :null,
- :exit_timeout => 0,
- :io_wait_timeout => 0,
- :working_directory => '/tmp',
- :environment => {},
- :main_class => nil,
- :stop_signal => nil,
- :startup_wait_time => nil
- ) if all_commands.empty?
+ :mode => :null,
+ :exit_timeout => 0,
+ :io_wait_timeout => 0,
+ :working_directory => '/tmp',
+ :environment => {},
+ :main_class => nil,
+ :stop_signal => nil,
+ :startup_wait_time => nil
+ ) if all_commands.empty?
all_commands.each { |c| stop_process(c) }
@@ -41,15 +41,15 @@ module Aruba
def last_command_started
return Command.new('false',
- :mode => :null,
- :exit_timeout => 0,
- :io_wait_timeout => 0,
- :working_directory => '/tmp',
- :environment => {},
- :main_class => nil,
- :stop_signal => nil,
- :startup_wait_time => nil
- ) unless processes.last.is_a? Array
+ :mode => :null,
+ :exit_timeout => 0,
+ :io_wait_timeout => 0,
+ :working_directory => '/tmp',
+ :environment => {},
+ :main_class => nil,
+ :stop_signal => nil,
+ :startup_wait_time => nil
+ ) unless processes.last.is_a? Array
processes.last[1]
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git
More information about the Pkg-ruby-extras-commits
mailing list