devise 4.1.1 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +224 -4
  3. data/MIT-LICENSE +2 -1
  4. data/README.md +275 -90
  5. data/app/controllers/devise/confirmations_controller.rb +2 -0
  6. data/app/controllers/devise/omniauth_callbacks_controller.rb +7 -5
  7. data/app/controllers/devise/passwords_controller.rb +3 -0
  8. data/app/controllers/devise/registrations_controller.rb +34 -13
  9. data/app/controllers/devise/sessions_controller.rb +3 -1
  10. data/app/controllers/devise/unlocks_controller.rb +2 -0
  11. data/app/controllers/devise_controller.rb +5 -3
  12. data/app/helpers/devise_helper.rb +23 -18
  13. data/app/mailers/devise/mailer.rb +10 -4
  14. data/app/views/devise/confirmations/new.html.erb +2 -2
  15. data/app/views/devise/mailer/email_changed.html.erb +7 -0
  16. data/app/views/devise/passwords/edit.html.erb +3 -3
  17. data/app/views/devise/passwords/new.html.erb +2 -2
  18. data/app/views/devise/registrations/edit.html.erb +9 -5
  19. data/app/views/devise/registrations/new.html.erb +4 -4
  20. data/app/views/devise/sessions/new.html.erb +4 -4
  21. data/app/views/devise/shared/_error_messages.html.erb +15 -0
  22. data/app/views/devise/shared/_links.html.erb +8 -8
  23. data/app/views/devise/unlocks/new.html.erb +2 -2
  24. data/config/locales/en.yml +5 -2
  25. data/lib/devise.rb +39 -17
  26. data/lib/devise/controllers/helpers.rb +22 -9
  27. data/lib/devise/controllers/rememberable.rb +3 -1
  28. data/lib/devise/controllers/scoped_views.rb +2 -0
  29. data/lib/devise/controllers/sign_in_out.rb +39 -14
  30. data/lib/devise/controllers/store_location.rb +25 -7
  31. data/lib/devise/controllers/url_helpers.rb +3 -1
  32. data/lib/devise/delegator.rb +2 -0
  33. data/lib/devise/encryptor.rb +2 -0
  34. data/lib/devise/failure_app.rb +63 -33
  35. data/lib/devise/hooks/activatable.rb +2 -0
  36. data/lib/devise/hooks/csrf_cleaner.rb +2 -0
  37. data/lib/devise/hooks/forgetable.rb +2 -0
  38. data/lib/devise/hooks/lockable.rb +4 -2
  39. data/lib/devise/hooks/proxy.rb +3 -1
  40. data/lib/devise/hooks/rememberable.rb +2 -0
  41. data/lib/devise/hooks/timeoutable.rb +4 -2
  42. data/lib/devise/hooks/trackable.rb +2 -0
  43. data/lib/devise/mailers/helpers.rb +6 -3
  44. data/lib/devise/mapping.rb +3 -1
  45. data/lib/devise/models.rb +3 -1
  46. data/lib/devise/models/authenticatable.rb +63 -37
  47. data/lib/devise/models/confirmable.rb +79 -22
  48. data/lib/devise/models/database_authenticatable.rb +86 -17
  49. data/lib/devise/models/lockable.rb +17 -3
  50. data/lib/devise/models/omniauthable.rb +2 -0
  51. data/lib/devise/models/recoverable.rb +32 -20
  52. data/lib/devise/models/registerable.rb +4 -0
  53. data/lib/devise/models/rememberable.rb +5 -3
  54. data/lib/devise/models/timeoutable.rb +2 -0
  55. data/lib/devise/models/trackable.rb +15 -1
  56. data/lib/devise/models/validatable.rb +10 -3
  57. data/lib/devise/modules.rb +2 -0
  58. data/lib/devise/omniauth.rb +4 -5
  59. data/lib/devise/omniauth/config.rb +2 -0
  60. data/lib/devise/omniauth/url_helpers.rb +2 -51
  61. data/lib/devise/orm/active_record.rb +5 -1
  62. data/lib/devise/orm/mongoid.rb +6 -2
  63. data/lib/devise/parameter_filter.rb +4 -0
  64. data/lib/devise/parameter_sanitizer.rb +15 -56
  65. data/lib/devise/rails.rb +6 -6
  66. data/lib/devise/rails/deprecated_constant_accessor.rb +39 -0
  67. data/lib/devise/rails/routes.rb +9 -7
  68. data/lib/devise/rails/warden_compat.rb +2 -0
  69. data/lib/devise/secret_key_finder.rb +27 -0
  70. data/lib/devise/strategies/authenticatable.rb +3 -1
  71. data/lib/devise/strategies/base.rb +2 -0
  72. data/lib/devise/strategies/database_authenticatable.rb +8 -1
  73. data/lib/devise/strategies/rememberable.rb +2 -0
  74. data/lib/devise/test/controller_helpers.rb +167 -0
  75. data/lib/devise/test/integration_helpers.rb +63 -0
  76. data/lib/devise/test_helpers.rb +7 -129
  77. data/lib/devise/time_inflector.rb +2 -0
  78. data/lib/devise/token_generator.rb +2 -0
  79. data/lib/devise/version.rb +3 -1
  80. data/lib/generators/active_record/devise_generator.rb +40 -12
  81. data/lib/generators/active_record/templates/migration.rb +3 -1
  82. data/lib/generators/active_record/templates/migration_existing.rb +2 -0
  83. data/lib/generators/devise/controllers_generator.rb +3 -1
  84. data/lib/generators/devise/devise_generator.rb +5 -3
  85. data/lib/generators/devise/install_generator.rb +3 -5
  86. data/lib/generators/devise/orm_helpers.rb +9 -3
  87. data/lib/generators/devise/views_generator.rb +8 -9
  88. data/lib/generators/mongoid/devise_generator.rb +7 -5
  89. data/lib/generators/templates/README +9 -8
  90. data/lib/generators/templates/controllers/confirmations_controller.rb +2 -0
  91. data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +3 -1
  92. data/lib/generators/templates/controllers/passwords_controller.rb +2 -0
  93. data/lib/generators/templates/controllers/registrations_controller.rb +4 -2
  94. data/lib/generators/templates/controllers/sessions_controller.rb +3 -1
  95. data/lib/generators/templates/controllers/unlocks_controller.rb +2 -0
  96. data/lib/generators/templates/devise.rb +49 -6
  97. data/lib/generators/templates/markerb/email_changed.markerb +7 -0
  98. data/lib/generators/templates/markerb/password_change.markerb +2 -2
  99. data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +5 -1
  100. data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +10 -2
  101. data/lib/generators/templates/simple_form_for/passwords/new.html.erb +4 -1
  102. data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +11 -3
  103. data/lib/generators/templates/simple_form_for/registrations/new.html.erb +11 -3
  104. data/lib/generators/templates/simple_form_for/sessions/new.html.erb +7 -2
  105. data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +4 -1
  106. metadata +16 -297
  107. data/.gitignore +0 -10
  108. data/.travis.yml +0 -44
  109. data/.yardopts +0 -9
  110. data/CODE_OF_CONDUCT.md +0 -22
  111. data/CONTRIBUTING.md +0 -16
  112. data/Gemfile +0 -30
  113. data/Gemfile.lock +0 -182
  114. data/Rakefile +0 -36
  115. data/bin/test +0 -13
  116. data/devise.gemspec +0 -26
  117. data/devise.png +0 -0
  118. data/gemfiles/Gemfile.rails-4.1-stable +0 -30
  119. data/gemfiles/Gemfile.rails-4.1-stable.lock +0 -170
  120. data/gemfiles/Gemfile.rails-4.2-stable +0 -30
  121. data/gemfiles/Gemfile.rails-4.2-stable.lock +0 -192
  122. data/gemfiles/Gemfile.rails-5.0-beta +0 -37
  123. data/gemfiles/Gemfile.rails-5.0-beta.lock +0 -199
  124. data/test/controllers/custom_registrations_controller_test.rb +0 -40
  125. data/test/controllers/custom_strategy_test.rb +0 -64
  126. data/test/controllers/helper_methods_test.rb +0 -22
  127. data/test/controllers/helpers_test.rb +0 -316
  128. data/test/controllers/inherited_controller_i18n_messages_test.rb +0 -51
  129. data/test/controllers/internal_helpers_test.rb +0 -127
  130. data/test/controllers/load_hooks_controller_test.rb +0 -19
  131. data/test/controllers/passwords_controller_test.rb +0 -32
  132. data/test/controllers/sessions_controller_test.rb +0 -106
  133. data/test/controllers/url_helpers_test.rb +0 -65
  134. data/test/delegator_test.rb +0 -19
  135. data/test/devise_test.rb +0 -107
  136. data/test/failure_app_test.rb +0 -320
  137. data/test/generators/active_record_generator_test.rb +0 -83
  138. data/test/generators/controllers_generator_test.rb +0 -48
  139. data/test/generators/devise_generator_test.rb +0 -39
  140. data/test/generators/install_generator_test.rb +0 -24
  141. data/test/generators/mongoid_generator_test.rb +0 -23
  142. data/test/generators/views_generator_test.rb +0 -103
  143. data/test/helpers/devise_helper_test.rb +0 -49
  144. data/test/integration/authenticatable_test.rb +0 -698
  145. data/test/integration/confirmable_test.rb +0 -324
  146. data/test/integration/database_authenticatable_test.rb +0 -95
  147. data/test/integration/http_authenticatable_test.rb +0 -106
  148. data/test/integration/lockable_test.rb +0 -240
  149. data/test/integration/omniauthable_test.rb +0 -135
  150. data/test/integration/recoverable_test.rb +0 -347
  151. data/test/integration/registerable_test.rb +0 -357
  152. data/test/integration/rememberable_test.rb +0 -211
  153. data/test/integration/timeoutable_test.rb +0 -184
  154. data/test/integration/trackable_test.rb +0 -92
  155. data/test/mailers/confirmation_instructions_test.rb +0 -115
  156. data/test/mailers/reset_password_instructions_test.rb +0 -96
  157. data/test/mailers/unlock_instructions_test.rb +0 -91
  158. data/test/mapping_test.rb +0 -134
  159. data/test/models/authenticatable_test.rb +0 -23
  160. data/test/models/confirmable_test.rb +0 -511
  161. data/test/models/database_authenticatable_test.rb +0 -269
  162. data/test/models/lockable_test.rb +0 -350
  163. data/test/models/omniauthable_test.rb +0 -7
  164. data/test/models/recoverable_test.rb +0 -251
  165. data/test/models/registerable_test.rb +0 -7
  166. data/test/models/rememberable_test.rb +0 -169
  167. data/test/models/serializable_test.rb +0 -49
  168. data/test/models/timeoutable_test.rb +0 -51
  169. data/test/models/trackable_test.rb +0 -41
  170. data/test/models/validatable_test.rb +0 -119
  171. data/test/models_test.rb +0 -153
  172. data/test/omniauth/config_test.rb +0 -57
  173. data/test/omniauth/url_helpers_test.rb +0 -51
  174. data/test/orm/active_record.rb +0 -17
  175. data/test/orm/mongoid.rb +0 -13
  176. data/test/parameter_sanitizer_test.rb +0 -131
  177. data/test/rails_app/Rakefile +0 -6
  178. data/test/rails_app/app/active_record/admin.rb +0 -6
  179. data/test/rails_app/app/active_record/shim.rb +0 -2
  180. data/test/rails_app/app/active_record/user.rb +0 -7
  181. data/test/rails_app/app/active_record/user_on_engine.rb +0 -7
  182. data/test/rails_app/app/active_record/user_on_main_app.rb +0 -7
  183. data/test/rails_app/app/active_record/user_without_email.rb +0 -8
  184. data/test/rails_app/app/controllers/admins/sessions_controller.rb +0 -6
  185. data/test/rails_app/app/controllers/admins_controller.rb +0 -6
  186. data/test/rails_app/app/controllers/application_controller.rb +0 -11
  187. data/test/rails_app/app/controllers/application_with_fake_engine.rb +0 -30
  188. data/test/rails_app/app/controllers/custom/registrations_controller.rb +0 -31
  189. data/test/rails_app/app/controllers/home_controller.rb +0 -29
  190. data/test/rails_app/app/controllers/publisher/registrations_controller.rb +0 -2
  191. data/test/rails_app/app/controllers/publisher/sessions_controller.rb +0 -2
  192. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +0 -14
  193. data/test/rails_app/app/controllers/users_controller.rb +0 -31
  194. data/test/rails_app/app/helpers/application_helper.rb +0 -3
  195. data/test/rails_app/app/mailers/users/from_proc_mailer.rb +0 -3
  196. data/test/rails_app/app/mailers/users/mailer.rb +0 -3
  197. data/test/rails_app/app/mailers/users/reply_to_mailer.rb +0 -4
  198. data/test/rails_app/app/mongoid/admin.rb +0 -29
  199. data/test/rails_app/app/mongoid/shim.rb +0 -23
  200. data/test/rails_app/app/mongoid/user.rb +0 -39
  201. data/test/rails_app/app/mongoid/user_on_engine.rb +0 -39
  202. data/test/rails_app/app/mongoid/user_on_main_app.rb +0 -39
  203. data/test/rails_app/app/mongoid/user_without_email.rb +0 -33
  204. data/test/rails_app/app/views/admins/index.html.erb +0 -1
  205. data/test/rails_app/app/views/admins/sessions/new.html.erb +0 -2
  206. data/test/rails_app/app/views/home/admin_dashboard.html.erb +0 -1
  207. data/test/rails_app/app/views/home/index.html.erb +0 -1
  208. data/test/rails_app/app/views/home/join.html.erb +0 -1
  209. data/test/rails_app/app/views/home/private.html.erb +0 -1
  210. data/test/rails_app/app/views/home/user_dashboard.html.erb +0 -1
  211. data/test/rails_app/app/views/layouts/application.html.erb +0 -24
  212. data/test/rails_app/app/views/users/edit_form.html.erb +0 -1
  213. data/test/rails_app/app/views/users/index.html.erb +0 -1
  214. data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +0 -1
  215. data/test/rails_app/app/views/users/sessions/new.html.erb +0 -1
  216. data/test/rails_app/bin/bundle +0 -3
  217. data/test/rails_app/bin/rails +0 -4
  218. data/test/rails_app/bin/rake +0 -4
  219. data/test/rails_app/config.ru +0 -4
  220. data/test/rails_app/config/application.rb +0 -44
  221. data/test/rails_app/config/boot.rb +0 -14
  222. data/test/rails_app/config/database.yml +0 -18
  223. data/test/rails_app/config/environment.rb +0 -5
  224. data/test/rails_app/config/environments/development.rb +0 -30
  225. data/test/rails_app/config/environments/production.rb +0 -84
  226. data/test/rails_app/config/environments/test.rb +0 -46
  227. data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  228. data/test/rails_app/config/initializers/devise.rb +0 -180
  229. data/test/rails_app/config/initializers/inflections.rb +0 -2
  230. data/test/rails_app/config/initializers/secret_token.rb +0 -3
  231. data/test/rails_app/config/initializers/session_store.rb +0 -1
  232. data/test/rails_app/config/routes.rb +0 -126
  233. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -71
  234. data/test/rails_app/db/schema.rb +0 -55
  235. data/test/rails_app/lib/shared_admin.rb +0 -17
  236. data/test/rails_app/lib/shared_user.rb +0 -30
  237. data/test/rails_app/lib/shared_user_without_email.rb +0 -26
  238. data/test/rails_app/lib/shared_user_without_omniauth.rb +0 -13
  239. data/test/rails_app/public/404.html +0 -26
  240. data/test/rails_app/public/422.html +0 -26
  241. data/test/rails_app/public/500.html +0 -26
  242. data/test/rails_app/public/favicon.ico +0 -0
  243. data/test/rails_test.rb +0 -9
  244. data/test/routes_test.rb +0 -279
  245. data/test/support/action_controller/record_identifier.rb +0 -10
  246. data/test/support/assertions.rb +0 -39
  247. data/test/support/helpers.rb +0 -77
  248. data/test/support/http_method_compatibility.rb +0 -51
  249. data/test/support/integration.rb +0 -92
  250. data/test/support/locale/en.yml +0 -8
  251. data/test/support/mongoid.yml +0 -6
  252. data/test/support/webrat/integrations/rails.rb +0 -33
  253. data/test/test_helper.rb +0 -34
  254. data/test/test_helpers_test.rb +0 -178
  255. 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
- <p>Hello <%= @resource.email %>!</p>
1
+ Hello <%= @resource.email %>!
2
2
 
3
- <p>We're contacting you to notify you that your password has been changed.</p>
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, required: true, autofocus: true %>
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, label: "New password", required: true, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %>
11
- <%= f.input :password_confirmation, label: "Confirm your new password", required: true %>
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, required: true, autofocus: true %>
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, autocomplete: "off", hint: "leave it blank if you don't want to change it", required: false %>
14
- <%= f.input :password_confirmation, required: false %>
15
- <%= f.input :current_password, hint: "we need your current password to confirm your changes", required: true %>
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, required: true, autofocus: true %>
8
- <%= f.input :password, required: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %>
9
- <%= f.input :password_confirmation, required: true %>
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, required: false, autofocus: true %>
6
- <%= f.input :password, required: false %>
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, required: true, autofocus: true %>
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.1.1
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: 2016-05-15 00:00:00.000000000 Z
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: contact@plataformatec.com.br
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
- - test/controllers/custom_registrations_controller_test.rb
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
- rubyforge_project:
370
- rubygems_version: 2.5.1
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: []