Skip to content
Browse files

Release 2.2.0.rc

  • Loading branch information...
1 parent 839e8fc commit 30ab6f923d2a8306f4f3bbb5aee539bce8c143d7 @josevalim josevalim committed Dec 13, 2012
View
17 CHANGELOG.rdoc
@@ -1,13 +1,19 @@
-* enhancement
- * Default minimum password length is now 8 (by @carlosgaldino).
+== 2.2.0.rc
+
+* important changes
+ * Default minimum password length is now 8 (by @carlosgaldino)
+ * Support alternate sign in error message when email record does not exist (this adds a new I18n key to the locale file) (@gabetax)
+ * DeviseController responds only to HTML requests by default (call `DeviseController.respond_to` or `ApplicationController.respond_to` to add new formats)
+ * Support Mongoid 3 onwards (by @durran)
+ * Fix unlockable which could leak account existence on paranoid mode (by @latortuga)
+
+* enhancements
* Confirmable now has a confirm_within option to set a period while the confirmation token is still valid (by @promisedlandt)
- * Make #set_flash_message respect i18n-set resource_name (by @latortuga)
+ * Flash messages in controller now respects `resource_name` (by @latortuga)
* Separate `sign_in` and `sign_up` on RegistrationsController (by @rubynortheast)
* Add autofocus to default views (by @Radagaisus)
- * Support Mongoid 3 onwards (by @durran)
* Unlock user on password reset (by @marcinb)
* Allow validation callbacks to apply to virtual attributes (by @latortuga)
- * Support alternate sign in error message when email record does not exist (@gabetax)
* bug fix
* unconfirmed_email now uses the proper e-mail on salutation
@@ -18,7 +24,6 @@
* Set the proper fields as required on the lockable module (by @nickhoffman)
* Respects Devise mailer default's reply_to (by @mrchrisadams)
* Properly assign resource on `sign_in` related action (by @adammcnamara)
- * Unlockable could leak account existence on paranoid mode (by @latortuga)
* `update_with_password` doesn't change encrypted password when it is invalid (by @nashby)
* Properly handle namespaced models on Active Record generator (by @nashby)
View
2 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- devise (2.1.2)
+ devise (2.2.0.rc)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
View
2 app/controllers/devise_controller.rb
@@ -10,7 +10,7 @@ class DeviseController < Devise.parent_controller.constantize
helper_method *helpers
prepend_before_filter :assert_is_devise_resource!
- respond_to *Mime::SET.map(&:to_sym) if mimes_for_respond_to.empty?
+ respond_to :html if mimes_for_respond_to.empty?
# Gets the actual resource stored in the instance variable
def resource
View
2 lib/devise/version.rb
@@ -1,3 +1,3 @@
module Devise
- VERSION = "2.1.2".freeze
+ VERSION = "2.2.0.rc".freeze
end
View
1 test/rails_app/app/controllers/application_controller.rb
@@ -5,4 +5,5 @@ class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :current_user, :unless => :devise_controller?
before_filter :authenticate_user!, :if => :devise_controller?
+ respond_to *Mime::SET.map(&:to_sym)
end

0 comments on commit 30ab6f9

Please sign in to comment.
Something went wrong with that request. Please try again.