daemon_controller 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -320,7 +320,7 @@ That can be done with the following code:
320
320
  :ping_command => lambda { TCPSocket.new('localhost', 1234) },
321
321
  :pid_file => 'apache.pid',
322
322
  :log_file => 'apache.log',
323
- :timeout => 25
323
+ :start_timeout => 25
324
324
  )
325
325
  controller.start
326
326
 
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "daemon_controller"
3
3
  # Don't forget to update version.rb too.
4
- s.version = "0.2.5"
5
- s.date = "2010-01-13"
4
+ s.version = "0.2.6"
5
+ s.date = "2011-02-13"
6
6
  s.summary = "A library for implementing daemon management capabilities"
7
7
  s.email = "hongli@phusion.nl"
8
8
  s.homepage = "http://github.com/FooBarWidget/daemon_controller/tree/master"
@@ -22,6 +22,6 @@
22
22
  class DaemonController
23
23
  MAJOR = 0
24
24
  MINOR = 2
25
- TINY = 5
25
+ TINY = 6
26
26
  VERSION_STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
27
27
  end # class DaemonController
@@ -556,9 +556,9 @@ private
556
556
  if self.class.fork_supported? || Process.respond_to?(:spawn)
557
557
  if Process.respond_to?(:spawn)
558
558
  options = {
559
- STDIN => "/dev/null",
560
- STDOUT => tempfile_path,
561
- STDERR => tempfile_path,
559
+ :in => "/dev/null",
560
+ :out => tempfile_path,
561
+ :err => tempfile_path,
562
562
  :close_others => true
563
563
  }
564
564
  @keep_ios.each do |io|
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ prerelease:
5
+ version: 0.2.6
5
6
  platform: ruby
6
7
  authors:
7
8
  - Hongli Lai
@@ -9,7 +10,7 @@ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
12
 
12
- date: 2010-01-13 00:00:00 +01:00
13
+ date: 2011-02-13 00:00:00 +01:00
13
14
  default_executable:
14
15
  dependencies: []
15
16
 
@@ -43,21 +44,21 @@ rdoc_options: []
43
44
  require_paths:
44
45
  - lib
45
46
  required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
46
48
  requirements:
47
49
  - - ">="
48
50
  - !ruby/object:Gem::Version
49
51
  version: "0"
50
- version:
51
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
52
54
  requirements:
53
55
  - - ">="
54
56
  - !ruby/object:Gem::Version
55
57
  version: "0"
56
- version:
57
58
  requirements: []
58
59
 
59
60
  rubyforge_project:
60
- rubygems_version: 1.3.5
61
+ rubygems_version: 1.5.1
61
62
  signing_key:
62
63
  specification_version: 3
63
64
  summary: A library for implementing daemon management capabilities