maedana-ar_mailer 2.1.6.1 → 2.1.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,10 +11,10 @@ ar_mailer_gemspec = Gem::Specification.new do |s|
11
11
  s.name = %q{maedana-ar_mailer}
12
12
  s.version = ActionMailer::ARSendmail::VERSION
13
13
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
14
- s.authors = ["Eric Hodel", "Adam Meehan"]
14
+ s.authors = ["Eric Hodel", "Adam Meehan", "Naoki Maeda"]
15
15
  s.default_executable = %q{ar_sendmail}
16
16
  s.description = %q{Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail.}
17
- s.email = %q{adam.meehan@gmail.com}
17
+ s.email = %q{adam.meehan@gmail.com maeda.na@gmail.com}
18
18
  s.executables = ["ar_sendmail"]
19
19
  s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "README.rdoc"]
20
20
  s.files = ["History.txt", "LICENSE.txt", "README.rdoc", "Rakefile", "bin/ar_sendmail", "generators/ar_mailer/ar_mailer_generator.rb", "generators/ar_mailer/templates/migration.rb", "generators/ar_mailer/templates/model.rb", "lib/action_mailer/ar_mailer.rb", "lib/action_mailer/ar_sendmail.rb", "lib/smtp_tls.rb", "share/bsd/ar_sendmail", "share/linux/ar_sendmail", "share/linux/ar_sendmail.conf", "test/resources/action_mailer.rb", "test/test_armailer.rb", "test/test_arsendmail.rb", "test/test_helper.rb"]
@@ -33,7 +33,9 @@ class ActionMailer::Base
33
33
  def perform_delivery_smtp(mail)
34
34
  destinations = mail.destinations
35
35
  mail.ready_to_send
36
- sender = (mail['return-path'] && mail['return-path'].spec) || mail['from']
36
+ # via https://rails.lighthouseapp.com/projects/8994/tickets/2340
37
+ # via http://github.com/rails/rails/commit/da61a6c9671239dbb4a926c3e161ca8663fa0e3f
38
+ sender = (mail['return-path'] && mail['return-path'].spec) || Array(mail.from).first
37
39
 
38
40
  user_names = (smtp_settings[:user] || smtp_settings[:user_name]).to_a
39
41
  settings = [
@@ -42,7 +42,7 @@ class ActionMailer::ARSendmail
42
42
  ##
43
43
  # The version of ActionMailer::ARSendmail you are running.
44
44
 
45
- VERSION = '2.1.6.1'
45
+ VERSION = '2.1.6.2'
46
46
 
47
47
  ##
48
48
  # Maximum number of times authentication will be consecutively retried
metadata CHANGED
@@ -1,21 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maedana-ar_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6.1
4
+ version: 2.1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
8
8
  - Adam Meehan
9
+ - Naoki Maeda
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
13
 
13
- date: 2009-10-02 00:00:00 +09:00
14
+ date: 2010-03-29 00:00:00 +09:00
14
15
  default_executable: ar_sendmail
15
16
  dependencies: []
16
17
 
17
18
  description: Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail.
18
- email: adam.meehan@gmail.com
19
+ email: adam.meehan@gmail.com maeda.na@gmail.com
19
20
  executables:
20
21
  - ar_sendmail
21
22
  extensions: []
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  requirements: []
69
70
 
70
71
  rubyforge_project: seattlerb
71
- rubygems_version: 1.3.4
72
+ rubygems_version: 1.3.5
72
73
  signing_key:
73
74
  specification_version: 3
74
75
  summary: A two-phase delivery agent for ActionMailer