Release v3.2.1

This commit is contained in:
José Valim 2013-11-13 14:00:04 +01:00
parent 95ec62ea76
commit 3b598ec235
5 changed files with 7 additions and 4 deletions

View File

@ -1,11 +1,14 @@
### 3.2.1 ### 3.2.1
Security announcement: http://blog.plataformatec.com.br/2013/11/e-mail-enumeration-in-devise-in-paranoid-mode
* enhancements * enhancements
* Add `store_location_for` helper and ensure it is safe (by @matthewrudy and @homakov) * Add `store_location_for` helper and ensure it is safe (by @matthewrudy and @homakov)
* Add `yield` around resource methods in Devise controllers (by @edelpero) * Add `yield` around resource methods in Devise controllers (by @edelpero)
* bug fix * bug fix
* Bring `password_digest` back to fix compatibility with `devise-encryptable` * Bring `password_digest` back to fix compatibility with `devise-encryptable`
* Avoid e-mail enumeration on sign in when in paranoid mode
### 3.2.0 ### 3.2.0

View File

@ -12,7 +12,7 @@ GIT
PATH PATH
remote: . remote: .
specs: specs:
devise (3.2.0) devise (3.2.1)
bcrypt-ruby (~> 3.0) bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5) railties (>= 3.2.6, < 5)

View File

@ -1,7 +1,7 @@
PATH PATH
remote: .. remote: ..
specs: specs:
devise (3.2.0) devise (3.2.1)
bcrypt-ruby (~> 3.0) bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5) railties (>= 3.2.6, < 5)

View File

@ -33,7 +33,7 @@ module Devise
# #
def store_location_for(resource_or_scope, location) def store_location_for(resource_or_scope, location)
session_key = stored_location_key_for(resource_or_scope) session_key = stored_location_key_for(resource_or_scope)
session[session_key] = URI.parse(location).path session[session_key] = URI.parse(location).path if location
end end
private private

View File

@ -1,3 +1,3 @@
module Devise module Devise
VERSION = "3.2.0".freeze VERSION = "3.2.1".freeze
end end