daemons 0.4.1 → 0.4.2

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.
Files changed (5) hide show
  1. data/README +3 -2
  2. data/Releases +5 -0
  3. data/lib/daemons.rb +1 -1
  4. data/lib/daemons/pid.rb +2 -2
  5. metadata +2 -2
data/README CHANGED
@@ -1,4 +1,4 @@
1
- = Daemons Version 0.4.1
1
+ = Daemons Version 0.4.2
2
2
 
3
3
  (See Releases for release-specific information)
4
4
 
@@ -147,7 +147,8 @@ The RDoc documentation is also online at http://daemons.rubyforge.org
147
147
 
148
148
  == Author
149
149
 
150
- Written in 2005 by Thomas Uehlinger <mailto:th.uehlinger@gmx.ch>
150
+ Written in 2005 by Thomas Uehlinger <mailto:th.uehlinger@gmx.ch>.
151
+ Homepage: http://physiker.ch
151
152
 
152
153
  == License
153
154
 
data/Releases CHANGED
@@ -1,6 +1,11 @@
1
1
  = Daemons Release History
2
2
 
3
3
 
4
+ == Release 0.4.2: November 15, 2005
5
+
6
+ * Bugfix for problem with :normal pid-file directory mode (pid.rb), fixed (thanks to Stephen R. Veit)
7
+
8
+
4
9
  == Release 0.4.1: September 11, 2005
5
10
 
6
11
  * Bugfix for 'run' command line mode: didn't work anymore in 0.4.0, fixed
data/lib/daemons.rb CHANGED
@@ -59,7 +59,7 @@ require 'daemons/controller'
59
59
  #
60
60
  module Daemons
61
61
 
62
- VERSION = "0.4.1"
62
+ VERSION = "0.4.2"
63
63
 
64
64
  require 'daemons/daemonize'
65
65
 
data/lib/daemons/pid.rb CHANGED
@@ -22,13 +22,13 @@ module Daemons
22
22
 
23
23
  case dir_mode
24
24
  when :normal
25
- return File.expand_path(dir_mode)
25
+ return File.expand_path(dir)
26
26
  when :script
27
27
  return File.expand_path(File.join(File.split(script)[0],dir))
28
28
  when :system
29
29
  return '/var/run'
30
30
  else
31
- raise Error.new("pid file mode '#{mode}' not implemented")
31
+ raise Error.new("pid file mode '#{dir_mode}' not implemented")
32
32
  end
33
33
  end
34
34
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: daemons
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.1
7
- date: 2005-09-11 00:00:00 +02:00
6
+ version: 0.4.2
7
+ date: 2005-11-15 00:00:00 +01:00
8
8
  summary: A toolkit to create and control daemons in different ways
9
9
  require_paths:
10
10
  - lib