diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-23 11:48:10 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-23 11:48:10 -0700 |
commit | eb69a1098c42dbe7b48fa728bd1a1f0dca093615 (patch) | |
tree | bd54c965341ab1a37ff57b919048eab50ffe2ca3 /activemodel/lib/active_model/secure_password.rb | |
parent | 83b92c67ccdec1961b563d1ca8eee68b3fa6ecc3 (diff) | |
parent | 4a99e1019931481011c621fe89f715fe6dac9dd3 (diff) | |
download | rails-eb69a1098c42dbe7b48fa728bd1a1f0dca093615.tar.gz rails-eb69a1098c42dbe7b48fa728bd1a1f0dca093615.tar.bz2 rails-eb69a1098c42dbe7b48fa728bd1a1f0dca093615.zip |
Merge pull request #12325 from tjschuck/bcrypt_version_bump
Bump bcrypt-ruby version to support Ruby 2.0 on Windows
Diffstat (limited to 'activemodel/lib/active_model/secure_password.rb')
-rw-r--r-- | activemodel/lib/active_model/secure_password.rb | 6 |
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 8b9ac97bbb..17fafe4be9 100644 --- a/activemodel/lib/active_model/secure_password.rb +++ b/activemodel/lib/active_model/secure_password.rb @@ -20,9 +20,9 @@ module ActiveModel # value to the password_confirmation attribute and the validation # will not be triggered. # - # You need to add bcrypt-ruby (~> 3.1.0) to Gemfile to use #has_secure_password: + # You need to add bcrypt-ruby (~> 3.1.2) to Gemfile to use #has_secure_password: # - # gem 'bcrypt-ruby', '~> 3.1.0' + # gem 'bcrypt-ruby', '~> 3.1.2' # # Example using Active Record (which automatically includes ActiveModel::SecurePassword): # @@ -46,7 +46,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.1.0' + 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" |