devise 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise might be problematic. Click here for more details.

@@ -1,3 +1,8 @@
1
+ == 1.1.9
2
+
3
+ * bugfix
4
+ * double check if warden has not halted
5
+
1
6
  == 1.1.8
2
7
 
3
8
  * bugfix
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise (1.1.7)
4
+ devise (1.1.8)
5
5
  bcrypt-ruby (~> 2.1.2)
6
6
  warden (~> 1.0.2)
7
7
 
@@ -21,6 +21,7 @@ module Devise
21
21
  case result
22
22
  when Symbol, String
23
23
  fail!(result)
24
+ false
24
25
  else
25
26
  result
26
27
  end
@@ -10,7 +10,7 @@ module Devise
10
10
  if validate(resource){ resource.valid_password?(password) }
11
11
  resource.after_database_authentication
12
12
  success!(resource)
13
- else
13
+ elsif !halted?
14
14
  fail(:invalid)
15
15
  end
16
16
  end
@@ -20,7 +20,7 @@ module Devise
20
20
 
21
21
  if validate(resource)
22
22
  success!(resource)
23
- else
23
+ elsif !halted?
24
24
  cookies.delete(remember_key)
25
25
  pass
26
26
  end
@@ -16,7 +16,7 @@ module Devise
16
16
  if validate(resource)
17
17
  resource.after_token_authentication
18
18
  success!(resource)
19
- else
19
+ elsif !halted?
20
20
  fail(:invalid_token)
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "1.1.8".freeze
2
+ VERSION = "1.1.9".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 8
10
- version: 1.1.8
9
+ - 9
10
+ version: 1.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Jos\xC3\xA9 Valim"
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-03-11 00:00:00 +01:00
19
+ date: 2011-03-25 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency