devise_imap_authenticatable 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  # Add imap_authenticatable module
28
28
  Devise.add_module :imap_authenticatable,
29
- :route => :session,
30
29
  :strategy => true,
31
- :controller => :sessions,
32
- :model => 'devise_imap_authenticatable/model'
30
+ :model => true,
31
+ :route => :session,
32
+ :controller => :sessions
@@ -31,3 +31,4 @@ module Devise
31
31
  end
32
32
  end
33
33
  end
34
+ Warden::Strategies.add :imap_authenticatable, Devise::Strategies::ImapAuthenticatable
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module ImapAuthenticatable
3
- VERSION = "0.6.0" unless const_defined?(:VERSION)
3
+ VERSION = "0.6.1" unless const_defined?(:VERSION)
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_imap_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Medforth
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-06 00:00:00 +01:00
19
+ date: 2011-07-07 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency