actionmailer 3.1.0.rc5 → 3.1.0.rc6
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.
- data/README.rdoc +3 -3
- data/lib/action_mailer/version.rb +1 -1
- metadata +18 -9
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ Mail gem. It provides a way to make emails using templates in the same
|
|
10
10
|
way that Action Controller renders views using templates.
|
11
11
|
|
12
12
|
Additionally, an Action Mailer class can be used to process incoming email,
|
13
|
-
such as allowing a
|
13
|
+
such as allowing a blog to accept new posts from an email (which could even
|
14
14
|
have been sent from a phone).
|
15
15
|
|
16
16
|
== Sending emails
|
@@ -74,7 +74,7 @@ Or you can just chain the methods together like:
|
|
74
74
|
|
75
75
|
== Setting defaults
|
76
76
|
|
77
|
-
It is possible to set default values that will be used in every method in your Action Mailer class. To implement this functionality, you just call the public class method <tt>default</tt> which you get for free from ActionMailer::Base. This method accepts a Hash as the parameter. You can use any of the headers e-mail messages has, like <tt>:from</tt> as the key. You can also pass in a string as the key, like "Content-Type", but Action Mailer does this out of the box for you, so you
|
77
|
+
It is possible to set default values that will be used in every method in your Action Mailer class. To implement this functionality, you just call the public class method <tt>default</tt> which you get for free from ActionMailer::Base. This method accepts a Hash as the parameter. You can use any of the headers e-mail messages has, like <tt>:from</tt> as the key. You can also pass in a string as the key, like "Content-Type", but Action Mailer does this out of the box for you, so you won't need to worry about that. Finally it is also possible to pass in a Proc that will get evaluated when it is needed.
|
78
78
|
|
79
79
|
Note that every value you set with this method will get over written if you use the same key in your mailer method.
|
80
80
|
|
@@ -141,7 +141,7 @@ The latest version of Action Mailer can be installed with Rubygems:
|
|
141
141
|
|
142
142
|
Source code can be downloaded as part of the Rails project on GitHub
|
143
143
|
|
144
|
-
* https://github.com/rails/rails/tree/master/actionmailer
|
144
|
+
* https://github.com/rails/rails/tree/master/actionmailer
|
145
145
|
|
146
146
|
|
147
147
|
== License
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 15424105
|
5
|
+
prerelease: 6
|
5
6
|
segments:
|
6
7
|
- 3
|
7
8
|
- 1
|
8
9
|
- 0
|
9
|
-
-
|
10
|
-
|
10
|
+
- rc
|
11
|
+
- 6
|
12
|
+
version: 3.1.0.rc6
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- David Heinemeier Hansson
|
@@ -15,31 +17,35 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
20
|
+
date: 2011-08-16 00:00:00 Z
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: actionpack
|
23
24
|
prerelease: false
|
24
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
25
27
|
requirements:
|
26
28
|
- - "="
|
27
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 15424105
|
28
31
|
segments:
|
29
32
|
- 3
|
30
33
|
- 1
|
31
34
|
- 0
|
32
|
-
-
|
33
|
-
|
35
|
+
- rc
|
36
|
+
- 6
|
37
|
+
version: 3.1.0.rc6
|
34
38
|
type: :runtime
|
35
39
|
version_requirements: *id001
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: mail
|
38
42
|
prerelease: false
|
39
43
|
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
40
45
|
requirements:
|
41
46
|
- - ~>
|
42
47
|
- !ruby/object:Gem::Version
|
48
|
+
hash: 3
|
43
49
|
segments:
|
44
50
|
- 2
|
45
51
|
- 3
|
@@ -75,7 +81,6 @@ files:
|
|
75
81
|
- lib/rails/generators/mailer/mailer_generator.rb
|
76
82
|
- lib/rails/generators/mailer/templates/mailer.rb
|
77
83
|
- lib/rails/generators/mailer/USAGE
|
78
|
-
has_rdoc: true
|
79
84
|
homepage: http://www.rubyonrails.org
|
80
85
|
licenses: []
|
81
86
|
|
@@ -85,18 +90,22 @@ rdoc_options: []
|
|
85
90
|
require_paths:
|
86
91
|
- lib
|
87
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
88
94
|
requirements:
|
89
95
|
- - ">="
|
90
96
|
- !ruby/object:Gem::Version
|
97
|
+
hash: 57
|
91
98
|
segments:
|
92
99
|
- 1
|
93
100
|
- 8
|
94
101
|
- 7
|
95
102
|
version: 1.8.7
|
96
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
97
105
|
requirements:
|
98
106
|
- - ">"
|
99
107
|
- !ruby/object:Gem::Version
|
108
|
+
hash: 25
|
100
109
|
segments:
|
101
110
|
- 1
|
102
111
|
- 3
|
@@ -105,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
114
|
requirements:
|
106
115
|
- none
|
107
116
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.
|
117
|
+
rubygems_version: 1.8.8
|
109
118
|
signing_key:
|
110
119
|
specification_version: 3
|
111
120
|
summary: Email composition, delivery, and receiving framework (part of Rails).
|