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 CHANGED
@@ -1,3 +1,7 @@
1
+ *2.3.3 (July 20, 2009)*
2
+
3
+ * No changes, just a version bump.
4
+
1
5
  *2.3.2 [Final] (March 15, 2009)*
2
6
 
3
7
  * Fixed that ActionMailer should send correctly formatted Return-Path in MAIL FROM for SMTP #1842 [Matt Jones]
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.2' + PKG_BUILD)
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
- require 'rubyforge'
91
- require 'rake/contrib/rubyforgepublisher'
91
+ `rubyforge login`
92
92
 
93
- packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
94
-
95
- rubyforge = RubyForge.new
96
- rubyforge.login
97
- rubyforge.add_release(PKG_NAME, PKG_NAME, "REL #{PKG_VERSION}", *packages)
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
@@ -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.from
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)
@@ -2,7 +2,7 @@ module ActionMailer
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,9 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'test/unit'
3
3
 
4
- gem 'mocha', '>= 0.9.5'
5
- require 'mocha'
6
-
7
4
  $:.unshift "#{File.dirname(__FILE__)}/../lib"
8
5
  $:.unshift "#{File.dirname(__FILE__)}/../../activesupport/lib"
9
6
  $:.unshift "#{File.dirname(__FILE__)}/../../actionpack/lib"
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.2
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-03-15 00:00:00 -05:00
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.2
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