devise 3.2.4 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise might be problematic. Click here for more details.

Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.travis.yml +33 -17
  4. data/CHANGELOG.md +57 -1033
  5. data/CODE_OF_CONDUCT.md +22 -0
  6. data/CONTRIBUTING.md +2 -0
  7. data/Gemfile +5 -5
  8. data/Gemfile.lock +138 -115
  9. data/MIT-LICENSE +1 -1
  10. data/README.md +124 -65
  11. data/Rakefile +2 -1
  12. data/app/controllers/devise/confirmations_controller.rb +7 -3
  13. data/app/controllers/devise/omniauth_callbacks_controller.rb +8 -4
  14. data/app/controllers/devise/passwords_controller.rb +16 -6
  15. data/app/controllers/devise/registrations_controller.rb +22 -10
  16. data/app/controllers/devise/sessions_controller.rb +42 -14
  17. data/app/controllers/devise/unlocks_controller.rb +5 -2
  18. data/app/controllers/devise_controller.rb +63 -29
  19. data/app/mailers/devise/mailer.rb +4 -0
  20. data/app/views/devise/confirmations/new.html.erb +7 -3
  21. data/app/views/devise/mailer/password_change.html.erb +3 -0
  22. data/app/views/devise/passwords/edit.html.erb +14 -5
  23. data/app/views/devise/passwords/new.html.erb +7 -3
  24. data/app/views/devise/registrations/edit.html.erb +19 -9
  25. data/app/views/devise/registrations/new.html.erb +18 -7
  26. data/app/views/devise/sessions/new.html.erb +16 -7
  27. data/app/views/devise/shared/{_links.erb → _links.html.erb} +2 -2
  28. data/app/views/devise/unlocks/new.html.erb +7 -3
  29. data/bin/test +13 -0
  30. data/config/locales/en.yml +19 -16
  31. data/devise.gemspec +3 -4
  32. data/gemfiles/{Gemfile.rails-3.2-stable → Gemfile.rails-4.1-stable} +6 -6
  33. data/gemfiles/Gemfile.rails-4.1-stable.lock +167 -0
  34. data/gemfiles/{Gemfile.rails-head → Gemfile.rails-4.2-stable} +6 -6
  35. data/gemfiles/Gemfile.rails-4.2-stable.lock +189 -0
  36. data/gemfiles/Gemfile.rails-5.0-beta +37 -0
  37. data/gemfiles/Gemfile.rails-5.0-beta.lock +199 -0
  38. data/lib/devise/controllers/helpers.rb +94 -27
  39. data/lib/devise/controllers/rememberable.rb +9 -2
  40. data/lib/devise/controllers/sign_in_out.rb +2 -9
  41. data/lib/devise/controllers/store_location.rb +11 -3
  42. data/lib/devise/controllers/url_helpers.rb +7 -7
  43. data/lib/devise/encryptor.rb +22 -0
  44. data/lib/devise/failure_app.rb +72 -23
  45. data/lib/devise/hooks/activatable.rb +3 -4
  46. data/lib/devise/hooks/csrf_cleaner.rb +3 -1
  47. data/lib/devise/hooks/timeoutable.rb +13 -8
  48. data/lib/devise/mailers/helpers.rb +1 -1
  49. data/lib/devise/mapping.rb +6 -2
  50. data/lib/devise/models/authenticatable.rb +32 -28
  51. data/lib/devise/models/confirmable.rb +55 -22
  52. data/lib/devise/models/database_authenticatable.rb +32 -19
  53. data/lib/devise/models/lockable.rb +5 -5
  54. data/lib/devise/models/recoverable.rb +44 -20
  55. data/lib/devise/models/rememberable.rb +54 -27
  56. data/lib/devise/models/timeoutable.rb +0 -6
  57. data/lib/devise/models/trackable.rb +5 -3
  58. data/lib/devise/models/validatable.rb +3 -3
  59. data/lib/devise/models.rb +1 -1
  60. data/lib/devise/omniauth/url_helpers.rb +62 -4
  61. data/lib/devise/parameter_sanitizer.rb +176 -61
  62. data/lib/devise/rails/routes.rb +76 -59
  63. data/lib/devise/rails/warden_compat.rb +1 -10
  64. data/lib/devise/rails.rb +2 -11
  65. data/lib/devise/strategies/authenticatable.rb +15 -6
  66. data/lib/devise/strategies/database_authenticatable.rb +5 -4
  67. data/lib/devise/strategies/rememberable.rb +13 -3
  68. data/lib/devise/test_helpers.rb +12 -7
  69. data/lib/devise/token_generator.rb +1 -41
  70. data/lib/devise/version.rb +1 -1
  71. data/lib/devise.rb +150 -58
  72. data/lib/generators/active_record/devise_generator.rb +28 -4
  73. data/lib/generators/active_record/templates/migration.rb +3 -3
  74. data/lib/generators/active_record/templates/migration_existing.rb +3 -3
  75. data/lib/generators/devise/controllers_generator.rb +44 -0
  76. data/lib/generators/devise/install_generator.rb +15 -0
  77. data/lib/generators/devise/orm_helpers.rb +1 -18
  78. data/lib/generators/devise/views_generator.rb +14 -3
  79. data/lib/generators/templates/README +1 -1
  80. data/lib/generators/templates/controllers/README +14 -0
  81. data/lib/generators/templates/controllers/confirmations_controller.rb +28 -0
  82. data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +28 -0
  83. data/lib/generators/templates/controllers/passwords_controller.rb +32 -0
  84. data/lib/generators/templates/controllers/registrations_controller.rb +60 -0
  85. data/lib/generators/templates/controllers/sessions_controller.rb +25 -0
  86. data/lib/generators/templates/controllers/unlocks_controller.rb +28 -0
  87. data/lib/generators/templates/devise.rb +36 -28
  88. data/lib/generators/templates/markerb/confirmation_instructions.markerb +1 -1
  89. data/lib/generators/templates/markerb/password_change.markerb +3 -0
  90. data/lib/generators/templates/markerb/reset_password_instructions.markerb +1 -1
  91. data/lib/generators/templates/markerb/unlock_instructions.markerb +1 -1
  92. data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +1 -1
  93. data/lib/generators/templates/simple_form_for/registrations/new.html.erb +1 -1
  94. data/lib/generators/templates/simple_form_for/sessions/new.html.erb +2 -2
  95. data/test/controllers/custom_registrations_controller_test.rb +40 -0
  96. data/test/controllers/custom_strategy_test.rb +7 -5
  97. data/test/controllers/helper_methods_test.rb +22 -0
  98. data/test/controllers/helpers_test.rb +41 -1
  99. data/test/controllers/inherited_controller_i18n_messages_test.rb +51 -0
  100. data/test/controllers/internal_helpers_test.rb +19 -15
  101. data/test/controllers/load_hooks_controller_test.rb +19 -0
  102. data/test/controllers/passwords_controller_test.rb +5 -4
  103. data/test/controllers/sessions_controller_test.rb +24 -21
  104. data/test/controllers/url_helpers_test.rb +7 -1
  105. data/test/devise_test.rb +48 -8
  106. data/test/failure_app_test.rb +107 -19
  107. data/test/generators/active_record_generator_test.rb +6 -26
  108. data/test/generators/controllers_generator_test.rb +48 -0
  109. data/test/generators/install_generator_test.rb +14 -3
  110. data/test/generators/views_generator_test.rb +8 -1
  111. data/test/helpers/devise_helper_test.rb +10 -12
  112. data/test/integration/authenticatable_test.rb +37 -21
  113. data/test/integration/confirmable_test.rb +54 -14
  114. data/test/integration/database_authenticatable_test.rb +12 -1
  115. data/test/integration/http_authenticatable_test.rb +4 -5
  116. data/test/integration/lockable_test.rb +10 -9
  117. data/test/integration/omniauthable_test.rb +13 -11
  118. data/test/integration/recoverable_test.rb +28 -15
  119. data/test/integration/registerable_test.rb +41 -33
  120. data/test/integration/rememberable_test.rb +51 -7
  121. data/test/integration/timeoutable_test.rb +23 -22
  122. data/test/integration/trackable_test.rb +3 -3
  123. data/test/mailers/confirmation_instructions_test.rb +10 -10
  124. data/test/mailers/reset_password_instructions_test.rb +8 -8
  125. data/test/mailers/unlock_instructions_test.rb +8 -8
  126. data/test/mapping_test.rb +7 -0
  127. data/test/models/authenticatable_test.rb +11 -1
  128. data/test/models/confirmable_test.rb +91 -42
  129. data/test/models/database_authenticatable_test.rb +26 -6
  130. data/test/models/lockable_test.rb +29 -17
  131. data/test/models/recoverable_test.rb +74 -7
  132. data/test/models/rememberable_test.rb +68 -94
  133. data/test/models/trackable_test.rb +28 -0
  134. data/test/models/validatable_test.rb +9 -17
  135. data/test/models_test.rb +15 -6
  136. data/test/omniauth/url_helpers_test.rb +4 -7
  137. data/test/orm/active_record.rb +6 -1
  138. data/test/parameter_sanitizer_test.rb +103 -53
  139. data/test/rails_app/app/active_record/user.rb +1 -0
  140. data/test/rails_app/app/active_record/user_on_engine.rb +7 -0
  141. data/test/rails_app/app/active_record/user_on_main_app.rb +7 -0
  142. data/test/rails_app/app/active_record/user_without_email.rb +8 -0
  143. data/test/rails_app/app/controllers/admins_controller.rb +1 -6
  144. data/test/rails_app/app/controllers/application_controller.rb +5 -2
  145. data/test/rails_app/app/controllers/application_with_fake_engine.rb +30 -0
  146. data/test/rails_app/app/controllers/custom/registrations_controller.rb +31 -0
  147. data/test/rails_app/app/controllers/home_controller.rb +5 -1
  148. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +3 -3
  149. data/test/rails_app/app/controllers/users_controller.rb +6 -6
  150. data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
  151. data/test/rails_app/app/mailers/users/mailer.rb +0 -9
  152. data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
  153. data/test/rails_app/app/mongoid/user_on_engine.rb +39 -0
  154. data/test/rails_app/app/mongoid/user_on_main_app.rb +39 -0
  155. data/test/rails_app/app/mongoid/user_without_email.rb +33 -0
  156. data/test/rails_app/config/application.rb +3 -3
  157. data/test/rails_app/config/boot.rb +4 -4
  158. data/test/rails_app/config/environments/production.rb +6 -2
  159. data/test/rails_app/config/environments/test.rb +13 -3
  160. data/test/rails_app/config/initializers/devise.rb +15 -16
  161. data/test/rails_app/config/initializers/secret_token.rb +1 -6
  162. data/test/rails_app/config/routes.rb +23 -3
  163. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +2 -2
  164. data/test/rails_app/lib/shared_user.rb +1 -1
  165. data/test/rails_app/lib/shared_user_without_email.rb +26 -0
  166. data/test/rails_app/lib/shared_user_without_omniauth.rb +13 -0
  167. data/test/rails_test.rb +9 -0
  168. data/test/routes_test.rb +33 -16
  169. data/test/support/assertions.rb +2 -3
  170. data/test/support/helpers.rb +13 -6
  171. data/test/support/http_method_compatibility.rb +51 -0
  172. data/test/support/integration.rb +4 -4
  173. data/test/support/webrat/integrations/rails.rb +9 -0
  174. data/test/test_helper.rb +7 -0
  175. data/test/test_helpers_test.rb +43 -38
  176. data/test/test_models.rb +3 -3
  177. metadata +77 -23
  178. data/gemfiles/Gemfile.rails-4.0-stable +0 -29
data/test/test_models.rb CHANGED
@@ -12,7 +12,7 @@ class UserWithValidation < User
12
12
  validates_presence_of :username
13
13
  end
14
14
 
15
- class UserWithCustomEncryption < User
15
+ class UserWithCustomHashing < User
16
16
  protected
17
17
  def password_digest(password)
18
18
  password.reverse
@@ -20,8 +20,8 @@ class UserWithCustomEncryption < User
20
20
  end
21
21
 
22
22
  class UserWithVirtualAttributes < User
23
- devise case_insensitive_keys: [ :email, :email_confirmation ]
24
- validates :email, presence: true, confirmation: {on: :create}
23
+ devise case_insensitive_keys: [:email, :email_confirmation]
24
+ validates :email, presence: true, confirmation: { on: :create }
25
25
  end
26
26
 
27
27
  class Several < Admin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
12
+ date: 2016-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: warden
@@ -54,39 +54,39 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.0'
56
56
  - !ruby/object:Gem::Dependency
57
- name: thread_safe
57
+ name: railties
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '0.1'
62
+ version: 4.1.0
63
+ - - "<"
64
+ - !ruby/object:Gem::Version
65
+ version: '5.1'
63
66
  type: :runtime
64
67
  prerelease: false
65
68
  version_requirements: !ruby/object:Gem::Requirement
66
69
  requirements:
67
- - - "~>"
70
+ - - ">="
68
71
  - !ruby/object:Gem::Version
69
- version: '0.1'
72
+ version: 4.1.0
73
+ - - "<"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.1'
70
76
  - !ruby/object:Gem::Dependency
71
- name: railties
77
+ name: responders
72
78
  requirement: !ruby/object:Gem::Requirement
73
79
  requirements:
74
80
  - - ">="
75
81
  - !ruby/object:Gem::Version
76
- version: 3.2.6
77
- - - "<"
78
- - !ruby/object:Gem::Version
79
- version: '5'
82
+ version: '0'
80
83
  type: :runtime
81
84
  prerelease: false
82
85
  version_requirements: !ruby/object:Gem::Requirement
83
86
  requirements:
84
87
  - - ">="
85
88
  - !ruby/object:Gem::Version
86
- version: 3.2.6
87
- - - "<"
88
- - !ruby/object:Gem::Version
89
- version: '5'
89
+ version: '0'
90
90
  description: Flexible authentication solution for Rails with Warden
91
91
  email: contact@plataformatec.com.br
92
92
  executables: []
@@ -97,6 +97,7 @@ files:
97
97
  - ".travis.yml"
98
98
  - ".yardopts"
99
99
  - CHANGELOG.md
100
+ - CODE_OF_CONDUCT.md
100
101
  - CONTRIBUTING.md
101
102
  - Gemfile
102
103
  - Gemfile.lock
@@ -114,6 +115,7 @@ files:
114
115
  - app/mailers/devise/mailer.rb
115
116
  - app/views/devise/confirmations/new.html.erb
116
117
  - app/views/devise/mailer/confirmation_instructions.html.erb
118
+ - app/views/devise/mailer/password_change.html.erb
117
119
  - app/views/devise/mailer/reset_password_instructions.html.erb
118
120
  - app/views/devise/mailer/unlock_instructions.html.erb
119
121
  - app/views/devise/passwords/edit.html.erb
@@ -121,14 +123,18 @@ files:
121
123
  - app/views/devise/registrations/edit.html.erb
122
124
  - app/views/devise/registrations/new.html.erb
123
125
  - app/views/devise/sessions/new.html.erb
124
- - app/views/devise/shared/_links.erb
126
+ - app/views/devise/shared/_links.html.erb
125
127
  - app/views/devise/unlocks/new.html.erb
128
+ - bin/test
126
129
  - config/locales/en.yml
127
130
  - devise.gemspec
128
131
  - devise.png
129
- - gemfiles/Gemfile.rails-3.2-stable
130
- - gemfiles/Gemfile.rails-4.0-stable
131
- - gemfiles/Gemfile.rails-head
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
132
138
  - lib/devise.rb
133
139
  - lib/devise/controllers/helpers.rb
134
140
  - lib/devise/controllers/rememberable.rb
@@ -137,6 +143,7 @@ files:
137
143
  - lib/devise/controllers/store_location.rb
138
144
  - lib/devise/controllers/url_helpers.rb
139
145
  - lib/devise/delegator.rb
146
+ - lib/devise/encryptor.rb
140
147
  - lib/devise/failure_app.rb
141
148
  - lib/devise/hooks/activatable.rb
142
149
  - lib/devise/hooks/csrf_cleaner.rb
@@ -182,14 +189,23 @@ files:
182
189
  - lib/generators/active_record/devise_generator.rb
183
190
  - lib/generators/active_record/templates/migration.rb
184
191
  - lib/generators/active_record/templates/migration_existing.rb
192
+ - lib/generators/devise/controllers_generator.rb
185
193
  - lib/generators/devise/devise_generator.rb
186
194
  - lib/generators/devise/install_generator.rb
187
195
  - lib/generators/devise/orm_helpers.rb
188
196
  - lib/generators/devise/views_generator.rb
189
197
  - lib/generators/mongoid/devise_generator.rb
190
198
  - lib/generators/templates/README
199
+ - lib/generators/templates/controllers/README
200
+ - lib/generators/templates/controllers/confirmations_controller.rb
201
+ - lib/generators/templates/controllers/omniauth_callbacks_controller.rb
202
+ - lib/generators/templates/controllers/passwords_controller.rb
203
+ - lib/generators/templates/controllers/registrations_controller.rb
204
+ - lib/generators/templates/controllers/sessions_controller.rb
205
+ - lib/generators/templates/controllers/unlocks_controller.rb
191
206
  - lib/generators/templates/devise.rb
192
207
  - lib/generators/templates/markerb/confirmation_instructions.markerb
208
+ - lib/generators/templates/markerb/password_change.markerb
193
209
  - lib/generators/templates/markerb/reset_password_instructions.markerb
194
210
  - lib/generators/templates/markerb/unlock_instructions.markerb
195
211
  - lib/generators/templates/simple_form_for/confirmations/new.html.erb
@@ -199,9 +215,13 @@ files:
199
215
  - lib/generators/templates/simple_form_for/registrations/new.html.erb
200
216
  - lib/generators/templates/simple_form_for/sessions/new.html.erb
201
217
  - lib/generators/templates/simple_form_for/unlocks/new.html.erb
218
+ - test/controllers/custom_registrations_controller_test.rb
202
219
  - test/controllers/custom_strategy_test.rb
220
+ - test/controllers/helper_methods_test.rb
203
221
  - test/controllers/helpers_test.rb
222
+ - test/controllers/inherited_controller_i18n_messages_test.rb
204
223
  - test/controllers/internal_helpers_test.rb
224
+ - test/controllers/load_hooks_controller_test.rb
205
225
  - test/controllers/passwords_controller_test.rb
206
226
  - test/controllers/sessions_controller_test.rb
207
227
  - test/controllers/url_helpers_test.rb
@@ -209,6 +229,7 @@ files:
209
229
  - test/devise_test.rb
210
230
  - test/failure_app_test.rb
211
231
  - test/generators/active_record_generator_test.rb
232
+ - test/generators/controllers_generator_test.rb
212
233
  - test/generators/devise_generator_test.rb
213
234
  - test/generators/install_generator_test.rb
214
235
  - test/generators/mongoid_generator_test.rb
@@ -251,19 +272,29 @@ files:
251
272
  - test/rails_app/app/active_record/admin.rb
252
273
  - test/rails_app/app/active_record/shim.rb
253
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
254
278
  - test/rails_app/app/controllers/admins/sessions_controller.rb
255
279
  - test/rails_app/app/controllers/admins_controller.rb
256
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
257
283
  - test/rails_app/app/controllers/home_controller.rb
258
284
  - test/rails_app/app/controllers/publisher/registrations_controller.rb
259
285
  - test/rails_app/app/controllers/publisher/sessions_controller.rb
260
286
  - test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
261
287
  - test/rails_app/app/controllers/users_controller.rb
262
288
  - test/rails_app/app/helpers/application_helper.rb
289
+ - test/rails_app/app/mailers/users/from_proc_mailer.rb
263
290
  - test/rails_app/app/mailers/users/mailer.rb
291
+ - test/rails_app/app/mailers/users/reply_to_mailer.rb
264
292
  - test/rails_app/app/mongoid/admin.rb
265
293
  - test/rails_app/app/mongoid/shim.rb
266
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
267
298
  - test/rails_app/app/views/admins/index.html.erb
268
299
  - test/rails_app/app/views/admins/sessions/new.html.erb
269
300
  - test/rails_app/app/views/home/admin_dashboard.html.erb
@@ -297,14 +328,18 @@ files:
297
328
  - test/rails_app/db/schema.rb
298
329
  - test/rails_app/lib/shared_admin.rb
299
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
300
333
  - test/rails_app/public/404.html
301
334
  - test/rails_app/public/422.html
302
335
  - test/rails_app/public/500.html
303
336
  - test/rails_app/public/favicon.ico
337
+ - test/rails_test.rb
304
338
  - test/routes_test.rb
305
339
  - test/support/action_controller/record_identifier.rb
306
340
  - test/support/assertions.rb
307
341
  - test/support/helpers.rb
342
+ - test/support/http_method_compatibility.rb
308
343
  - test/support/integration.rb
309
344
  - test/support/locale/en.yml
310
345
  - test/support/mongoid.yml
@@ -324,22 +359,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
324
359
  requirements:
325
360
  - - ">="
326
361
  - !ruby/object:Gem::Version
327
- version: '0'
362
+ version: 2.1.0
328
363
  required_rubygems_version: !ruby/object:Gem::Requirement
329
364
  requirements:
330
365
  - - ">="
331
366
  - !ruby/object:Gem::Version
332
367
  version: '0'
333
368
  requirements: []
334
- rubyforge_project: devise
335
- rubygems_version: 2.2.2
369
+ rubyforge_project:
370
+ rubygems_version: 2.5.1
336
371
  signing_key:
337
372
  specification_version: 4
338
373
  summary: Flexible authentication solution for Rails with Warden
339
374
  test_files:
375
+ - test/controllers/custom_registrations_controller_test.rb
340
376
  - test/controllers/custom_strategy_test.rb
377
+ - test/controllers/helper_methods_test.rb
341
378
  - test/controllers/helpers_test.rb
379
+ - test/controllers/inherited_controller_i18n_messages_test.rb
342
380
  - test/controllers/internal_helpers_test.rb
381
+ - test/controllers/load_hooks_controller_test.rb
343
382
  - test/controllers/passwords_controller_test.rb
344
383
  - test/controllers/sessions_controller_test.rb
345
384
  - test/controllers/url_helpers_test.rb
@@ -347,6 +386,7 @@ test_files:
347
386
  - test/devise_test.rb
348
387
  - test/failure_app_test.rb
349
388
  - test/generators/active_record_generator_test.rb
389
+ - test/generators/controllers_generator_test.rb
350
390
  - test/generators/devise_generator_test.rb
351
391
  - test/generators/install_generator_test.rb
352
392
  - test/generators/mongoid_generator_test.rb
@@ -389,19 +429,29 @@ test_files:
389
429
  - test/rails_app/app/active_record/admin.rb
390
430
  - test/rails_app/app/active_record/shim.rb
391
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
392
435
  - test/rails_app/app/controllers/admins/sessions_controller.rb
393
436
  - test/rails_app/app/controllers/admins_controller.rb
394
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
395
440
  - test/rails_app/app/controllers/home_controller.rb
396
441
  - test/rails_app/app/controllers/publisher/registrations_controller.rb
397
442
  - test/rails_app/app/controllers/publisher/sessions_controller.rb
398
443
  - test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
399
444
  - test/rails_app/app/controllers/users_controller.rb
400
445
  - test/rails_app/app/helpers/application_helper.rb
446
+ - test/rails_app/app/mailers/users/from_proc_mailer.rb
401
447
  - test/rails_app/app/mailers/users/mailer.rb
448
+ - test/rails_app/app/mailers/users/reply_to_mailer.rb
402
449
  - test/rails_app/app/mongoid/admin.rb
403
450
  - test/rails_app/app/mongoid/shim.rb
404
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
405
455
  - test/rails_app/app/views/admins/index.html.erb
406
456
  - test/rails_app/app/views/admins/sessions/new.html.erb
407
457
  - test/rails_app/app/views/home/admin_dashboard.html.erb
@@ -435,14 +485,18 @@ test_files:
435
485
  - test/rails_app/db/schema.rb
436
486
  - test/rails_app/lib/shared_admin.rb
437
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
438
490
  - test/rails_app/public/404.html
439
491
  - test/rails_app/public/422.html
440
492
  - test/rails_app/public/500.html
441
493
  - test/rails_app/public/favicon.ico
494
+ - test/rails_test.rb
442
495
  - test/routes_test.rb
443
496
  - test/support/action_controller/record_identifier.rb
444
497
  - test/support/assertions.rb
445
498
  - test/support/helpers.rb
499
+ - test/support/http_method_compatibility.rb
446
500
  - test/support/integration.rb
447
501
  - test/support/locale/en.yml
448
502
  - test/support/mongoid.yml
@@ -1,29 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec path: '..'
4
-
5
- gem "rails", github: 'rails/rails', branch: '4-0-stable'
6
- gem "omniauth", "~> 1.0.0"
7
- gem "omniauth-oauth2", "~> 1.0.0"
8
- gem "rdoc"
9
-
10
- group :test do
11
- gem "omniauth-facebook"
12
- gem "omniauth-openid", "~> 1.0.1"
13
- gem "webrat", "0.7.3", require: false
14
- gem "mocha", "~> 1.0.0", require: false
15
- end
16
-
17
- platforms :jruby do
18
- gem "activerecord-jdbc-adapter"
19
- gem "activerecord-jdbcsqlite3-adapter"
20
- gem "jruby-openssl"
21
- end
22
-
23
- platforms :ruby do
24
- gem "sqlite3"
25
- end
26
-
27
- group :mongoid do
28
- gem "mongoid", github: "mongoid/mongoid", branch: "master"
29
- end