city-watch 0.6.5 → 0.6.6

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.
@@ -41,7 +41,7 @@ module Reader
41
41
  end
42
42
 
43
43
  def summary_html
44
- render "server/summary"
44
+ render_bare "server/summary"
45
45
  end
46
46
 
47
47
  def summaries(num=1)
@@ -11,9 +11,7 @@ module Reader
11
11
 
12
12
  def render_from_summary(data)
13
13
  @current_data = data
14
- return render("watchmen/#{@name}/summary", "watchmen/summary")
15
- ensure
16
- @current_data = nil
14
+ render_bare "watchmen/#{@name}/summary", "watchmen/summary"
17
15
  end
18
16
 
19
17
  def watchman_class
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CityWatch
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
@@ -1 +1,2 @@
1
- // Test
1
+ // Test
2
+ window.city_watch = {};
@@ -1,5 +1,6 @@
1
1
  <html>
2
2
  <head>
3
+ <title>CityWatch</title>
3
4
  <link rel="stylesheet" href="/stylesheets/city_watch.css">
4
5
  <link rel="stylesheet" href="/stylesheets/default.css">
5
6
  <script src="/javascripts/city_watch.js"></script>
@@ -7,6 +8,6 @@
7
8
  <script>hljs.initHighlightingOnLoad();</script>
8
9
  </head>
9
10
  <body>
10
- <%= yield%>
11
+ <%= yield %>
11
12
  </body>
12
13
  </html>
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.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: