thin 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.4.1 Chromeo Fix
2
+ * Fix error when sending USR1 signal and no log file is supplied.
3
+
1
4
  == 1.4.0 Chromeo
2
5
  * kill -USR1 $PID for log rotation [catwell].
3
6
  * Fix HUP signal being reseted after deamonization [atotic].
@@ -187,7 +187,10 @@ module Thin
187
187
  @backend.stop!
188
188
  end
189
189
 
190
+ # == Reopen log file.
191
+ # Reopen the log file and redirect STDOUT and STDERR to it.
190
192
  def reopen_log
193
+ return unless log_file
191
194
  file = File.expand_path(log_file)
192
195
  log ">> Reopening log file: #{file}"
193
196
  Daemonize.redirect_io(file)
@@ -6,7 +6,7 @@ module Thin
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 4
9
- TINY = 0
9
+ TINY = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join('.')
12
12
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: thin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.4.0
5
+ version: 1.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marc-Andre Cournoyer