devise_imap_authenticatable 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,8 @@ module Devise
13
13
  imap.login bin_encode(username), bin_encode(password)
14
14
  end
15
15
  true
16
- rescue Net::IMAP::ResponseError, Timeout::Error
16
+ rescue Net::IMAP::ResponseError, Timeout::Error, Errno::ETIMEDOUT,
17
+ Errno::ECONNRESET, Errno::EHOSTUNREACH, EOFError, SocketError
17
18
  false
18
19
  ensure
19
20
  imap.try(:disconnect)
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module ImapAuthenticatable
3
- VERSION = "0.8.0" unless const_defined?(:VERSION)
3
+ VERSION = "0.8.1" unless const_defined?(:VERSION)
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_imap_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-22 00:00:00.000000000Z
13
+ date: 2012-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: devise
17
- requirement: &18309720 !ruby/object:Gem::Requirement
17
+ requirement: &19405800 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -25,10 +25,10 @@ dependencies:
25
25
  version: 2.0.0
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *18309720
28
+ version_requirements: *19405800
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rails
31
- requirement: &18308900 !ruby/object:Gem::Requirement
31
+ requirement: &19404700 !ruby/object:Gem::Requirement
32
32
  none: false
33
33
  requirements:
34
34
  - - ! '>='
@@ -39,10 +39,10 @@ dependencies:
39
39
  version: 3.3.0
40
40
  type: :runtime
41
41
  prerelease: false
42
- version_requirements: *18308900
42
+ version_requirements: *19404700
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rspec
45
- requirement: &18308220 !ruby/object:Gem::Requirement
45
+ requirement: &19402960 !ruby/object:Gem::Requirement
46
46
  none: false
47
47
  requirements:
48
48
  - - ! '>='
@@ -50,10 +50,10 @@ dependencies:
50
50
  version: '0'
51
51
  type: :development
52
52
  prerelease: false
53
- version_requirements: *18308220
53
+ version_requirements: *19402960
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: rspec-rails
56
- requirement: &18307720 !ruby/object:Gem::Requirement
56
+ requirement: &19442300 !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
59
  - - ! '>='
@@ -61,10 +61,10 @@ dependencies:
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
- version_requirements: *18307720
64
+ version_requirements: *19442300
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: sqlite3
67
- requirement: &18302860 !ruby/object:Gem::Requirement
67
+ requirement: &19441160 !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements:
70
70
  - - ! '>='
@@ -72,7 +72,7 @@ dependencies:
72
72
  version: '0'
73
73
  type: :development
74
74
  prerelease: false
75
- version_requirements: *18302860
75
+ version_requirements: *19441160
76
76
  description: Authenticate users against an IMAP server
77
77
  email: dimitrij@blacksquaremedia.com
78
78
  executables: []
@@ -81,10 +81,10 @@ extra_rdoc_files: []
81
81
  files:
82
82
  - LICENSE
83
83
  - README
84
- - lib/devise_imap_authenticatable/strategy.rb
85
- - lib/devise_imap_authenticatable/adapter.rb
86
- - lib/devise_imap_authenticatable/model.rb
87
84
  - lib/devise_imap_authenticatable/version.rb
85
+ - lib/devise_imap_authenticatable/model.rb
86
+ - lib/devise_imap_authenticatable/adapter.rb
87
+ - lib/devise_imap_authenticatable/strategy.rb
88
88
  - lib/devise_imap_authenticatable.rb
89
89
  homepage: https://github.com/bsm/devise_imap_authenticatable
90
90
  licenses: []