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 CHANGED
Binary file
@@ -1,3 +1,8 @@
1
+ === 1.0.2 / 2009-06-25
2
+
3
+ * 1 major enhancement
4
+ * Improved README.txt example for TLS newbies.
5
+
1
6
  === 1.0.1 / 2009-06-24
2
7
 
3
8
  * 1 bug fix
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 'smtp_tls'
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
@@ -7,7 +7,7 @@ require 'net/smtp'
7
7
  class Net::SMTP
8
8
 
9
9
  class SMTP_TLS
10
- VERSION = '1.0.1'
10
+ VERSION = '1.0.2'
11
11
  end
12
12
 
13
13
  class << self
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.1
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-24 00:00:00 -07:00
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 'smtp_tls'
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