city-watch 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/version.rb +1 -1
- data/views/server/summary.html.erb +4 -3
- metadata +2 -2
data/lib/version.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
<%
|
2
|
-
sum = summary
|
3
|
-
update_time = sum.delete("received_at")
|
2
|
+
if sum = summary
|
3
|
+
update_time = sum.delete("received_at")
|
4
4
|
%>
|
5
5
|
<div class="server">
|
6
6
|
<a href="/<%=@host%>"><%=@host%></a> (Last update: <%=update_time%>)
|
7
7
|
<% sum.each do |watchman,dat| %>
|
8
8
|
<%= Reader::Watchman.new(@host,watchman).render_from_summary(dat) %>
|
9
9
|
<% end %>
|
10
|
-
</div>
|
10
|
+
</div>
|
11
|
+
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: city-watch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|