devise 4.1.1 → 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 +224 -4
- data/MIT-LICENSE +2 -1
- data/README.md +275 -90
- data/app/controllers/devise/confirmations_controller.rb +2 -0
- data/app/controllers/devise/omniauth_callbacks_controller.rb +7 -5
- data/app/controllers/devise/passwords_controller.rb +3 -0
- data/app/controllers/devise/registrations_controller.rb +34 -13
- data/app/controllers/devise/sessions_controller.rb +3 -1
- data/app/controllers/devise/unlocks_controller.rb +2 -0
- data/app/controllers/devise_controller.rb +5 -3
- 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 +39 -17
- data/lib/devise/controllers/helpers.rb +22 -9
- 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 +2 -0
- data/lib/devise/failure_app.rb +63 -33
- 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 +6 -3
- data/lib/devise/mapping.rb +3 -1
- data/lib/devise/models.rb +3 -1
- data/lib/devise/models/authenticatable.rb +63 -37
- data/lib/devise/models/confirmable.rb +79 -22
- data/lib/devise/models/database_authenticatable.rb +86 -17
- data/lib/devise/models/lockable.rb +17 -3
- data/lib/devise/models/omniauthable.rb +2 -0
- data/lib/devise/models/recoverable.rb +32 -20
- data/lib/devise/models/registerable.rb +4 -0
- data/lib/devise/models/rememberable.rb +5 -3
- 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 +2 -51
- 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 +15 -56
- data/lib/devise/rails.rb +6 -6
- data/lib/devise/rails/deprecated_constant_accessor.rb +39 -0
- data/lib/devise/rails/routes.rb +9 -7
- data/lib/devise/rails/warden_compat.rb +2 -0
- 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 +8 -1
- 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 -129
- data/lib/devise/time_inflector.rb +2 -0
- data/lib/devise/token_generator.rb +2 -0
- data/lib/devise/version.rb +3 -1
- data/lib/generators/active_record/devise_generator.rb +40 -12
- data/lib/generators/active_record/templates/migration.rb +3 -1
- data/lib/generators/active_record/templates/migration_existing.rb +2 -0
- 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 +3 -5
- data/lib/generators/devise/orm_helpers.rb +9 -3
- 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 +4 -2
- data/lib/generators/templates/controllers/sessions_controller.rb +3 -1
- data/lib/generators/templates/controllers/unlocks_controller.rb +2 -0
- data/lib/generators/templates/devise.rb +49 -6
- 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 +16 -297
- 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 -182
- data/Rakefile +0 -36
- data/bin/test +0 -13
- data/devise.gemspec +0 -26
- data/devise.png +0 -0
- data/gemfiles/Gemfile.rails-4.1-stable +0 -30
- data/gemfiles/Gemfile.rails-4.1-stable.lock +0 -170
- data/gemfiles/Gemfile.rails-4.2-stable +0 -30
- data/gemfiles/Gemfile.rails-4.2-stable.lock +0 -192
- data/gemfiles/Gemfile.rails-5.0-beta +0 -37
- data/gemfiles/Gemfile.rails-5.0-beta.lock +0 -199
- data/test/controllers/custom_registrations_controller_test.rb +0 -40
- data/test/controllers/custom_strategy_test.rb +0 -64
- data/test/controllers/helper_methods_test.rb +0 -22
- 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 -127
- data/test/controllers/load_hooks_controller_test.rb +0 -19
- data/test/controllers/passwords_controller_test.rb +0 -32
- data/test/controllers/sessions_controller_test.rb +0 -106
- 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 -320
- data/test/generators/active_record_generator_test.rb +0 -83
- 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 -24
- 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 -698
- 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 -106
- data/test/integration/lockable_test.rb +0 -240
- data/test/integration/omniauthable_test.rb +0 -135
- data/test/integration/recoverable_test.rb +0 -347
- data/test/integration/registerable_test.rb +0 -357
- data/test/integration/rememberable_test.rb +0 -211
- 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 -119
- data/test/models_test.rb +0 -153
- data/test/omniauth/config_test.rb +0 -57
- data/test/omniauth/url_helpers_test.rb +0 -51
- data/test/orm/active_record.rb +0 -17
- data/test/orm/mongoid.rb +0 -13
- data/test/parameter_sanitizer_test.rb +0 -131
- 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 -7
- 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 -11
- 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 -29
- 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 -44
- 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 -46
- 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 -3
- data/test/rails_app/config/initializers/session_store.rb +0 -1
- data/test/rails_app/config/routes.rb +0 -126
- 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 -30
- 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 -279
- 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/http_method_compatibility.rb +0 -51
- 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 -33
- data/test/test_helper.rb +0 -34
- data/test/test_helpers_test.rb +0 -178
- data/test/test_models.rb +0 -33
@@ -0,0 +1,7 @@
|
|
1
|
+
Hello <%= @email %>!
|
2
|
+
|
3
|
+
<% if @resource.try(:unconfirmed_email?) %>
|
4
|
+
We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.
|
5
|
+
<% else %>
|
6
|
+
We're contacting you to notify you that your email has been changed to <%= @resource.email %>.
|
7
|
+
<% end %>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
1
|
+
Hello <%= @resource.email %>!
|
2
2
|
|
3
|
-
|
3
|
+
We're contacting you to notify you that your password has been changed.
|
@@ -5,7 +5,11 @@
|
|
5
5
|
<%= f.full_error :confirmation_token %>
|
6
6
|
|
7
7
|
<div class="form-inputs">
|
8
|
-
<%= f.input :email,
|
8
|
+
<%= f.input :email,
|
9
|
+
required: true,
|
10
|
+
autofocus: true,
|
11
|
+
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email),
|
12
|
+
input_html: { autocomplete: "email" } %>
|
9
13
|
</div>
|
10
14
|
|
11
15
|
<div class="form-actions">
|
@@ -7,8 +7,16 @@
|
|
7
7
|
<%= f.full_error :reset_password_token %>
|
8
8
|
|
9
9
|
<div class="form-inputs">
|
10
|
-
<%= f.input :password,
|
11
|
-
|
10
|
+
<%= f.input :password,
|
11
|
+
label: "New password",
|
12
|
+
required: true,
|
13
|
+
autofocus: true,
|
14
|
+
hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),
|
15
|
+
input_html: { autocomplete: "new-password" } %>
|
16
|
+
<%= f.input :password_confirmation,
|
17
|
+
label: "Confirm your new password",
|
18
|
+
required: true,
|
19
|
+
input_html: { autocomplete: "new-password" } %>
|
12
20
|
</div>
|
13
21
|
|
14
22
|
<div class="form-actions">
|
@@ -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.
|
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
|
@@ -60,9 +60,6 @@ dependencies:
|
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 4.1.0
|
63
|
-
- - "<"
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: '5.1'
|
66
63
|
type: :runtime
|
67
64
|
prerelease: false
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,9 +67,6 @@ dependencies:
|
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 4.1.0
|
73
|
-
- - "<"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '5.1'
|
76
70
|
- !ruby/object:Gem::Dependency
|
77
71
|
name: responders
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,22 +82,14 @@ dependencies:
|
|
88
82
|
- !ruby/object:Gem::Version
|
89
83
|
version: '0'
|
90
84
|
description: Flexible authentication solution for Rails with Warden
|
91
|
-
email:
|
85
|
+
email: heartcombo@googlegroups.com
|
92
86
|
executables: []
|
93
87
|
extensions: []
|
94
88
|
extra_rdoc_files: []
|
95
89
|
files:
|
96
|
-
- ".gitignore"
|
97
|
-
- ".travis.yml"
|
98
|
-
- ".yardopts"
|
99
90
|
- CHANGELOG.md
|
100
|
-
- CODE_OF_CONDUCT.md
|
101
|
-
- CONTRIBUTING.md
|
102
|
-
- Gemfile
|
103
|
-
- Gemfile.lock
|
104
91
|
- MIT-LICENSE
|
105
92
|
- README.md
|
106
|
-
- Rakefile
|
107
93
|
- app/controllers/devise/confirmations_controller.rb
|
108
94
|
- app/controllers/devise/omniauth_callbacks_controller.rb
|
109
95
|
- app/controllers/devise/passwords_controller.rb
|
@@ -115,6 +101,7 @@ files:
|
|
115
101
|
- app/mailers/devise/mailer.rb
|
116
102
|
- app/views/devise/confirmations/new.html.erb
|
117
103
|
- app/views/devise/mailer/confirmation_instructions.html.erb
|
104
|
+
- app/views/devise/mailer/email_changed.html.erb
|
118
105
|
- app/views/devise/mailer/password_change.html.erb
|
119
106
|
- app/views/devise/mailer/reset_password_instructions.html.erb
|
120
107
|
- app/views/devise/mailer/unlock_instructions.html.erb
|
@@ -123,18 +110,10 @@ files:
|
|
123
110
|
- app/views/devise/registrations/edit.html.erb
|
124
111
|
- app/views/devise/registrations/new.html.erb
|
125
112
|
- app/views/devise/sessions/new.html.erb
|
113
|
+
- app/views/devise/shared/_error_messages.html.erb
|
126
114
|
- app/views/devise/shared/_links.html.erb
|
127
115
|
- app/views/devise/unlocks/new.html.erb
|
128
|
-
- bin/test
|
129
116
|
- config/locales/en.yml
|
130
|
-
- devise.gemspec
|
131
|
-
- devise.png
|
132
|
-
- gemfiles/Gemfile.rails-4.1-stable
|
133
|
-
- gemfiles/Gemfile.rails-4.1-stable.lock
|
134
|
-
- gemfiles/Gemfile.rails-4.2-stable
|
135
|
-
- gemfiles/Gemfile.rails-4.2-stable.lock
|
136
|
-
- gemfiles/Gemfile.rails-5.0-beta
|
137
|
-
- gemfiles/Gemfile.rails-5.0-beta.lock
|
138
117
|
- lib/devise.rb
|
139
118
|
- lib/devise/controllers/helpers.rb
|
140
119
|
- lib/devise/controllers/rememberable.rb
|
@@ -176,12 +155,16 @@ files:
|
|
176
155
|
- lib/devise/parameter_filter.rb
|
177
156
|
- lib/devise/parameter_sanitizer.rb
|
178
157
|
- lib/devise/rails.rb
|
158
|
+
- lib/devise/rails/deprecated_constant_accessor.rb
|
179
159
|
- lib/devise/rails/routes.rb
|
180
160
|
- lib/devise/rails/warden_compat.rb
|
161
|
+
- lib/devise/secret_key_finder.rb
|
181
162
|
- lib/devise/strategies/authenticatable.rb
|
182
163
|
- lib/devise/strategies/base.rb
|
183
164
|
- lib/devise/strategies/database_authenticatable.rb
|
184
165
|
- lib/devise/strategies/rememberable.rb
|
166
|
+
- lib/devise/test/controller_helpers.rb
|
167
|
+
- lib/devise/test/integration_helpers.rb
|
185
168
|
- lib/devise/test_helpers.rb
|
186
169
|
- lib/devise/time_inflector.rb
|
187
170
|
- lib/devise/token_generator.rb
|
@@ -205,6 +188,7 @@ files:
|
|
205
188
|
- lib/generators/templates/controllers/unlocks_controller.rb
|
206
189
|
- lib/generators/templates/devise.rb
|
207
190
|
- lib/generators/templates/markerb/confirmation_instructions.markerb
|
191
|
+
- lib/generators/templates/markerb/email_changed.markerb
|
208
192
|
- lib/generators/templates/markerb/password_change.markerb
|
209
193
|
- lib/generators/templates/markerb/reset_password_instructions.markerb
|
210
194
|
- lib/generators/templates/markerb/unlock_instructions.markerb
|
@@ -215,143 +199,11 @@ files:
|
|
215
199
|
- lib/generators/templates/simple_form_for/registrations/new.html.erb
|
216
200
|
- lib/generators/templates/simple_form_for/sessions/new.html.erb
|
217
201
|
- lib/generators/templates/simple_form_for/unlocks/new.html.erb
|
218
|
-
|
219
|
-
- test/controllers/custom_strategy_test.rb
|
220
|
-
- test/controllers/helper_methods_test.rb
|
221
|
-
- test/controllers/helpers_test.rb
|
222
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
223
|
-
- test/controllers/internal_helpers_test.rb
|
224
|
-
- test/controllers/load_hooks_controller_test.rb
|
225
|
-
- test/controllers/passwords_controller_test.rb
|
226
|
-
- test/controllers/sessions_controller_test.rb
|
227
|
-
- test/controllers/url_helpers_test.rb
|
228
|
-
- test/delegator_test.rb
|
229
|
-
- test/devise_test.rb
|
230
|
-
- test/failure_app_test.rb
|
231
|
-
- test/generators/active_record_generator_test.rb
|
232
|
-
- test/generators/controllers_generator_test.rb
|
233
|
-
- test/generators/devise_generator_test.rb
|
234
|
-
- test/generators/install_generator_test.rb
|
235
|
-
- test/generators/mongoid_generator_test.rb
|
236
|
-
- test/generators/views_generator_test.rb
|
237
|
-
- test/helpers/devise_helper_test.rb
|
238
|
-
- test/integration/authenticatable_test.rb
|
239
|
-
- test/integration/confirmable_test.rb
|
240
|
-
- test/integration/database_authenticatable_test.rb
|
241
|
-
- test/integration/http_authenticatable_test.rb
|
242
|
-
- test/integration/lockable_test.rb
|
243
|
-
- test/integration/omniauthable_test.rb
|
244
|
-
- test/integration/recoverable_test.rb
|
245
|
-
- test/integration/registerable_test.rb
|
246
|
-
- test/integration/rememberable_test.rb
|
247
|
-
- test/integration/timeoutable_test.rb
|
248
|
-
- test/integration/trackable_test.rb
|
249
|
-
- test/mailers/confirmation_instructions_test.rb
|
250
|
-
- test/mailers/reset_password_instructions_test.rb
|
251
|
-
- test/mailers/unlock_instructions_test.rb
|
252
|
-
- test/mapping_test.rb
|
253
|
-
- test/models/authenticatable_test.rb
|
254
|
-
- test/models/confirmable_test.rb
|
255
|
-
- test/models/database_authenticatable_test.rb
|
256
|
-
- test/models/lockable_test.rb
|
257
|
-
- test/models/omniauthable_test.rb
|
258
|
-
- test/models/recoverable_test.rb
|
259
|
-
- test/models/registerable_test.rb
|
260
|
-
- test/models/rememberable_test.rb
|
261
|
-
- test/models/serializable_test.rb
|
262
|
-
- test/models/timeoutable_test.rb
|
263
|
-
- test/models/trackable_test.rb
|
264
|
-
- test/models/validatable_test.rb
|
265
|
-
- test/models_test.rb
|
266
|
-
- test/omniauth/config_test.rb
|
267
|
-
- test/omniauth/url_helpers_test.rb
|
268
|
-
- test/orm/active_record.rb
|
269
|
-
- test/orm/mongoid.rb
|
270
|
-
- test/parameter_sanitizer_test.rb
|
271
|
-
- test/rails_app/Rakefile
|
272
|
-
- test/rails_app/app/active_record/admin.rb
|
273
|
-
- test/rails_app/app/active_record/shim.rb
|
274
|
-
- test/rails_app/app/active_record/user.rb
|
275
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
276
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
277
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
278
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
279
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
280
|
-
- test/rails_app/app/controllers/application_controller.rb
|
281
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
282
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
283
|
-
- test/rails_app/app/controllers/home_controller.rb
|
284
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
285
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
286
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
287
|
-
- test/rails_app/app/controllers/users_controller.rb
|
288
|
-
- test/rails_app/app/helpers/application_helper.rb
|
289
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
290
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
291
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
292
|
-
- test/rails_app/app/mongoid/admin.rb
|
293
|
-
- test/rails_app/app/mongoid/shim.rb
|
294
|
-
- test/rails_app/app/mongoid/user.rb
|
295
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
296
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
297
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
298
|
-
- test/rails_app/app/views/admins/index.html.erb
|
299
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
300
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
301
|
-
- test/rails_app/app/views/home/index.html.erb
|
302
|
-
- test/rails_app/app/views/home/join.html.erb
|
303
|
-
- test/rails_app/app/views/home/private.html.erb
|
304
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
305
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
306
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
307
|
-
- test/rails_app/app/views/users/index.html.erb
|
308
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
309
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
310
|
-
- test/rails_app/bin/bundle
|
311
|
-
- test/rails_app/bin/rails
|
312
|
-
- test/rails_app/bin/rake
|
313
|
-
- test/rails_app/config.ru
|
314
|
-
- test/rails_app/config/application.rb
|
315
|
-
- test/rails_app/config/boot.rb
|
316
|
-
- test/rails_app/config/database.yml
|
317
|
-
- test/rails_app/config/environment.rb
|
318
|
-
- test/rails_app/config/environments/development.rb
|
319
|
-
- test/rails_app/config/environments/production.rb
|
320
|
-
- test/rails_app/config/environments/test.rb
|
321
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
322
|
-
- test/rails_app/config/initializers/devise.rb
|
323
|
-
- test/rails_app/config/initializers/inflections.rb
|
324
|
-
- test/rails_app/config/initializers/secret_token.rb
|
325
|
-
- test/rails_app/config/initializers/session_store.rb
|
326
|
-
- test/rails_app/config/routes.rb
|
327
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
328
|
-
- test/rails_app/db/schema.rb
|
329
|
-
- test/rails_app/lib/shared_admin.rb
|
330
|
-
- test/rails_app/lib/shared_user.rb
|
331
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
332
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
333
|
-
- test/rails_app/public/404.html
|
334
|
-
- test/rails_app/public/422.html
|
335
|
-
- test/rails_app/public/500.html
|
336
|
-
- test/rails_app/public/favicon.ico
|
337
|
-
- test/rails_test.rb
|
338
|
-
- test/routes_test.rb
|
339
|
-
- test/support/action_controller/record_identifier.rb
|
340
|
-
- test/support/assertions.rb
|
341
|
-
- test/support/helpers.rb
|
342
|
-
- test/support/http_method_compatibility.rb
|
343
|
-
- test/support/integration.rb
|
344
|
-
- test/support/locale/en.yml
|
345
|
-
- test/support/mongoid.yml
|
346
|
-
- test/support/webrat/integrations/rails.rb
|
347
|
-
- test/test_helper.rb
|
348
|
-
- test/test_helpers_test.rb
|
349
|
-
- test/test_models.rb
|
350
|
-
homepage: https://github.com/plataformatec/devise
|
202
|
+
homepage: https://github.com/heartcombo/devise
|
351
203
|
licenses:
|
352
204
|
- MIT
|
353
205
|
metadata: {}
|
354
|
-
post_install_message:
|
206
|
+
post_install_message:
|
355
207
|
rdoc_options: []
|
356
208
|
require_paths:
|
357
209
|
- lib
|
@@ -366,141 +218,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
366
218
|
- !ruby/object:Gem::Version
|
367
219
|
version: '0'
|
368
220
|
requirements: []
|
369
|
-
|
370
|
-
|
371
|
-
signing_key:
|
221
|
+
rubygems_version: 3.2.6
|
222
|
+
signing_key:
|
372
223
|
specification_version: 4
|
373
224
|
summary: Flexible authentication solution for Rails with Warden
|
374
|
-
test_files:
|
375
|
-
- test/controllers/custom_registrations_controller_test.rb
|
376
|
-
- test/controllers/custom_strategy_test.rb
|
377
|
-
- test/controllers/helper_methods_test.rb
|
378
|
-
- test/controllers/helpers_test.rb
|
379
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
380
|
-
- test/controllers/internal_helpers_test.rb
|
381
|
-
- test/controllers/load_hooks_controller_test.rb
|
382
|
-
- test/controllers/passwords_controller_test.rb
|
383
|
-
- test/controllers/sessions_controller_test.rb
|
384
|
-
- test/controllers/url_helpers_test.rb
|
385
|
-
- test/delegator_test.rb
|
386
|
-
- test/devise_test.rb
|
387
|
-
- test/failure_app_test.rb
|
388
|
-
- test/generators/active_record_generator_test.rb
|
389
|
-
- test/generators/controllers_generator_test.rb
|
390
|
-
- test/generators/devise_generator_test.rb
|
391
|
-
- test/generators/install_generator_test.rb
|
392
|
-
- test/generators/mongoid_generator_test.rb
|
393
|
-
- test/generators/views_generator_test.rb
|
394
|
-
- test/helpers/devise_helper_test.rb
|
395
|
-
- test/integration/authenticatable_test.rb
|
396
|
-
- test/integration/confirmable_test.rb
|
397
|
-
- test/integration/database_authenticatable_test.rb
|
398
|
-
- test/integration/http_authenticatable_test.rb
|
399
|
-
- test/integration/lockable_test.rb
|
400
|
-
- test/integration/omniauthable_test.rb
|
401
|
-
- test/integration/recoverable_test.rb
|
402
|
-
- test/integration/registerable_test.rb
|
403
|
-
- test/integration/rememberable_test.rb
|
404
|
-
- test/integration/timeoutable_test.rb
|
405
|
-
- test/integration/trackable_test.rb
|
406
|
-
- test/mailers/confirmation_instructions_test.rb
|
407
|
-
- test/mailers/reset_password_instructions_test.rb
|
408
|
-
- test/mailers/unlock_instructions_test.rb
|
409
|
-
- test/mapping_test.rb
|
410
|
-
- test/models/authenticatable_test.rb
|
411
|
-
- test/models/confirmable_test.rb
|
412
|
-
- test/models/database_authenticatable_test.rb
|
413
|
-
- test/models/lockable_test.rb
|
414
|
-
- test/models/omniauthable_test.rb
|
415
|
-
- test/models/recoverable_test.rb
|
416
|
-
- test/models/registerable_test.rb
|
417
|
-
- test/models/rememberable_test.rb
|
418
|
-
- test/models/serializable_test.rb
|
419
|
-
- test/models/timeoutable_test.rb
|
420
|
-
- test/models/trackable_test.rb
|
421
|
-
- test/models/validatable_test.rb
|
422
|
-
- test/models_test.rb
|
423
|
-
- test/omniauth/config_test.rb
|
424
|
-
- test/omniauth/url_helpers_test.rb
|
425
|
-
- test/orm/active_record.rb
|
426
|
-
- test/orm/mongoid.rb
|
427
|
-
- test/parameter_sanitizer_test.rb
|
428
|
-
- test/rails_app/Rakefile
|
429
|
-
- test/rails_app/app/active_record/admin.rb
|
430
|
-
- test/rails_app/app/active_record/shim.rb
|
431
|
-
- test/rails_app/app/active_record/user.rb
|
432
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
433
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
434
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
435
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
436
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
437
|
-
- test/rails_app/app/controllers/application_controller.rb
|
438
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
439
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
440
|
-
- test/rails_app/app/controllers/home_controller.rb
|
441
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
442
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
443
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
444
|
-
- test/rails_app/app/controllers/users_controller.rb
|
445
|
-
- test/rails_app/app/helpers/application_helper.rb
|
446
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
447
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
448
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
449
|
-
- test/rails_app/app/mongoid/admin.rb
|
450
|
-
- test/rails_app/app/mongoid/shim.rb
|
451
|
-
- test/rails_app/app/mongoid/user.rb
|
452
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
453
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
454
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
455
|
-
- test/rails_app/app/views/admins/index.html.erb
|
456
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
457
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
458
|
-
- test/rails_app/app/views/home/index.html.erb
|
459
|
-
- test/rails_app/app/views/home/join.html.erb
|
460
|
-
- test/rails_app/app/views/home/private.html.erb
|
461
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
462
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
463
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
464
|
-
- test/rails_app/app/views/users/index.html.erb
|
465
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
466
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
467
|
-
- test/rails_app/bin/bundle
|
468
|
-
- test/rails_app/bin/rails
|
469
|
-
- test/rails_app/bin/rake
|
470
|
-
- test/rails_app/config.ru
|
471
|
-
- test/rails_app/config/application.rb
|
472
|
-
- test/rails_app/config/boot.rb
|
473
|
-
- test/rails_app/config/database.yml
|
474
|
-
- test/rails_app/config/environment.rb
|
475
|
-
- test/rails_app/config/environments/development.rb
|
476
|
-
- test/rails_app/config/environments/production.rb
|
477
|
-
- test/rails_app/config/environments/test.rb
|
478
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
479
|
-
- test/rails_app/config/initializers/devise.rb
|
480
|
-
- test/rails_app/config/initializers/inflections.rb
|
481
|
-
- test/rails_app/config/initializers/secret_token.rb
|
482
|
-
- test/rails_app/config/initializers/session_store.rb
|
483
|
-
- test/rails_app/config/routes.rb
|
484
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
485
|
-
- test/rails_app/db/schema.rb
|
486
|
-
- test/rails_app/lib/shared_admin.rb
|
487
|
-
- test/rails_app/lib/shared_user.rb
|
488
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
489
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
490
|
-
- test/rails_app/public/404.html
|
491
|
-
- test/rails_app/public/422.html
|
492
|
-
- test/rails_app/public/500.html
|
493
|
-
- test/rails_app/public/favicon.ico
|
494
|
-
- test/rails_test.rb
|
495
|
-
- test/routes_test.rb
|
496
|
-
- test/support/action_controller/record_identifier.rb
|
497
|
-
- test/support/assertions.rb
|
498
|
-
- test/support/helpers.rb
|
499
|
-
- test/support/http_method_compatibility.rb
|
500
|
-
- test/support/integration.rb
|
501
|
-
- test/support/locale/en.yml
|
502
|
-
- test/support/mongoid.yml
|
503
|
-
- test/support/webrat/integrations/rails.rb
|
504
|
-
- test/test_helper.rb
|
505
|
-
- test/test_helpers_test.rb
|
506
|
-
- test/test_models.rb
|
225
|
+
test_files: []
|