daemontools 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/daemontools.rb +1 -1
- data/lib/daemontools/version.rb +1 -1
- metadata +4 -4
data/lib/daemontools.rb
CHANGED
@@ -18,7 +18,7 @@ module Daemontools
|
|
18
18
|
check_service_exists(name)
|
19
19
|
r = `sudo svstat #{@path} 2>&1`
|
20
20
|
raise r if $?.exitstatus != 0
|
21
|
-
raise "Unknown status" unless r.match(/.*?:\s*(\S+)
|
21
|
+
raise "Unknown status" unless r.match(/.*?:\s*(\S+).*\s(\d+) seconds.*/)
|
22
22
|
[$1, $2.to_i]
|
23
23
|
end
|
24
24
|
|
data/lib/daemontools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daemontools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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-11-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
segments:
|
81
81
|
- 0
|
82
|
-
hash: -
|
82
|
+
hash: -1940419418796993381
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
segments:
|
90
90
|
- 0
|
91
|
-
hash: -
|
91
|
+
hash: -1940419418796993381
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
94
|
rubygems_version: 1.8.24
|