perennial 1.0.2 → 1.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ module Perennial
67
67
  # the double fork approach. Also, changes process file
68
68
  # mask to 000 and reopens STDIN / OUT to /dev/null
69
69
  def daemonize!(should_exit = true)
70
- if detached_fork { exit if should_exit }
70
+ if detached_fork { exit if should_exit }.nil?
71
71
  Process.setsid
72
72
  detached_fork { exit }
73
73
  reinitialize_stdio
data/lib/perennial.rb CHANGED
@@ -9,7 +9,7 @@ require 'perennial/exceptions'
9
9
 
10
10
  module Perennial
11
11
 
12
- VERSION = [1, 0, 2, 0]
12
+ VERSION = [1, 0, 2, 1]
13
13
 
14
14
  has_library :dispatchable, :hookable, :loader, :logger, :nash,
15
15
  :loggable, :manifest, :settings, :argument_parser,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perennial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darcy Laycock
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-09 00:00:00 +08:00
12
+ date: 2009-10-22 00:00:00 +08:00
13
13
  default_executable: perennial
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency