maedana-ar_mailer 2.1.6.2 → 2.1.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/action_mailer/ar_mailer.rb +1 -1
  2. metadata +2 -2
@@ -26,7 +26,7 @@ class ActionMailer::Base
26
26
 
27
27
  def perform_delivery_activerecord(mail)
28
28
  mail.destinations.each do |destination|
29
- self.class.email_class.create :mail => mail.encoded, :to => destination, :from => mail.from.first
29
+ self.class.email_class.create :mail => mail.encoded, :to => destination, :from => Array(mail.from).first
30
30
  end
31
31
  end
32
32
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maedana-ar_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6.2
4
+ version: 2.1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-03-29 00:00:00 +09:00
14
+ date: 2010-10-01 00:00:00 +09:00
15
15
  default_executable: ar_sendmail
16
16
  dependencies: []
17
17