padrino-mailer 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/padrino-mailer/delivery.rb +2 -2
- data/padrino-mailer.gemspec +5 -5
- metadata +5 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.6
|
@@ -89,8 +89,8 @@ module Padrino
|
|
89
89
|
|
90
90
|
def transport_via_smtp(tmail, options={:smtp => {}})
|
91
91
|
logger.debug "Sending email via smtp:\n#{tmail}" if Kernel.respond_to?(:logger)
|
92
|
-
|
93
|
-
o
|
92
|
+
o = { :host => 'localhost', :port => '25', :domain => 'localhost.localdomain' }
|
93
|
+
o.merge!(options[:smtp]) if options[:smtp].is_a?(Hash)
|
94
94
|
smtp = Net::SMTP.new(o[:host], o[:port])
|
95
95
|
if o[:tls]
|
96
96
|
raise "You may need: gem install smtp_tls" unless smtp.respond_to?(:enable_starttls)
|
data/padrino-mailer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{padrino-mailer}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
|
12
|
-
s.date = %q{2010-03-
|
12
|
+
s.date = %q{2010-03-15}
|
13
13
|
s.description = %q{Mailer system for padrino allowing easy delivery of application emails}
|
14
14
|
s.email = %q{padrinorb@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.specification_version = 3
|
49
49
|
|
50
50
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
51
|
-
s.add_runtime_dependency(%q<padrino-core>, ["= 0.9.
|
51
|
+
s.add_runtime_dependency(%q<padrino-core>, ["= 0.9.6"])
|
52
52
|
s.add_runtime_dependency(%q<tilt>, [">= 0.6"])
|
53
53
|
s.add_runtime_dependency(%q<tmail>, [">= 1.2"])
|
54
54
|
s.add_development_dependency(%q<shoulda>, [">= 2.10.3"])
|
@@ -57,7 +57,7 @@ Gem::Specification.new do |s|
|
|
57
57
|
s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
|
58
58
|
s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
|
59
59
|
else
|
60
|
-
s.add_dependency(%q<padrino-core>, ["= 0.9.
|
60
|
+
s.add_dependency(%q<padrino-core>, ["= 0.9.6"])
|
61
61
|
s.add_dependency(%q<tilt>, [">= 0.6"])
|
62
62
|
s.add_dependency(%q<tmail>, [">= 1.2"])
|
63
63
|
s.add_dependency(%q<shoulda>, [">= 2.10.3"])
|
@@ -67,7 +67,7 @@ Gem::Specification.new do |s|
|
|
67
67
|
s.add_dependency(%q<webrat>, [">= 0.5.1"])
|
68
68
|
end
|
69
69
|
else
|
70
|
-
s.add_dependency(%q<padrino-core>, ["= 0.9.
|
70
|
+
s.add_dependency(%q<padrino-core>, ["= 0.9.6"])
|
71
71
|
s.add_dependency(%q<tilt>, [">= 0.6"])
|
72
72
|
s.add_dependency(%q<tmail>, [">= 1.2"])
|
73
73
|
s.add_dependency(%q<shoulda>, [">= 2.10.3"])
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 6
|
9
|
+
version: 0.9.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Padrino Team
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-03-
|
20
|
+
date: 2010-03-15 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -30,8 +30,8 @@ dependencies:
|
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 9
|
33
|
-
-
|
34
|
-
version: 0.9.
|
33
|
+
- 6
|
34
|
+
version: 0.9.6
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|