theine 0.0.4 → 0.0.5
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.
- data/lib/theine/client.rb +1 -1
- metadata +1 -1
data/lib/theine/client.rb
CHANGED
|
@@ -87,7 +87,6 @@ module Theine
|
|
|
87
87
|
begin
|
|
88
88
|
if @worker
|
|
89
89
|
%x[kill -2 #{@worker.pid}] # TODO: if client was term-ed, term worker (maybe term)
|
|
90
|
-
puts "Stopping Theine worker."
|
|
91
90
|
sleep(sleep_for) if sleep_for > 0 # to finish receiving IO
|
|
92
91
|
end
|
|
93
92
|
rescue DRb::DRbConnError
|
|
@@ -105,6 +104,7 @@ module Theine
|
|
|
105
104
|
@argv.shift
|
|
106
105
|
@worker.command_rspec(@argv)
|
|
107
106
|
else
|
|
107
|
+
@argv.shift
|
|
108
108
|
@worker.command_rails(@argv)
|
|
109
109
|
end
|
|
110
110
|
rescue DRb::DRbConnError
|