remailer 0.4.18 → 0.4.19

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.18
1
+ 0.4.19
@@ -196,11 +196,19 @@ class Remailer::Connection::SmtpInterpreter < Remailer::Interpreter
196
196
 
197
197
  interpret(220) do
198
198
  # "HELO/EHLO command already issued"
199
- enter_state(:established)
199
+ if (delegate.requires_authentication?)
200
+ enter_state(:auth)
201
+ else
202
+ enter_state(:established)
203
+ end
200
204
  end
201
205
 
202
206
  interpret(250) do
203
- enter_state(:established)
207
+ if (delegate.requires_authentication?)
208
+ enter_state(:auth)
209
+ else
210
+ enter_state(:established)
211
+ end
204
212
  end
205
213
  end
206
214
 
data/remailer.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{remailer}
8
- s.version = "0.4.18"
7
+ s.name = "remailer"
8
+ s.version = "0.4.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Scott Tadman}]
12
- s.date = %q{2011-08-16}
13
- s.description = %q{EventMachine SMTP Mail User Agent}
14
- s.email = %q{scott@twg.ca}
11
+ s.authors = ["Scott Tadman"]
12
+ s.date = "2011-10-19"
13
+ s.description = "EventMachine SMTP Mail User Agent"
14
+ s.email = "scott@twg.ca"
15
15
  s.extra_rdoc_files = [
16
16
  "README.rdoc"
17
17
  ]
@@ -36,10 +36,10 @@ Gem::Specification.new do |s|
36
36
  "test/unit/remailer_interpreter_test.rb",
37
37
  "test/unit/remailer_test.rb"
38
38
  ]
39
- s.homepage = %q{http://github.com/twg/remailer}
40
- s.require_paths = [%q{lib}]
41
- s.rubygems_version = %q{1.8.8}
42
- s.summary = %q{Reactor-Ready SMTP Mailer}
39
+ s.homepage = "http://github.com/twg/remailer"
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = "1.8.10"
42
+ s.summary = "Reactor-Ready SMTP Mailer"
43
43
 
44
44
  if s.respond_to? :specification_version then
45
45
  s.specification_version = 3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.18
4
+ version: 0.4.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-16 00:00:00.000000000Z
12
+ date: 2011-10-19 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: &2153482360 !ruby/object:Gem::Requirement
16
+ requirement: &2154425060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153482360
24
+ version_requirements: *2154425060
25
25
  description: EventMachine SMTP Mail User Agent
26
26
  email: scott@twg.ca
27
27
  executables: []
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  requirements: []
70
70
  rubyforge_project:
71
- rubygems_version: 1.8.8
71
+ rubygems_version: 1.8.10
72
72
  signing_key:
73
73
  specification_version: 3
74
74
  summary: Reactor-Ready SMTP Mailer