File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
activemodel/lib/active_model
guides/code/getting_started
railties/lib/rails/generators/rails/app/templates Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44
55gem 'mocha' , '~> 0.13.0' , require : false
66gem 'rack-cache' , '~> 1.2'
7- gem 'bcrypt-ruby' , '~> 3.1.0 '
7+ gem 'bcrypt-ruby' , '~> 3.1.2 '
88gem 'jquery-rails' , '~> 2.2.0'
99gem 'turbolinks'
1010gem 'coffee-rails' , '~> 4.0.0' , github : 'rails/coffee-rails'
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ module ClassMethods
1818 # value to the password_confirmation attribute and the the validation
1919 # will not be triggered.
2020 #
21- # You need to add bcrypt-ruby (~> 3.1.0 ) to Gemfile to use #has_secure_password:
21+ # You need to add bcrypt-ruby (~> 3.1.2 ) to Gemfile to use #has_secure_password:
2222 #
23- # gem 'bcrypt-ruby', '~> 3.1.0 '
23+ # gem 'bcrypt-ruby', '~> 3.1.2 '
2424 #
2525 # Example using Active Record (which automatically includes ActiveModel::SecurePassword):
2626 #
@@ -44,7 +44,7 @@ def has_secure_password(options = {})
4444 # This is to avoid ActiveModel (and by extension the entire framework)
4545 # being dependent on a binary library.
4646 begin
47- gem 'bcrypt-ruby' , '~> 3.1.0 '
47+ gem 'bcrypt-ruby' , '~> 3.1.2 '
4848 require 'bcrypt'
4949 rescue LoadError
5050 $stderr. puts "You don't have bcrypt-ruby installed in your application. Please add it to your Gemfile and run bundle install"
Original file line number Diff line number Diff line change 3131gem 'jbuilder' , '~> 1.2'
3232
3333# To use ActiveModel has_secure_password
34- # gem 'bcrypt-ruby', '~> 3.1.0 '
34+ # gem 'bcrypt-ruby', '~> 3.1.2 '
3535
3636# Use unicorn as the app server
3737# gem 'unicorn'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ group :doc do
1616end
1717
1818# Use ActiveModel has_secure_password
19- # gem 'bcrypt-ruby', '~> 3.1.0 '
19+ # gem 'bcrypt-ruby', '~> 3.1.2 '
2020
2121# Use unicorn as the app server
2222# gem 'unicorn'
You can’t perform that action at this time.
0 commit comments