From d868cb4f8a84b6275b6407b20bb3ba939a53681a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 1 Apr 2010 13:36:45 -0700 Subject: Prep for beta2, depend on latest Bundler --- actionmailer/lib/action_mailer/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/lib/action_mailer/version.rb b/actionmailer/lib/action_mailer/version.rb index 7328a7dc80..5954cfcede 100644 --- a/actionmailer/lib/action_mailer/version.rb +++ b/actionmailer/lib/action_mailer/version.rb @@ -3,7 +3,7 @@ module ActionMailer MAJOR = 3 MINOR = 0 TINY = 0 - BUILD = "beta1" + BUILD = "beta2" STRING = [MAJOR, MINOR, TINY, BUILD].join('.') end -- cgit v1.2.3 From d2a48852a197190ecead6650aa62c7df4c3136ee Mon Sep 17 00:00:00 2001 From: wycats Date: Thu, 1 Apr 2010 13:54:53 -0700 Subject: Updated changelogs --- actionmailer/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionmailer') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 0018a2ed5d..c78cfd89ac 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,5 +1,10 @@ *Rails 3.0 (pending)* +* Added interceptors and observers from Mail [ML] + + ActionMailer::Base.register_interceptor calls Mail.register_interceptor + ActionMailer::Base.register_observer calls Mail.register_observer + * Whole new API added with tests. See base.rb for full details. Old API is deprecated. * The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, mail.date will give you a DateTime object, mail.from will give you an array of address specs (mikel@test.lindsaar.net) etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted -- cgit v1.2.3 From c1883e75b38be79cc547890b2c83619351da1c95 Mon Sep 17 00:00:00 2001 From: wycats Date: Thu, 1 Apr 2010 14:04:55 -0700 Subject: Updated changelogs to differentiate beta1 and beta2 --- actionmailer/CHANGELOG | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index c78cfd89ac..bb5c7311f3 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,4 +1,4 @@ -*Rails 3.0 (pending)* +*Rails 3.0.0 [beta 2] (pending)* * Added interceptors and observers from Mail [ML] @@ -7,6 +7,8 @@ * Whole new API added with tests. See base.rb for full details. Old API is deprecated. +*Rails 3.0.0 [beta 1] (February 4, 2010)* + * The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, mail.date will give you a DateTime object, mail.from will give you an array of address specs (mikel@test.lindsaar.net) etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted * Mail#content_type now returns the content_type field as a string. If you want the mime type of a mail, then you call Mail#mime_type (eg, text/plain), if you want the parameters of the content type field, you call Mail#content_type_parameters which gives you a hash, eg {'format' => 'flowed', 'charset' => 'utf-8'} -- cgit v1.2.3 From f0364d87f03d58312bcab1b2f17b5b56b6c72653 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 1 Apr 2010 14:20:03 -0700 Subject: Release is today, yo --- actionmailer/CHANGELOG | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionmailer') diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index bb5c7311f3..605b18d7e9 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,4 +1,4 @@ -*Rails 3.0.0 [beta 2] (pending)* +*Rails 3.0.0 [beta 2] (April 1st, 2010)* * Added interceptors and observers from Mail [ML] @@ -7,6 +7,7 @@ * Whole new API added with tests. See base.rb for full details. Old API is deprecated. + *Rails 3.0.0 [beta 1] (February 4, 2010)* * The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, mail.date will give you a DateTime object, mail.from will give you an array of address specs (mikel@test.lindsaar.net) etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted -- cgit v1.2.3