Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 31, 2012
  1. @kdaigle @mike-burns
  2. @kdaigle @mike-burns
Commits on Jul 23, 2012
  1. @mike-burns

    Bump to 1.0.0.rc1

    mike-burns committed
Commits on Jul 22, 2012
  1. @croaky

    Apply style guidelines

    croaky committed
    * Use single quotes unless interpolating.
    * Do not align tokens.
    * Add a newline between lines of code and blocks.
    * Alphabetize methods and lists of attributes.
    Additional refactoring:
    * Refactor new_indexes to more appropriately use a Hash.
    * Refactor collections to use Symbol#to_proc to shorten lines.
    * Use consistent naming patterns (existing_*, new_*).
    * Remove `each` naming convention on enumerators.
    * Remove now unnecessary GOALS file.
Commits on Jun 29, 2012
  1. @mike-burns

    BCrypt for passwords

    Dan Croak and Gabe Berke-Williams committed with mike-burns
    This commit makes BCrypt the default for new setups, and introduces a
    strategy for converting existing infrastructure to BCrypt.
    To switch to BCrypt now:
        Clearance.configure do |config|
          config.password_strategy = Clearance::PasswordStrategies::BCrypt
    To set the password strategy to the conversion layer:
        Clearance.configure do |config|
          config.password_strategy = Clearance::PasswordStrategies::BCryptMigrationFromSHA1
    To continue to use SHA1:
        Clearance.configure do |config|
          config.password_strategy = Clearance::PasswordStrategies::SHA1
Commits on Apr 21, 2012
  1. @gabebw
Commits on Feb 27, 2012
  1. Added blowfish password encryption strategy.

    squarism committed
Commits on Sep 11, 2011
  1. @vandrijevik

    Extract SHA1-related code to a Password Strategy.

    vandrijevik committed
    * Separates responsibility of password encryption
      from the User module into a PasswordStrategy
    * Makes password encryption on-demand instead of
      happening in ActiveRecord callbacks
Something went wrong with that request. Please try again.