devise_token_auth 0.1.42 → 0.1.43.beta1

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

Potentially problematic release.


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

Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -38
  3. data/app/controllers/devise_token_auth/application_controller.rb +15 -0
  4. data/app/controllers/devise_token_auth/concerns/resource_finder.rb +38 -0
  5. data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +21 -19
  6. data/app/controllers/devise_token_auth/confirmations_controller.rb +12 -7
  7. data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +3 -7
  8. data/app/controllers/devise_token_auth/passwords_controller.rb +16 -26
  9. data/app/controllers/devise_token_auth/registrations_controller.rb +6 -2
  10. data/app/controllers/devise_token_auth/sessions_controller.rb +3 -14
  11. data/app/controllers/devise_token_auth/unlocks_controller.rb +105 -0
  12. data/app/models/devise_token_auth/concerns/user.rb +29 -12
  13. data/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +5 -8
  14. data/app/views/devise/mailer/unlock_instructions.html.erb +1 -1
  15. data/app/views/devise_token_auth/omniauth_external_window.html.erb +1 -1
  16. data/config/initializers/devise.rb +1 -1
  17. data/config/locales/da-DK.yml +50 -0
  18. data/config/locales/en.yml +4 -0
  19. data/lib/devise_token_auth/controllers/helpers.rb +30 -20
  20. data/lib/devise_token_auth/rails/routes.rb +1 -1
  21. data/lib/devise_token_auth/url.rb +1 -1
  22. data/lib/devise_token_auth/version.rb +1 -1
  23. data/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +2 -1
  24. data/lib/generators/devise_token_auth/templates/user.rb +1 -1
  25. data/test/controllers/custom/custom_confirmations_controller_test.rb +5 -10
  26. data/test/controllers/custom/custom_omniauth_callbacks_controller_test.rb +15 -16
  27. data/test/controllers/custom/custom_passwords_controller_test.rb +28 -34
  28. data/test/controllers/custom/custom_registrations_controller_test.rb +23 -21
  29. data/test/controllers/custom/custom_sessions_controller_test.rb +16 -18
  30. data/test/controllers/custom/custom_token_validations_controller_test.rb +13 -11
  31. data/test/controllers/demo_group_controller_test.rb +19 -5
  32. data/test/controllers/demo_mang_controller_test.rb +37 -16
  33. data/test/controllers/demo_user_controller_test.rb +70 -38
  34. data/test/controllers/devise_token_auth/confirmations_controller_test.rb +40 -22
  35. data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +108 -82
  36. data/test/controllers/devise_token_auth/passwords_controller_test.rb +127 -145
  37. data/test/controllers/devise_token_auth/registrations_controller_test.rb +258 -274
  38. data/test/controllers/devise_token_auth/sessions_controller_test.rb +112 -117
  39. data/test/controllers/devise_token_auth/token_validations_controller_test.rb +14 -15
  40. data/test/controllers/devise_token_auth/unlocks_controller_test.rb +194 -0
  41. data/test/controllers/overrides/confirmations_controller_test.rb +8 -9
  42. data/test/controllers/overrides/omniauth_callbacks_controller_test.rb +16 -12
  43. data/test/controllers/overrides/passwords_controller_test.rb +19 -15
  44. data/test/controllers/overrides/registrations_controller_test.rb +7 -7
  45. data/test/controllers/overrides/sessions_controller_test.rb +6 -6
  46. data/test/controllers/overrides/token_validations_controller_test.rb +7 -4
  47. data/test/dummy/app/controllers/auth_origin_controller.rb +2 -2
  48. data/test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb +0 -2
  49. data/test/dummy/app/controllers/overrides/confirmations_controller.rb +11 -7
  50. data/test/dummy/app/controllers/overrides/passwords_controller.rb +10 -8
  51. data/test/dummy/app/controllers/overrides/sessions_controller.rb +1 -1
  52. data/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb +2 -2
  53. data/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb +2 -2
  54. data/test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb +1 -1
  55. data/test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb +1 -1
  56. data/test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb +2 -1
  57. data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +1 -1
  58. data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +2 -1
  59. data/test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb +2 -1
  60. data/test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb +2 -1
  61. data/test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb +2 -1
  62. data/test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb +2 -1
  63. data/test/dummy/db/schema.rb +157 -162
  64. data/test/dummy/tmp/generators/app/models/user.rb +1 -1
  65. data/test/dummy/tmp/generators/db/migrate/{20170517171822_devise_token_auth_create_users.rb → 20171014052631_devise_token_auth_create_users.rb} +2 -1
  66. data/test/lib/generators/devise_token_auth/install_generator_test.rb +5 -1
  67. data/test/models/user_test.rb +35 -1
  68. data/test/test_helper.rb +17 -11
  69. metadata +85 -80
@@ -1,4 +1,4 @@
1
- class User < ActiveRecord::Base
1
+ class User < ApplicationRecord
2
2
  # Include default devise modules.
3
3
  devise :database_authenticatable, :registerable,
4
4
  :recoverable, :rememberable, :trackable, :validatable,
@@ -1,4 +1,4 @@
1
- class DeviseTokenAuthCreateUsers < ActiveRecord::Migration[4.2]
1
+ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration[5.1]
2
2
  def change
3
3
  create_table(:users) do |t|
4
4
  ## Required
@@ -11,6 +11,7 @@ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration[4.2]
11
11
  ## Recoverable
12
12
  t.string :reset_password_token
13
13
  t.datetime :reset_password_sent_at
14
+ t.boolean :allow_password_change, :default => false
14
15
 
15
16
  ## Rememberable
16
17
  t.datetime :remember_created_at
@@ -29,7 +29,11 @@ module DeviseTokenAuth
29
29
  end
30
30
 
31
31
  test 'migration file contains rails version' do
32
- assert_migration 'db/migrate/devise_token_auth_create_users.rb', /#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}/
32
+ if Rails::VERSION::MAJOR >= 5
33
+ assert_migration 'db/migrate/devise_token_auth_create_users.rb', /#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}/
34
+ else
35
+ assert_migration 'db/migrate/devise_token_auth_create_users.rb'
36
+ end
33
37
  end
34
38
 
35
39
  test 'subsequent runs raise no errors' do
@@ -65,7 +65,7 @@ class UserTest < ActiveSupport::TestCase
65
65
  @resource.password_confirmation = @password
66
66
 
67
67
  assert @resource.save
68
- refute @resource.errors.messages[:email]
68
+ assert @resource.errors.messages[:email].blank?
69
69
  end
70
70
  end
71
71
 
@@ -89,6 +89,40 @@ class UserTest < ActiveSupport::TestCase
89
89
  end
90
90
  end
91
91
 
92
+ describe 'user specific token lifespan' do
93
+ before do
94
+ @resource = users(:confirmed_email_user)
95
+ @resource.skip_confirmation!
96
+ @resource.save!
97
+
98
+ auth_headers = @resource.create_new_auth_token
99
+ @token_global = auth_headers['access-token']
100
+ @client_id_global = auth_headers['client']
101
+
102
+ def @resource.token_lifespan
103
+ 1.minute
104
+ end
105
+
106
+ auth_headers = @resource.create_new_auth_token
107
+ @token_specific = auth_headers['access-token']
108
+ @client_id_specific = auth_headers['client']
109
+ end
110
+
111
+ test 'works per user' do
112
+ assert @resource.token_is_current?(@token_global, @client_id_global)
113
+
114
+ time = Time.now.to_i
115
+ expiry_global = @resource.tokens[@client_id_global]['expiry']
116
+
117
+ assert expiry_global > time + DeviseTokenAuth.token_lifespan - 5.seconds
118
+ assert expiry_global < time + DeviseTokenAuth.token_lifespan + 5.seconds
119
+
120
+ expiry_specific = @resource.tokens[@client_id_specific]['expiry']
121
+ assert expiry_specific > time + 55.seconds
122
+ assert expiry_specific < time + 65.seconds
123
+ end
124
+ end
125
+
92
126
  describe 'expired tokens are destroyed on save' do
93
127
  before do
94
128
  @resource = users(:confirmed_email_user)
data/test/test_helper.rb CHANGED
@@ -1,31 +1,37 @@
1
1
  require 'simplecov'
2
2
 
3
- #SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
- #SimpleCov::Formatter::HTMLFormatter,
5
- #CodeClimate::TestReporter::Formatter
6
- #]
3
+ # SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
+ # SimpleCov::Formatter::HTMLFormatter,
5
+ # CodeClimate::TestReporter::Formatter
6
+ # ]
7
7
 
8
8
  SimpleCov.start 'rails'
9
9
 
10
- ENV["RAILS_ENV"] = "test"
10
+ ENV['RAILS_ENV'] = 'test'
11
11
 
12
- require File.expand_path("../dummy/config/environment", __FILE__)
13
- require "rails/test_help"
14
- require "minitest/rails"
12
+ require File.expand_path('../dummy/config/environment', __FILE__)
13
+ require 'rails/test_help'
14
+ require 'minitest/rails'
15
15
 
16
16
  # To add Capybara feature tests add `gem "minitest-rails-capybara"`
17
17
  # to the test group in the Gemfile and uncomment the following:
18
18
  # require "minitest/rails/capybara"
19
19
 
20
20
  # Uncomment for awesome colorful output
21
- require "minitest/pride"
21
+ # require "minitest/pride"
22
22
 
23
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
24
- ActionDispatch::IntegrationTest.fixture_path = File.expand_path("../fixtures", __FILE__)
23
+ ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
24
+ ActionDispatch::IntegrationTest.fixture_path = File.expand_path('../fixtures', __FILE__)
25
25
 
26
26
  # I hate the default reporter. Use ProgressReporter instead.
27
27
  Minitest::Reporters.use! Minitest::Reporters::ProgressReporter.new
28
28
 
29
+ class ActionDispatch::IntegrationTest
30
+ def follow_all_redirects!
31
+ follow_redirect! while response.status.to_s =~ /^3\d{2}/
32
+ end
33
+ end
34
+
29
35
  class ActiveSupport::TestCase
30
36
  ActiveRecord::Migration.check_pending!
31
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_token_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.42
4
+ version: 0.1.43.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-17 00:00:00.000000000 Z
11
+ date: 2017-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -31,9 +31,9 @@ dependencies:
31
31
  - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.5.2
34
- - - "<="
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '4.3'
36
+ version: '4.4'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -41,9 +41,9 @@ dependencies:
41
41
  - - ">"
42
42
  - !ruby/object:Gem::Version
43
43
  version: 3.5.2
44
- - - "<="
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '4.3'
46
+ version: '4.4'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sqlite3
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -97,6 +97,7 @@ files:
97
97
  - README.md
98
98
  - Rakefile
99
99
  - app/controllers/devise_token_auth/application_controller.rb
100
+ - app/controllers/devise_token_auth/concerns/resource_finder.rb
100
101
  - app/controllers/devise_token_auth/concerns/set_user_by_token.rb
101
102
  - app/controllers/devise_token_auth/confirmations_controller.rb
102
103
  - app/controllers/devise_token_auth/omniauth_callbacks_controller.rb
@@ -104,6 +105,7 @@ files:
104
105
  - app/controllers/devise_token_auth/registrations_controller.rb
105
106
  - app/controllers/devise_token_auth/sessions_controller.rb
106
107
  - app/controllers/devise_token_auth/token_validations_controller.rb
108
+ - app/controllers/devise_token_auth/unlocks_controller.rb
107
109
  - app/models/devise_token_auth/concerns/user.rb
108
110
  - app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb
109
111
  - app/validators/email_validator.rb
@@ -112,6 +114,7 @@ files:
112
114
  - app/views/devise/mailer/unlock_instructions.html.erb
113
115
  - app/views/devise_token_auth/omniauth_external_window.html.erb
114
116
  - config/initializers/devise.rb
117
+ - config/locales/da-DK.yml
115
118
  - config/locales/de.yml
116
119
  - config/locales/en.yml
117
120
  - config/locales/es.yml
@@ -157,6 +160,7 @@ files:
157
160
  - test/controllers/devise_token_auth/registrations_controller_test.rb
158
161
  - test/controllers/devise_token_auth/sessions_controller_test.rb
159
162
  - test/controllers/devise_token_auth/token_validations_controller_test.rb
163
+ - test/controllers/devise_token_auth/unlocks_controller_test.rb
160
164
  - test/controllers/overrides/confirmations_controller_test.rb
161
165
  - test/controllers/overrides/omniauth_callbacks_controller_test.rb
162
166
  - test/controllers/overrides/passwords_controller_test.rb
@@ -229,7 +233,7 @@ files:
229
233
  - test/dummy/lib/migration_database_helper.rb
230
234
  - test/dummy/tmp/generators/app/models/user.rb
231
235
  - test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
232
- - test/dummy/tmp/generators/db/migrate/20170517171822_devise_token_auth_create_users.rb
236
+ - test/dummy/tmp/generators/db/migrate/20171014052631_devise_token_auth_create_users.rb
233
237
  - test/integration/navigation_test.rb
234
238
  - test/lib/devise_token_auth/url_test.rb
235
239
  - test/lib/generators/devise_token_auth/install_generator_test.rb
@@ -252,108 +256,109 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
256
  version: '0'
253
257
  required_rubygems_version: !ruby/object:Gem::Requirement
254
258
  requirements:
255
- - - ">="
259
+ - - ">"
256
260
  - !ruby/object:Gem::Version
257
- version: '0'
261
+ version: 1.3.1
258
262
  requirements: []
259
263
  rubyforge_project:
260
- rubygems_version: 2.5.1
264
+ rubygems_version: 2.6.6
261
265
  signing_key:
262
266
  specification_version: 4
263
267
  summary: Token based authentication for rails. Uses Devise + OmniAuth.
264
268
  test_files:
265
- - test/controllers/custom/custom_confirmations_controller_test.rb
266
- - test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
267
- - test/controllers/custom/custom_passwords_controller_test.rb
268
- - test/controllers/custom/custom_registrations_controller_test.rb
269
- - test/controllers/custom/custom_sessions_controller_test.rb
270
- - test/controllers/custom/custom_token_validations_controller_test.rb
271
- - test/controllers/demo_group_controller_test.rb
272
- - test/controllers/demo_mang_controller_test.rb
273
- - test/controllers/demo_user_controller_test.rb
274
- - test/controllers/devise_token_auth/confirmations_controller_test.rb
275
- - test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
276
- - test/controllers/devise_token_auth/passwords_controller_test.rb
277
- - test/controllers/devise_token_auth/registrations_controller_test.rb
278
- - test/controllers/devise_token_auth/sessions_controller_test.rb
279
- - test/controllers/devise_token_auth/token_validations_controller_test.rb
280
- - test/controllers/overrides/confirmations_controller_test.rb
281
- - test/controllers/overrides/omniauth_callbacks_controller_test.rb
282
- - test/controllers/overrides/passwords_controller_test.rb
283
- - test/controllers/overrides/registrations_controller_test.rb
284
- - test/controllers/overrides/sessions_controller_test.rb
285
- - test/controllers/overrides/token_validations_controller_test.rb
286
- - test/dummy/app/controllers/application_controller.rb
287
- - test/dummy/app/controllers/auth_origin_controller.rb
288
- - test/dummy/app/controllers/custom/confirmations_controller.rb
289
- - test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
290
- - test/dummy/app/controllers/custom/passwords_controller.rb
291
- - test/dummy/app/controllers/custom/registrations_controller.rb
292
- - test/dummy/app/controllers/custom/sessions_controller.rb
293
- - test/dummy/app/controllers/custom/token_validations_controller.rb
294
- - test/dummy/app/controllers/demo_group_controller.rb
295
- - test/dummy/app/controllers/demo_mang_controller.rb
296
- - test/dummy/app/controllers/demo_user_controller.rb
297
- - test/dummy/app/controllers/overrides/confirmations_controller.rb
298
- - test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
299
- - test/dummy/app/controllers/overrides/passwords_controller.rb
300
- - test/dummy/app/controllers/overrides/registrations_controller.rb
301
- - test/dummy/app/controllers/overrides/sessions_controller.rb
302
- - test/dummy/app/controllers/overrides/token_validations_controller.rb
303
- - test/dummy/app/helpers/application_helper.rb
304
- - test/dummy/app/models/evil_user.rb
305
- - test/dummy/app/models/lockable_user.rb
306
- - test/dummy/app/models/mang.rb
307
269
  - test/dummy/app/models/nice_user.rb
308
270
  - test/dummy/app/models/only_email_user.rb
309
271
  - test/dummy/app/models/scoped_user.rb
310
- - test/dummy/app/models/unconfirmable_user.rb
272
+ - test/dummy/app/models/evil_user.rb
273
+ - test/dummy/app/models/mang.rb
311
274
  - test/dummy/app/models/unregisterable_user.rb
275
+ - test/dummy/app/models/lockable_user.rb
276
+ - test/dummy/app/models/unconfirmable_user.rb
312
277
  - test/dummy/app/models/user.rb
278
+ - test/dummy/app/controllers/overrides/token_validations_controller.rb
279
+ - test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
280
+ - test/dummy/app/controllers/overrides/passwords_controller.rb
281
+ - test/dummy/app/controllers/overrides/sessions_controller.rb
282
+ - test/dummy/app/controllers/overrides/confirmations_controller.rb
283
+ - test/dummy/app/controllers/overrides/registrations_controller.rb
284
+ - test/dummy/app/controllers/application_controller.rb
285
+ - test/dummy/app/controllers/demo_user_controller.rb
286
+ - test/dummy/app/controllers/auth_origin_controller.rb
287
+ - test/dummy/app/controllers/demo_mang_controller.rb
288
+ - test/dummy/app/controllers/demo_group_controller.rb
289
+ - test/dummy/app/controllers/custom/token_validations_controller.rb
290
+ - test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
291
+ - test/dummy/app/controllers/custom/passwords_controller.rb
292
+ - test/dummy/app/controllers/custom/sessions_controller.rb
293
+ - test/dummy/app/controllers/custom/confirmations_controller.rb
294
+ - test/dummy/app/controllers/custom/registrations_controller.rb
313
295
  - test/dummy/app/views/layouts/application.html.erb
314
- - test/dummy/config/application.rb
315
- - test/dummy/config/application.yml.bk
316
- - test/dummy/config/boot.rb
317
- - test/dummy/config/environment.rb
318
- - test/dummy/config/environments/development.rb
296
+ - test/dummy/app/helpers/application_helper.rb
297
+ - test/dummy/config/routes.rb
319
298
  - test/dummy/config/environments/production.rb
299
+ - test/dummy/config/environments/development.rb
320
300
  - test/dummy/config/environments/test.rb
321
- - test/dummy/config/initializers/assets.rb
301
+ - test/dummy/config/spring.rb
302
+ - test/dummy/config/environment.rb
303
+ - test/dummy/config/application.rb
304
+ - test/dummy/config/boot.rb
305
+ - test/dummy/config/application.yml.bk
322
306
  - test/dummy/config/initializers/backtrace_silencers.rb
323
- - test/dummy/config/initializers/cookies_serializer.rb
324
- - test/dummy/config/initializers/devise.rb
325
307
  - test/dummy/config/initializers/devise_token_auth.rb
326
- - test/dummy/config/initializers/figaro.rb
327
- - test/dummy/config/initializers/filter_parameter_logging.rb
328
- - test/dummy/config/initializers/inflections.rb
329
308
  - test/dummy/config/initializers/mime_types.rb
330
- - test/dummy/config/initializers/omniauth.rb
309
+ - test/dummy/config/initializers/filter_parameter_logging.rb
331
310
  - test/dummy/config/initializers/session_store.rb
332
311
  - test/dummy/config/initializers/wrap_parameters.rb
333
- - test/dummy/config/routes.rb
334
- - test/dummy/config/spring.rb
312
+ - test/dummy/config/initializers/assets.rb
313
+ - test/dummy/config/initializers/cookies_serializer.rb
314
+ - test/dummy/config/initializers/devise.rb
315
+ - test/dummy/config/initializers/omniauth.rb
316
+ - test/dummy/config/initializers/inflections.rb
317
+ - test/dummy/config/initializers/figaro.rb
335
318
  - test/dummy/config.ru
336
- - test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
337
- - test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
319
+ - test/dummy/lib/migration_database_helper.rb
320
+ - test/dummy/db/schema.rb
321
+ - test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
338
322
  - test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
339
323
  - test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb
340
- - test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb
341
- - test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
342
324
  - test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
343
- - test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
344
- - test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
345
- - test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
325
+ - test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
346
326
  - test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb
347
- - test/dummy/db/schema.rb
348
- - test/dummy/lib/migration_database_helper.rb
349
- - test/dummy/README.rdoc
327
+ - test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb
328
+ - test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
329
+ - test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
330
+ - test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
331
+ - test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
350
332
  - test/dummy/tmp/generators/app/models/user.rb
351
333
  - test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
352
- - test/dummy/tmp/generators/db/migrate/20170517171822_devise_token_auth_create_users.rb
334
+ - test/dummy/tmp/generators/db/migrate/20171014052631_devise_token_auth_create_users.rb
335
+ - test/dummy/README.rdoc
353
336
  - test/integration/navigation_test.rb
337
+ - test/models/only_email_user_test.rb
338
+ - test/models/user_test.rb
354
339
  - test/lib/devise_token_auth/url_test.rb
355
340
  - test/lib/generators/devise_token_auth/install_generator_test.rb
356
341
  - test/lib/generators/devise_token_auth/install_views_generator_test.rb
357
- - test/models/only_email_user_test.rb
358
- - test/models/user_test.rb
359
342
  - test/test_helper.rb
343
+ - test/controllers/overrides/token_validations_controller_test.rb
344
+ - test/controllers/overrides/confirmations_controller_test.rb
345
+ - test/controllers/overrides/registrations_controller_test.rb
346
+ - test/controllers/overrides/omniauth_callbacks_controller_test.rb
347
+ - test/controllers/overrides/sessions_controller_test.rb
348
+ - test/controllers/overrides/passwords_controller_test.rb
349
+ - test/controllers/demo_mang_controller_test.rb
350
+ - test/controllers/devise_token_auth/token_validations_controller_test.rb
351
+ - test/controllers/devise_token_auth/confirmations_controller_test.rb
352
+ - test/controllers/devise_token_auth/unlocks_controller_test.rb
353
+ - test/controllers/devise_token_auth/registrations_controller_test.rb
354
+ - test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
355
+ - test/controllers/devise_token_auth/sessions_controller_test.rb
356
+ - test/controllers/devise_token_auth/passwords_controller_test.rb
357
+ - test/controllers/demo_user_controller_test.rb
358
+ - test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
359
+ - test/controllers/custom/custom_sessions_controller_test.rb
360
+ - test/controllers/custom/custom_confirmations_controller_test.rb
361
+ - test/controllers/custom/custom_token_validations_controller_test.rb
362
+ - test/controllers/custom/custom_registrations_controller_test.rb
363
+ - test/controllers/custom/custom_passwords_controller_test.rb
364
+ - test/controllers/demo_group_controller_test.rb