ambethia-smtp-tls 1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +18 -0
- data/VERSION.yml +4 -0
- data/lib/smtp-tls.rb +1 -1
- metadata +16 -11
data/README.rdoc
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
= SMTP-TLS
|
2
|
+
|
3
|
+
I didn't author this, so I can't make any claims about it's worth, licensing, or anything else. It's just a gem package for some code that's been floating around for a few years. Check google, or the following for more information:
|
4
|
+
|
5
|
+
* http://pastie.caboo.se/135270
|
6
|
+
* http://d.hatena.ne.jp/zorio/20060416
|
7
|
+
* http://www.prestonlee.com/archives/6
|
8
|
+
|
9
|
+
== Dependencies
|
10
|
+
|
11
|
+
* Net::SMTP
|
12
|
+
* OpenSSL
|
13
|
+
|
14
|
+
== Usage
|
15
|
+
|
16
|
+
require 'smtp-tls'
|
17
|
+
|
18
|
+
Then get back to business as usual.
|
data/VERSION.yml
ADDED
data/lib/smtp-tls.rb
CHANGED
@@ -5,7 +5,7 @@ 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
|
-
check_auth_args user, secret
|
8
|
+
check_auth_args user, secret if user or secret
|
9
9
|
|
10
10
|
sock = timeout(@open_timeout) { TCPSocket.open(@address, @port) }
|
11
11
|
@socket = Net::InternetMessageIO.new(sock)
|
metadata
CHANGED
@@ -1,33 +1,38 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ambethia-smtp-tls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Unknown
|
7
|
+
- Unknown
|
8
|
+
- Jason L Perry
|
9
|
+
- Elliot Cable
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
13
|
|
12
|
-
date:
|
14
|
+
date: 2009-04-02 00:00:00 -07:00
|
13
15
|
default_executable:
|
14
16
|
dependencies: []
|
15
17
|
|
16
18
|
description: A gem package for the SMTP TLS code that's been floating around for years
|
17
|
-
email:
|
19
|
+
email: jasper@ambethia.com
|
18
20
|
executables: []
|
19
21
|
|
20
22
|
extensions: []
|
21
23
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
24
|
+
extra_rdoc_files:
|
25
|
+
- README.rdoc
|
24
26
|
files:
|
27
|
+
- README.rdoc
|
28
|
+
- VERSION.yml
|
25
29
|
- lib/smtp-tls.rb
|
26
|
-
has_rdoc:
|
27
|
-
homepage:
|
30
|
+
has_rdoc: true
|
31
|
+
homepage: http://github.com/ambethia/smtp-tls
|
28
32
|
post_install_message:
|
29
|
-
rdoc_options:
|
30
|
-
|
33
|
+
rdoc_options:
|
34
|
+
- --inline-source
|
35
|
+
- --charset=UTF-8
|
31
36
|
require_paths:
|
32
37
|
- lib
|
33
38
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -45,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
50
|
requirements: []
|
46
51
|
|
47
52
|
rubyforge_project:
|
48
|
-
rubygems_version: 1.0
|
53
|
+
rubygems_version: 1.2.0
|
49
54
|
signing_key:
|
50
55
|
specification_version: 2
|
51
56
|
summary: SMTP TLS (SSL) extension for Net::SMTP
|