actionmailer 3.1.1.rc1 → 3.1.1.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.
- data/README.rdoc +2 -0
- data/lib/action_mailer/base.rb +2 -2
- data/lib/action_mailer/version.rb +1 -1
- metadata +7 -7
data/README.rdoc
CHANGED
@@ -59,6 +59,8 @@ generated would look like this:
|
|
59
59
|
|
60
60
|
Mr. david@loudthinking.com
|
61
61
|
|
62
|
+
Thank you for signing up!
|
63
|
+
|
62
64
|
In previous version of Rails you would call <tt>create_method_name</tt> and
|
63
65
|
<tt>deliver_method_name</tt>. Rails 3.0 has a much simpler interface, you
|
64
66
|
simply call the method and optionally call +deliver+ on the return value.
|
data/lib/action_mailer/base.rb
CHANGED
@@ -101,12 +101,12 @@ module ActionMailer #:nodoc:
|
|
101
101
|
# You can even use Action Pack helpers in these views. For example:
|
102
102
|
#
|
103
103
|
# You got a new note!
|
104
|
-
# <%= truncate(@note.body, 25) %>
|
104
|
+
# <%= truncate(@note.body, :length => 25) %>
|
105
105
|
#
|
106
106
|
# If you need to access the subject, from or the recipients in the view, you can do that through message object:
|
107
107
|
#
|
108
108
|
# You got a new note from <%= message.from %>!
|
109
|
-
# <%= truncate(@note.body, 25) %>
|
109
|
+
# <%= truncate(@note.body, :length => 25) %>
|
110
110
|
#
|
111
111
|
#
|
112
112
|
# = Generating URLs
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 977940595
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 1
|
9
9
|
- 1
|
10
|
-
-
|
11
|
-
version: 3.1.1.
|
10
|
+
- rc2
|
11
|
+
version: 3.1.1.rc2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- David Heinemeier Hansson
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-09-
|
19
|
+
date: 2011-09-29 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -27,13 +27,13 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - "="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 977940595
|
31
31
|
segments:
|
32
32
|
- 3
|
33
33
|
- 1
|
34
34
|
- 1
|
35
|
-
-
|
36
|
-
version: 3.1.1.
|
35
|
+
- rc2
|
36
|
+
version: 3.1.1.rc2
|
37
37
|
type: :runtime
|
38
38
|
version_requirements: *id001
|
39
39
|
- !ruby/object:Gem::Dependency
|