Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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 Jul 19, 2012
  1. Mike Burns

    Remove the salt from the DB migration

    mike-burns authored
    The salt column is only needed for SHA1 and MD5 strategies, which  are
    not the default. The README contains instructions for adding the salt
    back before switching to those strategies.
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
    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
  2. Mike Burns

    Provide router constraints

    Arun Agrawal and Gabe Berke-Williams authored mike-burns committed
    Adds SignedInConstraint and SignedOutConstraint, useful from the Rails
    router. For example, to redirect admins to their admin dashboard as the
    home page:
        constraints( {|user| user.admin?}) do
          root :to => 'admins/dashboard#index'
Commits on May 24, 2012
  1. Nick Quaranto Joshua Clayton

    fix test unit integration by using ActionController::TestCase instead…

    qrush authored joshuaclayton committed
    … of Test::Unit::TestCase
Commits on May 11, 2012
  1. Mike Burns

    Bump to 0.16.2

    mike-burns authored
Commits on Apr 23, 2012
  1. Dan Croak

    [#191] Change 'donotreply' to 'reply'

    croaky authored
    * Encourage conversation.
Commits on Apr 21, 2012
  1. Gabe Berke-Williams
Commits on Apr 6, 2012
  1. Matt Jankowski

    bump version to 0.16.1

    mjankowski authored
  2. Matt Jankowski
  3. Matt Jankowski

    Try to use action dispatch cookie jar first, fall back to new rack re…

    mjankowski authored
    Rails 3.2.3 puts a cookie jar in @env, which we can use directly.
    It also removes what we need from @env prior to this point, so the
    old approach won't work.
    Anything other than rails 3.2.x (other rack apps?) which mutate @env in a
    way that populated action_dispatch.cookies will have to deal with the
Commits on Apr 4, 2012
  1. Matt Jankowski
Commits on Feb 27, 2012
  1. Added blowfish password encryption strategy.

    squarism authored
Commits on Feb 3, 2012
  1. Mike Burns
  2. Mike Burns
Commits on Feb 2, 2012
  1. Gabe Berke-Williams
Commits on Jan 13, 2012
  1. Joe Ferris
Commits on Jan 11, 2012
  1. Joe Ferris
Commits on Dec 1, 2011
  1. danhodge
  2. danhodge
  3. danhodge
  4. Joe Ferris
  5. Joe Ferris
Commits on Oct 27, 2011
  1. Constantine Mavromoustakos

    Added InstanceMethods module back so we can exclude the validations and

    cmavromoustakos authored
    only include the instance methods and callbacks.
Commits on Oct 11, 2011
  1. Dan Croak

    don't inert paths into features/support/paths.rb, since it doesn't ex…

    croaky authored
    …ist in modern cucumber suites
Commits on Oct 10, 2011
  1. Dan Croak

    improving the README's documentation. all overrides should now be doc…

    croaky authored
    …umented clearly, with links to the engine's codebase for further exploration.
Commits on Sep 11, 2011
  1. Vladimir Andrijevik
  2. 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
Commits on Jun 30, 2011
  1. Dan Croak
  2. Dan Croak

    mimic diesel's naming for clearance/testing. mimic shoulda-matcher's …

    croaky authored
    …handling of test/unit v. minitest
  3. Dan Croak

    generic rescue in matcher will do fine, should cover ruby 1.8 / 1.9 T…

    croaky authored
    …est::Unit / MiniTest nicely
  4. Dan Croak

    legit deny_access matcher

    croaky authored
  5. Dan Croak
  6. Dan Croak
Something went wrong with that request. Please try again.