digix_devise_token_auth 0.1.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +13 -0
  3. data/README.md +952 -0
  4. data/Rakefile +35 -0
  5. data/app/controllers/devise_token_auth/application_controller.rb +76 -0
  6. data/app/controllers/devise_token_auth/concerns/resource_finder.rb +43 -0
  7. data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +165 -0
  8. data/app/controllers/devise_token_auth/confirmations_controller.rb +30 -0
  9. data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +243 -0
  10. data/app/controllers/devise_token_auth/passwords_controller.rb +202 -0
  11. data/app/controllers/devise_token_auth/registrations_controller.rb +205 -0
  12. data/app/controllers/devise_token_auth/sessions_controller.rb +133 -0
  13. data/app/controllers/devise_token_auth/token_validations_controller.rb +29 -0
  14. data/app/controllers/devise_token_auth/unlocks_controller.rb +89 -0
  15. data/app/models/devise_token_auth/concerns/user.rb +260 -0
  16. data/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +26 -0
  17. data/app/validators/email_validator.rb +21 -0
  18. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  19. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  20. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  21. data/app/views/devise_token_auth/omniauth_external_window.html.erb +38 -0
  22. data/config/initializers/devise.rb +196 -0
  23. data/config/locales/da-DK.yml +50 -0
  24. data/config/locales/de.yml +49 -0
  25. data/config/locales/en.yml +50 -0
  26. data/config/locales/es.yml +49 -0
  27. data/config/locales/fr.yml +49 -0
  28. data/config/locales/it.yml +46 -0
  29. data/config/locales/ja.yml +46 -0
  30. data/config/locales/nl.yml +30 -0
  31. data/config/locales/pl.yml +48 -0
  32. data/config/locales/pt-BR.yml +46 -0
  33. data/config/locales/pt.yml +48 -0
  34. data/config/locales/ro.yml +46 -0
  35. data/config/locales/ru.yml +50 -0
  36. data/config/locales/sq.yml +46 -0
  37. data/config/locales/uk.yml +59 -0
  38. data/config/locales/vi.yml +50 -0
  39. data/config/locales/zh-CN.yml +46 -0
  40. data/config/locales/zh-HK.yml +48 -0
  41. data/config/locales/zh-TW.yml +48 -0
  42. data/lib/devise_token_auth.rb +8 -0
  43. data/lib/devise_token_auth/controllers/helpers.rb +149 -0
  44. data/lib/devise_token_auth/controllers/url_helpers.rb +8 -0
  45. data/lib/devise_token_auth/engine.rb +90 -0
  46. data/lib/devise_token_auth/rails/routes.rb +114 -0
  47. data/lib/devise_token_auth/url.rb +37 -0
  48. data/lib/devise_token_auth/version.rb +3 -0
  49. data/lib/generators/devise_token_auth/USAGE +31 -0
  50. data/lib/generators/devise_token_auth/install_generator.rb +160 -0
  51. data/lib/generators/devise_token_auth/install_views_generator.rb +16 -0
  52. data/lib/generators/devise_token_auth/templates/devise_token_auth.rb +48 -0
  53. data/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +55 -0
  54. data/lib/generators/devise_token_auth/templates/user.rb +7 -0
  55. data/lib/tasks/devise_token_auth_tasks.rake +4 -0
  56. data/test/controllers/custom/custom_confirmations_controller_test.rb +21 -0
  57. data/test/controllers/custom/custom_omniauth_callbacks_controller_test.rb +29 -0
  58. data/test/controllers/custom/custom_passwords_controller_test.rb +75 -0
  59. data/test/controllers/custom/custom_registrations_controller_test.rb +54 -0
  60. data/test/controllers/custom/custom_sessions_controller_test.rb +37 -0
  61. data/test/controllers/custom/custom_token_validations_controller_test.rb +40 -0
  62. data/test/controllers/demo_group_controller_test.rb +153 -0
  63. data/test/controllers/demo_mang_controller_test.rb +284 -0
  64. data/test/controllers/demo_user_controller_test.rb +601 -0
  65. data/test/controllers/devise_token_auth/confirmations_controller_test.rb +129 -0
  66. data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +371 -0
  67. data/test/controllers/devise_token_auth/passwords_controller_test.rb +649 -0
  68. data/test/controllers/devise_token_auth/registrations_controller_test.rb +878 -0
  69. data/test/controllers/devise_token_auth/sessions_controller_test.rb +500 -0
  70. data/test/controllers/devise_token_auth/token_validations_controller_test.rb +90 -0
  71. data/test/controllers/devise_token_auth/unlocks_controller_test.rb +194 -0
  72. data/test/controllers/overrides/confirmations_controller_test.rb +43 -0
  73. data/test/controllers/overrides/omniauth_callbacks_controller_test.rb +49 -0
  74. data/test/controllers/overrides/passwords_controller_test.rb +66 -0
  75. data/test/controllers/overrides/registrations_controller_test.rb +40 -0
  76. data/test/controllers/overrides/sessions_controller_test.rb +33 -0
  77. data/test/controllers/overrides/token_validations_controller_test.rb +41 -0
  78. data/test/dummy/README.rdoc +28 -0
  79. data/test/dummy/app/controllers/application_controller.rb +16 -0
  80. data/test/dummy/app/controllers/auth_origin_controller.rb +5 -0
  81. data/test/dummy/app/controllers/custom/confirmations_controller.rb +13 -0
  82. data/test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb +11 -0
  83. data/test/dummy/app/controllers/custom/passwords_controller.rb +40 -0
  84. data/test/dummy/app/controllers/custom/registrations_controller.rb +39 -0
  85. data/test/dummy/app/controllers/custom/sessions_controller.rb +29 -0
  86. data/test/dummy/app/controllers/custom/token_validations_controller.rb +19 -0
  87. data/test/dummy/app/controllers/demo_group_controller.rb +13 -0
  88. data/test/dummy/app/controllers/demo_mang_controller.rb +12 -0
  89. data/test/dummy/app/controllers/demo_user_controller.rb +25 -0
  90. data/test/dummy/app/controllers/overrides/confirmations_controller.rb +26 -0
  91. data/test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb +14 -0
  92. data/test/dummy/app/controllers/overrides/passwords_controller.rb +33 -0
  93. data/test/dummy/app/controllers/overrides/registrations_controller.rb +27 -0
  94. data/test/dummy/app/controllers/overrides/sessions_controller.rb +36 -0
  95. data/test/dummy/app/controllers/overrides/token_validations_controller.rb +23 -0
  96. data/test/dummy/app/helpers/application_helper.rb +1065 -0
  97. data/test/dummy/app/models/evil_user.rb +3 -0
  98. data/test/dummy/app/models/lockable_user.rb +5 -0
  99. data/test/dummy/app/models/mang.rb +3 -0
  100. data/test/dummy/app/models/nice_user.rb +7 -0
  101. data/test/dummy/app/models/only_email_user.rb +5 -0
  102. data/test/dummy/app/models/scoped_user.rb +7 -0
  103. data/test/dummy/app/models/unconfirmable_user.rb +8 -0
  104. data/test/dummy/app/models/unregisterable_user.rb +7 -0
  105. data/test/dummy/app/models/user.rb +18 -0
  106. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  107. data/test/dummy/config.ru +16 -0
  108. data/test/dummy/config/application.rb +24 -0
  109. data/test/dummy/config/application.yml.bk +0 -0
  110. data/test/dummy/config/boot.rb +5 -0
  111. data/test/dummy/config/environment.rb +5 -0
  112. data/test/dummy/config/environments/development.rb +44 -0
  113. data/test/dummy/config/environments/production.rb +82 -0
  114. data/test/dummy/config/environments/test.rb +48 -0
  115. data/test/dummy/config/initializers/assets.rb +8 -0
  116. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  117. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  118. data/test/dummy/config/initializers/devise.rb +3 -0
  119. data/test/dummy/config/initializers/devise_token_auth.rb +22 -0
  120. data/test/dummy/config/initializers/figaro.rb +1 -0
  121. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  122. data/test/dummy/config/initializers/inflections.rb +16 -0
  123. data/test/dummy/config/initializers/mime_types.rb +4 -0
  124. data/test/dummy/config/initializers/omniauth.rb +8 -0
  125. data/test/dummy/config/initializers/session_store.rb +3 -0
  126. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  127. data/test/dummy/config/routes.rb +72 -0
  128. data/test/dummy/config/spring.rb +1 -0
  129. data/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb +63 -0
  130. data/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb +62 -0
  131. data/test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb +6 -0
  132. data/test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb +5 -0
  133. data/test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb +64 -0
  134. data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +60 -0
  135. data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +61 -0
  136. data/test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb +61 -0
  137. data/test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb +61 -0
  138. data/test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb +61 -0
  139. data/test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb +61 -0
  140. data/test/dummy/db/schema.rb +258 -0
  141. data/test/dummy/lib/migration_database_helper.rb +29 -0
  142. data/test/integration/navigation_test.rb +10 -0
  143. data/test/lib/devise_token_auth/url_test.rb +24 -0
  144. data/test/lib/generators/devise_token_auth/install_generator_test.rb +187 -0
  145. data/test/lib/generators/devise_token_auth/install_views_generator_test.rb +23 -0
  146. data/test/models/only_email_user_test.rb +35 -0
  147. data/test/models/user_test.rb +169 -0
  148. data/test/test_helper.rb +77 -0
  149. metadata +342 -0
@@ -0,0 +1,77 @@
1
+ require 'simplecov'
2
+
3
+ # SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
+ # SimpleCov::Formatter::HTMLFormatter,
5
+ # CodeClimate::TestReporter::Formatter
6
+ # ]
7
+
8
+ SimpleCov.start 'rails'
9
+
10
+ ENV['RAILS_ENV'] = 'test'
11
+
12
+ require File.expand_path('../dummy/config/environment', __FILE__)
13
+ require 'rails/test_help'
14
+ require 'minitest/rails'
15
+
16
+ # To add Capybara feature tests add `gem "minitest-rails-capybara"`
17
+ # to the test group in the Gemfile and uncomment the following:
18
+ # require "minitest/rails/capybara"
19
+
20
+ # Uncomment for awesome colorful output
21
+ # require "minitest/pride"
22
+
23
+ ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
24
+ ActionDispatch::IntegrationTest.fixture_path = File.expand_path('../fixtures', __FILE__)
25
+
26
+ # I hate the default reporter. Use ProgressReporter instead.
27
+ Minitest::Reporters.use! Minitest::Reporters::ProgressReporter.new
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
+
35
+ class ActiveSupport::TestCase
36
+ ActiveRecord::Migration.check_pending!
37
+
38
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
39
+ #
40
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
41
+ # -- they do not yet inherit this setting
42
+ fixtures :all
43
+
44
+ # Add more helper methods to be used by all tests here...
45
+
46
+ def age_token(user, client_id)
47
+ if user.tokens[client_id]
48
+ user.tokens[client_id]['updated_at'] = Time.now - (DeviseTokenAuth.batch_request_buffer_throttle + 10.seconds)
49
+ user.save!
50
+ end
51
+ end
52
+
53
+ def expire_token(user, client_id)
54
+ if user.tokens[client_id]
55
+ user.tokens[client_id]['expiry'] = (Time.now - (DeviseTokenAuth.token_lifespan.to_f + 10.seconds)).to_i
56
+ user.save!
57
+ end
58
+ end
59
+
60
+ # Suppress OmniAuth logger output
61
+ def silence_omniauth
62
+ previous_logger = OmniAuth.config.logger
63
+ OmniAuth.config.logger = Logger.new("/dev/null")
64
+ yield
65
+ ensure
66
+ OmniAuth.config.logger = previous_logger
67
+ end
68
+ end
69
+
70
+ class ActionController::TestCase
71
+ include Devise::Test::ControllerHelpers
72
+
73
+ setup do
74
+ @routes = Dummy::Application.routes
75
+ @request.env['devise.mapping'] = Devise.mappings[:user]
76
+ end
77
+ end
metadata ADDED
@@ -0,0 +1,342 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: digix_devise_token_auth
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.44
5
+ platform: ruby
6
+ authors:
7
+ - Lynn Hurley
8
+ - DigixHoldings Pte Ltd
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2018-03-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "<"
19
+ - !ruby/object:Gem::Version
20
+ version: '6'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "<"
26
+ - !ruby/object:Gem::Version
27
+ version: '6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: devise
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">"
33
+ - !ruby/object:Gem::Version
34
+ version: 3.5.2
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">"
40
+ - !ruby/object:Gem::Version
41
+ version: 3.5.2
42
+ - !ruby/object:Gem::Dependency
43
+ name: sqlite3
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.3'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.3'
56
+ - !ruby/object:Gem::Dependency
57
+ name: mysql2
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.4.9
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.4.9
70
+ description: For use with client side single page apps such as the venerable https://github.com/lynndylanhurley/ng-token-auth.
71
+ email:
72
+ - lynn.dylan.hurley@gmail.com
73
+ - ace@digix.global
74
+ executables: []
75
+ extensions: []
76
+ extra_rdoc_files: []
77
+ files:
78
+ - LICENSE
79
+ - README.md
80
+ - Rakefile
81
+ - app/controllers/devise_token_auth/application_controller.rb
82
+ - app/controllers/devise_token_auth/concerns/resource_finder.rb
83
+ - app/controllers/devise_token_auth/concerns/set_user_by_token.rb
84
+ - app/controllers/devise_token_auth/confirmations_controller.rb
85
+ - app/controllers/devise_token_auth/omniauth_callbacks_controller.rb
86
+ - app/controllers/devise_token_auth/passwords_controller.rb
87
+ - app/controllers/devise_token_auth/registrations_controller.rb
88
+ - app/controllers/devise_token_auth/sessions_controller.rb
89
+ - app/controllers/devise_token_auth/token_validations_controller.rb
90
+ - app/controllers/devise_token_auth/unlocks_controller.rb
91
+ - app/models/devise_token_auth/concerns/user.rb
92
+ - app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb
93
+ - app/validators/email_validator.rb
94
+ - app/views/devise/mailer/confirmation_instructions.html.erb
95
+ - app/views/devise/mailer/reset_password_instructions.html.erb
96
+ - app/views/devise/mailer/unlock_instructions.html.erb
97
+ - app/views/devise_token_auth/omniauth_external_window.html.erb
98
+ - config/initializers/devise.rb
99
+ - config/locales/da-DK.yml
100
+ - config/locales/de.yml
101
+ - config/locales/en.yml
102
+ - config/locales/es.yml
103
+ - config/locales/fr.yml
104
+ - config/locales/it.yml
105
+ - config/locales/ja.yml
106
+ - config/locales/nl.yml
107
+ - config/locales/pl.yml
108
+ - config/locales/pt-BR.yml
109
+ - config/locales/pt.yml
110
+ - config/locales/ro.yml
111
+ - config/locales/ru.yml
112
+ - config/locales/sq.yml
113
+ - config/locales/uk.yml
114
+ - config/locales/vi.yml
115
+ - config/locales/zh-CN.yml
116
+ - config/locales/zh-HK.yml
117
+ - config/locales/zh-TW.yml
118
+ - lib/devise_token_auth.rb
119
+ - lib/devise_token_auth/controllers/helpers.rb
120
+ - lib/devise_token_auth/controllers/url_helpers.rb
121
+ - lib/devise_token_auth/engine.rb
122
+ - lib/devise_token_auth/rails/routes.rb
123
+ - lib/devise_token_auth/url.rb
124
+ - lib/devise_token_auth/version.rb
125
+ - lib/generators/devise_token_auth/USAGE
126
+ - lib/generators/devise_token_auth/install_generator.rb
127
+ - lib/generators/devise_token_auth/install_views_generator.rb
128
+ - lib/generators/devise_token_auth/templates/devise_token_auth.rb
129
+ - lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb
130
+ - lib/generators/devise_token_auth/templates/user.rb
131
+ - lib/tasks/devise_token_auth_tasks.rake
132
+ - test/controllers/custom/custom_confirmations_controller_test.rb
133
+ - test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
134
+ - test/controllers/custom/custom_passwords_controller_test.rb
135
+ - test/controllers/custom/custom_registrations_controller_test.rb
136
+ - test/controllers/custom/custom_sessions_controller_test.rb
137
+ - test/controllers/custom/custom_token_validations_controller_test.rb
138
+ - test/controllers/demo_group_controller_test.rb
139
+ - test/controllers/demo_mang_controller_test.rb
140
+ - test/controllers/demo_user_controller_test.rb
141
+ - test/controllers/devise_token_auth/confirmations_controller_test.rb
142
+ - test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
143
+ - test/controllers/devise_token_auth/passwords_controller_test.rb
144
+ - test/controllers/devise_token_auth/registrations_controller_test.rb
145
+ - test/controllers/devise_token_auth/sessions_controller_test.rb
146
+ - test/controllers/devise_token_auth/token_validations_controller_test.rb
147
+ - test/controllers/devise_token_auth/unlocks_controller_test.rb
148
+ - test/controllers/overrides/confirmations_controller_test.rb
149
+ - test/controllers/overrides/omniauth_callbacks_controller_test.rb
150
+ - test/controllers/overrides/passwords_controller_test.rb
151
+ - test/controllers/overrides/registrations_controller_test.rb
152
+ - test/controllers/overrides/sessions_controller_test.rb
153
+ - test/controllers/overrides/token_validations_controller_test.rb
154
+ - test/dummy/README.rdoc
155
+ - test/dummy/app/controllers/application_controller.rb
156
+ - test/dummy/app/controllers/auth_origin_controller.rb
157
+ - test/dummy/app/controllers/custom/confirmations_controller.rb
158
+ - test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
159
+ - test/dummy/app/controllers/custom/passwords_controller.rb
160
+ - test/dummy/app/controllers/custom/registrations_controller.rb
161
+ - test/dummy/app/controllers/custom/sessions_controller.rb
162
+ - test/dummy/app/controllers/custom/token_validations_controller.rb
163
+ - test/dummy/app/controllers/demo_group_controller.rb
164
+ - test/dummy/app/controllers/demo_mang_controller.rb
165
+ - test/dummy/app/controllers/demo_user_controller.rb
166
+ - test/dummy/app/controllers/overrides/confirmations_controller.rb
167
+ - test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
168
+ - test/dummy/app/controllers/overrides/passwords_controller.rb
169
+ - test/dummy/app/controllers/overrides/registrations_controller.rb
170
+ - test/dummy/app/controllers/overrides/sessions_controller.rb
171
+ - test/dummy/app/controllers/overrides/token_validations_controller.rb
172
+ - test/dummy/app/helpers/application_helper.rb
173
+ - test/dummy/app/models/evil_user.rb
174
+ - test/dummy/app/models/lockable_user.rb
175
+ - test/dummy/app/models/mang.rb
176
+ - test/dummy/app/models/nice_user.rb
177
+ - test/dummy/app/models/only_email_user.rb
178
+ - test/dummy/app/models/scoped_user.rb
179
+ - test/dummy/app/models/unconfirmable_user.rb
180
+ - test/dummy/app/models/unregisterable_user.rb
181
+ - test/dummy/app/models/user.rb
182
+ - test/dummy/app/views/layouts/application.html.erb
183
+ - test/dummy/config.ru
184
+ - test/dummy/config/application.rb
185
+ - test/dummy/config/application.yml.bk
186
+ - test/dummy/config/boot.rb
187
+ - test/dummy/config/environment.rb
188
+ - test/dummy/config/environments/development.rb
189
+ - test/dummy/config/environments/production.rb
190
+ - test/dummy/config/environments/test.rb
191
+ - test/dummy/config/initializers/assets.rb
192
+ - test/dummy/config/initializers/backtrace_silencers.rb
193
+ - test/dummy/config/initializers/cookies_serializer.rb
194
+ - test/dummy/config/initializers/devise.rb
195
+ - test/dummy/config/initializers/devise_token_auth.rb
196
+ - test/dummy/config/initializers/figaro.rb
197
+ - test/dummy/config/initializers/filter_parameter_logging.rb
198
+ - test/dummy/config/initializers/inflections.rb
199
+ - test/dummy/config/initializers/mime_types.rb
200
+ - test/dummy/config/initializers/omniauth.rb
201
+ - test/dummy/config/initializers/session_store.rb
202
+ - test/dummy/config/initializers/wrap_parameters.rb
203
+ - test/dummy/config/routes.rb
204
+ - test/dummy/config/spring.rb
205
+ - test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
206
+ - test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
207
+ - test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
208
+ - test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb
209
+ - test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb
210
+ - test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
211
+ - test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
212
+ - test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
213
+ - test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
214
+ - test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
215
+ - test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb
216
+ - test/dummy/db/schema.rb
217
+ - test/dummy/lib/migration_database_helper.rb
218
+ - test/integration/navigation_test.rb
219
+ - test/lib/devise_token_auth/url_test.rb
220
+ - test/lib/generators/devise_token_auth/install_generator_test.rb
221
+ - test/lib/generators/devise_token_auth/install_views_generator_test.rb
222
+ - test/models/only_email_user_test.rb
223
+ - test/models/user_test.rb
224
+ - test/test_helper.rb
225
+ homepage: http://github.com/digixglobal/digix_devise_token_auth
226
+ licenses:
227
+ - WTFPL
228
+ metadata: {}
229
+ post_install_message:
230
+ rdoc_options: []
231
+ require_paths:
232
+ - lib
233
+ required_ruby_version: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ required_rubygems_version: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ requirements: []
244
+ rubyforge_project:
245
+ rubygems_version: 2.7.6
246
+ signing_key:
247
+ specification_version: 4
248
+ summary: Token based authentication for rails. Uses Devise + OmniAuth.
249
+ test_files:
250
+ - test/dummy/app/models/nice_user.rb
251
+ - test/dummy/app/models/only_email_user.rb
252
+ - test/dummy/app/models/scoped_user.rb
253
+ - test/dummy/app/models/evil_user.rb
254
+ - test/dummy/app/models/mang.rb
255
+ - test/dummy/app/models/unregisterable_user.rb
256
+ - test/dummy/app/models/lockable_user.rb
257
+ - test/dummy/app/models/unconfirmable_user.rb
258
+ - test/dummy/app/models/user.rb
259
+ - test/dummy/app/controllers/overrides/token_validations_controller.rb
260
+ - test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
261
+ - test/dummy/app/controllers/overrides/passwords_controller.rb
262
+ - test/dummy/app/controllers/overrides/sessions_controller.rb
263
+ - test/dummy/app/controllers/overrides/confirmations_controller.rb
264
+ - test/dummy/app/controllers/overrides/registrations_controller.rb
265
+ - test/dummy/app/controllers/application_controller.rb
266
+ - test/dummy/app/controllers/demo_user_controller.rb
267
+ - test/dummy/app/controllers/auth_origin_controller.rb
268
+ - test/dummy/app/controllers/demo_mang_controller.rb
269
+ - test/dummy/app/controllers/demo_group_controller.rb
270
+ - test/dummy/app/controllers/custom/token_validations_controller.rb
271
+ - test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
272
+ - test/dummy/app/controllers/custom/passwords_controller.rb
273
+ - test/dummy/app/controllers/custom/sessions_controller.rb
274
+ - test/dummy/app/controllers/custom/confirmations_controller.rb
275
+ - test/dummy/app/controllers/custom/registrations_controller.rb
276
+ - test/dummy/app/views/layouts/application.html.erb
277
+ - test/dummy/app/helpers/application_helper.rb
278
+ - test/dummy/config/routes.rb
279
+ - test/dummy/config/environments/production.rb
280
+ - test/dummy/config/environments/development.rb
281
+ - test/dummy/config/environments/test.rb
282
+ - test/dummy/config/spring.rb
283
+ - test/dummy/config/environment.rb
284
+ - test/dummy/config/application.rb
285
+ - test/dummy/config/boot.rb
286
+ - test/dummy/config/application.yml.bk
287
+ - test/dummy/config/initializers/backtrace_silencers.rb
288
+ - test/dummy/config/initializers/devise_token_auth.rb
289
+ - test/dummy/config/initializers/mime_types.rb
290
+ - test/dummy/config/initializers/filter_parameter_logging.rb
291
+ - test/dummy/config/initializers/session_store.rb
292
+ - test/dummy/config/initializers/wrap_parameters.rb
293
+ - test/dummy/config/initializers/assets.rb
294
+ - test/dummy/config/initializers/cookies_serializer.rb
295
+ - test/dummy/config/initializers/devise.rb
296
+ - test/dummy/config/initializers/omniauth.rb
297
+ - test/dummy/config/initializers/inflections.rb
298
+ - test/dummy/config/initializers/figaro.rb
299
+ - test/dummy/config.ru
300
+ - test/dummy/lib/migration_database_helper.rb
301
+ - test/dummy/db/schema.rb
302
+ - test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
303
+ - test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
304
+ - test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb
305
+ - test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
306
+ - test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
307
+ - test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb
308
+ - test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb
309
+ - test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
310
+ - test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
311
+ - test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
312
+ - test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
313
+ - test/dummy/README.rdoc
314
+ - test/integration/navigation_test.rb
315
+ - test/models/only_email_user_test.rb
316
+ - test/models/user_test.rb
317
+ - test/lib/devise_token_auth/url_test.rb
318
+ - test/lib/generators/devise_token_auth/install_generator_test.rb
319
+ - test/lib/generators/devise_token_auth/install_views_generator_test.rb
320
+ - test/test_helper.rb
321
+ - test/controllers/overrides/token_validations_controller_test.rb
322
+ - test/controllers/overrides/confirmations_controller_test.rb
323
+ - test/controllers/overrides/registrations_controller_test.rb
324
+ - test/controllers/overrides/omniauth_callbacks_controller_test.rb
325
+ - test/controllers/overrides/sessions_controller_test.rb
326
+ - test/controllers/overrides/passwords_controller_test.rb
327
+ - test/controllers/demo_mang_controller_test.rb
328
+ - test/controllers/devise_token_auth/token_validations_controller_test.rb
329
+ - test/controllers/devise_token_auth/confirmations_controller_test.rb
330
+ - test/controllers/devise_token_auth/unlocks_controller_test.rb
331
+ - test/controllers/devise_token_auth/registrations_controller_test.rb
332
+ - test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
333
+ - test/controllers/devise_token_auth/sessions_controller_test.rb
334
+ - test/controllers/devise_token_auth/passwords_controller_test.rb
335
+ - test/controllers/demo_user_controller_test.rb
336
+ - test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
337
+ - test/controllers/custom/custom_sessions_controller_test.rb
338
+ - test/controllers/custom/custom_confirmations_controller_test.rb
339
+ - test/controllers/custom/custom_token_validations_controller_test.rb
340
+ - test/controllers/custom/custom_registrations_controller_test.rb
341
+ - test/controllers/custom/custom_passwords_controller_test.rb
342
+ - test/controllers/demo_group_controller_test.rb