Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 8, 2015
  1. @derekprior

    Test & Support Ruby 2.2 across Rails versions

    derekprior authored
    To get the test suite to run in under 2.2, I:
    
    * Upgraded Cucumber to a version that supports Ruby 2.2
    * Added 2.2.0 to our Travis Matrix (Sorry, Travis)
    * Excluded Rails 3.2 under Ruby 2.2 from appraisals as it is not
      supported by rails (yet). See: rails/rails#18306
    
    Once that was done, it was  discovered that Rails 4.0.x requires the
    `test-unit` gem under Ruby 2.2. Adding that gem allows the test suite to
    run there.
    
    With that in place, I found that the `deny_access` matcher was not
    negating as expected. This is because the test-unit gem raises a
    different error when an assertion failed. I have to catch this error in
    addition to the Minitest::Assertion error we were already catching.
Commits on Dec 20, 2014
  1. @derekprior

    Support Rails 4.2

    derekprior authored
    Most of the changes necessary here were test-suite-only issues. The lone
    production-impactful change was adding support for
    `ActionMailer#deliver_later` in the `PasswordsController`. This will
    automatically use the queue configured with Active Job in order to
    background the sending of email. With no queue configured, it will be
    delivered synchronously. The old `#deliver` method still works, but
    generates deprecation warnings.
    
    The rest of the changes were related to the test suite:
    * Add a Rails 4.2 appraisal
    * Update cucumber steps to remove unnecessary gems from generated apps.
    * Simplify appraisal dependencies thanks to the above.
    * Fixed `forgeries_controller_spec`. This is still a brittle way to test
      this functionality but at least it works across Rails versions.
    * Removed deprecation related to test suite ordering in the test app
      that is loaded.
    
    There remains a single (repeated) deprecation when running specs on 4.2
    which comes from RSpec and will be addressed by upgrading to
    `rspec-rails` 3.1 (see [`rspec-rails` issue]. That work will be in a
    separate pull-request.
    
    [`rspec-rails` issue]: rspec/rspec-rails#1187
Commits on Apr 15, 2014
  1. @derekprior

    Upgrade to Appraisal 1.0

    derekprior authored
    The default `rake` task is now the non-appraisal version, which runs
    both the specs and features.  To run appraisals, use the appraisal CLI:
    `appraisal rake`.
    
    Updated travis config to use appraisal CLI. Updated rails 4.x dependencies
    to latest versions.
Commits on Feb 22, 2014
  1. @derekprior

    Fix build failures on Rails 4.1.rc1

    derekprior authored
    Rails 4.1 now includes jbuilder 2.0+ in its default gemfile. Move the
    jbuilder 1.2 dependency from the clearance `gemfile` into the appraisals
    for Rails < 4.1 and add jbuilder 2.0 to the Rails 4.1 appraisal. The
    sdoc dependency was also moved into the appraisal definitions because
    it is a dependency only because it is included in the rails default
    gemfile. This leaves the gemfile for development dependencies only.
    
    Renamed the `create_migration` method in the Clearance install generator
    because it was [conflicting with a method][1] that was added into the
    class hierarchy in Rails 4.1.
    
    [1]: https://github.com/rails/rails/blob/master/railties/lib/rails/generators/migration.rb#L63
Commits on Feb 5, 2014
  1. @derekprior

    Add Ruby 2.1 and Rails 4.1 to test matrix

    derekprior authored
    * Add Ruby 2.1 to travis configuration
    * Update Rails 3.2 and 4.0 appraisals to latest versions
      * Add I18n.enforce_available_locales setting to test app to avoid
        deprecation warning.
    * Add Rails 4.1.0.beta1 to appraisals
      * Test unit integration feature updated to account for differing test
        output under rails 4.1
    * Update gems
Commits on Oct 18, 2013
  1. @arunagw
Commits on Jul 21, 2013
  1. @croaky

    Drop TravisCI support for Ruby 1.9.2

    croaky authored
    There were issues with activesupport 4 and Ruby 1.9.2:
    
    https://travis-ci.org/thoughtbot/clearance/jobs/9306920
Commits on Jul 15, 2013
  1. @gylaz

    Add support for Rails 4

    gylaz authored
    * add rails4 default gems as development dependencies
    * drop support for Rails 3.0.x
    * move gems used for developoment and testing to Gemfile
      * (to allow using git url, and to try a new strategy of specifying development gems)
Commits on Jun 28, 2013
  1. @gylaz

    Simplify testing with different versions on Rails

    gylaz authored
    * remove Appraisal's gemfiles directory
    * don't specify gemfiles for Travis
    * use pessimistic operator in Appraisal
    * upgrade development gems, use pessimistic operator
Commits on Mar 15, 2013
  1. @derekprior

    Add Ruby 2.0 to tests/travis

    derekprior authored
    Ruby 2.0 requires Rails 3.2.13, currently in rc. Update appraisals to
    run only that version of rails under 2.0. Update travis build matrix to
    do the same.
Commits on Feb 13, 2013
  1. @geoffharcourt @croaky

    Prepare Clearance for Rails 4

    geoffharcourt authored croaky committed
    * Change routes to use `get` instead of `match`.
    * Don't allow multiline strings for email format.
    * Rails 4 issues an exception when validates_format_of encounters regex
      that uses ^ and $ rather than /A and /Z. See this pull request:
      rails/rails#6569
    * `sign_out` should use DELETE, not GET.
    * Remove irrelevant spec for testing regex.
    * Test against latest security-patched Rails versions.
Commits on Jan 29, 2013
  1. @mjankowski
Commits on Jan 4, 2013
  1. @mjankowski
Commits on Nov 30, 2012
  1. @mjankowski
Commits on Sep 20, 2012
  1. @croaky
Commits on Jul 22, 2012
  1. @croaky

    Upgrade dependencies

    croaky authored
    * Support Rails 3.0.15, 3.1.6, 3.2.6.
    * Apply style guidelines to test suite.
    * Be more strict about development dependencies.
Commits on Jun 18, 2012
  1. @gabebw
Commits on Apr 4, 2012
  1. @mjankowski
Commits on Apr 3, 2012
  1. @mjankowski
Commits on Sep 2, 2011
  1. @croaky

    testing clearance against rails 3.1. also moving towards 'all depende…

    croaky authored
    …ncies are in the gemspec, a gem's Gemfile should just use the gemspec method' best practice as stated by Yehuda
Commits on Jun 29, 2011
  1. @croaky
Commits on Jun 19, 2011
  1. @pacoguzman @croaky

    Use 3.0.9 instean 3.0.9.rc3

    pacoguzman authored croaky committed
Commits on Jun 14, 2011
  1. @sikachu
Commits on Jun 10, 2011
  1. @sikachu
Something went wrong with that request. Please try again.