Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 31, 2012
  1. Kyle Daigle Mike Burns
  2. Kyle Daigle Mike Burns

    Rescue BCrypt Invalid Hash only in migration strategy

    kdaigle authored mike-burns committed
Commits on Jul 23, 2012
  1. Mike Burns

    Bump to 1.0.0.rc1

    mike-burns authored
Commits on Jul 22, 2012
  1. Dan Croak

    Apply style guidelines

    croaky authored
    * 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 authored mike-burns committed
    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
        end
    
    To set the password strategy to the conversion layer:
    
        Clearance.configure do |config|
          config.password_strategy = Clearance::PasswordStrategies::BCryptMigrationFromSHA1
        end
    
    To continue to use SHA1:
    
        Clearance.configure do |config|
          config.password_strategy = Clearance::PasswordStrategies::SHA1
        end
Commits on Apr 21, 2012
  1. Gabe Berke-Williams
Commits on Feb 27, 2012
  1. Added blowfish password encryption strategy.

    squarism authored
Commits on Sep 11, 2011
  1. Vladimir Andrijevik

    Extract SHA1-related code to a Password Strategy.

    vandrijevik authored
    * 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.