No release in over a year
Simple password strength validator.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 6.1.0
 Project Readme

simple_strong_password

Simple password strength validator.

Installation

Add this line to your application's Gemfile:

gem 'simple_strong_password'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install simple_strong_password

Usage

class User < ApplicationRecord
  validates :password, strong_password: true
  # Specifies the required char category count. Defaults to 3.
  # validates :password, strong_password: { required_char_category_count: 2 }
end