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.
@@ -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|
@@ -1,4 +1,4 @@
1
1
  class RunitMan
2
- VERSION = '2.3.17'.freeze
2
+ VERSION = '2.3.18'.freeze
3
3
  end
4
4
 
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: 33
4
+ hash: 39
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 17
10
- version: 2.3.17
9
+ - 18
10
+ version: 2.3.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akzhan Abdulin