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.
This commit is contained in:
José Valim
2010-07-04 17:22:57 +02:00
parent 6c49b428b3
commit 7774accb6c
10 changed files with 5 additions and 274 deletions

View File

@@ -1,10 +0,0 @@
require 'rails/test_help'
DataMapper.auto_migrate!
class ActiveSupport::TestCase
setup do
User.all.destroy!
Admin.all.destroy!
end
end