Merge pull request #12635 from mperham/4-0-stable

Allow any version of BCrypt
This commit is contained in:
Guillermo Iguaran 2013-10-24 13:32:59 -07:00 committed by Rafael Mendonça França
parent 6c570648ad
commit c31b900221

@ -46,7 +46,6 @@ def has_secure_password(options = {})
# This is to avoid ActiveModel (and by extension the entire framework)
# being dependent on a binary library.
begin
gem 'bcrypt-ruby', '~> 3.1.2'
require 'bcrypt'
rescue LoadError
$stderr.puts "You don't have bcrypt-ruby installed in your application. Please add it to your Gemfile and run bundle install"