ar_mailer 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,7 @@
1
+ === 1.5.1
2
+
3
+ * Clear ActiveRecord connections when daemonizing. Bug by Evan Petrie.
4
+
1
5
  === 1.5.0
2
6
 
3
7
  * Added --pid-file option. See --help for details.
@@ -54,7 +54,7 @@ class ActionMailer::ARSendmail
54
54
  ##
55
55
  # The version of ActionMailer::ARSendmail you are running.
56
56
 
57
- VERSION = '1.5.0'
57
+ VERSION = '1.5.1'
58
58
 
59
59
  ##
60
60
  # Maximum number of times authentication will be consecutively retried
@@ -378,6 +378,7 @@ file already exists or the contents don't match it's PID.
378
378
 
379
379
  if options[:Daemon] then
380
380
  require 'webrick/server'
381
+ ActiveRecord::Base.clear_all_connections!
381
382
  WEBrick::Daemon.start
382
383
  end
383
384
 
@@ -364,9 +364,11 @@ Last send attempt: Thu Aug 10 11:40:05 2006
364
364
 
365
365
  argv = %w[--pid-file]
366
366
 
367
- options = ActionMailer::ARSendmail.process_args argv
367
+ e = assert_raises OptionParser::InvalidArgument do
368
+ options = ActionMailer::ARSendmail.process_args argv
369
+ end
368
370
 
369
- assert_equal '/var/run/ar_sendmail/ar_sendmail.pid', options[:PidFile]
371
+ assert_match %r%/var/run/ar_sendmail does not exist%, e.message
370
372
 
371
373
  argv = %w[--pid-file=/tmp/ar_sendmail.pid]
372
374
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -30,9 +30,39 @@ cert_chain:
30
30
  x52qPcexcYZR7w==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-10-15 00:00:00 -07:00
33
+ date: 2010-01-29 00:00:00 -08:00
34
34
  default_executable:
35
35
  dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: rubyforge
38
+ type: :development
39
+ version_requirement:
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 2.0.3
45
+ version:
46
+ - !ruby/object:Gem::Dependency
47
+ name: gemcutter
48
+ type: :development
49
+ version_requirement:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.2.1
55
+ version:
56
+ - !ruby/object:Gem::Dependency
57
+ name: minitest
58
+ type: :development
59
+ version_requirement:
60
+ version_requirements: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.5.0
65
+ version:
36
66
  - !ruby/object:Gem::Dependency
37
67
  name: minitest
38
68
  type: :development
@@ -51,7 +81,7 @@ dependencies:
51
81
  requirements:
52
82
  - - ">="
53
83
  - !ruby/object:Gem::Version
54
- version: 2.3.3
84
+ version: 2.5.0
55
85
  version:
56
86
  description: |-
57
87
  ar_mailer is a two-phase delivery agent for ActionMailer. Even delivering
metadata.gz.sig CHANGED
@@ -1,4 +1,3 @@
1
- %���o�j�Op�ǫjUčMo|3��bgC������n ~�g2�~��Dbj��?�g�y���b?��1�-
2
- Ϻib�����—���n9��cKBVᙡ����r�Wmp��șz���P-�9%1�$' -=R-�e��+{Ł+Na:�>��L���`nl]��v!'�.h�?�j>� *Km8p��9Q�Ԁ�6��+������x�;����>�ܼo[
3
- 5\;��
4
- �O�!t�W�<��
1
+ }Z��!T��8�o�m:VI� �ࢪ]N�\QAL'Iw�j����x�� ��{|׬��A'ge�x���|8X�+ə�z�w�����Uý����l��]�0ӧ�*JZs�
2
+ H��Y`�\�6m�pj� �!�L���,��T!������2�s�e@>�Gfܲ ���bY�����,W_�!T��&��խ Fu�77���(�����u��뿘�
3
+ ns�ԑ�P��0�3z����g���]�