actionmailer 4.0.0.rc1 → 4.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionmailer might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/README.rdoc +4 -5
- data/lib/action_mailer/base.rb +5 -5
- data/lib/action_mailer/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c610aeeb13d863dcda2ad1aa3ed5909f47f380d7
|
4
|
+
data.tar.gz: 6ec654ad44036f4d43ff6a3974cc265d73011448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 662fd628bd77bf5bb9fa921b0c1313954ced69bfbd758311113baaf6364b0d68b73bb4a854123ba1c4053354aa0bc60f5498c1cbe67108c33f1e9b02a8aa3a9e
|
7
|
+
data.tar.gz: d67cc136f9f9cd074c9b2110bf5c8a8b44d2155f933c64a46736e0518aa676135d4e020f00dc8620379282ab637a09dff593d73a0dcc32b54fd0dc801a1caa84
|
data/CHANGELOG.md
CHANGED
data/README.rdoc
CHANGED
@@ -67,12 +67,12 @@ simply call the method and optionally call +deliver+ on the return value.
|
|
67
67
|
|
68
68
|
Calling the method returns a Mail Message object:
|
69
69
|
|
70
|
-
message = Notifier.welcome # => Returns a Mail::Message object
|
71
|
-
message.deliver
|
70
|
+
message = Notifier.welcome("david@loudthinking.com") # => Returns a Mail::Message object
|
71
|
+
message.deliver # => delivers the email
|
72
72
|
|
73
73
|
Or you can just chain the methods together like:
|
74
74
|
|
75
|
-
Notifier.welcome.deliver # Creates the email and sends it immediately
|
75
|
+
Notifier.welcome("david@loudthinking.com").deliver # Creates the email and sends it immediately
|
76
76
|
|
77
77
|
== Setting defaults
|
78
78
|
|
@@ -119,8 +119,7 @@ trivial case like this:
|
|
119
119
|
rails runner 'Mailman.receive(STDIN.read)'
|
120
120
|
|
121
121
|
However, invoking Rails in the runner for each mail to be received is very resource intensive. A single
|
122
|
-
instance of Rails should be run within a daemon, if it is going to
|
123
|
-
a limited number of email.
|
122
|
+
instance of Rails should be run within a daemon, if it is going to process more than just a limited amount of email.
|
124
123
|
|
125
124
|
== Configuration
|
126
125
|
|
data/lib/action_mailer/base.rb
CHANGED
@@ -334,8 +334,8 @@ module ActionMailer
|
|
334
334
|
# and starts to use it.
|
335
335
|
# * <tt>:openssl_verify_mode</tt> - When using TLS, you can set how OpenSSL checks the certificate. This is
|
336
336
|
# really useful if you need to validate a self-signed and/or a wildcard certificate. You can use the name
|
337
|
-
# of an OpenSSL verify constant ('none', 'peer', 'client_once','fail_if_no_peer_cert') or directly the
|
338
|
-
# constant (OpenSSL::SSL::VERIFY_NONE, OpenSSL::SSL::VERIFY_PEER
|
337
|
+
# of an OpenSSL verify constant ('none', 'peer', 'client_once', 'fail_if_no_peer_cert') or directly the
|
338
|
+
# constant (OpenSSL::SSL::VERIFY_NONE, OpenSSL::SSL::VERIFY_PEER, ...).
|
339
339
|
#
|
340
340
|
# * <tt>sendmail_settings</tt> - Allows you to override options for the <tt>:sendmail</tt> delivery method.
|
341
341
|
# * <tt>:location</tt> - The location of the sendmail executable. Defaults to <tt>/usr/sbin/sendmail</tt>.
|
@@ -596,9 +596,9 @@ module ActionMailer
|
|
596
596
|
# class method:
|
597
597
|
#
|
598
598
|
# class Notifier < ActionMailer::Base
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
599
|
+
# default from: 'no-reply@test.lindsaar.net',
|
600
|
+
# bcc: 'email_logger@test.lindsaar.net',
|
601
|
+
# reply_to: 'bounces@test.lindsaar.net'
|
602
602
|
# end
|
603
603
|
#
|
604
604
|
# If you need other headers not listed above, you can either pass them in
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.0.
|
19
|
+
version: 4.0.0.rc2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0.
|
26
|
+
version: 4.0.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mail
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
83
83
|
- none
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.0.
|
85
|
+
rubygems_version: 2.0.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Email composition, delivery, and receiving framework (part of Rails).
|