1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Provide a better encryptor message and update Gemfile.lock.

This commit is contained in:
José Valim 2010-10-10 16:27:42 +02:00
parent 9f032350e3
commit 7bc37e5237
2 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,10 @@
PATH
remote: .
specs:
devise (1.2.rc)
bcrypt-ruby (~> 2.1.2)
warden (~> 1.0.0)
GEM
remote: http://rubygems.org/
specs:
@ -112,8 +119,9 @@ PLATFORMS
DEPENDENCIES
activerecord-jdbcsqlite3-adapter
bcrypt-ruby
bcrypt-ruby (~> 2.1.2)
bson_ext (= 1.0.7)
devise!
mocha
mongo (= 1.0.7)
mongoid (= 2.0.0.beta.18)
@ -121,5 +129,5 @@ DEPENDENCIES
rails (= 3.0.0)
ruby-debug (>= 0.10.3)
sqlite3-ruby
warden (= 1.0.0)
warden (~> 1.0.0)
webrat (= 0.7.1)

View file

@ -46,8 +46,8 @@ module Devise
# Nothing to say
else
puts "[DEVISE] You are using #{Devise.encryptor} as encryptor. From version 1.2, " <<
"you need to explicitly add :encryptable to your models in order for this " <<
"configuration value to work."
"you need to explicitly add `devise :encryptable, :encryptor => #{Devise.encryptor.to_sym}` " <<
"to your models and comment the value in the config/initializers/devise.rb."
end
end