runit-man 2.3.17 → 2.3.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/runit-man/service_info/base.rb +5 -0
- data/lib/runit-man/version.rb +1 -1
- metadata +3 -3
@@ -194,6 +194,11 @@ protected
|
|
194
194
|
@files[file_name] = ServiceInfo::Base.real_data_from_file(file_name)
|
195
195
|
end
|
196
196
|
|
197
|
+
def sorted_log_files(log_files)
|
198
|
+
return log_files if log_files.length < 2
|
199
|
+
log_files.sort { |a, b| a[:created] <=> b[:created] }
|
200
|
+
end
|
201
|
+
|
197
202
|
class << self
|
198
203
|
def all
|
199
204
|
all_service_names.sort.map do |name|
|
data/lib/runit-man/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runit-man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 2.3.
|
9
|
+
- 18
|
10
|
+
version: 2.3.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Akzhan Abdulin
|