adzap-ar_mailer 2.1.4 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ = 2.1.5
2
+
3
+ * Bugs fixed
4
+ * Load ar_mailer after environment to fix issue with lazy loading of ActionMailer in Rails 2.3
5
+
1
6
  = 2.1.4
2
7
 
3
8
  * Bugs fixed
data/README.rdoc CHANGED
@@ -30,11 +30,12 @@ Before installing you will need to make sure the original gem is uninstalled as
30
30
 
31
31
  $ sudo gem uninstall ar_mailer
32
32
 
33
- Install the gem from GitHub gems server:
33
+ Install the gem from Gemcutter gems server:
34
34
 
35
35
  First, if you haven't already:
36
36
 
37
- $ sudo gem sources -a http://gems.github.com
37
+ $ sudo gem install gemcutter
38
+ $ sudo gem tumble
38
39
 
39
40
  Then
40
41
 
@@ -42,7 +43,7 @@ Then
42
43
 
43
44
  For Rails >= 2.1, in your environment.rb:
44
45
 
45
- config.gem "adzap-ar_mailer", :lib => 'action_mailer/ar_mailer', :source => 'http://gems.github.com'
46
+ config.gem "adzap-ar_mailer", :lib => 'action_mailer/ar_mailer', :source => 'http://gemcutter.com'
46
47
 
47
48
  For Rails 2.0, in an initializer file:
48
49
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ $:.unshift(File.expand_path(File.dirname(__FILE__) + '/lib'))
8
8
  require './lib/action_mailer/ar_sendmail'
9
9
 
10
10
  ar_mailer_gemspec = Gem::Specification.new do |s|
11
- s.name = %q{ar_mailer}
11
+ s.name = %q{adzap-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
14
  s.authors = ["Eric Hodel", "Adam Meehan"]
@@ -1,12 +1,6 @@
1
1
  require 'optparse'
2
2
  require 'net/smtp'
3
3
  require 'smtp_tls' unless Net::SMTP.instance_methods.include?("enable_starttls_auto")
4
- require 'rubygems'
5
-
6
- module ActionMailer; end
7
- # This should get loaded by the environment later but for some reason fails with
8
- # the github namespaced gem and succeeds with a local gem build install.
9
- require 'action_mailer/ar_mailer'
10
4
 
11
5
  ##
12
6
  # Hack in RSET
@@ -41,12 +35,14 @@ end
41
35
  # * --daemon
42
36
  # * --mailq
43
37
 
38
+ module ActionMailer; end
39
+
44
40
  class ActionMailer::ARSendmail
45
41
 
46
42
  ##
47
43
  # The version of ActionMailer::ARSendmail you are running.
48
44
 
49
- VERSION = '2.1.4'
45
+ VERSION = '2.1.5'
50
46
 
51
47
  ##
52
48
  # Maximum number of times authentication will be consecutively retried
@@ -254,6 +250,7 @@ class ActionMailer::ARSendmail
254
250
  Dir.chdir options[:Chdir] do
255
251
  begin
256
252
  require 'config/environment'
253
+ require 'action_mailer/ar_mailer'
257
254
  rescue LoadError
258
255
  usage opts, <<-EOF
259
256
  #{name} must be run from a Rails application's root to deliver email.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adzap-ar_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-07-06 00:00:00 -07:00
13
+ date: 2009-11-03 00:00:00 +11:00
14
14
  default_executable: ar_sendmail
15
15
  dependencies: []
16
16
 
@@ -43,8 +43,10 @@ files:
43
43
  - test/test_armailer.rb
44
44
  - test/test_arsendmail.rb
45
45
  - test/test_helper.rb
46
- has_rdoc: false
46
+ has_rdoc: true
47
47
  homepage: http://github.com/adzap/ar_mailer
48
+ licenses: []
49
+
48
50
  post_install_message:
49
51
  rdoc_options:
50
52
  - --main
@@ -66,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
68
  requirements: []
67
69
 
68
70
  rubyforge_project: seattlerb
69
- rubygems_version: 1.2.0
71
+ rubygems_version: 1.3.4
70
72
  signing_key:
71
73
  specification_version: 3
72
74
  summary: A two-phase delivery agent for ActionMailer