devise_token_auth 0.1.30 → 0.1.31.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +51 -8
- data/app/controllers/devise_token_auth/registrations_controller.rb +2 -2
- data/app/models/devise_token_auth/concerns/user.rb +8 -4
- data/lib/devise_token_auth/version.rb +1 -1
- data/lib/generators/devise_token_auth/install_generator.rb +4 -0
- data/lib/generators/devise_token_auth/templates/user.rb +4 -0
- data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +10 -0
- data/test/controllers/devise_token_auth/registrations_controller_test.rb +45 -0
- data/test/controllers/devise_token_auth/sessions_controller_test.rb +28 -0
- data/test/dummy/app/models/only_email_user.rb +5 -0
- data/test/dummy/app/models/unregisterable_user.rb +7 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +54 -0
- data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +54 -0
- data/test/dummy/db/schema.rb +46 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +602 -0
- data/test/dummy/log/test.log +47403 -0
- data/test/dummy/tmp/generators/app/models/mang.rb +7 -0
- data/test/dummy/tmp/generators/app/models/user.rb +7 -0
- data/test/dummy/tmp/generators/config/initializers/devise_token_auth.rb +22 -0
- data/test/dummy/tmp/generators/config/routes.rb +9 -0
- data/test/dummy/tmp/generators/db/migrate/20141222060432_devise_token_auth_create_mangs.rb +54 -0
- data/test/dummy/tmp/generators/db/migrate/20141222060432_devise_token_auth_create_users.rb +54 -0
- data/test/fixtures/only_email_users.yml +9 -0
- data/test/models/only_email_user_test.rb +35 -0
- metadata +28 -8
- data/test/dummy/tmp/generators/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
- data/test/dummy/tmp/generators/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -6110,3 +6110,605 @@ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
|
6110
6110
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 5[0m [["tokens", "{\"TYOgWr4zF2wZQvzkCikeFQ\":{\"token\":\"$2a$10$QKfeisvWdM3lRvgiqIxMYeBiokiEOvIuVT01Ubf185PFfXkmSSCny\",\"expiry\":1415997651}}"], ["updated_at", "2014-11-05 04:28:57.639183"]]
|
6111
6111
|
[1m[35m (2.1ms)[0m commit transaction
|
6112
6112
|
Completed 200 OK in 69ms (Views: 0.1ms | ActiveRecord: 2.6ms)
|
6113
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6114
|
+
Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
|
6115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6116
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "only_email_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar(255) NOT NULL, "uid" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "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(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "email" varchar(255), "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
6117
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
6118
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_only_email_users_on_email" ON "only_email_users" ("email")[0m
|
6119
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6120
|
+
FROM sqlite_master
|
6121
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6122
|
+
UNION ALL
|
6123
|
+
SELECT sql
|
6124
|
+
FROM sqlite_temp_master
|
6125
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6126
|
+
|
6127
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_only_email_users_on_uid_and_provider" ON "only_email_users" ("uid", "provider")[0m
|
6128
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6129
|
+
FROM sqlite_master
|
6130
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6131
|
+
UNION ALL
|
6132
|
+
SELECT sql
|
6133
|
+
FROM sqlite_temp_master
|
6134
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6135
|
+
|
6136
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6137
|
+
FROM sqlite_master
|
6138
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6139
|
+
UNION ALL
|
6140
|
+
SELECT sql
|
6141
|
+
FROM sqlite_temp_master
|
6142
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6143
|
+
[0m
|
6144
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_only_email_users_on_reset_password_token" ON "only_email_users" ("reset_password_token")
|
6145
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141222035835"]]
|
6146
|
+
[1m[35m (0.8ms)[0m commit transaction
|
6147
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6148
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6149
|
+
FROM sqlite_master
|
6150
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6151
|
+
UNION ALL
|
6152
|
+
SELECT sql
|
6153
|
+
FROM sqlite_temp_master
|
6154
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6155
|
+
|
6156
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6157
|
+
FROM sqlite_master
|
6158
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6159
|
+
UNION ALL
|
6160
|
+
SELECT sql
|
6161
|
+
FROM sqlite_temp_master
|
6162
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6163
|
+
[0m
|
6164
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6165
|
+
FROM sqlite_master
|
6166
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6167
|
+
UNION ALL
|
6168
|
+
SELECT sql
|
6169
|
+
FROM sqlite_temp_master
|
6170
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6171
|
+
|
6172
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6173
|
+
FROM sqlite_master
|
6174
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6175
|
+
UNION ALL
|
6176
|
+
SELECT sql
|
6177
|
+
FROM sqlite_temp_master
|
6178
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6179
|
+
[0m
|
6180
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6181
|
+
FROM sqlite_master
|
6182
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6183
|
+
UNION ALL
|
6184
|
+
SELECT sql
|
6185
|
+
FROM sqlite_temp_master
|
6186
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6187
|
+
|
6188
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6189
|
+
FROM sqlite_master
|
6190
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6191
|
+
UNION ALL
|
6192
|
+
SELECT sql
|
6193
|
+
FROM sqlite_temp_master
|
6194
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6195
|
+
[0m
|
6196
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6197
|
+
FROM sqlite_master
|
6198
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6199
|
+
UNION ALL
|
6200
|
+
SELECT sql
|
6201
|
+
FROM sqlite_temp_master
|
6202
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6203
|
+
|
6204
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6205
|
+
FROM sqlite_master
|
6206
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6207
|
+
UNION ALL
|
6208
|
+
SELECT sql
|
6209
|
+
FROM sqlite_temp_master
|
6210
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6211
|
+
[0m
|
6212
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6213
|
+
FROM sqlite_master
|
6214
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6215
|
+
UNION ALL
|
6216
|
+
SELECT sql
|
6217
|
+
FROM sqlite_temp_master
|
6218
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6219
|
+
|
6220
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6221
|
+
FROM sqlite_master
|
6222
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6223
|
+
UNION ALL
|
6224
|
+
SELECT sql
|
6225
|
+
FROM sqlite_temp_master
|
6226
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6227
|
+
[0m
|
6228
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6229
|
+
FROM sqlite_master
|
6230
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6231
|
+
UNION ALL
|
6232
|
+
SELECT sql
|
6233
|
+
FROM sqlite_temp_master
|
6234
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6235
|
+
|
6236
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6237
|
+
FROM sqlite_master
|
6238
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6239
|
+
UNION ALL
|
6240
|
+
SELECT sql
|
6241
|
+
FROM sqlite_temp_master
|
6242
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6243
|
+
[0m
|
6244
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6245
|
+
FROM sqlite_master
|
6246
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6247
|
+
UNION ALL
|
6248
|
+
SELECT sql
|
6249
|
+
FROM sqlite_temp_master
|
6250
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6251
|
+
|
6252
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6253
|
+
FROM sqlite_master
|
6254
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6255
|
+
UNION ALL
|
6256
|
+
SELECT sql
|
6257
|
+
FROM sqlite_temp_master
|
6258
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6259
|
+
[0m
|
6260
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6261
|
+
FROM sqlite_master
|
6262
|
+
WHERE name='index_users_on_email' AND type='index'
|
6263
|
+
UNION ALL
|
6264
|
+
SELECT sql
|
6265
|
+
FROM sqlite_temp_master
|
6266
|
+
WHERE name='index_users_on_email' AND type='index'
|
6267
|
+
|
6268
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6269
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6270
|
+
Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
|
6271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6272
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6273
|
+
FROM sqlite_master
|
6274
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6275
|
+
UNION ALL
|
6276
|
+
SELECT sql
|
6277
|
+
FROM sqlite_temp_master
|
6278
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6279
|
+
|
6280
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6281
|
+
FROM sqlite_master
|
6282
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6283
|
+
UNION ALL
|
6284
|
+
SELECT sql
|
6285
|
+
FROM sqlite_temp_master
|
6286
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6287
|
+
[0m
|
6288
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6289
|
+
FROM sqlite_master
|
6290
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6291
|
+
UNION ALL
|
6292
|
+
SELECT sql
|
6293
|
+
FROM sqlite_temp_master
|
6294
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6295
|
+
|
6296
|
+
[1m[36m (0.4ms)[0m [1mDROP INDEX "index_only_email_users_on_uid_and_provider"[0m
|
6297
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6298
|
+
FROM sqlite_master
|
6299
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6300
|
+
UNION ALL
|
6301
|
+
SELECT sql
|
6302
|
+
FROM sqlite_temp_master
|
6303
|
+
WHERE name='index_only_email_users_on_reset_password_token' AND type='index'
|
6304
|
+
|
6305
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6306
|
+
FROM sqlite_master
|
6307
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6308
|
+
UNION ALL
|
6309
|
+
SELECT sql
|
6310
|
+
FROM sqlite_temp_master
|
6311
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6312
|
+
[0m
|
6313
|
+
[1m[35m (1.0ms)[0m DROP INDEX "index_only_email_users_on_email"
|
6314
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "only_email_users"[0m
|
6315
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141222035835'
|
6316
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
6317
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6318
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6319
|
+
FROM sqlite_master
|
6320
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6321
|
+
UNION ALL
|
6322
|
+
SELECT sql
|
6323
|
+
FROM sqlite_temp_master
|
6324
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6325
|
+
[0m
|
6326
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6327
|
+
FROM sqlite_master
|
6328
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6329
|
+
UNION ALL
|
6330
|
+
SELECT sql
|
6331
|
+
FROM sqlite_temp_master
|
6332
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6333
|
+
|
6334
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6335
|
+
FROM sqlite_master
|
6336
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6337
|
+
UNION ALL
|
6338
|
+
SELECT sql
|
6339
|
+
FROM sqlite_temp_master
|
6340
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6341
|
+
[0m
|
6342
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6343
|
+
FROM sqlite_master
|
6344
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6345
|
+
UNION ALL
|
6346
|
+
SELECT sql
|
6347
|
+
FROM sqlite_temp_master
|
6348
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6349
|
+
|
6350
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6351
|
+
FROM sqlite_master
|
6352
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6353
|
+
UNION ALL
|
6354
|
+
SELECT sql
|
6355
|
+
FROM sqlite_temp_master
|
6356
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6357
|
+
[0m
|
6358
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6359
|
+
FROM sqlite_master
|
6360
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6361
|
+
UNION ALL
|
6362
|
+
SELECT sql
|
6363
|
+
FROM sqlite_temp_master
|
6364
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6365
|
+
|
6366
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6367
|
+
FROM sqlite_master
|
6368
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6369
|
+
UNION ALL
|
6370
|
+
SELECT sql
|
6371
|
+
FROM sqlite_temp_master
|
6372
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6373
|
+
[0m
|
6374
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6375
|
+
FROM sqlite_master
|
6376
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6377
|
+
UNION ALL
|
6378
|
+
SELECT sql
|
6379
|
+
FROM sqlite_temp_master
|
6380
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6381
|
+
|
6382
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6383
|
+
FROM sqlite_master
|
6384
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6385
|
+
UNION ALL
|
6386
|
+
SELECT sql
|
6387
|
+
FROM sqlite_temp_master
|
6388
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6389
|
+
[0m
|
6390
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6391
|
+
FROM sqlite_master
|
6392
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6393
|
+
UNION ALL
|
6394
|
+
SELECT sql
|
6395
|
+
FROM sqlite_temp_master
|
6396
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6397
|
+
|
6398
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6399
|
+
FROM sqlite_master
|
6400
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6401
|
+
UNION ALL
|
6402
|
+
SELECT sql
|
6403
|
+
FROM sqlite_temp_master
|
6404
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6405
|
+
[0m
|
6406
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6407
|
+
FROM sqlite_master
|
6408
|
+
WHERE name='index_users_on_email' AND type='index'
|
6409
|
+
UNION ALL
|
6410
|
+
SELECT sql
|
6411
|
+
FROM sqlite_temp_master
|
6412
|
+
WHERE name='index_users_on_email' AND type='index'
|
6413
|
+
|
6414
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6415
|
+
Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
|
6416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6417
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "only_email_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar(255) NOT NULL, "uid" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "email" varchar(255), "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
6418
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
6419
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_only_email_users_on_email" ON "only_email_users" ("email")[0m
|
6420
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6421
|
+
FROM sqlite_master
|
6422
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6423
|
+
UNION ALL
|
6424
|
+
SELECT sql
|
6425
|
+
FROM sqlite_temp_master
|
6426
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6427
|
+
|
6428
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_only_email_users_on_uid_and_provider" ON "only_email_users" ("uid", "provider")[0m
|
6429
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222035835"]]
|
6430
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
6431
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6432
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6433
|
+
FROM sqlite_master
|
6434
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6435
|
+
UNION ALL
|
6436
|
+
SELECT sql
|
6437
|
+
FROM sqlite_temp_master
|
6438
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6439
|
+
[0m
|
6440
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6441
|
+
FROM sqlite_master
|
6442
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6443
|
+
UNION ALL
|
6444
|
+
SELECT sql
|
6445
|
+
FROM sqlite_temp_master
|
6446
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6447
|
+
|
6448
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6449
|
+
FROM sqlite_master
|
6450
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6451
|
+
UNION ALL
|
6452
|
+
SELECT sql
|
6453
|
+
FROM sqlite_temp_master
|
6454
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6455
|
+
[0m
|
6456
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6457
|
+
FROM sqlite_master
|
6458
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6459
|
+
UNION ALL
|
6460
|
+
SELECT sql
|
6461
|
+
FROM sqlite_temp_master
|
6462
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6463
|
+
|
6464
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6465
|
+
FROM sqlite_master
|
6466
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6467
|
+
UNION ALL
|
6468
|
+
SELECT sql
|
6469
|
+
FROM sqlite_temp_master
|
6470
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6471
|
+
[0m
|
6472
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6473
|
+
FROM sqlite_master
|
6474
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6475
|
+
UNION ALL
|
6476
|
+
SELECT sql
|
6477
|
+
FROM sqlite_temp_master
|
6478
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6479
|
+
|
6480
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6481
|
+
FROM sqlite_master
|
6482
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6483
|
+
UNION ALL
|
6484
|
+
SELECT sql
|
6485
|
+
FROM sqlite_temp_master
|
6486
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6487
|
+
[0m
|
6488
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6489
|
+
FROM sqlite_master
|
6490
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6491
|
+
UNION ALL
|
6492
|
+
SELECT sql
|
6493
|
+
FROM sqlite_temp_master
|
6494
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6495
|
+
|
6496
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6497
|
+
FROM sqlite_master
|
6498
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6499
|
+
UNION ALL
|
6500
|
+
SELECT sql
|
6501
|
+
FROM sqlite_temp_master
|
6502
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6503
|
+
[0m
|
6504
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6505
|
+
FROM sqlite_master
|
6506
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6507
|
+
UNION ALL
|
6508
|
+
SELECT sql
|
6509
|
+
FROM sqlite_temp_master
|
6510
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6511
|
+
|
6512
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6513
|
+
FROM sqlite_master
|
6514
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6515
|
+
UNION ALL
|
6516
|
+
SELECT sql
|
6517
|
+
FROM sqlite_temp_master
|
6518
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6519
|
+
[0m
|
6520
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6521
|
+
FROM sqlite_master
|
6522
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6523
|
+
UNION ALL
|
6524
|
+
SELECT sql
|
6525
|
+
FROM sqlite_temp_master
|
6526
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6527
|
+
|
6528
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6529
|
+
FROM sqlite_master
|
6530
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6531
|
+
UNION ALL
|
6532
|
+
SELECT sql
|
6533
|
+
FROM sqlite_temp_master
|
6534
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6535
|
+
[0m
|
6536
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6537
|
+
FROM sqlite_master
|
6538
|
+
WHERE name='index_users_on_email' AND type='index'
|
6539
|
+
UNION ALL
|
6540
|
+
SELECT sql
|
6541
|
+
FROM sqlite_temp_master
|
6542
|
+
WHERE name='index_users_on_email' AND type='index'
|
6543
|
+
|
6544
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6545
|
+
Migrating to DeviseTokenAuthCreateUnregisterableUsers (20141222053502)
|
6546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6547
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "unregisterable_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "provider" varchar(255) NOT NULL, "uid" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "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(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "email" varchar(255), "tokens" text, "created_at" datetime, "updated_at" datetime) [0m
|
6548
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
6549
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_unregisterable_users_on_email" ON "unregisterable_users" ("email")[0m
|
6550
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6551
|
+
FROM sqlite_master
|
6552
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6553
|
+
UNION ALL
|
6554
|
+
SELECT sql
|
6555
|
+
FROM sqlite_temp_master
|
6556
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6557
|
+
|
6558
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_unregisterable_users_on_uid_and_provider" ON "unregisterable_users" ("uid", "provider")[0m
|
6559
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6560
|
+
FROM sqlite_master
|
6561
|
+
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
6562
|
+
UNION ALL
|
6563
|
+
SELECT sql
|
6564
|
+
FROM sqlite_temp_master
|
6565
|
+
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
6566
|
+
|
6567
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6568
|
+
FROM sqlite_master
|
6569
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6570
|
+
UNION ALL
|
6571
|
+
SELECT sql
|
6572
|
+
FROM sqlite_temp_master
|
6573
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6574
|
+
[0m
|
6575
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_unregisterable_users_on_reset_password_token" ON "unregisterable_users" ("reset_password_token")
|
6576
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141222053502"]]
|
6577
|
+
[1m[35m (1.1ms)[0m commit transaction
|
6578
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6579
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6580
|
+
FROM sqlite_master
|
6581
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6582
|
+
UNION ALL
|
6583
|
+
SELECT sql
|
6584
|
+
FROM sqlite_temp_master
|
6585
|
+
WHERE name='index_evil_users_on_confirmation_token' AND type='index'
|
6586
|
+
|
6587
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6588
|
+
FROM sqlite_master
|
6589
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6590
|
+
UNION ALL
|
6591
|
+
SELECT sql
|
6592
|
+
FROM sqlite_temp_master
|
6593
|
+
WHERE name='index_evil_users_on_reset_password_token' AND type='index'
|
6594
|
+
[0m
|
6595
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6596
|
+
FROM sqlite_master
|
6597
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6598
|
+
UNION ALL
|
6599
|
+
SELECT sql
|
6600
|
+
FROM sqlite_temp_master
|
6601
|
+
WHERE name='index_evil_users_on_uid_and_provider' AND type='index'
|
6602
|
+
|
6603
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6604
|
+
FROM sqlite_master
|
6605
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6606
|
+
UNION ALL
|
6607
|
+
SELECT sql
|
6608
|
+
FROM sqlite_temp_master
|
6609
|
+
WHERE name='index_evil_users_on_email' AND type='index'
|
6610
|
+
[0m
|
6611
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6612
|
+
FROM sqlite_master
|
6613
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6614
|
+
UNION ALL
|
6615
|
+
SELECT sql
|
6616
|
+
FROM sqlite_temp_master
|
6617
|
+
WHERE name='index_mangs_on_confirmation_token' AND type='index'
|
6618
|
+
|
6619
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6620
|
+
FROM sqlite_master
|
6621
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6622
|
+
UNION ALL
|
6623
|
+
SELECT sql
|
6624
|
+
FROM sqlite_temp_master
|
6625
|
+
WHERE name='index_mangs_on_reset_password_token' AND type='index'
|
6626
|
+
[0m
|
6627
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6628
|
+
FROM sqlite_master
|
6629
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6630
|
+
UNION ALL
|
6631
|
+
SELECT sql
|
6632
|
+
FROM sqlite_temp_master
|
6633
|
+
WHERE name='index_mangs_on_uid_and_provider' AND type='index'
|
6634
|
+
|
6635
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6636
|
+
FROM sqlite_master
|
6637
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6638
|
+
UNION ALL
|
6639
|
+
SELECT sql
|
6640
|
+
FROM sqlite_temp_master
|
6641
|
+
WHERE name='index_mangs_on_email' AND type='index'
|
6642
|
+
[0m
|
6643
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6644
|
+
FROM sqlite_master
|
6645
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6646
|
+
UNION ALL
|
6647
|
+
SELECT sql
|
6648
|
+
FROM sqlite_temp_master
|
6649
|
+
WHERE name='index_only_email_users_on_uid_and_provider' AND type='index'
|
6650
|
+
|
6651
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6652
|
+
FROM sqlite_master
|
6653
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6654
|
+
UNION ALL
|
6655
|
+
SELECT sql
|
6656
|
+
FROM sqlite_temp_master
|
6657
|
+
WHERE name='index_only_email_users_on_email' AND type='index'
|
6658
|
+
[0m
|
6659
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6660
|
+
FROM sqlite_master
|
6661
|
+
WHERE name='index_unregisterable_users_on_reset_password_token' AND type='index'
|
6662
|
+
UNION ALL
|
6663
|
+
SELECT sql
|
6664
|
+
FROM sqlite_temp_master
|
6665
|
+
WHERE name='index_unregisterable_users_on_reset_password_token' AND type='index'
|
6666
|
+
|
6667
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6668
|
+
FROM sqlite_master
|
6669
|
+
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
6670
|
+
UNION ALL
|
6671
|
+
SELECT sql
|
6672
|
+
FROM sqlite_temp_master
|
6673
|
+
WHERE name='index_unregisterable_users_on_uid_and_provider' AND type='index'
|
6674
|
+
[0m
|
6675
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6676
|
+
FROM sqlite_master
|
6677
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6678
|
+
UNION ALL
|
6679
|
+
SELECT sql
|
6680
|
+
FROM sqlite_temp_master
|
6681
|
+
WHERE name='index_unregisterable_users_on_email' AND type='index'
|
6682
|
+
|
6683
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6684
|
+
FROM sqlite_master
|
6685
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6686
|
+
UNION ALL
|
6687
|
+
SELECT sql
|
6688
|
+
FROM sqlite_temp_master
|
6689
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
6690
|
+
[0m
|
6691
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6692
|
+
FROM sqlite_master
|
6693
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6694
|
+
UNION ALL
|
6695
|
+
SELECT sql
|
6696
|
+
FROM sqlite_temp_master
|
6697
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
6698
|
+
|
6699
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
6700
|
+
FROM sqlite_master
|
6701
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6702
|
+
UNION ALL
|
6703
|
+
SELECT sql
|
6704
|
+
FROM sqlite_temp_master
|
6705
|
+
WHERE name='index_users_on_uid_and_provider' AND type='index'
|
6706
|
+
[0m
|
6707
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
6708
|
+
FROM sqlite_master
|
6709
|
+
WHERE name='index_users_on_email' AND type='index'
|
6710
|
+
UNION ALL
|
6711
|
+
SELECT sql
|
6712
|
+
FROM sqlite_temp_master
|
6713
|
+
WHERE name='index_users_on_email' AND type='index'
|
6714
|
+
|