devise_token_auth 0.1.32.beta10 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -31
- data/app/controllers/devise_token_auth/confirmations_controller.rb +2 -0
- data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +2 -0
- data/app/controllers/devise_token_auth/passwords_controller.rb +25 -14
- data/app/controllers/devise_token_auth/registrations_controller.rb +22 -11
- data/app/controllers/devise_token_auth/sessions_controller.rb +15 -9
- data/app/controllers/devise_token_auth/token_validations_controller.rb +2 -1
- data/app/models/devise_token_auth/concerns/user.rb +19 -14
- data/app/validators/email_validator.rb +1 -1
- data/config/locales/en.yml +30 -0
- data/config/locales/es.yml +30 -0
- data/config/locales/fr.yml +30 -0
- data/lib/devise_token_auth/engine.rb +10 -8
- data/lib/devise_token_auth/version.rb +1 -1
- data/lib/generators/devise_token_auth/install_generator.rb +28 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth.rb +6 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +2 -2
- data/test/controllers/custom/custom_confirmations_controller_test.rb +26 -0
- data/test/controllers/custom/custom_omniauth_callbacks_controller_test.rb +29 -0
- data/test/controllers/custom/custom_passwords_controller_test.rb +66 -0
- data/test/controllers/custom/custom_registrations_controller_test.rb +1 -1
- data/test/controllers/custom/custom_sessions_controller_test.rb +30 -0
- data/test/controllers/custom/custom_token_validations_controller_test.rb +29 -0
- data/test/controllers/devise_token_auth/passwords_controller_test.rb +159 -10
- data/test/controllers/devise_token_auth/registrations_controller_test.rb +249 -58
- data/test/controllers/devise_token_auth/sessions_controller_test.rb +80 -1
- data/test/controllers/devise_token_auth/token_validations_controller_test.rb +17 -0
- data/test/dummy/app/controllers/application_controller.rb +1 -0
- data/test/dummy/app/controllers/custom/confirmations_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/passwords_controller.rb +35 -0
- data/test/dummy/app/controllers/custom/sessions_controller.rb +23 -0
- data/test/dummy/app/controllers/custom/token_validations_controller.rb +13 -0
- data/test/dummy/app/models/unconfirmable_user.rb +8 -0
- data/test/dummy/config/application.rb +1 -0
- data/test/dummy/config/routes.rb +8 -1
- data/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb +7 -1
- data/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb +7 -1
- data/test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb +7 -1
- data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +7 -1
- data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +7 -1
- data/test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb +7 -1
- data/test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb +60 -0
- data/test/dummy/db/schema.rb +89 -64
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/migration_database_helper.rb +29 -0
- data/test/dummy/log/test.log +41319 -29566
- data/test/dummy/tmp/generators/config/initializers/devise_token_auth.rb +6 -0
- data/test/dummy/tmp/generators/config/routes.rb +4 -0
- data/test/dummy/tmp/generators/db/migrate/{20150617175802_devise_token_auth_create_users.rb → 20150729144233_devise_token_auth_create_users.rb} +1 -1
- data/test/fixtures/unconfirmable_users.yml +9 -0
- data/test/fixtures/users.yml +12 -0
- data/test/models/user_test.rb +21 -0
- metadata +39 -13
- data/config/locales/devise.en.yml +0 -59
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -473
- data/test/dummy/tmp/generators/app/controllers/application_controller.rb +0 -6
@@ -19,4 +19,10 @@ DeviseTokenAuth.setup do |config|
|
|
19
19
|
# example, using the default '/omniauth', the github oauth2 provider will
|
20
20
|
# redirect successful authentications to '/omniauth/github/callback'
|
21
21
|
#config.omniauth_prefix = "/omniauth"
|
22
|
+
|
23
|
+
# By defult sending current password is not needed for the password update.
|
24
|
+
# Uncomment to enforce current_password param to be checked before all
|
25
|
+
# attribute updates. Set it to :password if you want it to be checked only if
|
26
|
+
# password is updated.
|
27
|
+
# config.check_current_password_before_update = :attributes
|
22
28
|
end
|
@@ -2,7 +2,7 @@ class DeviseTokenAuthCreateUsers < ActiveRecord::Migration
|
|
2
2
|
def change
|
3
3
|
create_table(:users) do |t|
|
4
4
|
## Required
|
5
|
-
t.string :provider, :null => false
|
5
|
+
t.string :provider, :null => false, :default => "email"
|
6
6
|
t.string :uid, :null => false, :default => ""
|
7
7
|
|
8
8
|
## Database authenticatable
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<% timestamp = DateTime.parse(2.weeks.ago.to_s).to_time.strftime("%F %T") %>
|
2
|
+
<% @email = Faker::Internet.email %>
|
3
|
+
user:
|
4
|
+
uid: "<%= @email %>"
|
5
|
+
email: "<%= @email %>"
|
6
|
+
provider: 'email'
|
7
|
+
created_at: '<%= timestamp %>'
|
8
|
+
updated_at: '<%= timestamp %>'
|
9
|
+
encrypted_password: <%= User.new.send(:password_digest, 'secret123') %>
|
data/test/fixtures/users.yml
CHANGED
@@ -28,3 +28,15 @@ unconfirmed_email_user:
|
|
28
28
|
created_at: '<%= timestamp %>'
|
29
29
|
updated_at: '<%= timestamp %>'
|
30
30
|
encrypted_password: <%= User.new.send(:password_digest, 'secret123') %>
|
31
|
+
confirmation_sent_at: '<%= timestamp %>'
|
32
|
+
|
33
|
+
<% @recent_unconfirmed_email = Faker::Internet.email %>
|
34
|
+
<% recent_timestamp = DateTime.parse(1.day.ago.to_s).to_time.strftime("%F %T") %>
|
35
|
+
recent_unconfirmed_email_user:
|
36
|
+
uid: "<%= @recent_unconfirmed_email %>"
|
37
|
+
email: "<%= @recent_unconfirmed_email %>"
|
38
|
+
provider: 'email'
|
39
|
+
created_at: '<%= timestamp %>'
|
40
|
+
updated_at: '<%= timestamp %>'
|
41
|
+
encrypted_password: <%= User.new.send(:password_digest, 'secret123') %>
|
42
|
+
confirmation_sent_at: '<%= recent_timestamp %>'
|
data/test/models/user_test.rb
CHANGED
@@ -86,5 +86,26 @@ class UserTest < ActiveSupport::TestCase
|
|
86
86
|
assert @resource.tokens[@new_auth_headers["client"]]
|
87
87
|
end
|
88
88
|
end
|
89
|
+
|
90
|
+
describe 'nil tokens are handled properly' do
|
91
|
+
before do
|
92
|
+
@resource = users(:confirmed_email_user)
|
93
|
+
@resource.skip_confirmation!
|
94
|
+
@resource.save!
|
95
|
+
end
|
96
|
+
|
97
|
+
test 'tokens can be set to nil' do
|
98
|
+
@resource.tokens = nil
|
99
|
+
assert @resource.save
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
describe "#generate_url" do
|
104
|
+
test 'URI fragment should appear at the end of URL' do
|
105
|
+
params = {client_id: 123}
|
106
|
+
url = 'http://example.com#fragment'
|
107
|
+
assert_equal @resource.send(:generate_url, url, params), "http://example.com?client_id=123#fragment"
|
108
|
+
end
|
109
|
+
end
|
89
110
|
end
|
90
111
|
end
|
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.32
|
4
|
+
version: 0.1.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lynn Hurley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -107,7 +107,9 @@ files:
|
|
107
107
|
- app/views/devise_token_auth/omniauth_success.html.erb
|
108
108
|
- app/views/layouts/omniauth_response.html.erb
|
109
109
|
- config/initializers/devise.rb
|
110
|
-
- config/locales/
|
110
|
+
- config/locales/en.yml
|
111
|
+
- config/locales/es.yml
|
112
|
+
- config/locales/fr.yml
|
111
113
|
- config/routes.rb
|
112
114
|
- lib/devise_token_auth.rb
|
113
115
|
- lib/devise_token_auth/controllers/helpers.rb
|
@@ -122,7 +124,12 @@ files:
|
|
122
124
|
- lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb
|
123
125
|
- lib/generators/devise_token_auth/templates/user.rb
|
124
126
|
- lib/tasks/devise_token_auth_tasks.rake
|
127
|
+
- test/controllers/custom/custom_confirmations_controller_test.rb
|
128
|
+
- test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
|
129
|
+
- test/controllers/custom/custom_passwords_controller_test.rb
|
125
130
|
- test/controllers/custom/custom_registrations_controller_test.rb
|
131
|
+
- test/controllers/custom/custom_sessions_controller_test.rb
|
132
|
+
- test/controllers/custom/custom_token_validations_controller_test.rb
|
126
133
|
- test/controllers/demo_group_controller_test.rb
|
127
134
|
- test/controllers/demo_mang_controller_test.rb
|
128
135
|
- test/controllers/demo_user_controller_test.rb
|
@@ -145,7 +152,12 @@ files:
|
|
145
152
|
- test/dummy/app/assets/javascripts/application.js
|
146
153
|
- test/dummy/app/assets/stylesheets/application.css
|
147
154
|
- test/dummy/app/controllers/application_controller.rb
|
155
|
+
- test/dummy/app/controllers/custom/confirmations_controller.rb
|
156
|
+
- test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
|
157
|
+
- test/dummy/app/controllers/custom/passwords_controller.rb
|
148
158
|
- test/dummy/app/controllers/custom/registrations_controller.rb
|
159
|
+
- test/dummy/app/controllers/custom/sessions_controller.rb
|
160
|
+
- test/dummy/app/controllers/custom/token_validations_controller.rb
|
149
161
|
- test/dummy/app/controllers/demo_group_controller.rb
|
150
162
|
- test/dummy/app/controllers/demo_mang_controller.rb
|
151
163
|
- test/dummy/app/controllers/demo_user_controller.rb
|
@@ -160,6 +172,7 @@ files:
|
|
160
172
|
- test/dummy/app/models/mang.rb
|
161
173
|
- test/dummy/app/models/nice_user.rb
|
162
174
|
- test/dummy/app/models/only_email_user.rb
|
175
|
+
- test/dummy/app/models/unconfirmable_user.rb
|
163
176
|
- test/dummy/app/models/unregisterable_user.rb
|
164
177
|
- test/dummy/app/models/user.rb
|
165
178
|
- test/dummy/app/views/layouts/application.html.erb
|
@@ -192,7 +205,6 @@ files:
|
|
192
205
|
- test/dummy/config/routes.rb
|
193
206
|
- test/dummy/config/secrets.yml
|
194
207
|
- test/dummy/config/spring.rb
|
195
|
-
- test/dummy/db/development.sqlite3
|
196
208
|
- test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
|
197
209
|
- test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
|
198
210
|
- test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
|
@@ -201,22 +213,24 @@ files:
|
|
201
213
|
- test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
|
202
214
|
- test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
|
203
215
|
- test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
|
216
|
+
- test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
|
204
217
|
- test/dummy/db/schema.rb
|
205
218
|
- test/dummy/db/test.sqlite3
|
206
|
-
- test/dummy/
|
219
|
+
- test/dummy/lib/migration_database_helper.rb
|
207
220
|
- test/dummy/log/test.log
|
208
221
|
- test/dummy/public/404.html
|
209
222
|
- test/dummy/public/422.html
|
210
223
|
- test/dummy/public/500.html
|
211
224
|
- test/dummy/public/favicon.ico
|
212
|
-
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
213
225
|
- test/dummy/tmp/generators/app/models/user.rb
|
214
226
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
215
|
-
- test/dummy/tmp/generators/
|
227
|
+
- test/dummy/tmp/generators/config/routes.rb
|
228
|
+
- test/dummy/tmp/generators/db/migrate/20150729144233_devise_token_auth_create_users.rb
|
216
229
|
- test/fixtures/evil_users.yml
|
217
230
|
- test/fixtures/mangs.yml
|
218
231
|
- test/fixtures/nice_users.yml
|
219
232
|
- test/fixtures/only_email_users.yml
|
233
|
+
- test/fixtures/unconfirmable_users.yml
|
220
234
|
- test/fixtures/users.yml
|
221
235
|
- test/integration/navigation_test.rb
|
222
236
|
- test/lib/generators/devise_token_auth/install_generator_test.rb
|
@@ -239,9 +253,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
239
253
|
version: '0'
|
240
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
255
|
requirements:
|
242
|
-
- - "
|
256
|
+
- - ">="
|
243
257
|
- !ruby/object:Gem::Version
|
244
|
-
version:
|
258
|
+
version: '0'
|
245
259
|
requirements: []
|
246
260
|
rubyforge_project:
|
247
261
|
rubygems_version: 2.4.6
|
@@ -249,7 +263,12 @@ signing_key:
|
|
249
263
|
specification_version: 4
|
250
264
|
summary: Token based authentication for rails. Uses Devise + OmniAuth.
|
251
265
|
test_files:
|
266
|
+
- test/controllers/custom/custom_confirmations_controller_test.rb
|
267
|
+
- test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
|
268
|
+
- test/controllers/custom/custom_passwords_controller_test.rb
|
252
269
|
- test/controllers/custom/custom_registrations_controller_test.rb
|
270
|
+
- test/controllers/custom/custom_sessions_controller_test.rb
|
271
|
+
- test/controllers/custom/custom_token_validations_controller_test.rb
|
253
272
|
- test/controllers/demo_group_controller_test.rb
|
254
273
|
- test/controllers/demo_mang_controller_test.rb
|
255
274
|
- test/controllers/demo_user_controller_test.rb
|
@@ -270,7 +289,12 @@ test_files:
|
|
270
289
|
- test/dummy/app/assets/javascripts/application.js
|
271
290
|
- test/dummy/app/assets/stylesheets/application.css
|
272
291
|
- test/dummy/app/controllers/application_controller.rb
|
292
|
+
- test/dummy/app/controllers/custom/confirmations_controller.rb
|
293
|
+
- test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
|
294
|
+
- test/dummy/app/controllers/custom/passwords_controller.rb
|
273
295
|
- test/dummy/app/controllers/custom/registrations_controller.rb
|
296
|
+
- test/dummy/app/controllers/custom/sessions_controller.rb
|
297
|
+
- test/dummy/app/controllers/custom/token_validations_controller.rb
|
274
298
|
- test/dummy/app/controllers/demo_group_controller.rb
|
275
299
|
- test/dummy/app/controllers/demo_mang_controller.rb
|
276
300
|
- test/dummy/app/controllers/demo_user_controller.rb
|
@@ -285,6 +309,7 @@ test_files:
|
|
285
309
|
- test/dummy/app/models/mang.rb
|
286
310
|
- test/dummy/app/models/nice_user.rb
|
287
311
|
- test/dummy/app/models/only_email_user.rb
|
312
|
+
- test/dummy/app/models/unconfirmable_user.rb
|
288
313
|
- test/dummy/app/models/unregisterable_user.rb
|
289
314
|
- test/dummy/app/models/user.rb
|
290
315
|
- test/dummy/app/views/layouts/application.html.erb
|
@@ -317,7 +342,6 @@ test_files:
|
|
317
342
|
- test/dummy/config/secrets.yml
|
318
343
|
- test/dummy/config/spring.rb
|
319
344
|
- test/dummy/config.ru
|
320
|
-
- test/dummy/db/development.sqlite3
|
321
345
|
- test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
|
322
346
|
- test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
|
323
347
|
- test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
|
@@ -326,9 +350,10 @@ test_files:
|
|
326
350
|
- test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
|
327
351
|
- test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
|
328
352
|
- test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb
|
353
|
+
- test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
|
329
354
|
- test/dummy/db/schema.rb
|
330
355
|
- test/dummy/db/test.sqlite3
|
331
|
-
- test/dummy/
|
356
|
+
- test/dummy/lib/migration_database_helper.rb
|
332
357
|
- test/dummy/log/test.log
|
333
358
|
- test/dummy/public/404.html
|
334
359
|
- test/dummy/public/422.html
|
@@ -336,14 +361,15 @@ test_files:
|
|
336
361
|
- test/dummy/public/favicon.ico
|
337
362
|
- test/dummy/Rakefile
|
338
363
|
- test/dummy/README.rdoc
|
339
|
-
- test/dummy/tmp/generators/app/controllers/application_controller.rb
|
340
364
|
- test/dummy/tmp/generators/app/models/user.rb
|
341
365
|
- test/dummy/tmp/generators/config/initializers/devise_token_auth.rb
|
342
|
-
- test/dummy/tmp/generators/
|
366
|
+
- test/dummy/tmp/generators/config/routes.rb
|
367
|
+
- test/dummy/tmp/generators/db/migrate/20150729144233_devise_token_auth_create_users.rb
|
343
368
|
- test/fixtures/evil_users.yml
|
344
369
|
- test/fixtures/mangs.yml
|
345
370
|
- test/fixtures/nice_users.yml
|
346
371
|
- test/fixtures/only_email_users.yml
|
372
|
+
- test/fixtures/unconfirmable_users.yml
|
347
373
|
- test/fixtures/users.yml
|
348
374
|
- test/integration/navigation_test.rb
|
349
375
|
- test/lib/generators/devise_token_auth/install_generator_test.rb
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
-
|
3
|
-
en:
|
4
|
-
devise:
|
5
|
-
confirmations:
|
6
|
-
confirmed: "Your account was successfully confirmed."
|
7
|
-
send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
|
9
|
-
failure:
|
10
|
-
already_authenticated: "You are already signed in."
|
11
|
-
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid email or password."
|
13
|
-
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account will be locked."
|
15
|
-
not_found_in_database: "Invalid email or password."
|
16
|
-
timeout: "Your session expired. Please sign in again to continue."
|
17
|
-
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your account before continuing."
|
19
|
-
mailer:
|
20
|
-
confirmation_instructions:
|
21
|
-
subject: "Confirmation instructions"
|
22
|
-
reset_password_instructions:
|
23
|
-
subject: "Reset password instructions"
|
24
|
-
unlock_instructions:
|
25
|
-
subject: "Unlock Instructions"
|
26
|
-
omniauth_callbacks:
|
27
|
-
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
28
|
-
success: "Successfully authenticated from %{kind} account."
|
29
|
-
passwords:
|
30
|
-
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
|
-
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
32
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
-
updated: "Your password was changed successfully. You are now signed in."
|
34
|
-
updated_not_active: "Your password was changed successfully."
|
35
|
-
registrations:
|
36
|
-
destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
|
37
|
-
signed_up: "Welcome! You have signed up successfully."
|
38
|
-
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
|
-
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please open the link to activate your account."
|
41
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
|
42
|
-
updated: "You updated your account successfully."
|
43
|
-
sessions:
|
44
|
-
signed_in: "Signed in successfully."
|
45
|
-
signed_out: "Signed out successfully."
|
46
|
-
unlocks:
|
47
|
-
send_instructions: "You will receive an email with instructions about how to unlock your account in a few minutes."
|
48
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions about how to unlock it in a few minutes."
|
49
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
50
|
-
errors:
|
51
|
-
messages:
|
52
|
-
already_confirmed: "was already confirmed, please try signing in"
|
53
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
54
|
-
expired: "has expired, please request a new one"
|
55
|
-
not_found: "not found"
|
56
|
-
not_locked: "was not locked"
|
57
|
-
not_saved:
|
58
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
59
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
Binary file
|
@@ -1,473 +0,0 @@
|
|
1
|
-
[1m[36m (6.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to DeviseTokenAuthCreateUsers (20140715061447)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb:47)
|
8
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "reset_password_redirect_url" varchar, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar, "unconfirmed_email" varchar, "name" varchar, "nickname" varchar, "image" varchar, "provider" varchar, "uid" varchar DEFAULT '' NOT NULL, "tokens" text, "created_at" datetime, "updated_at" datetime)
|
9
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
10
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
11
|
-
FROM sqlite_master
|
12
|
-
WHERE name='index_users_on_email' AND type='index'
|
13
|
-
UNION ALL
|
14
|
-
SELECT sql
|
15
|
-
FROM sqlite_temp_master
|
16
|
-
WHERE name='index_users_on_email' AND type='index'
|
17
|
-
|
18
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_uid_and_provider" ON "users" ("uid", "provider")[0m
|
19
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
20
|
-
FROM sqlite_master
|
21
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
22
|
-
UNION ALL
|
23
|
-
SELECT sql
|
24
|
-
FROM sqlite_temp_master
|
25
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
26
|
-
|
27
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
28
|
-
FROM sqlite_master
|
29
|
-
WHERE name='index_users_on_email' AND type='index'
|
30
|
-
UNION ALL
|
31
|
-
SELECT sql
|
32
|
-
FROM sqlite_temp_master
|
33
|
-
WHERE name='index_users_on_email' AND type='index'
|
34
|
-
[0m
|
35
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
36
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
37
|
-
FROM sqlite_master
|
38
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
39
|
-
UNION ALL
|
40
|
-
SELECT sql
|
41
|
-
FROM sqlite_temp_master
|
42
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
43
|
-
[0m
|
44
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
45
|
-
FROM sqlite_master
|
46
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
47
|
-
UNION ALL
|
48
|
-
SELECT sql
|
49
|
-
FROM sqlite_temp_master
|
50
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
51
|
-
|
52
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53
|
-
FROM sqlite_master
|
54
|
-
WHERE name='index_users_on_email' AND type='index'
|
55
|
-
UNION ALL
|
56
|
-
SELECT sql
|
57
|
-
FROM sqlite_temp_master
|
58
|
-
WHERE name='index_users_on_email' AND type='index'
|
59
|
-
[0m
|
60
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")
|
61
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62
|
-
FROM sqlite_master
|
63
|
-
WHERE name='index_users_on_confirmation_token' AND type='index'
|
64
|
-
UNION ALL
|
65
|
-
SELECT sql
|
66
|
-
FROM sqlite_temp_master
|
67
|
-
WHERE name='index_users_on_confirmation_token' AND type='index'
|
68
|
-
[0m
|
69
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
70
|
-
FROM sqlite_master
|
71
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
72
|
-
UNION ALL
|
73
|
-
SELECT sql
|
74
|
-
FROM sqlite_temp_master
|
75
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
76
|
-
|
77
|
-
[1m[36m (0.0ms)[0m [1m SELECT sql
|
78
|
-
FROM sqlite_master
|
79
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
80
|
-
UNION ALL
|
81
|
-
SELECT sql
|
82
|
-
FROM sqlite_temp_master
|
83
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
84
|
-
[0m
|
85
|
-
[1m[35m (0.0ms)[0m SELECT sql
|
86
|
-
FROM sqlite_master
|
87
|
-
WHERE name='index_users_on_email' AND type='index'
|
88
|
-
UNION ALL
|
89
|
-
SELECT sql
|
90
|
-
FROM sqlite_temp_master
|
91
|
-
WHERE name='index_users_on_email' AND type='index'
|
92
|
-
|
93
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_nickname" ON "users" ("nickname")[0m
|
94
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140715061447"]]
|
95
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
96
|
-
Migrating to DeviseTokenAuthCreateMangs (20140715061805)
|
97
|
-
[1m[35m (0.1ms)[0m begin transaction
|
98
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb:47)
|
99
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "mangs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "reset_password_redirect_url" varchar, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar, "unconfirmed_email" varchar, "name" varchar, "nickname" varchar, "image" varchar, "provider" varchar, "uid" varchar DEFAULT '' NOT NULL, "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
100
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_mangs_on_email" ON "mangs" ("email")
|
101
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
102
|
-
FROM sqlite_master
|
103
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
104
|
-
UNION ALL
|
105
|
-
SELECT sql
|
106
|
-
FROM sqlite_temp_master
|
107
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
108
|
-
[0m
|
109
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_mangs_on_uid_and_provider" ON "mangs" ("uid", "provider")
|
110
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
111
|
-
FROM sqlite_master
|
112
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
113
|
-
UNION ALL
|
114
|
-
SELECT sql
|
115
|
-
FROM sqlite_temp_master
|
116
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
117
|
-
[0m
|
118
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
119
|
-
FROM sqlite_master
|
120
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
121
|
-
UNION ALL
|
122
|
-
SELECT sql
|
123
|
-
FROM sqlite_temp_master
|
124
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
125
|
-
|
126
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_mangs_on_reset_password_token" ON "mangs" ("reset_password_token")[0m
|
127
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
128
|
-
FROM sqlite_master
|
129
|
-
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
130
|
-
UNION ALL
|
131
|
-
SELECT sql
|
132
|
-
FROM sqlite_temp_master
|
133
|
-
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
134
|
-
|
135
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
136
|
-
FROM sqlite_master
|
137
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
138
|
-
UNION ALL
|
139
|
-
SELECT sql
|
140
|
-
FROM sqlite_temp_master
|
141
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
142
|
-
[0m
|
143
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
144
|
-
FROM sqlite_master
|
145
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
146
|
-
UNION ALL
|
147
|
-
SELECT sql
|
148
|
-
FROM sqlite_temp_master
|
149
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
150
|
-
|
151
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_mangs_on_confirmation_token" ON "mangs" ("confirmation_token")[0m
|
152
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140715061805"]]
|
153
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
154
|
-
Migrating to AddOperatingThetanToUser (20140829044006)
|
155
|
-
[1m[35m (0.0ms)[0m begin transaction
|
156
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "users" ADD "operating_thetan" integer[0m
|
157
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "favorite_color" varchar
|
158
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140829044006"]]
|
159
|
-
[1m[35m (0.7ms)[0m commit transaction
|
160
|
-
Migrating to AddFavoriteColorToMangs (20140916224624)
|
161
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
162
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "mangs" ADD "favorite_color" varchar
|
163
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140916224624"]]
|
164
|
-
[1m[35m (0.5ms)[0m commit transaction
|
165
|
-
Migrating to DeviseTokenAuthCreateEvilUsers (20140928231203)
|
166
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
167
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20140928231203_devise_token_auth_create_evil_users.rb:48)
|
168
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "evil_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "name" varchar, "nickname" varchar, "image" varchar, "provider" varchar, "uid" varchar DEFAULT '' NOT NULL, "tokens" text, "favorite_color" varchar, "created_at" datetime, "updated_at" datetime)
|
169
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_evil_users_on_email" ON "evil_users" ("email")[0m
|
170
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
171
|
-
FROM sqlite_master
|
172
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
173
|
-
UNION ALL
|
174
|
-
SELECT sql
|
175
|
-
FROM sqlite_temp_master
|
176
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
177
|
-
|
178
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_evil_users_on_uid_and_provider" ON "evil_users" ("uid", "provider")[0m
|
179
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
180
|
-
FROM sqlite_master
|
181
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
182
|
-
UNION ALL
|
183
|
-
SELECT sql
|
184
|
-
FROM sqlite_temp_master
|
185
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
186
|
-
|
187
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
188
|
-
FROM sqlite_master
|
189
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
190
|
-
UNION ALL
|
191
|
-
SELECT sql
|
192
|
-
FROM sqlite_temp_master
|
193
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
194
|
-
[0m
|
195
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_evil_users_on_reset_password_token" ON "evil_users" ("reset_password_token")
|
196
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
197
|
-
FROM sqlite_master
|
198
|
-
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
199
|
-
UNION ALL
|
200
|
-
SELECT sql
|
201
|
-
FROM sqlite_temp_master
|
202
|
-
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
203
|
-
[0m
|
204
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
205
|
-
FROM sqlite_master
|
206
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
207
|
-
UNION ALL
|
208
|
-
SELECT sql
|
209
|
-
FROM sqlite_temp_master
|
210
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
211
|
-
|
212
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
213
|
-
FROM sqlite_master
|
214
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
215
|
-
UNION ALL
|
216
|
-
SELECT sql
|
217
|
-
FROM sqlite_temp_master
|
218
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
219
|
-
[0m
|
220
|
-
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_evil_users_on_confirmation_token" ON "evil_users" ("confirmation_token")
|
221
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140928231203"]]
|
222
|
-
[1m[35m (1.0ms)[0m commit transaction
|
223
|
-
Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
|
224
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb:45)
|
226
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "only_email_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar NOT NULL, "uid" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "name" varchar, "nickname" varchar, "image" varchar, "email" varchar, "tokens" text, "created_at" datetime, "updated_at" datetime)
|
227
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_only_email_users_on_email" ON "only_email_users" ("email")[0m
|
228
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
229
|
-
FROM sqlite_master
|
230
|
-
WHERE name='index_only_email_users_on_email' AND type='index'
|
231
|
-
UNION ALL
|
232
|
-
SELECT sql
|
233
|
-
FROM sqlite_temp_master
|
234
|
-
WHERE name='index_only_email_users_on_email' AND type='index'
|
235
|
-
|
236
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_only_email_users_on_uid_and_provider" ON "only_email_users" ("uid", "provider")[0m
|
237
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222035835"]]
|
238
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
239
|
-
Migrating to DeviseTokenAuthCreateUnregisterableUsers (20141222053502)
|
240
|
-
[1m[35m (0.0ms)[0m begin transaction
|
241
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb:45)
|
242
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "unregisterable_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar NOT NULL, "uid" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "name" varchar, "nickname" varchar, "image" varchar, "email" varchar, "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
243
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_unregisterable_users_on_email" ON "unregisterable_users" ("email")
|
244
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
245
|
-
FROM sqlite_master
|
246
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
247
|
-
UNION ALL
|
248
|
-
SELECT sql
|
249
|
-
FROM sqlite_temp_master
|
250
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
251
|
-
[0m
|
252
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_unregisterable_users_on_uid_and_provider" ON "unregisterable_users" ("uid", "provider")
|
253
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
254
|
-
FROM sqlite_master
|
255
|
-
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
256
|
-
UNION ALL
|
257
|
-
SELECT sql
|
258
|
-
FROM sqlite_temp_master
|
259
|
-
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
260
|
-
[0m
|
261
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
262
|
-
FROM sqlite_master
|
263
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
264
|
-
UNION ALL
|
265
|
-
SELECT sql
|
266
|
-
FROM sqlite_temp_master
|
267
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
268
|
-
|
269
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_unregisterable_users_on_reset_password_token" ON "unregisterable_users" ("reset_password_token")[0m
|
270
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222053502"]]
|
271
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
272
|
-
Migrating to DeviseTokenAuthCreateNiceUsers (20150409095712)
|
273
|
-
[1m[35m (0.1ms)[0m begin transaction
|
274
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brent/Development/GitHub-Forks/devise_token_auth/test/dummy/db/migrate/20150409095712_devise_token_auth_create_nice_users.rb:45)
|
275
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "nice_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar NOT NULL, "uid" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "name" varchar, "nickname" varchar, "image" varchar, "email" varchar, "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
276
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_nice_users_on_email" ON "nice_users" ("email")
|
277
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
278
|
-
FROM sqlite_master
|
279
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
280
|
-
UNION ALL
|
281
|
-
SELECT sql
|
282
|
-
FROM sqlite_temp_master
|
283
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
284
|
-
[0m
|
285
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_nice_users_on_uid_and_provider" ON "nice_users" ("uid", "provider")
|
286
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
287
|
-
FROM sqlite_master
|
288
|
-
WHERE name='index_nice_users_on_uid_and_provider' AND type='index'
|
289
|
-
UNION ALL
|
290
|
-
SELECT sql
|
291
|
-
FROM sqlite_temp_master
|
292
|
-
WHERE name='index_nice_users_on_uid_and_provider' AND type='index'
|
293
|
-
[0m
|
294
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
295
|
-
FROM sqlite_master
|
296
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
297
|
-
UNION ALL
|
298
|
-
SELECT sql
|
299
|
-
FROM sqlite_temp_master
|
300
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
301
|
-
|
302
|
-
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_nice_users_on_reset_password_token" ON "nice_users" ("reset_password_token")[0m
|
303
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150409095712"]]
|
304
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
305
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
306
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
307
|
-
FROM sqlite_master
|
308
|
-
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
309
|
-
UNION ALL
|
310
|
-
SELECT sql
|
311
|
-
FROM sqlite_temp_master
|
312
|
-
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
313
|
-
[0m
|
314
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
315
|
-
FROM sqlite_master
|
316
|
-
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
317
|
-
UNION ALL
|
318
|
-
SELECT sql
|
319
|
-
FROM sqlite_temp_master
|
320
|
-
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
321
|
-
|
322
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
323
|
-
FROM sqlite_master
|
324
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
325
|
-
UNION ALL
|
326
|
-
SELECT sql
|
327
|
-
FROM sqlite_temp_master
|
328
|
-
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
329
|
-
[0m
|
330
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
331
|
-
FROM sqlite_master
|
332
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
333
|
-
UNION ALL
|
334
|
-
SELECT sql
|
335
|
-
FROM sqlite_temp_master
|
336
|
-
WHERE name='index_evil_users_on_email' AND type='index'
|
337
|
-
|
338
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
339
|
-
FROM sqlite_master
|
340
|
-
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
341
|
-
UNION ALL
|
342
|
-
SELECT sql
|
343
|
-
FROM sqlite_temp_master
|
344
|
-
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
345
|
-
[0m
|
346
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
347
|
-
FROM sqlite_master
|
348
|
-
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
349
|
-
UNION ALL
|
350
|
-
SELECT sql
|
351
|
-
FROM sqlite_temp_master
|
352
|
-
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
353
|
-
|
354
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
355
|
-
FROM sqlite_master
|
356
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
357
|
-
UNION ALL
|
358
|
-
SELECT sql
|
359
|
-
FROM sqlite_temp_master
|
360
|
-
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
361
|
-
[0m
|
362
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
363
|
-
FROM sqlite_master
|
364
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
365
|
-
UNION ALL
|
366
|
-
SELECT sql
|
367
|
-
FROM sqlite_temp_master
|
368
|
-
WHERE name='index_mangs_on_email' AND type='index'
|
369
|
-
|
370
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
371
|
-
FROM sqlite_master
|
372
|
-
WHERE name='index_nice_users_on_reset_password_token' AND type='index'
|
373
|
-
UNION ALL
|
374
|
-
SELECT sql
|
375
|
-
FROM sqlite_temp_master
|
376
|
-
WHERE name='index_nice_users_on_reset_password_token' AND type='index'
|
377
|
-
[0m
|
378
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
379
|
-
FROM sqlite_master
|
380
|
-
WHERE name='index_nice_users_on_uid_and_provider' AND type='index'
|
381
|
-
UNION ALL
|
382
|
-
SELECT sql
|
383
|
-
FROM sqlite_temp_master
|
384
|
-
WHERE name='index_nice_users_on_uid_and_provider' AND type='index'
|
385
|
-
|
386
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
387
|
-
FROM sqlite_master
|
388
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
389
|
-
UNION ALL
|
390
|
-
SELECT sql
|
391
|
-
FROM sqlite_temp_master
|
392
|
-
WHERE name='index_nice_users_on_email' AND type='index'
|
393
|
-
[0m
|
394
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
395
|
-
FROM sqlite_master
|
396
|
-
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
397
|
-
UNION ALL
|
398
|
-
SELECT sql
|
399
|
-
FROM sqlite_temp_master
|
400
|
-
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
401
|
-
|
402
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
403
|
-
FROM sqlite_master
|
404
|
-
WHERE name='index_only_email_users_on_email' AND type='index'
|
405
|
-
UNION ALL
|
406
|
-
SELECT sql
|
407
|
-
FROM sqlite_temp_master
|
408
|
-
WHERE name='index_only_email_users_on_email' AND type='index'
|
409
|
-
[0m
|
410
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
411
|
-
FROM sqlite_master
|
412
|
-
WHERE name='index_unregisterable_users_on_reset_password_token' AND type='index'
|
413
|
-
UNION ALL
|
414
|
-
SELECT sql
|
415
|
-
FROM sqlite_temp_master
|
416
|
-
WHERE name='index_unregisterable_users_on_reset_password_token' AND type='index'
|
417
|
-
|
418
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
419
|
-
FROM sqlite_master
|
420
|
-
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
421
|
-
UNION ALL
|
422
|
-
SELECT sql
|
423
|
-
FROM sqlite_temp_master
|
424
|
-
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
425
|
-
[0m
|
426
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
427
|
-
FROM sqlite_master
|
428
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
429
|
-
UNION ALL
|
430
|
-
SELECT sql
|
431
|
-
FROM sqlite_temp_master
|
432
|
-
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
433
|
-
|
434
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
435
|
-
FROM sqlite_master
|
436
|
-
WHERE name='index_users_on_nickname' AND type='index'
|
437
|
-
UNION ALL
|
438
|
-
SELECT sql
|
439
|
-
FROM sqlite_temp_master
|
440
|
-
WHERE name='index_users_on_nickname' AND type='index'
|
441
|
-
[0m
|
442
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
443
|
-
FROM sqlite_master
|
444
|
-
WHERE name='index_users_on_confirmation_token' AND type='index'
|
445
|
-
UNION ALL
|
446
|
-
SELECT sql
|
447
|
-
FROM sqlite_temp_master
|
448
|
-
WHERE name='index_users_on_confirmation_token' AND type='index'
|
449
|
-
|
450
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
451
|
-
FROM sqlite_master
|
452
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
453
|
-
UNION ALL
|
454
|
-
SELECT sql
|
455
|
-
FROM sqlite_temp_master
|
456
|
-
WHERE name='index_users_on_reset_password_token' AND type='index'
|
457
|
-
[0m
|
458
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
459
|
-
FROM sqlite_master
|
460
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
461
|
-
UNION ALL
|
462
|
-
SELECT sql
|
463
|
-
FROM sqlite_temp_master
|
464
|
-
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
465
|
-
|
466
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
467
|
-
FROM sqlite_master
|
468
|
-
WHERE name='index_users_on_email' AND type='index'
|
469
|
-
UNION ALL
|
470
|
-
SELECT sql
|
471
|
-
FROM sqlite_temp_master
|
472
|
-
WHERE name='index_users_on_email' AND type='index'
|
473
|
-
[0m
|