cerberus 0.4.5 → 0.4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/lib/cerberus/constants.rb +1 -1
- data/lib/cerberus/publisher/netsmtp_tls_fix.rb +8 -2
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
= Cerberus Changelog
|
2
2
|
|
3
|
+
== Version 0.4.5.1
|
4
|
+
Bugfix for ticket #6
|
5
|
+
|
6
|
+
* Ruby 1.8.7 SMTP lib changes from Ruby 1.8.6
|
7
|
+
* http://cpjolicoeur.lighthouseapp.com/projects/22299-cerberus/tickets/6-error-when-sending-the-email
|
8
|
+
|
3
9
|
== Version 0.4.5
|
4
10
|
Update to Maven2 builder
|
5
11
|
|
data/lib/cerberus/constants.rb
CHANGED
@@ -5,7 +5,13 @@ Net::SMTP.class_eval do
|
|
5
5
|
private
|
6
6
|
def do_start(helodomain, user, secret, authtype)
|
7
7
|
raise IOError, 'SMTP session already started' if @started
|
8
|
-
|
8
|
+
|
9
|
+
# Ruby 1.8.7 changes the param list for check_auth_args
|
10
|
+
if method( :check_auth_args ).arity == 2
|
11
|
+
check_auth_args user, secret if user or secret
|
12
|
+
else
|
13
|
+
check_auth_args user, secret, authtype if user or secret
|
14
|
+
end
|
9
15
|
|
10
16
|
sock = timeout(@open_timeout) { TCPSocket.open(@address, @port) }
|
11
17
|
@socket = Net::InternetMessageIO.new(sock)
|
@@ -64,4 +70,4 @@ Net::SMTP.class_eval do
|
|
64
70
|
rescue EOFError
|
65
71
|
end
|
66
72
|
end
|
67
|
-
end
|
73
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cerberus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.5
|
4
|
+
version: 0.4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatol Pomozov
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-25 00:00:00 -04:00
|
13
13
|
default_executable: cerberus
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|