Sha256: 458080b2eb8395bf6b32f1b0b5e78d07938c16b01c5f996f2383e95275197f6e

Contents?: true

Size: 531 Bytes

Versions: 36

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Bcrypt to rails application
    class Bcrypt < RailsAppGenerator::Addon
      required_gem gem.version('bcrypt', '3.1.18', '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

36 entries across 36 versions & 1 rubygems

Version Path
rails_app_generator-0.2.30 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.29 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.28 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.27 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.26 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.25 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.24 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.23 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.22 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.21 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.20 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.19 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.18 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.17 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.16 lib/rails_app_generator/addons/bcrypt.rb
rails_app_generator-0.2.15 lib/rails_app_generator/addons/bcrypt.rb