run_in_background 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/run_in_background.rb
CHANGED
@@ -138,7 +138,7 @@ module RunInBackground
|
|
138
138
|
0.upto(TIMEOUT) do
|
139
139
|
if exists?(name) && running?(name)
|
140
140
|
puts "daemon/service #{name} started\n"
|
141
|
-
Log.
|
141
|
+
Log.debug1("daemon/service #{name} started")
|
142
142
|
return
|
143
143
|
end
|
144
144
|
sleep 1
|
@@ -240,7 +240,7 @@ module RunInBackground
|
|
240
240
|
0.upto(TIMEOUT) do
|
241
241
|
if exists?(name) && running?(name)
|
242
242
|
puts "windows service #{name} started\n"
|
243
|
-
Log.
|
243
|
+
Log.debug1("windows service #{name} started")
|
244
244
|
return
|
245
245
|
end
|
246
246
|
sleep 1
|
@@ -318,7 +318,7 @@ module RunInBackground
|
|
318
318
|
0.upto(TIMEOUT) do
|
319
319
|
unless exists? name
|
320
320
|
puts "daemon/service #{name} deleted\n"
|
321
|
-
Log.
|
321
|
+
Log.debug1("daemon/service #{name} deleted")
|
322
322
|
return
|
323
323
|
end
|
324
324
|
sleep 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: run_in_background
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: log
|
@@ -43,6 +43,22 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
46
62
|
description: ! 'This library provides a basic cross-platform functionality to runarbitrary
|
47
63
|
ruby scripts in background and control them.Supported platforms: Windows, Linux,
|
48
64
|
Mac.'
|