leftbrained-ar_mailer 2.1.11 → 2.1.12
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/action_mailer/ar_mailer.rb +2 -2
- data/lib/action_mailer/ar_sendmail.rb +1 -1
- metadata +66 -42
@@ -26,9 +26,9 @@ class ActionMailer::Base
|
|
26
26
|
destinations = mail.destinations
|
27
27
|
mail.ready_to_send
|
28
28
|
sender = (mail['return-path'] && mail['return-path'].spec) || mail.from.first
|
29
|
+
deliver_at = mail.header["date"] ? mail.header["date"].date : nil
|
29
30
|
destinations.each do |destination|
|
30
|
-
self.class.email_class.create :mail => mail.encoded, :to => destination, :from => sender
|
31
|
+
self.class.email_class.create :mail => mail.encoded, :to => destination, :from => sender, :deliver_at=>deliver_at
|
31
32
|
end
|
32
33
|
end
|
33
|
-
|
34
34
|
end
|
metadata
CHANGED
@@ -1,53 +1,68 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: leftbrained-ar_mailer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
- 12
|
10
|
+
version: 2.1.12
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Eric Hodel
|
9
14
|
- Adam Meehan
|
10
15
|
- Gavin Montague
|
11
16
|
autorequire:
|
12
17
|
bindir: bin
|
13
18
|
cert_chain: []
|
14
|
-
|
15
|
-
|
16
|
-
|
19
|
+
|
20
|
+
date: 2012-02-27 00:00:00 +00:00
|
21
|
+
default_executable: ar_sendmail
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
17
24
|
name: minitest
|
18
|
-
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
27
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 1
|
34
|
+
- 5
|
35
|
+
- 0
|
23
36
|
version: 1.5.0
|
24
37
|
type: :development
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Dependency
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
28
40
|
name: mocha
|
29
|
-
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
43
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 43
|
48
|
+
segments:
|
49
|
+
- 0
|
50
|
+
- 9
|
51
|
+
- 8
|
34
52
|
version: 0.9.8
|
35
53
|
type: :development
|
36
|
-
|
37
|
-
|
38
|
-
description: ! 'Forked from adzap-ar_mailer to allow parallel processing of emails
|
39
|
-
by different worker servers. Even delivering email to the local machine may take
|
40
|
-
too long when you have to send hundreds of messages. ar_mailer allows you to store
|
41
|
-
messages into the database for later delivery by a separate process, ar_sendmail. '
|
54
|
+
version_requirements: *id002
|
55
|
+
description: "Forked from adzap-ar_mailer to allow parallel processing of emails by different worker servers. Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail. "
|
42
56
|
email: gavin@leftbrained.co.uk
|
43
|
-
executables:
|
57
|
+
executables:
|
44
58
|
- ar_sendmail
|
45
59
|
extensions: []
|
46
|
-
|
60
|
+
|
61
|
+
extra_rdoc_files:
|
47
62
|
- History.txt
|
48
63
|
- LICENSE.txt
|
49
64
|
- README.rdoc
|
50
|
-
files:
|
65
|
+
files:
|
51
66
|
- History.txt
|
52
67
|
- LICENSE.txt
|
53
68
|
- README.rdoc
|
@@ -67,32 +82,41 @@ files:
|
|
67
82
|
- test/test_armailer.rb
|
68
83
|
- test/test_arsendmail.rb
|
69
84
|
- test/test_helper.rb
|
85
|
+
has_rdoc: true
|
70
86
|
homepage: http://github.com/govan/leftbrained-ar_mailer
|
71
87
|
licenses: []
|
88
|
+
|
72
89
|
post_install_message:
|
73
|
-
rdoc_options:
|
90
|
+
rdoc_options:
|
74
91
|
- --main
|
75
92
|
- README.rdoc
|
76
|
-
require_paths:
|
93
|
+
require_paths:
|
77
94
|
- lib
|
78
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
96
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
105
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 3
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
version: "0"
|
90
113
|
requirements: []
|
114
|
+
|
91
115
|
rubyforge_project: seattlerb
|
92
|
-
rubygems_version: 1.
|
116
|
+
rubygems_version: 1.3.7
|
93
117
|
signing_key:
|
94
118
|
specification_version: 3
|
95
119
|
summary: A two-phase delivery agent for ActionMailer
|
96
|
-
test_files:
|
120
|
+
test_files:
|
97
121
|
- test/test_armailer.rb
|
98
122
|
- test/test_arsendmail.rb
|