runit-man 1.11.4 → 1.11.6
Sign up to get free protection for your applications and to get access to all the features.
- data/i18n/en.yml +1 -0
- data/i18n/ru.yml +1 -0
- data/lib/runit-man/service_info.rb +4 -0
- data/lib/runit-man/version.rb +1 -1
- data/views/_service_info.erubis +2 -1
- data/views/_services.erubis +2 -1
- metadata +6 -6
data/i18n/en.yml
CHANGED
data/i18n/ru.yml
CHANGED
data/lib/runit-man/version.rb
CHANGED
data/views/_service_info.erubis
CHANGED
@@ -4,6 +4,7 @@ need_second_row = !service_info.files_to_view.empty? || !service_info.urls_to_vi
|
|
4
4
|
<tr class="<%= even_or_odd ? 'even' : 'odd' %>">
|
5
5
|
<td<%= need_second_row ? ' rowspan="2"' : '' %>><%= h(service_info.pid) %></td>
|
6
6
|
<th scope="row"><%= h(service_info.name) %></th>
|
7
|
+
<td><%= service_info.started_at ? service_info.started_at.utc : '' %></td>
|
7
8
|
<td><%= service_info.uptime ? ('%.2f' % service_info.uptime) : '' %></td>
|
8
9
|
<td><%= stat_subst(service_info.stat) %></td>
|
9
10
|
<td>
|
@@ -34,7 +35,7 @@ need_second_row = !service_info.files_to_view.empty? || !service_info.urls_to_vi
|
|
34
35
|
<% end %>
|
35
36
|
</td>
|
36
37
|
</tr>
|
37
|
-
<% if need_second_row %><tr><td colspan="
|
38
|
+
<% if need_second_row %><tr><td colspan="6">
|
38
39
|
<% unless service_info.files_to_view.empty? %>
|
39
40
|
<%= h(t('runit.services.table.values.files_to_view')) %>:
|
40
41
|
<% service_info.files_to_view.each do |f| %>
|
data/views/_services.erubis
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
<tr>
|
5
5
|
<th><%= h(t('runit.services.table.headers.pid')) %></th>
|
6
6
|
<th><%= h(t('runit.services.table.headers.name')) %></th>
|
7
|
+
<th><%= h(t('runit.services.table.headers.started_at')) %></th>
|
7
8
|
<th><%= h(t('runit.services.table.headers.uptime')) %></th>
|
8
9
|
<th><%= h(t('runit.services.table.headers.stat')) %></th>
|
9
10
|
<th><%= h(t('runit.services.table.headers.actions')) %></th>
|
@@ -12,7 +13,7 @@
|
|
12
13
|
</thead>
|
13
14
|
<tfoot>
|
14
15
|
<tr>
|
15
|
-
<td colspan="
|
16
|
+
<td colspan="7"><%= t('runit.services.table.footer', :time => h(Time.now.utc)) %></td>
|
16
17
|
</tr>
|
17
18
|
</tfoot>
|
18
19
|
<tbody>
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 55
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 1.11.
|
9
|
+
- 6
|
10
|
+
version: 1.11.6
|
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-03-
|
18
|
+
date: 2011-03-14 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
requirements:
|
225
225
|
- none
|
226
226
|
rubyforge_project:
|
227
|
-
rubygems_version: 1.
|
227
|
+
rubygems_version: 1.5.2
|
228
228
|
signing_key:
|
229
229
|
specification_version: 3
|
230
230
|
summary: Runit web management tool.
|