devise 3.5.10 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +279 -1126
- data/MIT-LICENSE +2 -1
- data/README.md +291 -97
- data/app/controllers/devise/confirmations_controller.rb +3 -1
- data/app/controllers/devise/omniauth_callbacks_controller.rb +8 -6
- data/app/controllers/devise/passwords_controller.rb +7 -4
- data/app/controllers/devise/registrations_controller.rb +39 -18
- data/app/controllers/devise/sessions_controller.rb +9 -7
- data/app/controllers/devise/unlocks_controller.rb +4 -2
- data/app/controllers/devise_controller.rb +25 -12
- data/app/helpers/devise_helper.rb +23 -18
- data/app/mailers/devise/mailer.rb +10 -4
- data/app/views/devise/confirmations/new.html.erb +2 -2
- data/app/views/devise/mailer/email_changed.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +3 -3
- data/app/views/devise/passwords/new.html.erb +2 -2
- data/app/views/devise/registrations/edit.html.erb +9 -5
- data/app/views/devise/registrations/new.html.erb +4 -4
- data/app/views/devise/sessions/new.html.erb +4 -4
- data/app/views/devise/shared/_error_messages.html.erb +15 -0
- data/app/views/devise/shared/_links.html.erb +8 -8
- data/app/views/devise/unlocks/new.html.erb +2 -2
- data/config/locales/en.yml +5 -2
- data/lib/devise.rb +57 -40
- data/lib/devise/controllers/helpers.rb +30 -27
- data/lib/devise/controllers/rememberable.rb +3 -1
- data/lib/devise/controllers/scoped_views.rb +2 -0
- data/lib/devise/controllers/sign_in_out.rb +39 -14
- data/lib/devise/controllers/store_location.rb +25 -7
- data/lib/devise/controllers/url_helpers.rb +3 -1
- data/lib/devise/delegator.rb +2 -0
- data/lib/devise/encryptor.rb +6 -4
- data/lib/devise/failure_app.rb +75 -38
- data/lib/devise/hooks/activatable.rb +2 -0
- data/lib/devise/hooks/csrf_cleaner.rb +2 -0
- data/lib/devise/hooks/forgetable.rb +2 -0
- data/lib/devise/hooks/lockable.rb +4 -2
- data/lib/devise/hooks/proxy.rb +3 -1
- data/lib/devise/hooks/rememberable.rb +2 -0
- data/lib/devise/hooks/timeoutable.rb +4 -2
- data/lib/devise/hooks/trackable.rb +2 -0
- data/lib/devise/mailers/helpers.rb +7 -4
- data/lib/devise/mapping.rb +3 -1
- data/lib/devise/models.rb +3 -1
- data/lib/devise/models/authenticatable.rb +63 -33
- data/lib/devise/models/confirmable.rb +90 -29
- data/lib/devise/models/database_authenticatable.rb +93 -22
- data/lib/devise/models/lockable.rb +19 -5
- data/lib/devise/models/omniauthable.rb +2 -0
- data/lib/devise/models/recoverable.rb +33 -21
- data/lib/devise/models/registerable.rb +4 -0
- data/lib/devise/models/rememberable.rb +6 -11
- data/lib/devise/models/timeoutable.rb +2 -0
- data/lib/devise/models/trackable.rb +15 -1
- data/lib/devise/models/validatable.rb +10 -3
- data/lib/devise/modules.rb +2 -0
- data/lib/devise/omniauth.rb +4 -5
- data/lib/devise/omniauth/config.rb +2 -0
- data/lib/devise/omniauth/url_helpers.rb +14 -5
- data/lib/devise/orm/active_record.rb +5 -1
- data/lib/devise/orm/mongoid.rb +6 -2
- data/lib/devise/parameter_filter.rb +4 -0
- data/lib/devise/parameter_sanitizer.rb +139 -65
- data/lib/devise/rails.rb +7 -16
- data/lib/devise/rails/deprecated_constant_accessor.rb +39 -0
- data/lib/devise/rails/routes.rb +48 -37
- data/lib/devise/rails/warden_compat.rb +3 -10
- data/lib/devise/secret_key_finder.rb +27 -0
- data/lib/devise/strategies/authenticatable.rb +3 -1
- data/lib/devise/strategies/base.rb +2 -0
- data/lib/devise/strategies/database_authenticatable.rb +11 -4
- data/lib/devise/strategies/rememberable.rb +2 -0
- data/lib/devise/test/controller_helpers.rb +167 -0
- data/lib/devise/test/integration_helpers.rb +63 -0
- data/lib/devise/test_helpers.rb +7 -124
- data/lib/devise/time_inflector.rb +2 -0
- data/lib/devise/token_generator.rb +3 -41
- data/lib/devise/version.rb +3 -1
- data/lib/generators/active_record/devise_generator.rb +46 -12
- data/lib/generators/active_record/templates/migration.rb +4 -2
- data/lib/generators/active_record/templates/migration_existing.rb +4 -2
- data/lib/generators/devise/controllers_generator.rb +3 -1
- data/lib/generators/devise/devise_generator.rb +5 -3
- data/lib/generators/devise/install_generator.rb +18 -5
- data/lib/generators/devise/orm_helpers.rb +10 -21
- data/lib/generators/devise/views_generator.rb +8 -9
- data/lib/generators/mongoid/devise_generator.rb +7 -5
- data/lib/generators/templates/README +9 -8
- data/lib/generators/templates/controllers/confirmations_controller.rb +2 -0
- data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +3 -1
- data/lib/generators/templates/controllers/passwords_controller.rb +2 -0
- data/lib/generators/templates/controllers/registrations_controller.rb +6 -4
- data/lib/generators/templates/controllers/sessions_controller.rb +4 -2
- data/lib/generators/templates/controllers/unlocks_controller.rb +2 -0
- data/lib/generators/templates/devise.rb +63 -21
- data/lib/generators/templates/markerb/email_changed.markerb +7 -0
- data/lib/generators/templates/markerb/password_change.markerb +2 -2
- data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +5 -1
- data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +10 -2
- data/lib/generators/templates/simple_form_for/passwords/new.html.erb +4 -1
- data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +11 -3
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +11 -3
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +7 -2
- data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +4 -1
- metadata +19 -317
- data/.gitignore +0 -10
- data/.travis.yml +0 -44
- data/.yardopts +0 -9
- data/CODE_OF_CONDUCT.md +0 -22
- data/CONTRIBUTING.md +0 -16
- data/Gemfile +0 -30
- data/Gemfile.lock +0 -187
- data/Rakefile +0 -36
- data/devise.gemspec +0 -27
- data/devise.png +0 -0
- data/gemfiles/Gemfile.rails-3.2-stable +0 -29
- data/gemfiles/Gemfile.rails-3.2-stable.lock +0 -172
- data/gemfiles/Gemfile.rails-4.0-stable +0 -30
- data/gemfiles/Gemfile.rails-4.0-stable.lock +0 -166
- data/gemfiles/Gemfile.rails-4.1-stable +0 -30
- data/gemfiles/Gemfile.rails-4.1-stable.lock +0 -171
- data/gemfiles/Gemfile.rails-4.2-stable +0 -30
- data/gemfiles/Gemfile.rails-4.2-stable.lock +0 -193
- data/script/cached-bundle +0 -49
- data/script/s3-put +0 -71
- data/test/controllers/custom_registrations_controller_test.rb +0 -40
- data/test/controllers/custom_strategy_test.rb +0 -62
- data/test/controllers/helper_methods_test.rb +0 -21
- data/test/controllers/helpers_test.rb +0 -316
- data/test/controllers/inherited_controller_i18n_messages_test.rb +0 -51
- data/test/controllers/internal_helpers_test.rb +0 -129
- data/test/controllers/load_hooks_controller_test.rb +0 -19
- data/test/controllers/passwords_controller_test.rb +0 -31
- data/test/controllers/sessions_controller_test.rb +0 -103
- data/test/controllers/url_helpers_test.rb +0 -65
- data/test/delegator_test.rb +0 -19
- data/test/devise_test.rb +0 -107
- data/test/failure_app_test.rb +0 -315
- data/test/generators/active_record_generator_test.rb +0 -109
- data/test/generators/controllers_generator_test.rb +0 -48
- data/test/generators/devise_generator_test.rb +0 -39
- data/test/generators/install_generator_test.rb +0 -13
- data/test/generators/mongoid_generator_test.rb +0 -23
- data/test/generators/views_generator_test.rb +0 -103
- data/test/helpers/devise_helper_test.rb +0 -49
- data/test/integration/authenticatable_test.rb +0 -729
- data/test/integration/confirmable_test.rb +0 -324
- data/test/integration/database_authenticatable_test.rb +0 -95
- data/test/integration/http_authenticatable_test.rb +0 -105
- data/test/integration/lockable_test.rb +0 -239
- data/test/integration/omniauthable_test.rb +0 -135
- data/test/integration/recoverable_test.rb +0 -347
- data/test/integration/registerable_test.rb +0 -359
- data/test/integration/rememberable_test.rb +0 -214
- data/test/integration/timeoutable_test.rb +0 -184
- data/test/integration/trackable_test.rb +0 -92
- data/test/mailers/confirmation_instructions_test.rb +0 -115
- data/test/mailers/reset_password_instructions_test.rb +0 -96
- data/test/mailers/unlock_instructions_test.rb +0 -91
- data/test/mapping_test.rb +0 -134
- data/test/models/authenticatable_test.rb +0 -23
- data/test/models/confirmable_test.rb +0 -511
- data/test/models/database_authenticatable_test.rb +0 -269
- data/test/models/lockable_test.rb +0 -350
- data/test/models/omniauthable_test.rb +0 -7
- data/test/models/recoverable_test.rb +0 -251
- data/test/models/registerable_test.rb +0 -7
- data/test/models/rememberable_test.rb +0 -169
- data/test/models/serializable_test.rb +0 -49
- data/test/models/timeoutable_test.rb +0 -51
- data/test/models/trackable_test.rb +0 -41
- data/test/models/validatable_test.rb +0 -127
- data/test/models_test.rb +0 -153
- data/test/omniauth/config_test.rb +0 -57
- data/test/omniauth/url_helpers_test.rb +0 -54
- data/test/orm/active_record.rb +0 -10
- data/test/orm/mongoid.rb +0 -13
- data/test/parameter_sanitizer_test.rb +0 -81
- data/test/rails_app/Rakefile +0 -6
- data/test/rails_app/app/active_record/admin.rb +0 -6
- data/test/rails_app/app/active_record/shim.rb +0 -2
- data/test/rails_app/app/active_record/user.rb +0 -6
- data/test/rails_app/app/active_record/user_on_engine.rb +0 -7
- data/test/rails_app/app/active_record/user_on_main_app.rb +0 -7
- data/test/rails_app/app/active_record/user_without_email.rb +0 -8
- data/test/rails_app/app/controllers/admins/sessions_controller.rb +0 -6
- data/test/rails_app/app/controllers/admins_controller.rb +0 -6
- data/test/rails_app/app/controllers/application_controller.rb +0 -12
- data/test/rails_app/app/controllers/application_with_fake_engine.rb +0 -30
- data/test/rails_app/app/controllers/custom/registrations_controller.rb +0 -31
- data/test/rails_app/app/controllers/home_controller.rb +0 -25
- data/test/rails_app/app/controllers/publisher/registrations_controller.rb +0 -2
- data/test/rails_app/app/controllers/publisher/sessions_controller.rb +0 -2
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +0 -14
- data/test/rails_app/app/controllers/users_controller.rb +0 -31
- data/test/rails_app/app/helpers/application_helper.rb +0 -3
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +0 -3
- data/test/rails_app/app/mailers/users/mailer.rb +0 -3
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +0 -4
- data/test/rails_app/app/mongoid/admin.rb +0 -29
- data/test/rails_app/app/mongoid/shim.rb +0 -23
- data/test/rails_app/app/mongoid/user.rb +0 -39
- data/test/rails_app/app/mongoid/user_on_engine.rb +0 -39
- data/test/rails_app/app/mongoid/user_on_main_app.rb +0 -39
- data/test/rails_app/app/mongoid/user_without_email.rb +0 -33
- data/test/rails_app/app/views/admins/index.html.erb +0 -1
- data/test/rails_app/app/views/admins/sessions/new.html.erb +0 -2
- data/test/rails_app/app/views/home/admin_dashboard.html.erb +0 -1
- data/test/rails_app/app/views/home/index.html.erb +0 -1
- data/test/rails_app/app/views/home/join.html.erb +0 -1
- data/test/rails_app/app/views/home/private.html.erb +0 -1
- data/test/rails_app/app/views/home/user_dashboard.html.erb +0 -1
- data/test/rails_app/app/views/layouts/application.html.erb +0 -24
- data/test/rails_app/app/views/users/edit_form.html.erb +0 -1
- data/test/rails_app/app/views/users/index.html.erb +0 -1
- data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +0 -1
- data/test/rails_app/app/views/users/sessions/new.html.erb +0 -1
- data/test/rails_app/bin/bundle +0 -3
- data/test/rails_app/bin/rails +0 -4
- data/test/rails_app/bin/rake +0 -4
- data/test/rails_app/config.ru +0 -4
- data/test/rails_app/config/application.rb +0 -40
- data/test/rails_app/config/boot.rb +0 -14
- data/test/rails_app/config/database.yml +0 -18
- data/test/rails_app/config/environment.rb +0 -5
- data/test/rails_app/config/environments/development.rb +0 -30
- data/test/rails_app/config/environments/production.rb +0 -84
- data/test/rails_app/config/environments/test.rb +0 -41
- data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test/rails_app/config/initializers/devise.rb +0 -180
- data/test/rails_app/config/initializers/inflections.rb +0 -2
- data/test/rails_app/config/initializers/secret_token.rb +0 -8
- data/test/rails_app/config/initializers/session_store.rb +0 -1
- data/test/rails_app/config/routes.rb +0 -125
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -71
- data/test/rails_app/db/schema.rb +0 -55
- data/test/rails_app/lib/shared_admin.rb +0 -17
- data/test/rails_app/lib/shared_user.rb +0 -29
- data/test/rails_app/lib/shared_user_without_email.rb +0 -26
- data/test/rails_app/lib/shared_user_without_omniauth.rb +0 -13
- data/test/rails_app/public/404.html +0 -26
- data/test/rails_app/public/422.html +0 -26
- data/test/rails_app/public/500.html +0 -26
- data/test/rails_app/public/favicon.ico +0 -0
- data/test/rails_test.rb +0 -9
- data/test/routes_test.rb +0 -264
- data/test/support/action_controller/record_identifier.rb +0 -10
- data/test/support/assertions.rb +0 -39
- data/test/support/helpers.rb +0 -77
- data/test/support/integration.rb +0 -92
- data/test/support/locale/en.yml +0 -8
- data/test/support/mongoid.yml +0 -6
- data/test/support/webrat/integrations/rails.rb +0 -24
- data/test/test_helper.rb +0 -34
- data/test/test_helpers_test.rb +0 -178
- data/test/test_models.rb +0 -33
- data/test/time_helpers.rb +0 -137
@@ -4,7 +4,10 @@
|
|
4
4
|
<%= f.error_notification %>
|
5
5
|
|
6
6
|
<div class="form-inputs">
|
7
|
-
<%= f.input :email,
|
7
|
+
<%= f.input :email,
|
8
|
+
required: true,
|
9
|
+
autofocus: true,
|
10
|
+
input_html: { autocomplete: "email" } %>
|
8
11
|
</div>
|
9
12
|
|
10
13
|
<div class="form-actions">
|
@@ -10,9 +10,17 @@
|
|
10
10
|
<p>Currently waiting confirmation for: <%= resource.unconfirmed_email %></p>
|
11
11
|
<% end %>
|
12
12
|
|
13
|
-
<%= f.input :password,
|
14
|
-
|
15
|
-
|
13
|
+
<%= f.input :password,
|
14
|
+
hint: "leave it blank if you don't want to change it",
|
15
|
+
required: false,
|
16
|
+
input_html: { autocomplete: "new-password" } %>
|
17
|
+
<%= f.input :password_confirmation,
|
18
|
+
required: false,
|
19
|
+
input_html: { autocomplete: "new-password" } %>
|
20
|
+
<%= f.input :current_password,
|
21
|
+
hint: "we need your current password to confirm your changes",
|
22
|
+
required: true,
|
23
|
+
input_html: { autocomplete: "current-password" } %>
|
16
24
|
</div>
|
17
25
|
|
18
26
|
<div class="form-actions">
|
@@ -4,9 +4,17 @@
|
|
4
4
|
<%= f.error_notification %>
|
5
5
|
|
6
6
|
<div class="form-inputs">
|
7
|
-
<%= f.input :email,
|
8
|
-
|
9
|
-
|
7
|
+
<%= f.input :email,
|
8
|
+
required: true,
|
9
|
+
autofocus: true,
|
10
|
+
input_html: { autocomplete: "email" }%>
|
11
|
+
<%= f.input :password,
|
12
|
+
required: true,
|
13
|
+
hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),
|
14
|
+
input_html: { autocomplete: "new-password" } %>
|
15
|
+
<%= f.input :password_confirmation,
|
16
|
+
required: true,
|
17
|
+
input_html: { autocomplete: "new-password" } %>
|
10
18
|
</div>
|
11
19
|
|
12
20
|
<div class="form-actions">
|
@@ -2,8 +2,13 @@
|
|
2
2
|
|
3
3
|
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
4
4
|
<div class="form-inputs">
|
5
|
-
<%= f.input :email,
|
6
|
-
|
5
|
+
<%= f.input :email,
|
6
|
+
required: false,
|
7
|
+
autofocus: true,
|
8
|
+
input_html: { autocomplete: "email" } %>
|
9
|
+
<%= f.input :password,
|
10
|
+
required: false,
|
11
|
+
input_html: { autocomplete: "current-password" } %>
|
7
12
|
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
|
8
13
|
</div>
|
9
14
|
|
@@ -5,7 +5,10 @@
|
|
5
5
|
<%= f.full_error :unlock_token %>
|
6
6
|
|
7
7
|
<div class="form-inputs">
|
8
|
-
<%= f.input :email,
|
8
|
+
<%= f.input :email,
|
9
|
+
required: true,
|
10
|
+
autofocus: true,
|
11
|
+
input_html: { autocomplete: "email" } %>
|
9
12
|
</div>
|
10
13
|
|
11
14
|
<div class="form-actions">
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Valim
|
8
8
|
- Carlos Antônio
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: warden
|
@@ -53,40 +53,20 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '3.0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: thread_safe
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.1'
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.1'
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: railties
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
73
59
|
requirements:
|
74
60
|
- - ">="
|
75
61
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
- - "<"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '5'
|
62
|
+
version: 4.1.0
|
80
63
|
type: :runtime
|
81
64
|
prerelease: false
|
82
65
|
version_requirements: !ruby/object:Gem::Requirement
|
83
66
|
requirements:
|
84
67
|
- - ">="
|
85
68
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
87
|
-
- - "<"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '5'
|
69
|
+
version: 4.1.0
|
90
70
|
- !ruby/object:Gem::Dependency
|
91
71
|
name: responders
|
92
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,22 +82,14 @@ dependencies:
|
|
102
82
|
- !ruby/object:Gem::Version
|
103
83
|
version: '0'
|
104
84
|
description: Flexible authentication solution for Rails with Warden
|
105
|
-
email:
|
85
|
+
email: heartcombo@googlegroups.com
|
106
86
|
executables: []
|
107
87
|
extensions: []
|
108
88
|
extra_rdoc_files: []
|
109
89
|
files:
|
110
|
-
- ".gitignore"
|
111
|
-
- ".travis.yml"
|
112
|
-
- ".yardopts"
|
113
90
|
- CHANGELOG.md
|
114
|
-
- CODE_OF_CONDUCT.md
|
115
|
-
- CONTRIBUTING.md
|
116
|
-
- Gemfile
|
117
|
-
- Gemfile.lock
|
118
91
|
- MIT-LICENSE
|
119
92
|
- README.md
|
120
|
-
- Rakefile
|
121
93
|
- app/controllers/devise/confirmations_controller.rb
|
122
94
|
- app/controllers/devise/omniauth_callbacks_controller.rb
|
123
95
|
- app/controllers/devise/passwords_controller.rb
|
@@ -129,6 +101,7 @@ files:
|
|
129
101
|
- app/mailers/devise/mailer.rb
|
130
102
|
- app/views/devise/confirmations/new.html.erb
|
131
103
|
- app/views/devise/mailer/confirmation_instructions.html.erb
|
104
|
+
- app/views/devise/mailer/email_changed.html.erb
|
132
105
|
- app/views/devise/mailer/password_change.html.erb
|
133
106
|
- app/views/devise/mailer/reset_password_instructions.html.erb
|
134
107
|
- app/views/devise/mailer/unlock_instructions.html.erb
|
@@ -137,19 +110,10 @@ files:
|
|
137
110
|
- app/views/devise/registrations/edit.html.erb
|
138
111
|
- app/views/devise/registrations/new.html.erb
|
139
112
|
- app/views/devise/sessions/new.html.erb
|
113
|
+
- app/views/devise/shared/_error_messages.html.erb
|
140
114
|
- app/views/devise/shared/_links.html.erb
|
141
115
|
- app/views/devise/unlocks/new.html.erb
|
142
116
|
- config/locales/en.yml
|
143
|
-
- devise.gemspec
|
144
|
-
- devise.png
|
145
|
-
- gemfiles/Gemfile.rails-3.2-stable
|
146
|
-
- gemfiles/Gemfile.rails-3.2-stable.lock
|
147
|
-
- gemfiles/Gemfile.rails-4.0-stable
|
148
|
-
- gemfiles/Gemfile.rails-4.0-stable.lock
|
149
|
-
- gemfiles/Gemfile.rails-4.1-stable
|
150
|
-
- gemfiles/Gemfile.rails-4.1-stable.lock
|
151
|
-
- gemfiles/Gemfile.rails-4.2-stable
|
152
|
-
- gemfiles/Gemfile.rails-4.2-stable.lock
|
153
117
|
- lib/devise.rb
|
154
118
|
- lib/devise/controllers/helpers.rb
|
155
119
|
- lib/devise/controllers/rememberable.rb
|
@@ -191,12 +155,16 @@ files:
|
|
191
155
|
- lib/devise/parameter_filter.rb
|
192
156
|
- lib/devise/parameter_sanitizer.rb
|
193
157
|
- lib/devise/rails.rb
|
158
|
+
- lib/devise/rails/deprecated_constant_accessor.rb
|
194
159
|
- lib/devise/rails/routes.rb
|
195
160
|
- lib/devise/rails/warden_compat.rb
|
161
|
+
- lib/devise/secret_key_finder.rb
|
196
162
|
- lib/devise/strategies/authenticatable.rb
|
197
163
|
- lib/devise/strategies/base.rb
|
198
164
|
- lib/devise/strategies/database_authenticatable.rb
|
199
165
|
- lib/devise/strategies/rememberable.rb
|
166
|
+
- lib/devise/test/controller_helpers.rb
|
167
|
+
- lib/devise/test/integration_helpers.rb
|
200
168
|
- lib/devise/test_helpers.rb
|
201
169
|
- lib/devise/time_inflector.rb
|
202
170
|
- lib/devise/token_generator.rb
|
@@ -220,6 +188,7 @@ files:
|
|
220
188
|
- lib/generators/templates/controllers/unlocks_controller.rb
|
221
189
|
- lib/generators/templates/devise.rb
|
222
190
|
- lib/generators/templates/markerb/confirmation_instructions.markerb
|
191
|
+
- lib/generators/templates/markerb/email_changed.markerb
|
223
192
|
- lib/generators/templates/markerb/password_change.markerb
|
224
193
|
- lib/generators/templates/markerb/reset_password_instructions.markerb
|
225
194
|
- lib/generators/templates/markerb/unlock_instructions.markerb
|
@@ -230,145 +199,11 @@ files:
|
|
230
199
|
- lib/generators/templates/simple_form_for/registrations/new.html.erb
|
231
200
|
- lib/generators/templates/simple_form_for/sessions/new.html.erb
|
232
201
|
- lib/generators/templates/simple_form_for/unlocks/new.html.erb
|
233
|
-
|
234
|
-
- script/s3-put
|
235
|
-
- test/controllers/custom_registrations_controller_test.rb
|
236
|
-
- test/controllers/custom_strategy_test.rb
|
237
|
-
- test/controllers/helper_methods_test.rb
|
238
|
-
- test/controllers/helpers_test.rb
|
239
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
240
|
-
- test/controllers/internal_helpers_test.rb
|
241
|
-
- test/controllers/load_hooks_controller_test.rb
|
242
|
-
- test/controllers/passwords_controller_test.rb
|
243
|
-
- test/controllers/sessions_controller_test.rb
|
244
|
-
- test/controllers/url_helpers_test.rb
|
245
|
-
- test/delegator_test.rb
|
246
|
-
- test/devise_test.rb
|
247
|
-
- test/failure_app_test.rb
|
248
|
-
- test/generators/active_record_generator_test.rb
|
249
|
-
- test/generators/controllers_generator_test.rb
|
250
|
-
- test/generators/devise_generator_test.rb
|
251
|
-
- test/generators/install_generator_test.rb
|
252
|
-
- test/generators/mongoid_generator_test.rb
|
253
|
-
- test/generators/views_generator_test.rb
|
254
|
-
- test/helpers/devise_helper_test.rb
|
255
|
-
- test/integration/authenticatable_test.rb
|
256
|
-
- test/integration/confirmable_test.rb
|
257
|
-
- test/integration/database_authenticatable_test.rb
|
258
|
-
- test/integration/http_authenticatable_test.rb
|
259
|
-
- test/integration/lockable_test.rb
|
260
|
-
- test/integration/omniauthable_test.rb
|
261
|
-
- test/integration/recoverable_test.rb
|
262
|
-
- test/integration/registerable_test.rb
|
263
|
-
- test/integration/rememberable_test.rb
|
264
|
-
- test/integration/timeoutable_test.rb
|
265
|
-
- test/integration/trackable_test.rb
|
266
|
-
- test/mailers/confirmation_instructions_test.rb
|
267
|
-
- test/mailers/reset_password_instructions_test.rb
|
268
|
-
- test/mailers/unlock_instructions_test.rb
|
269
|
-
- test/mapping_test.rb
|
270
|
-
- test/models/authenticatable_test.rb
|
271
|
-
- test/models/confirmable_test.rb
|
272
|
-
- test/models/database_authenticatable_test.rb
|
273
|
-
- test/models/lockable_test.rb
|
274
|
-
- test/models/omniauthable_test.rb
|
275
|
-
- test/models/recoverable_test.rb
|
276
|
-
- test/models/registerable_test.rb
|
277
|
-
- test/models/rememberable_test.rb
|
278
|
-
- test/models/serializable_test.rb
|
279
|
-
- test/models/timeoutable_test.rb
|
280
|
-
- test/models/trackable_test.rb
|
281
|
-
- test/models/validatable_test.rb
|
282
|
-
- test/models_test.rb
|
283
|
-
- test/omniauth/config_test.rb
|
284
|
-
- test/omniauth/url_helpers_test.rb
|
285
|
-
- test/orm/active_record.rb
|
286
|
-
- test/orm/mongoid.rb
|
287
|
-
- test/parameter_sanitizer_test.rb
|
288
|
-
- test/rails_app/Rakefile
|
289
|
-
- test/rails_app/app/active_record/admin.rb
|
290
|
-
- test/rails_app/app/active_record/shim.rb
|
291
|
-
- test/rails_app/app/active_record/user.rb
|
292
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
293
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
294
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
295
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
296
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
297
|
-
- test/rails_app/app/controllers/application_controller.rb
|
298
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
299
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
300
|
-
- test/rails_app/app/controllers/home_controller.rb
|
301
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
302
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
303
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
304
|
-
- test/rails_app/app/controllers/users_controller.rb
|
305
|
-
- test/rails_app/app/helpers/application_helper.rb
|
306
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
307
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
308
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
309
|
-
- test/rails_app/app/mongoid/admin.rb
|
310
|
-
- test/rails_app/app/mongoid/shim.rb
|
311
|
-
- test/rails_app/app/mongoid/user.rb
|
312
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
313
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
314
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
315
|
-
- test/rails_app/app/views/admins/index.html.erb
|
316
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
317
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
318
|
-
- test/rails_app/app/views/home/index.html.erb
|
319
|
-
- test/rails_app/app/views/home/join.html.erb
|
320
|
-
- test/rails_app/app/views/home/private.html.erb
|
321
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
322
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
323
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
324
|
-
- test/rails_app/app/views/users/index.html.erb
|
325
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
326
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
327
|
-
- test/rails_app/bin/bundle
|
328
|
-
- test/rails_app/bin/rails
|
329
|
-
- test/rails_app/bin/rake
|
330
|
-
- test/rails_app/config.ru
|
331
|
-
- test/rails_app/config/application.rb
|
332
|
-
- test/rails_app/config/boot.rb
|
333
|
-
- test/rails_app/config/database.yml
|
334
|
-
- test/rails_app/config/environment.rb
|
335
|
-
- test/rails_app/config/environments/development.rb
|
336
|
-
- test/rails_app/config/environments/production.rb
|
337
|
-
- test/rails_app/config/environments/test.rb
|
338
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
339
|
-
- test/rails_app/config/initializers/devise.rb
|
340
|
-
- test/rails_app/config/initializers/inflections.rb
|
341
|
-
- test/rails_app/config/initializers/secret_token.rb
|
342
|
-
- test/rails_app/config/initializers/session_store.rb
|
343
|
-
- test/rails_app/config/routes.rb
|
344
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
345
|
-
- test/rails_app/db/schema.rb
|
346
|
-
- test/rails_app/lib/shared_admin.rb
|
347
|
-
- test/rails_app/lib/shared_user.rb
|
348
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
349
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
350
|
-
- test/rails_app/public/404.html
|
351
|
-
- test/rails_app/public/422.html
|
352
|
-
- test/rails_app/public/500.html
|
353
|
-
- test/rails_app/public/favicon.ico
|
354
|
-
- test/rails_test.rb
|
355
|
-
- test/routes_test.rb
|
356
|
-
- test/support/action_controller/record_identifier.rb
|
357
|
-
- test/support/assertions.rb
|
358
|
-
- test/support/helpers.rb
|
359
|
-
- test/support/integration.rb
|
360
|
-
- test/support/locale/en.yml
|
361
|
-
- test/support/mongoid.yml
|
362
|
-
- test/support/webrat/integrations/rails.rb
|
363
|
-
- test/test_helper.rb
|
364
|
-
- test/test_helpers_test.rb
|
365
|
-
- test/test_models.rb
|
366
|
-
- test/time_helpers.rb
|
367
|
-
homepage: https://github.com/plataformatec/devise
|
202
|
+
homepage: https://github.com/heartcombo/devise
|
368
203
|
licenses:
|
369
204
|
- MIT
|
370
205
|
metadata: {}
|
371
|
-
post_install_message:
|
206
|
+
post_install_message:
|
372
207
|
rdoc_options: []
|
373
208
|
require_paths:
|
374
209
|
- lib
|
@@ -376,148 +211,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
376
211
|
requirements:
|
377
212
|
- - ">="
|
378
213
|
- !ruby/object:Gem::Version
|
379
|
-
version: 1.
|
214
|
+
version: 2.1.0
|
380
215
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
216
|
requirements:
|
382
217
|
- - ">="
|
383
218
|
- !ruby/object:Gem::Version
|
384
219
|
version: '0'
|
385
220
|
requirements: []
|
386
|
-
|
387
|
-
|
388
|
-
signing_key:
|
221
|
+
rubygems_version: 3.2.6
|
222
|
+
signing_key:
|
389
223
|
specification_version: 4
|
390
224
|
summary: Flexible authentication solution for Rails with Warden
|
391
|
-
test_files:
|
392
|
-
- test/controllers/custom_registrations_controller_test.rb
|
393
|
-
- test/controllers/custom_strategy_test.rb
|
394
|
-
- test/controllers/helper_methods_test.rb
|
395
|
-
- test/controllers/helpers_test.rb
|
396
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
397
|
-
- test/controllers/internal_helpers_test.rb
|
398
|
-
- test/controllers/load_hooks_controller_test.rb
|
399
|
-
- test/controllers/passwords_controller_test.rb
|
400
|
-
- test/controllers/sessions_controller_test.rb
|
401
|
-
- test/controllers/url_helpers_test.rb
|
402
|
-
- test/delegator_test.rb
|
403
|
-
- test/devise_test.rb
|
404
|
-
- test/failure_app_test.rb
|
405
|
-
- test/generators/active_record_generator_test.rb
|
406
|
-
- test/generators/controllers_generator_test.rb
|
407
|
-
- test/generators/devise_generator_test.rb
|
408
|
-
- test/generators/install_generator_test.rb
|
409
|
-
- test/generators/mongoid_generator_test.rb
|
410
|
-
- test/generators/views_generator_test.rb
|
411
|
-
- test/helpers/devise_helper_test.rb
|
412
|
-
- test/integration/authenticatable_test.rb
|
413
|
-
- test/integration/confirmable_test.rb
|
414
|
-
- test/integration/database_authenticatable_test.rb
|
415
|
-
- test/integration/http_authenticatable_test.rb
|
416
|
-
- test/integration/lockable_test.rb
|
417
|
-
- test/integration/omniauthable_test.rb
|
418
|
-
- test/integration/recoverable_test.rb
|
419
|
-
- test/integration/registerable_test.rb
|
420
|
-
- test/integration/rememberable_test.rb
|
421
|
-
- test/integration/timeoutable_test.rb
|
422
|
-
- test/integration/trackable_test.rb
|
423
|
-
- test/mailers/confirmation_instructions_test.rb
|
424
|
-
- test/mailers/reset_password_instructions_test.rb
|
425
|
-
- test/mailers/unlock_instructions_test.rb
|
426
|
-
- test/mapping_test.rb
|
427
|
-
- test/models/authenticatable_test.rb
|
428
|
-
- test/models/confirmable_test.rb
|
429
|
-
- test/models/database_authenticatable_test.rb
|
430
|
-
- test/models/lockable_test.rb
|
431
|
-
- test/models/omniauthable_test.rb
|
432
|
-
- test/models/recoverable_test.rb
|
433
|
-
- test/models/registerable_test.rb
|
434
|
-
- test/models/rememberable_test.rb
|
435
|
-
- test/models/serializable_test.rb
|
436
|
-
- test/models/timeoutable_test.rb
|
437
|
-
- test/models/trackable_test.rb
|
438
|
-
- test/models/validatable_test.rb
|
439
|
-
- test/models_test.rb
|
440
|
-
- test/omniauth/config_test.rb
|
441
|
-
- test/omniauth/url_helpers_test.rb
|
442
|
-
- test/orm/active_record.rb
|
443
|
-
- test/orm/mongoid.rb
|
444
|
-
- test/parameter_sanitizer_test.rb
|
445
|
-
- test/rails_app/Rakefile
|
446
|
-
- test/rails_app/app/active_record/admin.rb
|
447
|
-
- test/rails_app/app/active_record/shim.rb
|
448
|
-
- test/rails_app/app/active_record/user.rb
|
449
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
450
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
451
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
452
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
453
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
454
|
-
- test/rails_app/app/controllers/application_controller.rb
|
455
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
456
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
457
|
-
- test/rails_app/app/controllers/home_controller.rb
|
458
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
459
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
460
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
461
|
-
- test/rails_app/app/controllers/users_controller.rb
|
462
|
-
- test/rails_app/app/helpers/application_helper.rb
|
463
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
464
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
465
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
466
|
-
- test/rails_app/app/mongoid/admin.rb
|
467
|
-
- test/rails_app/app/mongoid/shim.rb
|
468
|
-
- test/rails_app/app/mongoid/user.rb
|
469
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
470
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
471
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
472
|
-
- test/rails_app/app/views/admins/index.html.erb
|
473
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
474
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
475
|
-
- test/rails_app/app/views/home/index.html.erb
|
476
|
-
- test/rails_app/app/views/home/join.html.erb
|
477
|
-
- test/rails_app/app/views/home/private.html.erb
|
478
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
479
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
480
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
481
|
-
- test/rails_app/app/views/users/index.html.erb
|
482
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
483
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
484
|
-
- test/rails_app/bin/bundle
|
485
|
-
- test/rails_app/bin/rails
|
486
|
-
- test/rails_app/bin/rake
|
487
|
-
- test/rails_app/config.ru
|
488
|
-
- test/rails_app/config/application.rb
|
489
|
-
- test/rails_app/config/boot.rb
|
490
|
-
- test/rails_app/config/database.yml
|
491
|
-
- test/rails_app/config/environment.rb
|
492
|
-
- test/rails_app/config/environments/development.rb
|
493
|
-
- test/rails_app/config/environments/production.rb
|
494
|
-
- test/rails_app/config/environments/test.rb
|
495
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
496
|
-
- test/rails_app/config/initializers/devise.rb
|
497
|
-
- test/rails_app/config/initializers/inflections.rb
|
498
|
-
- test/rails_app/config/initializers/secret_token.rb
|
499
|
-
- test/rails_app/config/initializers/session_store.rb
|
500
|
-
- test/rails_app/config/routes.rb
|
501
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
502
|
-
- test/rails_app/db/schema.rb
|
503
|
-
- test/rails_app/lib/shared_admin.rb
|
504
|
-
- test/rails_app/lib/shared_user.rb
|
505
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
506
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
507
|
-
- test/rails_app/public/404.html
|
508
|
-
- test/rails_app/public/422.html
|
509
|
-
- test/rails_app/public/500.html
|
510
|
-
- test/rails_app/public/favicon.ico
|
511
|
-
- test/rails_test.rb
|
512
|
-
- test/routes_test.rb
|
513
|
-
- test/support/action_controller/record_identifier.rb
|
514
|
-
- test/support/assertions.rb
|
515
|
-
- test/support/helpers.rb
|
516
|
-
- test/support/integration.rb
|
517
|
-
- test/support/locale/en.yml
|
518
|
-
- test/support/mongoid.yml
|
519
|
-
- test/support/webrat/integrations/rails.rb
|
520
|
-
- test/test_helper.rb
|
521
|
-
- test/test_helpers_test.rb
|
522
|
-
- test/test_models.rb
|
523
|
-
- test/time_helpers.rb
|
225
|
+
test_files: []
|