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 CHANGED
@@ -1,7 +1,7 @@
1
1
  module Wackamole
2
2
 
3
3
  # :stopdoc:
4
- VERSION = '0.0.5' unless defined? Wackamole::VERSION
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:
@@ -15,7 +15,7 @@ table#mission tr.div {
15
15
  </style>
16
16
 
17
17
  <% applications = extract_applications( @pulse ) %>
18
- <% if applications.count == 0 %>
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>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wackamole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana