devise 2.2.8 → 3.0.0.rc
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.travis.yml +2 -17
- data/CHANGELOG.rdoc +4 -20
- data/Gemfile +3 -4
- data/Gemfile.lock +68 -64
- data/README.md +50 -30
- data/app/controllers/devise/confirmations_controller.rb +1 -2
- data/app/controllers/devise/passwords_controller.rb +1 -1
- data/app/controllers/devise/registrations_controller.rb +13 -6
- data/app/controllers/devise/sessions_controller.rb +5 -1
- data/app/controllers/devise/unlocks_controller.rb +1 -1
- data/app/controllers/devise_controller.rb +4 -21
- data/devise.gemspec +1 -1
- data/gemfiles/{Gemfile.rails-3.1.x → Gemfile.rails-3.2.x} +3 -7
- data/gemfiles/{Gemfile.rails-3.1.x.lock → Gemfile.rails-3.2.x.lock} +47 -58
- data/lib/devise.rb +8 -10
- data/lib/devise/controllers/helpers.rb +11 -0
- data/lib/devise/controllers/rememberable.rb +0 -1
- data/lib/devise/models/authenticatable.rb +0 -1
- data/lib/devise/models/confirmable.rb +5 -0
- data/lib/devise/parameter_sanitizer.rb +59 -0
- data/lib/devise/rails/warden_compat.rb +2 -9
- data/lib/devise/strategies/database_authenticatable.rb +3 -6
- data/lib/devise/version.rb +1 -1
- data/lib/generators/active_record/devise_generator.rb +1 -4
- data/lib/generators/templates/devise.rb +0 -6
- data/test/controllers/helpers_test.rb +1 -1
- data/test/controllers/internal_helpers_test.rb +13 -3
- data/test/controllers/passwords_controller_test.rb +1 -1
- data/test/generators/active_record_generator_test.rb +1 -3
- data/test/integration/authenticatable_test.rb +3 -17
- data/test/integration/http_authenticatable_test.rb +1 -1
- data/test/integration/recoverable_test.rb +11 -1
- data/test/integration/registerable_test.rb +8 -6
- data/test/integration/rememberable_test.rb +13 -15
- data/test/models/database_authenticatable_test.rb +0 -13
- data/test/models/validatable_test.rb +12 -2
- data/test/omniauth/url_helpers_test.rb +4 -1
- data/test/orm/active_record.rb +1 -0
- data/test/parameter_sanitizer_test.rb +51 -0
- data/test/rails_app/Rakefile +0 -4
- data/test/rails_app/app/mongoid/shim.rb +2 -3
- data/test/rails_app/bin/bundle +3 -0
- data/test/rails_app/bin/rails +4 -0
- data/test/rails_app/bin/rake +4 -0
- data/test/rails_app/config/application.rb +1 -2
- data/test/rails_app/config/boot.rb +3 -3
- data/test/rails_app/config/environment.rb +2 -2
- data/test/rails_app/config/environments/development.rb +23 -7
- data/test/rails_app/config/environments/production.rb +68 -17
- data/test/rails_app/config/environments/test.rb +18 -15
- data/test/rails_app/config/initializers/secret_token.rb +8 -2
- data/test/rails_app/config/initializers/session_store.rb +1 -0
- data/test/rails_app/config/routes.rb +1 -1
- data/test/rails_app/lib/shared_user.rb +0 -1
- data/test/routes_test.rb +22 -20
- data/test/test_helper.rb +7 -0
- data/test/test_models.rb +0 -1
- metadata +31 -27
- data/lib/devise/hooks/csrf_cleaner.rb +0 -5
- data/test/rails_app/script/rails +0 -10
data/test/rails_app/script/rails
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
ENV_PATH = File.expand_path('../../config/environment', __FILE__)
|
5
|
-
BOOT_PATH = File.expand_path('../../config/boot', __FILE__)
|
6
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
7
|
-
ROOT_PATH = File.expand_path('../..', __FILE__)
|
8
|
-
|
9
|
-
require BOOT_PATH
|
10
|
-
require 'rails/commands'
|