daemons 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README +1 -1
  2. data/Releases +8 -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 1.0.0
1
+ = Daemons Version 1.0.1
2
2
 
3
3
  (See Releases for release-specific information)
4
4
 
data/Releases CHANGED
@@ -1,5 +1,13 @@
1
1
  = Daemons Release History
2
2
 
3
+ == Release 1.0.1: August 30, 2006
4
+
5
+ * Fixed a regex for parsing the 'ps ax' system call. (thanks to Garance Alistair Drosehn)
6
+
7
+ == Release 1.0.0: August 29, 2006
8
+
9
+ * Fix the parsing of the 'ps ax' system call. (thanks to Garance Alistair Drosehn)
10
+
3
11
  == Release 0.4.4: February 14, 2006
4
12
 
5
13
  * Several fixes that allow us to use the Daemons::Controller
@@ -65,7 +65,7 @@ require 'daemons/controller'
65
65
  #
66
66
  module Daemons
67
67
 
68
- VERSION = "1.0.0"
68
+ VERSION = "1.0.1"
69
69
 
70
70
  require 'daemons/daemonize'
71
71
 
@@ -4,10 +4,10 @@ module Daemons
4
4
  class Pid
5
5
 
6
6
  def Pid.running?(pid, additional = nil)
7
- match_pid = Regexp.new("^\s*#{pid}\s")
7
+ match_pid = Regexp.new("^\\s*#{pid}\\s")
8
8
  got_match = false
9
9
 
10
- ps_all = IO.popen("ps ax")
10
+ ps_all = IO.popen("ps -ax")
11
11
  ps_all.each { |psline|
12
12
  next unless psline =~ match_pid
13
13
  got_match = true
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: daemons
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
7
- date: 2006-08-29 00:00:00 +02:00
6
+ version: 1.0.1
7
+ date: 2006-08-30 00:00:00 +02:00
8
8
  summary: A toolkit to create and control daemons in different ways
9
9
  require_paths:
10
10
  - lib