These commits add gemfiles for rails 2.3, 3.0, 3.1, and 3.2. This is somewhat similar to how thoughbot/paperclip is tested. A rails application is initialized in test_helper.rb for rails versions >= 3 which should alleviate the need for a dummy project.
Added a few new rake tasks
rake bundles:install # bundle install all available gemfiles
rake bundles:update # bundle update all available gemfiles
rake bundles:test # test against all available gemfiles
# (this is now the default for `rake`)
Tests for one version can be run like
BUNDLE_GEMFILE=gemfiles/3.2.gemfile bundle exec rake test
Closely related to #142
I've made an attempt at improving the test setup.
These commits add gemfiles for rails 2.3, 3.0, 3.1, and 3.2. This is somewhat similar to how thoughbot/paperclip is tested. A rails application is initialized in test_helper.rb for rails versions >= 3 which should alleviate the need for a dummy project.
Added a few new rake tasks
Tests for one version can be run like
Also added a .travis.yml, result can be seen here http://travis-ci.org/#!/jhawthorn/declarative_authorization/builds/1841883