actionmailer 4.0.0.beta1 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d998e51a81263ea8d899918f19f535a7c53c9fcd
4
- data.tar.gz: cae501c3d36339904aafde7187eb48ec9e7fd54b
3
+ metadata.gz: aa60908ffcb2b97b334a14b0fc8c5fa89e57f600
4
+ data.tar.gz: aa94fce4e641d6f878651df96a1520f8b1c2704c
5
5
  SHA512:
6
- metadata.gz: 19b5d72a2aea5a58b284535609cec0c1834ee99238049ad57185cc4791dc6af3476ddd66324ddb9b4c4c9f695c7ea02ee797a284309c65c60e7a4b1634085dea
7
- data.tar.gz: a0d0ada11072b71c20f91b79893d5929dda7283385b67faf8bbde4bb4a88240429fe32e3783f0a3cb7227107db8cff2d3dbde031ddf4bf670aebea0a0ae43321
6
+ metadata.gz: 7839a2c43c8c17452f57236c0178129662a366d56343500472ffd6e64b7efdccca22e2b26585a71e97593c9e9420060e3928bcb185c13415bf9c287dcc727856
7
+ data.tar.gz: 11959e9af4a00f3ecaf83ad542c8d2c4515ae4e3cab9e215a6f9432e42eacfa8caf09fadbbe01c19f221d5cd42ff538ec30e6479c3586de2ab70399143aa9688
@@ -1,3 +1,6 @@
1
+ ## Rails 4.0.0 (unreleased) ##
2
+
3
+
1
4
  ## Rails 4.0.0.beta1 (February 25, 2013) ##
2
5
 
3
6
  * Allow passing interpolations to `#default_i18n_subject`, e.g.:
@@ -18,24 +21,24 @@
18
21
  *Olek Janiszewski*
19
22
 
20
23
  * Eager loading made to use relation's `in_clause_length` instead of host's one.
21
- Fix #8474
24
+ Fixes #8474.
22
25
 
23
26
  *Boris Staal*
24
27
 
25
28
  * Explicit multipart messages no longer set the order of the MIME parts.
29
+
26
30
  *Nate Berkopec*
27
31
 
28
- * Do not render views when mail() isn't called.
29
- Fix #7761
32
+ * Do not render views when `mail` isn't called. Fixes #7761.
30
33
 
31
34
  *Yves Senn*
32
35
 
33
- * Allow delivery method options to be set per mail instance *Aditya Sanghi*
36
+ * Allow delivery method options to be set per mail instance.
34
37
 
35
- If your smtp delivery settings are dynamic,
36
- you can now override settings per mail instance for e.g.
38
+ If your SMTP delivery settings are dynamic, you can now override settings
39
+ per mail instance for e.g.
37
40
 
38
- def my_mailer(user,company)
41
+ def my_mailer(user, company)
39
42
  mail to: user.email, subject: "Welcome!",
40
43
  delivery_method_options: { user_name: company.smtp_user,
41
44
  password: company.smtp_password }
@@ -44,14 +47,16 @@
44
47
  This will ensure that your default SMTP settings will be overridden
45
48
  by the company specific ones. You only have to override the settings
46
49
  that are dynamic and leave the static setting in your environment
47
- configuration file (e.g. config/environments/production.rb)
50
+ configuration file (e.g. `config/environments/production.rb`).
51
+
52
+ *Aditya Sanghi*
48
53
 
49
- * Allow to set default Action Mailer options via `config.action_mailer.default_options=` *Robert Pankowecki*
54
+ * Allow to set default Action Mailer options via `config.action_mailer.default_options=`. *Robert Pankowecki*
50
55
 
51
56
  * Raise an `ActionView::MissingTemplate` exception when no implicit template could be found. *Damien Mathieu*
52
57
 
53
58
  * Allow callbacks to be defined in mailers similar to `ActionController::Base`. You can configure default
54
59
  settings, headers, attachments, delivery settings or change delivery using
55
- `before_filter`, `after_filter` etc. *Justin S. Leitgeb*
60
+ `before_filter`, `after_filter`, etc. *Justin S. Leitgeb*
56
61
 
57
62
  Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes.
@@ -1,6 +1,6 @@
1
1
  = Action Mailer -- Easy email delivery and testing
2
2
 
3
- Action Mailer is a framework for designing email-service layers. These layers
3
+ Action Mailer is a framework for designing email service layers. These layers
4
4
  are used to consolidate code for sending out forgotten passwords, welcome
5
5
  wishes on signup, invoices for billing, and any other use case that requires
6
6
  a written notification to either a person or another system.
@@ -78,7 +78,7 @@ Or you can just chain the methods together like:
78
78
 
79
79
  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.
80
80
 
81
- Note that every value you set with this method will get over written if you use the same key in your mailer method.
81
+ Note that every value you set with this method will get overwritten if you use the same key in your mailer method.
82
82
 
83
83
  Example:
84
84
 
@@ -1,10 +1,11 @@
1
1
  module ActionMailer
2
- module VERSION #:nodoc:
3
- MAJOR = 4
4
- MINOR = 0
5
- TINY = 0
6
- PRE = "beta1"
2
+ # Returns the version of the currently loaded ActionMailer as a Gem::Version
3
+ def self.version
4
+ Gem::Version.new "4.0.0.rc1"
5
+ end
7
6
 
8
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
7
+ module VERSION #:nodoc:
8
+ MAJOR, MINOR, TINY, PRE = ActionMailer.version.segments
9
+ STRING = ActionMailer.version.to_s
9
10
  end
10
11
  end
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.beta1
4
+ version: 4.0.0.rc1
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-02-26 00:00:00.000000000 Z
11
+ date: 2013-04-29 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.beta1
19
+ version: 4.0.0.rc1
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.beta1
26
+ version: 4.0.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mail
29
29
  requirement: !ruby/object:Gem::Requirement