thin-preforker 0.0.3 → 0.0.4

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thin-preforker (0.0.3)
4
+ thin-preforker (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -173,6 +173,8 @@ module Thin
173
173
  $stderr.reopen(log_fp)
174
174
  $stdin.reopen("/dev/null")
175
175
 
176
+ $0 = server.name
177
+
176
178
  Dir.chdir(@pwd)
177
179
 
178
180
  server.send(:write_pid_file)
@@ -199,7 +201,7 @@ module Thin
199
201
  FileUtils.mkdir_p File.dirname(@options[:preforker_pid])
200
202
  FileUtils.mkdir_p File.dirname(@options[:preforker_log])
201
203
 
202
- Daemonize.daemonize
204
+ Daemonize.daemonize @options[:preforker_log], "thin-preforker"
203
205
 
204
206
  Dir.chdir(pwd)
205
207
 
@@ -4,7 +4,7 @@ unless defined?(Thin::Preforker::VERSION)
4
4
  module VERSION #:nodoc:
5
5
  MAJOR = 0
6
6
  MINOR = 0
7
- TINY = 3
7
+ TINY = 4
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY].join('.')
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin-preforker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  segments:
49
49
  - 0
50
- hash: 1366569596521026037
50
+ hash: -4270517753846791914
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  segments:
58
58
  - 0
59
- hash: 1366569596521026037
59
+ hash: -4270517753846791914
60
60
  requirements: []
61
61
  rubyforge_project:
62
62
  rubygems_version: 1.8.10