diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-14 10:48:43 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-14 10:48:43 -0700 |
commit | 9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d (patch) | |
tree | 0b8477543eea2f5e799f2bc91bfa88c3a1418c2a | |
parent | 73aefee3f23f54786c69f1bafa5b1f0b5aee8398 (diff) | |
parent | f93da579ce7f77dbd58b9a2165861aee265b8c93 (diff) | |
download | rails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.tar.gz rails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.tar.bz2 rails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.zip |
Merge branch 'master' into normalizecb
* master:
private callback methods should work
Update mail to minimum version 2.5.4
-rw-r--r-- | actionmailer/actionmailer.gemspec | 2 | ||||
-rw-r--r-- | activesupport/test/callbacks_test.rb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/actionmailer/actionmailer.gemspec b/actionmailer/actionmailer.gemspec index 67ec0d1097..c56b6979ef 100644 --- a/actionmailer/actionmailer.gemspec +++ b/actionmailer/actionmailer.gemspec @@ -21,5 +21,5 @@ Gem::Specification.new do |s| s.add_dependency 'actionpack', version - s.add_dependency 'mail', '~> 2.5.3' + s.add_dependency 'mail', '~> 2.5.4' end diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb index b97001b652..86057f7cbb 100644 --- a/activesupport/test/callbacks_test.rb +++ b/activesupport/test/callbacks_test.rb @@ -864,8 +864,9 @@ module CallbacksTest include ActiveSupport::Callbacks define_callbacks :foo, :scope => [:name] set_callback :foo, :before, :foo, :if => callback - def foo; end def run; run_callbacks :foo; end + private + def foo; end } object = klass.new object.run |