forever 0.1.0 → 0.1.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.
data/lib/forever/base.rb CHANGED
@@ -21,7 +21,7 @@ module Forever
21
21
 
22
22
  %w(INT TERM KILL).each { |signal| trap(signal) { stop! } }
23
23
 
24
- File.open(pid, "w") { |f| f.write(Process.pid.to_s) } if exists?(pid)
24
+ File.open(pid, "w") { |f| f.write(Process.pid.to_s) } if pid
25
25
 
26
26
  stream = log ? File.new(log, "w") : File.open('/dev/null', 'w')
27
27
  stream.sync = true
@@ -1,3 +1,3 @@
1
1
  module Forever
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - DAddYE