runit-man 2.0.7 → 2.0.9

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/i18n/en.yml CHANGED
@@ -21,7 +21,7 @@ en:
21
21
  log_hint: Open tail 100 lines of %{name} service log in new window
22
22
  log_absent: Absent
23
23
  files_to_view: Files
24
- urls_to_views: Urls
24
+ urls_to_view: Urls
25
25
  footer: Updated at %{time}
26
26
  subst:
27
27
  inactive: <span class="inactive">inactive</span>
@@ -13,7 +13,9 @@ class LogLocationCache
13
13
  loc = get_pid_location(pid)
14
14
  set_pid_log_location(pid, loc)
15
15
  end
16
- loc || pids[pid][:value]
16
+ return loc unless loc.nil?
17
+ return nil unless pids.include?(pid)
18
+ pids[pid][:value]
17
19
  end
18
20
 
19
21
  private
@@ -1,4 +1,4 @@
1
1
  module RunitManVersion
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '2.0.9'.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: 1
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 7
10
- version: 2.0.7
9
+ - 9
10
+ version: 2.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akzhan Abdulin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-20 00:00:00 +04:00
18
+ date: 2011-04-21 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -161,11 +161,12 @@ dependencies:
161
161
  requirements:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- hash: 15
164
+ hash: 3
165
165
  segments:
166
166
  - 1
167
167
  - 0
168
- version: "1.0"
168
+ - 10
169
+ version: 1.0.10
169
170
  type: :development
170
171
  version_requirements: *id010
171
172
  description: |