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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -8
  3. data/app/controllers/devise_token_auth/registrations_controller.rb +2 -2
  4. data/app/models/devise_token_auth/concerns/user.rb +8 -4
  5. data/lib/devise_token_auth/version.rb +1 -1
  6. data/lib/generators/devise_token_auth/install_generator.rb +4 -0
  7. data/lib/generators/devise_token_auth/templates/user.rb +4 -0
  8. data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +10 -0
  9. data/test/controllers/devise_token_auth/registrations_controller_test.rb +45 -0
  10. data/test/controllers/devise_token_auth/sessions_controller_test.rb +28 -0
  11. data/test/dummy/app/models/only_email_user.rb +5 -0
  12. data/test/dummy/app/models/unregisterable_user.rb +7 -0
  13. data/test/dummy/config/routes.rb +4 -0
  14. data/test/dummy/db/development.sqlite3 +0 -0
  15. data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +54 -0
  16. data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +54 -0
  17. data/test/dummy/db/schema.rb +46 -1
  18. data/test/dummy/db/test.sqlite3 +0 -0
  19. data/test/dummy/log/development.log +602 -0
  20. data/test/dummy/log/test.log +47403 -0
  21. data/test/dummy/tmp/generators/app/models/mang.rb +7 -0
  22. data/test/dummy/tmp/generators/app/models/user.rb +7 -0
  23. data/test/dummy/tmp/generators/config/initializers/devise_token_auth.rb +22 -0
  24. data/test/dummy/tmp/generators/config/routes.rb +9 -0
  25. data/test/dummy/tmp/generators/db/migrate/20141222060432_devise_token_auth_create_mangs.rb +54 -0
  26. data/test/dummy/tmp/generators/db/migrate/20141222060432_devise_token_auth_create_users.rb +54 -0
  27. data/test/fixtures/only_email_users.yml +9 -0
  28. data/test/models/only_email_user_test.rb +35 -0
  29. metadata +28 -8
  30. data/test/dummy/tmp/generators/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  31. data/test/dummy/tmp/generators/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
Binary file
@@ -6110,3 +6110,605 @@ Processing by DeviseTokenAuth::SessionsController#destroy as HTML
6110
6110
  SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 5 [["tokens", "{\"TYOgWr4zF2wZQvzkCikeFQ\":{\"token\":\"$2a$10$QKfeisvWdM3lRvgiqIxMYeBiokiEOvIuVT01Ubf185PFfXkmSSCny\",\"expiry\":1415997651}}"], ["updated_at", "2014-11-05 04:28:57.639183"]]
6111
6111
   (2.1ms) commit transaction
6112
6112
  Completed 200 OK in 69ms (Views: 0.1ms | ActiveRecord: 2.6ms)
6113
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
6114
+ Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
6115
+  (0.1ms) begin transaction
6116
+  (0.4ms) CREATE 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) 
6117
+  (0.0ms) select sqlite_version(*)
6118
+  (0.1ms) CREATE INDEX "index_only_email_users_on_email" ON "only_email_users" ("email")
6119
+  (0.1ms) 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
+  (1.1ms) CREATE UNIQUE INDEX "index_only_email_users_on_uid_and_provider" ON "only_email_users" ("uid", "provider")
6128
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6144
+  (0.1ms) CREATE UNIQUE INDEX "index_only_email_users_on_reset_password_token" ON "only_email_users" ("reset_password_token")
6145
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222035835"]]
6146
+  (0.8ms) commit transaction
6147
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6148
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6164
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6180
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6196
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6212
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6228
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6244
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6260
+  (0.1ms) 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
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6269
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6270
+ Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
6271
+  (0.1ms) begin transaction
6272
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6288
+  (0.1ms) 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
+  (0.4ms) DROP INDEX "index_only_email_users_on_uid_and_provider"
6297
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6313
+  (1.0ms) DROP INDEX "index_only_email_users_on_email"
6314
+  (0.2ms) DROP TABLE "only_email_users"
6315
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141222035835'
6316
+  (0.9ms) commit transaction
6317
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6318
+  (0.1ms)  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
+ 
6326
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6342
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6358
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6374
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6390
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6406
+  (0.1ms) 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
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6415
+ Migrating to DeviseTokenAuthCreateOnlyEmailUsers (20141222035835)
6416
+  (0.1ms) begin transaction
6417
+  (0.5ms) CREATE 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) 
6418
+  (0.0ms) select sqlite_version(*)
6419
+  (0.1ms) CREATE INDEX "index_only_email_users_on_email" ON "only_email_users" ("email")
6420
+  (0.1ms) 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
+  (1.0ms) CREATE UNIQUE INDEX "index_only_email_users_on_uid_and_provider" ON "only_email_users" ("uid", "provider")
6429
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222035835"]]
6430
+  (2.1ms) commit transaction
6431
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6432
+  (0.1ms)  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
+ 
6440
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6456
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6472
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6488
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6504
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6520
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6536
+  (0.1ms) 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
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
6545
+ Migrating to DeviseTokenAuthCreateUnregisterableUsers (20141222053502)
6546
+  (0.1ms) begin transaction
6547
+  (0.8ms) CREATE 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) 
6548
+  (0.1ms) select sqlite_version(*)
6549
+  (0.2ms) CREATE INDEX "index_unregisterable_users_on_email" ON "unregisterable_users" ("email")
6550
+  (0.1ms) 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
+  (1.0ms) CREATE UNIQUE INDEX "index_unregisterable_users_on_uid_and_provider" ON "unregisterable_users" ("uid", "provider")
6559
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6575
+  (0.1ms) CREATE UNIQUE INDEX "index_unregisterable_users_on_reset_password_token" ON "unregisterable_users" ("reset_password_token")
6576
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141222053502"]]
6577
+  (1.1ms) commit transaction
6578
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6579
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6595
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6611
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6627
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6643
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6659
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6675
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6691
+  (0.1ms) 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
+  (0.1ms)  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
+ 
6707
+  (0.1ms) 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
+