semi_daemon 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,12 +27,12 @@ class SemiDaemon
27
27
  end
28
28
 
29
29
  def inherited(child)
30
- child.log_file "#{child.daemon_name}.log"
31
- child.pid_file "#{child.daemon_name}.pid"
30
+ child.log_file "log/#{child.daemon_name}.log"
31
+ child.pid_file "log/#{child.daemon_name}.pid"
32
32
  end
33
33
 
34
34
  def stop_file
35
- "#{daemon_name}.stop"
35
+ "log/#{daemon_name}.stop"
36
36
  end
37
37
 
38
38
  end
@@ -50,7 +50,7 @@ class SemiDaemon
50
50
 
51
51
  def logger
52
52
  @logger ||= begin
53
- l=Logger.new root("log/#{log_file}")
53
+ l=Logger.new root(log_file)
54
54
  l.formatter = SimpleLogFormatter.new
55
55
  l
56
56
  end
@@ -3,9 +3,9 @@ class SemiDaemon
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
- # 0.9.1
8
+ # 0.9.2
9
9
  FULL = [MAJOR, MINOR, TINY].join(".")
10
10
  end
11
11
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semi_daemon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 1
10
- version: 0.9.1
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Goebel
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-06 00:00:00 -05:00
19
- default_executable:
18
+ date: 2012-02-16 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: simple class for creating long running daemon processes easily
@@ -33,7 +32,6 @@ files:
33
32
  - lib/semi_daemon.rb
34
33
  - vendor/god/system/process.rb
35
34
  - readme.markdown
36
- has_rdoc: true
37
35
  homepage:
38
36
  licenses: []
39
37
 
@@ -63,9 +61,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
61
  requirements: []
64
62
 
65
63
  rubyforge_project:
66
- rubygems_version: 1.6.2
64
+ rubygems_version: 1.8.15
67
65
  signing_key:
68
66
  specification_version: 3
69
67
  summary: simple class for creating long running daemon processes
70
68
  test_files: []
71
69
 
70
+ has_rdoc: true