Permalink
Commits on Aug 14, 2012
  1. Use a released version of addressable in Gemfile.lock

    Gabe Berke-Williams authored and croaky committed Aug 10, 2012
    addressable 2.3.1, the version to which the Gemfile was previously
    locked, has been yanked:
    
    https://rubygems.org/gems/addressable/versions
Commits on Jul 23, 2012
  1. Correct NEWS and README

    croaky committed Jul 23, 2012
    * You can use Clearance after you've created a Rails app or users
      table. If you have users already, you'll need to edit the default
      migration that Clearance generates.
    * We are testing against latest Rails 3.0.x, 3.1.x, and 3.2.x.
  2. Link to the real contribution guidelines.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Jul 23, 2012
  3. Bump to 1.0.0.rc1

    mike-burns committed Jul 23, 2012
  4. Clearance cannot be added to an existing app

    mike-burns committed Jul 23, 2012
    Since the generated migration adds non-NULL requirements to columns, and
    since we never add Clearance to existing apps, we cannot trivially test
    the nuances involved in that situation. For now, we do not support this.
Commits on Jul 22, 2012
  1. Upgrade dependencies

    croaky committed Jul 22, 2012
    * Support Rails 3.0.15, 3.1.6, 3.2.6.
    * Apply style guidelines to test suite.
    * Be more strict about development dependencies.
  2. [#204] Remove flash message from users#create

    croaky committed Jul 22, 2012
    * Flash message is redundant to validation error displayed by
      libraries such as dynamic_form, simple_form, or formtastic.
    * We are not bundling one of the form libraries with Clearance
      in order to leave that decision to the developer.
  3. [#206] Improve data integrity

    croaky committed Jul 22, 2012
    By default, we want email, encrypted_password, and remember_token to
    enforce a NOT NULL constraint.
  4. Overhaul README.md

    croaky committed Jul 22, 2012
    Intention is to better communicate the API.
  5. Apply style guidelines

    croaky committed Jul 21, 2012
    * 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 21, 2012
  1. Add Appraisal install line to CONTRIBUTING.md

    croaky committed Jul 21, 2012
    * Setting up Appraisal is necessary to run the test suite.
Commits on Jul 19, 2012
  1. Remove the salt from the DB migration

    mike-burns committed Jul 19, 2012
    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. How to hit 1.0.0

    mike-burns committed Jun 29, 2012
  2. BCrypt for passwords

    Dan Croak and Gabe Berke-Williams authored and mike-burns committed Oct 23, 2011
    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
  3. Provide router constraints

    Arun Agrawal and Gabe Berke-Williams authored and mike-burns committed Jun 13, 2012
    Adds SignedInConstraint and SignedOutConstraint, useful from the Rails
    router. For example, to redirect admins to their admin dashboard as the
    home page:
    
        constraints(SignedInConstraint.new {|user| user.admin?}) do
          root :to => 'admins/dashboard#index'
        end
Commits on Jun 18, 2012
  1. List the correct Rails versions in the README.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Jun 18, 2012
  2. Relax bundler dependency.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Jun 18, 2012
Commits on Jun 13, 2012
  1. Encourage people to sign up in the flash message

    Arun Agrawal and Gabe Berke-Williams Gabe Berke-Williams
    Arun Agrawal and Gabe Berke-Williams authored and Gabe Berke-Williams committed Jun 13, 2012
    Fixes #163.
  2. Remove init.rb.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Jun 13, 2012
Commits on Jun 7, 2012
  1. Merge pull request #197 from jsteiner/master

    Gabe Berke-Williams
    Gabe Berke-Williams committed Jun 7, 2012
    Fix a broken step definition
Commits on Jun 1, 2012
  1. Handle nil tokens

    mike-burns committed Jun 1, 2012
Commits on May 31, 2012
Commits on May 24, 2012
  1. fix test unit integration by using ActionController::TestCase instead…

    qrush authored and joshuaclayton committed May 24, 2012
    … of Test::Unit::TestCase
Commits on May 11, 2012
  1. Bump to 0.16.2

    mike-burns committed May 11, 2012
Commits on Apr 23, 2012
  1. [#191] Change 'donotreply' to 'reply'

    croaky committed Apr 23, 2012
    * Encourage conversation.
  2. Bump gem versions and clean up gemspec

    Gabe Berke-Williams authored and croaky committed Apr 8, 2012
    * Use modern FactoryGirl syntax.
    * Depend on a released version of shoulda-matchers.
    * Move dependencies into gemspec.
    * Bump dependencies.
    * Clean up gemspec.
Commits on Apr 21, 2012
  1. Remove unnecessary ActiveSupport::Concern.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Apr 8, 2012
Commits on Apr 11, 2012
  1. Clean up Rakefile.

    Gabe Berke-Williams
    Gabe Berke-Williams committed Apr 11, 2012
Commits on Apr 6, 2012
  1. bump version to 0.16.1

    mjankowski committed Apr 6, 2012
  2. Try to use action dispatch cookie jar first, fall back to new rack re…

    mjankowski committed Apr 4, 2012
    …quest
    
    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
    consequences.