wackamole 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wackamole.rb +1 -1
- data/views/mission/_report.erb +1 -1
- metadata +1 -1
data/lib/wackamole.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Wackamole
|
2
2
|
|
3
3
|
# :stopdoc:
|
4
|
-
VERSION = '0.0.
|
4
|
+
VERSION = '0.0.6' unless defined? Wackamole::VERSION
|
5
5
|
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR unless defined? Wackamole::LIBPATH
|
6
6
|
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR unless defined? Wackamole::PATH
|
7
7
|
# :startdoc:
|
data/views/mission/_report.erb
CHANGED
@@ -15,7 +15,7 @@ table#mission tr.div {
|
|
15
15
|
</style>
|
16
16
|
|
17
17
|
<% applications = extract_applications( @pulse ) %>
|
18
|
-
<% if applications.
|
18
|
+
<% if applications.empty? == 0 %>
|
19
19
|
<div class="doh">
|
20
20
|
<p>Unable to find a Rackamole MongoDb database on this connection <%=Wackamole::Control.connection.host%>:<%=Wackamole::Control.connection.port%>.</p>
|
21
21
|
<p>Make sure you moled database follows this naming convention</p>
|