smtp_tls 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +5 -0
- data/README.txt +5 -1
- data/lib/smtp_tls.rb +1 -1
- metadata +7 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -8,7 +8,11 @@ Provides SMTP STARTTLS support for Ruby 1.8.6 (built-in for 1.8.7+). Simply
|
|
8
8
|
require 'smtp_tls' and use the Net::SMTP#enable_starttls method to talk to
|
9
9
|
servers that use STARTTLS.
|
10
10
|
|
11
|
-
require '
|
11
|
+
require 'net/smtp'
|
12
|
+
begin
|
13
|
+
require 'smtp_tls'
|
14
|
+
rescue LoadError
|
15
|
+
end
|
12
16
|
|
13
17
|
smtp = Net::SMTP.new address, port
|
14
18
|
smtp.enable_starttls
|
data/lib/smtp_tls.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smtp_tls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
x52qPcexcYZR7w==
|
32
32
|
-----END CERTIFICATE-----
|
33
33
|
|
34
|
-
date: 2009-06-
|
34
|
+
date: 2009-06-25 00:00:00 -07:00
|
35
35
|
default_executable:
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -49,7 +49,11 @@ description: |-
|
|
49
49
|
require 'smtp_tls' and use the Net::SMTP#enable_starttls method to talk to
|
50
50
|
servers that use STARTTLS.
|
51
51
|
|
52
|
-
require '
|
52
|
+
require 'net/smtp'
|
53
|
+
begin
|
54
|
+
require 'smtp_tls'
|
55
|
+
rescue LoadError
|
56
|
+
end
|
53
57
|
|
54
58
|
smtp = Net::SMTP.new address, port
|
55
59
|
smtp.enable_starttls
|
metadata.gz.sig
CHANGED
Binary file
|