actionmailer 2.3.4 → 2.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *2.3.5 (November 25, 2009)*
2
+
3
+ * Minor Bug Fixes and deprecation warnings
4
+
1
5
  *2.3.4 (September 4, 2009)*
2
6
 
3
7
  * Minor bug fixes.
data/Rakefile CHANGED
@@ -54,7 +54,7 @@ spec = Gem::Specification.new do |s|
54
54
  s.rubyforge_project = "actionmailer"
55
55
  s.homepage = "http://www.rubyonrails.org"
56
56
 
57
- s.add_dependency('actionpack', '= 2.3.4' + PKG_BUILD)
57
+ s.add_dependency('actionpack', '= 2.3.5' + PKG_BUILD)
58
58
 
59
59
  s.has_rdoc = true
60
60
  s.requirements << 'none'
@@ -43,6 +43,7 @@ module Racc
43
43
 
44
44
  class Parser
45
45
 
46
+ old_verbose, $VERBOSE = $VERBOSE, nil
46
47
  Racc_Runtime_Version = '1.4.5'
47
48
  Racc_Runtime_Revision = '$Revision: 1.7 $'.split[1]
48
49
 
@@ -71,6 +72,7 @@ module Racc
71
72
  Racc_Runtime_Core_Revision = Racc_Runtime_Core_Revision_R
72
73
  Racc_Runtime_Type = 'ruby'
73
74
  end
75
+ $VERBOSE = old_verbose
74
76
 
75
77
  def Parser.racc_runtime_type
76
78
  Racc_Runtime_Type
@@ -2,7 +2,7 @@ module ActionMailer
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1 +1,2 @@
1
1
  require 'action_mailer'
2
+ ActiveSupport::Deprecation.warn 'require "actionmailer" is deprecated and will be removed in Rails 3. Use require "action_mailer" instead.'
@@ -1,5 +1,5 @@
1
1
  module ExampleHelper
2
2
  def example_format(text)
3
- "<em><strong><small>#{text}</small></strong></em>"
3
+ "<em><strong><small>#{h(text)}</small></strong></em>".html_safe!
4
4
  end
5
5
  end
@@ -570,7 +570,9 @@ class ActionMailerTest < Test::Unit::TestCase
570
570
  mail = TestMailer.create_signed_up(@recipient)
571
571
  logger = mock()
572
572
  logger.expects(:info).with("Sent mail to #{@recipient}")
573
- logger.expects(:debug).with("\n#{mail.encoded}")
573
+ logger.expects(:debug).with() do |logged_text|
574
+ logged_text =~ /\[Signed up\] Welcome/
575
+ end
574
576
  TestMailer.logger = logger
575
577
  TestMailer.deliver_signed_up(@recipient)
576
578
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -9,7 +9,7 @@ autorequire: action_mailer
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-04 00:00:00 +12:00
12
+ date: 2009-11-27 00:00:00 +13:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 2.3.4
23
+ version: 2.3.5
24
24
  version:
25
25
  description: Makes it trivial to test and deliver emails sent from a single service layer.
26
26
  email: david@loudthinking.com
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - none
165
165
  rubyforge_project: actionmailer
166
- rubygems_version: 1.3.2
166
+ rubygems_version: 1.3.5
167
167
  signing_key:
168
168
  specification_version: 3
169
169
  summary: Service layer for easy email delivery and testing.