adzap-ar_mailer 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/action_mailer/ar_sendmail.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,5 +1,11 @@
|
|
1
|
+
= 1.4.1
|
2
|
+
|
3
|
+
* Bugs fixed
|
4
|
+
* Daemon failed on startup fixed with expanding full path of pid file
|
5
|
+
|
1
6
|
= 1.4.0
|
2
7
|
|
8
|
+
* Forked gem and published on GitHub (gem sources -a http://gems.github.com)
|
3
9
|
* New Features
|
4
10
|
* Added pid file creation on daemonize with command line option to specify pid filename [Dylan Egan]
|
5
11
|
|
@@ -54,7 +54,7 @@ class ActionMailer::ARSendmail
|
|
54
54
|
##
|
55
55
|
# The version of ActionMailer::ARSendmail you are running.
|
56
56
|
|
57
|
-
VERSION = '1.
|
57
|
+
VERSION = '1.4.1'
|
58
58
|
|
59
59
|
##
|
60
60
|
# Maximum number of times authentication will be consecutively retried
|
@@ -351,7 +351,7 @@ end
|
|
351
351
|
|
352
352
|
if options[:Daemon] then
|
353
353
|
require 'webrick/server'
|
354
|
-
@@pid_file = options[:Pidfile]
|
354
|
+
@@pid_file = File.expand_path(options[:Pidfile])
|
355
355
|
if File.exists? @@pid_file
|
356
356
|
# check to see if process is actually running
|
357
357
|
pid = ''
|