fate 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fate/process_manager.rb +9 -1
- metadata +4 -3
data/lib/fate/process_manager.rb
CHANGED
@@ -134,7 +134,15 @@ class Fate
|
|
134
134
|
handler = output_handlers[name]
|
135
135
|
# First line written to STDOUT is assumed to be the service
|
136
136
|
# signalling that it is ready.
|
137
|
-
line =
|
137
|
+
line = nil
|
138
|
+
loop do
|
139
|
+
line = pipe.gets
|
140
|
+
if line =~ /debug/i
|
141
|
+
handler.write(line)
|
142
|
+
else
|
143
|
+
break
|
144
|
+
end
|
145
|
+
end
|
138
146
|
@mutex.synchronize do
|
139
147
|
unless @down_in_flames
|
140
148
|
logger.info "#{name} is running."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -140,7 +140,8 @@ files:
|
|
140
140
|
- lib/fate/service.rb
|
141
141
|
- lib/fate.rb
|
142
142
|
homepage: https://github.com/automatthew/fate
|
143
|
-
licenses:
|
143
|
+
licenses:
|
144
|
+
- MIT
|
144
145
|
post_install_message:
|
145
146
|
rdoc_options: []
|
146
147
|
require_paths:
|