runit-man 1.6.3 → 1.6.4
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/runit-man/service_info.rb +2 -2
- metadata +3 -3
@@ -7,12 +7,12 @@ class ServiceInfo
|
|
7
7
|
@name = a_name
|
8
8
|
end
|
9
9
|
|
10
|
-
def to_json
|
10
|
+
def to_json(*a)
|
11
11
|
data = {}
|
12
12
|
[ :name, :stat, :active?, :logged?, :switchable?, :run?, :pid, :log_pid, :log_file_location ].each do |sym|
|
13
13
|
data[sym] = send(sym)
|
14
14
|
end
|
15
|
-
data.to_json
|
15
|
+
data.to_json(*a)
|
16
16
|
end
|
17
17
|
|
18
18
|
def logged?
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 1.6.
|
8
|
+
- 4
|
9
|
+
version: 1.6.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Akzhan Abdulin
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-05-20 00:00:00 +04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|