1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
Commit graph

16 commits

Author SHA1 Message Date
José Valim
c8bd965462 Depend on Rails 3 gem in Gemfile. 2010-08-31 23:47:16 +02:00
José Valim
daf4b35f85 Update Gemfile lock. 2010-08-26 11:54:45 -03:00
José Valim
c96e17dd8d Ensure routes works for all rails 3 versions. 2010-08-25 08:51:17 -03:00
José Valim
731650a0f1 after_sign_in_path_for always receives a resource 2010-08-23 08:56:10 -03:00
José Valim
c31b1f2146 Remove skipped handling from OAuth in favor of exceptions and rescue_from syntax. 2010-07-28 21:51:26 +02:00
Stephen Bannasch
fcef459db3 updated Gemfile.lock 2010-07-27 15:02:07 -04:00
Stephen Bannasch
cd985667db merge with master 2010-07-27 14:57:17 -04:00
Stephen Bannasch
83dc11df14 Gemfile works with JRuby 1.5.1, tests run
The :mongoid group does not work in JRuby so the group
is only defined for the platform: 'ruby'.

In addition installing ruby-debug in JRuby is a manual process so
only include the dependency if we are using the platform: 'ruby'

Here are the steps necessary to run the devise tests in JRuby
using rvm:

  rvm install jruby
  rvm use jruby@devise --create
  gem install bundler --pre
  gem install jeweler
  bundle install
  rake test
2010-07-27 14:35:18 -04:00
José Valim
a36cb6e758 Improve docs for routes customization. 2010-07-26 20:33:23 +02:00
José Valim
bd8294aecf More OAuth setup. 2010-07-26 20:32:04 +02:00
José Valim
680f2612f4 Update CHANGELOG. 2010-07-26 11:52:05 +02:00
José Valim
5e64699a5f Add filters as convenient default. 2010-07-18 12:17:04 +02:00
José Valim
a87bc4a861 Also pass stretches to salt generation. 2010-07-12 06:59:49 +02:00
José Valim
ae6322efb5 No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope.
If you have non conventional routes and want to specify the scope for a controller, you can do that at the router level:

  as :user do
    get "/sign_in", :to => "devise/session#new"
  end

This is saying: when accessing "/sign_in", devise should use the user scope. Meaning that users signed through that form will be signed to the user scope.
2010-07-06 01:33:32 +02:00
José Valim
7774accb6c Remove data_mapper support.
Devise 1.1.0 will be released soon. This new version will support activerecord and mongoid as default ORMs. From now on, Devise will prefer ORM extensions as gems since this is the best way to handle dependencies.

For example, to allow Devise to work with Datamapper, it requires at least activemodel, dm-rails and dm-timestamps. If the ORM support comes from Devise gem, we cannot add dm-rails and dm-timestamps as dependencies, relying on the developer and documentation to find these out and install them.

Other ORMs may still be added to Devise, as long as they are supported by the community, extend Devise test suite to have all tests passing and they necessarily use ActiveModel::Validations.
2010-07-04 17:22:57 +02:00
José Valim
18cccae82f Update bundler, Rails and improve tests for previous commit. 2010-07-02 08:12:00 +02:00