daemons 0.2.0 → 0.2.1

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 +1 -1
  2. data/Rakefile +4 -0
  3. data/Releases +5 -1
  4. data/lib/daemons.rb +2 -2
  5. metadata +1 -1
data/README CHANGED
@@ -1,4 +1,4 @@
1
- = Daemons Version 0.2.0
1
+ = Daemons Version 0.2.1
2
2
 
3
3
  (See Releases for release-specific information)
4
4
 
data/Rakefile CHANGED
@@ -60,6 +60,10 @@ Rake::TestTask.new(:test) do |t|
60
60
  t.test_files = FileList['test/tc_*.rb']
61
61
  end
62
62
 
63
+ task :upload do
64
+ sh "scp -r html/* uehli@rubyforge.org:/var/www/gforge-projects/daemons"
65
+ end
66
+
63
67
 
64
68
  desc "Create the RDOC html files"
65
69
  rd = Rake::RDocTask.new("rdoc") { |rdoc|
data/Releases CHANGED
@@ -10,4 +10,8 @@
10
10
  * Exception backtrace functionality added
11
11
  * Exec functionality added
12
12
  * More examples added
13
- * New commands: status, zap
13
+ * New commands: status, zap
14
+
15
+ == Release 0.2.1: Mar 21, 2005
16
+
17
+ * Bugfix for a problem with the 'status' command
data/lib/daemons.rb CHANGED
@@ -17,7 +17,7 @@ require 'daemons/exceptions'
17
17
  #
18
18
  module Daemons
19
19
 
20
- VERSION = "0.2.0"
20
+ VERSION = "0.2.1"
21
21
 
22
22
  require 'daemons/daemonize'
23
23
 
@@ -184,7 +184,7 @@ module Daemons
184
184
  #
185
185
  def running?
186
186
  if @pid_file.exists?
187
- return / #{@pid_file.read} / =~ `ps ax`
187
+ return /#{@pid_file.read} / =~ `ps ax`
188
188
  end
189
189
 
190
190
  return false
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: daemons
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
6
+ version: 0.2.1
7
7
  date: 2005-03-21
8
8
  summary: A toolkit to convert your script to a controllable daemon
9
9
  require_paths: