aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorBurkhard Vogel-Kreykenbohm <b.vogel@buddyandselly.com>2013-07-17 11:49:47 +0200
committerBurkhard Vogel-Kreykenbohm <b.vogel@buddyandselly.com>2013-07-17 16:39:07 +0200
commitad62cf68f89506b0a5074fec8e08d104865aa0ee (patch)
treec45ce8698a18c6727e9e02381364f4859e6a0641 /activemodel/lib
parent74722d66d332d1d768459d8b510cc082fe3d5618 (diff)
downloadrails-ad62cf68f89506b0a5074fec8e08d104865aa0ee.tar.gz
rails-ad62cf68f89506b0a5074fec8e08d104865aa0ee.tar.bz2
rails-ad62cf68f89506b0a5074fec8e08d104865aa0ee.zip
bcrypt-ruby stable is 3.1
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/secure_password.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/secure_password.rb b/activemodel/lib/active_model/secure_password.rb
index 7156f1bb30..3d6de33e1e 100644
--- a/activemodel/lib/active_model/secure_password.rb
+++ b/activemodel/lib/active_model/secure_password.rb
@@ -18,9 +18,9 @@ module ActiveModel
# value to the password_confirmation attribute and the validation
# will not be triggered.
#
- # You need to add bcrypt-ruby (~> 3.0.0) to Gemfile to use #has_secure_password:
+ # You need to add bcrypt-ruby (~> 3.1.0) to Gemfile to use #has_secure_password:
#
- # gem 'bcrypt-ruby', '~> 3.0.0'
+ # gem 'bcrypt-ruby', '~> 3.1.0'
#
# Example using Active Record (which automatically includes ActiveModel::SecurePassword):
#
@@ -44,7 +44,7 @@ module ActiveModel
# This is to avoid ActiveModel (and by extension the entire framework)
# being dependent on a binary library.
begin
- gem 'bcrypt-ruby', '~> 3.0.0'
+ gem 'bcrypt-ruby', '~> 3.1.0'
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"