Sha256: bd46cd4eb6889ce9fd34cafef9811f4b4151f0813c892e10d6e325e5776d0302

Contents?: true

Size: 543 Bytes

Versions: 7

Compression:

Stored size: 543 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add BcryptRuby to rails application
    class BcryptRuby < RailsAppGenerator::Addon
      required_gem gem.version('bcrypt-ruby', '3.1.5', 'bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project for hashing passwords.')

      # If you are using Rails you should probably be using
      # <code>ActiveModel::SecurePassword</code> instead of using bcrypt
      def apply; end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_app_generator-0.2.14 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.13 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.12 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.11 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.10 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.9 lib/rails_app_generator/addons/bcrypt_ruby.rb
rails_app_generator-0.2.8 lib/rails_app_generator/addons/bcrypt_ruby.rb