rubicante 0.0.4 → 0.0.5
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.
- data/History.txt +5 -1
- data/lib/rubicante.rb +1 -1
- data/lib/rubicante/host.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/rubicante.rb
CHANGED
data/lib/rubicante/host.rb
CHANGED
|
@@ -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
|
+
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-
|
|
12
|
+
date: 2009-04-17 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|