rubicante 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
- === 0.0.4 / 200-04-10
1
+ === 0.0.5 / 2009-04-17
2
+
3
+ * Fixed a bug where Windows services that were registered on a host but were not running were not reported as a problem
4
+
5
+ === 0.0.4 / 2009-04-10
2
6
 
3
7
  * More gem manifest fixes
4
8
 
@@ -2,5 +2,5 @@
2
2
  #require 'rubicante/type_group'
3
3
 
4
4
  class Rubicante
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
  end
@@ -159,7 +159,7 @@ module Rubicante
159
159
 
160
160
  # Checks the host to see if the specified service is running
161
161
  def is_running?(service)
162
- query = "SELECT Name, State FROM Win32_Service WHERE Name='#{service}'"
162
+ query = "SELECT Name, State FROM Win32_Service WHERE Name='#{service}' AND State='Running'"
163
163
 
164
164
  result = false
165
165
  service_label = "#{@name}->#{service}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubicante
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam VanderHook
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-10 00:00:00 -04:00
12
+ date: 2009-04-17 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency