servolux 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +5 -0
  2. data/lib/servolux/daemon.rb +2 -1
  3. data/version.txt +1 -1
  4. metadata +12 -12
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.9.5 / 2010-07-15
2
+
3
+ * Minor Enhancements
4
+ * Numeric value can be given as the "shutdown_command" for the Servolux::Daemon
5
+
1
6
  == 0.9.4 / 2010-04-18
2
7
 
3
8
  * Bug Fixes
@@ -123,7 +123,7 @@ class Servolux::Daemon
123
123
  # the standard input/output streams frees the file descriptors which are
124
124
  # still being used by the parent process. This prevents zombie processes.
125
125
  #
126
- # @option opts [String, Array<String>, Proc, Method, Servolux::Server] :shutdown_command (nil)
126
+ # @option opts [Numeric, String, Array<String>, Proc, Method, Servolux::Server] :shutdown_command (nil)
127
127
  # Assign the startup command. Different calling semantics are used for
128
128
  # each type of command.
129
129
  #
@@ -259,6 +259,7 @@ class Servolux::Daemon
259
259
 
260
260
  case shutdown_command
261
261
  when nil; kill
262
+ when Integer; kill(shutdown_command)
262
263
  when String; exec(shutdown_command)
263
264
  when Array; exec(*shutdown_command)
264
265
  when Proc, Method; shutdown_command.call
data/version.txt CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 4
9
- version: 0.9.4
8
+ - 5
9
+ version: 0.9.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tim Pease
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-18 00:00:00 -06:00
17
+ date: 2010-07-15 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -27,8 +27,8 @@ dependencies:
27
27
  segments:
28
28
  - 1
29
29
  - 2
30
- - 2
31
- version: 1.2.2
30
+ - 4
31
+ version: 1.2.4
32
32
  type: :development
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
@@ -40,9 +40,9 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  segments:
42
42
  - 1
43
- - 1
44
- - 1
45
- version: 1.1.1
43
+ - 2
44
+ - 0
45
+ version: 1.2.0
46
46
  type: :development
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
@@ -55,8 +55,8 @@ dependencies:
55
55
  segments:
56
56
  - 1
57
57
  - 4
58
- - 1
59
- version: 1.4.1
58
+ - 3
59
+ version: 1.4.3
60
60
  type: :development
61
61
  version_requirements: *id003
62
62
  - !ruby/object:Gem::Dependency
@@ -83,8 +83,8 @@ dependencies:
83
83
  segments:
84
84
  - 3
85
85
  - 4
86
- - 1
87
- version: 3.4.1
86
+ - 7
87
+ version: 3.4.7
88
88
  type: :development
89
89
  version_requirements: *id005
90
90
  description: |-