tuktuk 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tuktuk/tuktuk.rb CHANGED
@@ -9,6 +9,7 @@ DEFAULTS = {
9
9
  :retry_sleep => 10,
10
10
  :max_attempts => 3,
11
11
  :read_timeout => nil,
12
+ :open_timeout => nil,
12
13
  :verify_ssl => true,
13
14
  :log_to => nil # $stdout,
14
15
  }
@@ -133,6 +134,7 @@ module Tuktuk
133
134
  smtp = Net::SMTP.new(server, nil)
134
135
  smtp.enable_starttls_auto(context)
135
136
  smtp.read_timeout = config[:read_timeout] if config[:read_timeout]
137
+ smtp.open_timeout = config[:open_timeout] if config[:open_timeout]
136
138
 
137
139
  response = nil
138
140
  smtp.start(helo_domain, nil, nil, nil) do |smtp|
@@ -1,7 +1,7 @@
1
1
  module Tuktuk
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 2
4
+ PATCH = 3
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tuktuk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Tom\xC3\xA1s Pollak"