actionmailer 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/Rakefile +9 -9
- data/lib/action_mailer/base.rb +1 -1
- data/lib/action_mailer/version.rb +1 -1
- data/test/abstract_unit.rb +0 -3
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -4,7 +4,6 @@ require 'rake/testtask'
|
|
4
4
|
require 'rake/rdoctask'
|
5
5
|
require 'rake/packagetask'
|
6
6
|
require 'rake/gempackagetask'
|
7
|
-
require 'rake/contrib/sshpublisher'
|
8
7
|
require File.join(File.dirname(__FILE__), 'lib', 'action_mailer', 'version')
|
9
8
|
|
10
9
|
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
|
@@ -55,7 +54,7 @@ spec = Gem::Specification.new do |s|
|
|
55
54
|
s.rubyforge_project = "actionmailer"
|
56
55
|
s.homepage = "http://www.rubyonrails.org"
|
57
56
|
|
58
|
-
s.add_dependency('actionpack', '= 2.3.
|
57
|
+
s.add_dependency('actionpack', '= 2.3.3' + PKG_BUILD)
|
59
58
|
|
60
59
|
s.has_rdoc = true
|
61
60
|
s.requirements << 'none'
|
@@ -76,23 +75,24 @@ end
|
|
76
75
|
|
77
76
|
desc "Publish the API documentation"
|
78
77
|
task :pgem => [:package] do
|
78
|
+
require 'rake/contrib/sshpublisher'
|
79
79
|
Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
80
80
|
`ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'`
|
81
81
|
end
|
82
82
|
|
83
83
|
desc "Publish the API documentation"
|
84
84
|
task :pdoc => [:rdoc] do
|
85
|
+
require 'rake/contrib/sshpublisher'
|
85
86
|
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
|
86
87
|
end
|
87
88
|
|
88
89
|
desc "Publish the release files to RubyForge."
|
89
90
|
task :release => [ :package ] do
|
90
|
-
|
91
|
-
require 'rake/contrib/rubyforgepublisher'
|
91
|
+
`rubyforge login`
|
92
92
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
93
|
+
for ext in %w( gem tgz zip )
|
94
|
+
release_command = "rubyforge add_release #{PKG_NAME} #{PKG_NAME} 'REL #{PKG_VERSION}' pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}"
|
95
|
+
puts release_command
|
96
|
+
system(release_command)
|
97
|
+
end
|
98
98
|
end
|
data/lib/action_mailer/base.rb
CHANGED
@@ -674,7 +674,7 @@ module ActionMailer #:nodoc:
|
|
674
674
|
def perform_delivery_smtp(mail)
|
675
675
|
destinations = mail.destinations
|
676
676
|
mail.ready_to_send
|
677
|
-
sender = (mail['return-path'] && mail['return-path'].spec) || mail
|
677
|
+
sender = (mail['return-path'] && mail['return-path'].spec) || mail['from']
|
678
678
|
|
679
679
|
smtp = Net::SMTP.new(smtp_settings[:address], smtp_settings[:port])
|
680
680
|
smtp.enable_starttls_auto if smtp_settings[:enable_starttls_auto] && smtp.respond_to?(:enable_starttls_auto)
|
data/test/abstract_unit.rb
CHANGED
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
|
+
version: 2.3.3
|
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-
|
12
|
+
date: 2009-07-20 00:00:00 -05: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.
|
23
|
+
version: 2.3.3
|
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
|