api_user_auth 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api_user_auth/providers/facebook.rb +2 -1
- data/lib/api_user_auth/version.rb +1 -1
- data/spec/dummy/log/test.log +1330 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08a8446fa629d3cf053166db6523f93427d6350cc7960e4ff2a221ad506bc32d'
|
4
|
+
data.tar.gz: 37796f8159c065853f3831049c557734a4385d519140f5e980af43c191c223ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14768fbaf67800d2d91cd4e69b9311ebe9ec8e8624ad25501ed4291afe0b6d08c77e226a8fbd570c5c221902e6e5a2a4250669b19a5ddcc80ff623c5337cf6ec
|
7
|
+
data.tar.gz: 33ff1d1acf65b990e729813650a594c6c1ad02698b5ae16e641ab8a140cf166cfda7e73885fa0ae5bb5d3b5de66aecd1e183506428fab37a10e0a882d48471d8
|
@@ -28,7 +28,8 @@ module ApiUserAuth
|
|
28
28
|
|
29
29
|
def user_data
|
30
30
|
{
|
31
|
-
id: @data[:id], name: @data[:name],
|
31
|
+
id: @data[:id], name: @data[:name],
|
32
|
+
email: @data[:email] || "#{@data[:id]}@facebook.com",
|
32
33
|
provider: 'facebook',
|
33
34
|
img_url: (@data[:picture] || {}).try(:[], :data).try(:[], :url),
|
34
35
|
info: {
|
data/spec/dummy/log/test.log
CHANGED
@@ -69318,3 +69318,1333 @@ Processing by ApiUserAuth::AuthController#logout as HTML
|
|
69318
69318
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
69319
69319
|
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 344], ["LIMIT", 1]]
|
69320
69320
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69321
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
69322
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
69323
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69324
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69325
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e4d2e543-bf45-41c7-a19d-4ba0f2adbd5b}"], ["created_at", "2018-07-27 15:00:05.801649"], ["updated_at", "2018-07-27 15:00:05.801649"]]
|
69326
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69327
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
|
69328
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 114.4ms
|
69329
|
+
Sent mail to user@mail.com (3.0ms)
|
69330
|
+
Date: Fri, 27 Jul 2018 18:00:05 +0300
|
69331
|
+
From: support@example.com
|
69332
|
+
To: user@mail.com
|
69333
|
+
Message-ID: <5b5b3375ecf74_3779e486445249c@merkulov.mail>
|
69334
|
+
Subject: Welcome !
|
69335
|
+
Mime-Version: 1.0
|
69336
|
+
Content-Type: text/html;
|
69337
|
+
charset=UTF-8
|
69338
|
+
Content-Transfer-Encoding: 7bit
|
69339
|
+
|
69340
|
+
<h1>Welcome</h1>
|
69341
|
+
user@mail.com
|
69342
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69343
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69344
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69345
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69346
|
+
Parameters: {"email"=>"user@mail.com"}
|
69347
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69348
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69349
|
+
Parameters: {"password"=>"[FILTERED]"}
|
69350
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69351
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69352
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
69353
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
69354
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69355
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69356
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69357
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69358
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
69359
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
69360
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69361
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69362
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69363
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{60661830-2456-47a8-968c-7c00d67c5f29}"], ["created_at", "2018-07-27 15:00:05.983981"], ["updated_at", "2018-07-27 15:00:05.983981"]]
|
69364
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69365
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69366
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69367
|
+
Sent mail to user@mail.com (0.9ms)
|
69368
|
+
Date: Fri, 27 Jul 2018 18:00:05 +0300
|
69369
|
+
From: support@example.com
|
69370
|
+
To: user@mail.com
|
69371
|
+
Message-ID: <5b5b3375f0b24_3779e48644525e4@merkulov.mail>
|
69372
|
+
Subject: Welcome !
|
69373
|
+
Mime-Version: 1.0
|
69374
|
+
Content-Type: text/html;
|
69375
|
+
charset=UTF-8
|
69376
|
+
Content-Transfer-Encoding: 7bit
|
69377
|
+
|
69378
|
+
<h1>Welcome</h1>
|
69379
|
+
user@mail.com
|
69380
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69381
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69382
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69383
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
69384
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69385
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69386
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69387
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{60661830-2456-47a8-968c-7c00d67c5f29,3a3c1a0b-4ce7-4c6d-b476-e7a62efa43fe}"], ["updated_at", "2018-07-27 15:00:05.988882"], ["id", 346]]
|
69388
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69389
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
69390
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69391
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69392
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69393
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69394
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69395
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{18bff9f2-cb59-4ffb-9ffd-2af0bbb2b89e}"], ["created_at", "2018-07-27 15:00:05.992832"], ["updated_at", "2018-07-27 15:00:05.992832"]]
|
69396
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69397
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
69398
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
69399
|
+
Sent mail to user@mail.com (0.9ms)
|
69400
|
+
Date: Fri, 27 Jul 2018 18:00:05 +0300
|
69401
|
+
From: support@example.com
|
69402
|
+
To: user@mail.com
|
69403
|
+
Message-ID: <5b5b3375f2e10_3779e48644526f5@merkulov.mail>
|
69404
|
+
Subject: Welcome !
|
69405
|
+
Mime-Version: 1.0
|
69406
|
+
Content-Type: text/html;
|
69407
|
+
charset=UTF-8
|
69408
|
+
Content-Transfer-Encoding: 7bit
|
69409
|
+
|
69410
|
+
<h1>Welcome</h1>
|
69411
|
+
user@mail.com
|
69412
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69413
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
69414
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('18bff9f2-cb59-4ffb-9ffd-2af0bbb2b89e' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
69415
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69416
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 15:00:05.997481"], ["id", 347]]
|
69417
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69418
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
69419
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 347], ["LIMIT", 1]]
|
69420
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69421
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69422
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69423
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69424
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{3a501e70-bac8-4c44-a18d-dd3678095c4f}"], ["created_at", "2018-07-27 15:00:06.001243"], ["updated_at", "2018-07-27 15:00:06.001243"]]
|
69425
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69426
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69427
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
69428
|
+
Sent mail to user@mail.com (0.9ms)
|
69429
|
+
Date: Fri, 27 Jul 2018 18:00:06 +0300
|
69430
|
+
From: support@example.com
|
69431
|
+
To: user@mail.com
|
69432
|
+
Message-ID: <5b5b3376c4f_3779e4864452792@merkulov.mail>
|
69433
|
+
Subject: Welcome !
|
69434
|
+
Mime-Version: 1.0
|
69435
|
+
Content-Type: text/html;
|
69436
|
+
charset=UTF-8
|
69437
|
+
Content-Transfer-Encoding: 7bit
|
69438
|
+
|
69439
|
+
<h1>Welcome</h1>
|
69440
|
+
user@mail.com
|
69441
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69442
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
69443
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('ba5f6adb-f18e-4dd9-ba23-11d78c9fbc22' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
69444
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69445
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 348], ["LIMIT", 1]]
|
69446
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69447
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69448
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69449
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69450
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
69451
|
+
Completed 422 Unprocessable Entity in 685ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
69452
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69453
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69454
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
69455
|
+
Completed 422 Unprocessable Entity in 397ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
69456
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69457
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69458
|
+
Parameters: {"provider"=>"instagram"}
|
69459
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
69460
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69461
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
69462
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69463
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69464
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69465
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
69466
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.8ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69467
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69468
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69469
|
+
[1m[36mApiUserAuth::AuthUser Create (0.7ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{1f06f90a-0c41-44bd-b6c7-c498e0862bc8}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 15:00:07.124348"], ["updated_at", "2018-07-27 15:00:07.124348"]]
|
69470
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69471
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
69472
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.3ms
|
69473
|
+
Sent mail to user@mail.com (3.4ms)
|
69474
|
+
Date: Fri, 27 Jul 2018 18:00:07 +0300
|
69475
|
+
From: support@example.com
|
69476
|
+
To: user@mail.com
|
69477
|
+
Message-ID: <5b5b3377203c8_3779e48644528a4@merkulov.mail>
|
69478
|
+
Subject: Welcome !
|
69479
|
+
Mime-Version: 1.0
|
69480
|
+
Content-Type: text/html;
|
69481
|
+
charset=UTF-8
|
69482
|
+
Content-Transfer-Encoding: 7bit
|
69483
|
+
|
69484
|
+
<h1>Welcome</h1>
|
69485
|
+
user@mail.com
|
69486
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69487
|
+
Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 5.9ms)
|
69488
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69489
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69490
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69491
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
69492
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69493
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69494
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69495
|
+
[1m[36mApiUserAuth::AuthUser Update (0.4ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{1f06f90a-0c41-44bd-b6c7-c498e0862bc8,dca4c1dc-0d38-4acc-8e6b-954d810077f1}"], ["updated_at", "2018-07-27 15:00:07.142521"], ["id", 349]]
|
69496
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69497
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 7.3ms)
|
69498
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69499
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69500
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69501
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69502
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69503
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69504
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
69505
|
+
Completed 422 Unprocessable Entity in 289ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
69506
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69507
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69508
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
69509
|
+
Completed 422 Unprocessable Entity in 301ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
69510
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69511
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69512
|
+
Parameters: {"provider"=>"facebook"}
|
69513
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
69514
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69515
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
69516
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69517
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69518
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69519
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
69520
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69521
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69522
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69523
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{d8e0d536-bce0-4ec5-a6b5-8704a85cc5ae}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 15:00:07.762421"], ["updated_at", "2018-07-27 15:00:07.762421"]]
|
69524
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69525
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
69526
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.2ms
|
69527
|
+
Sent mail to user@mail.com (3.2ms)
|
69528
|
+
Date: Fri, 27 Jul 2018 18:00:07 +0300
|
69529
|
+
From: support@example.com
|
69530
|
+
To: user@mail.com
|
69531
|
+
Message-ID: <5b5b3377bbea8_3779e4864452973@merkulov.mail>
|
69532
|
+
Subject: Welcome !
|
69533
|
+
Mime-Version: 1.0
|
69534
|
+
Content-Type: text/html;
|
69535
|
+
charset=UTF-8
|
69536
|
+
Content-Transfer-Encoding: 7bit
|
69537
|
+
|
69538
|
+
<h1>Welcome</h1>
|
69539
|
+
user@mail.com
|
69540
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69541
|
+
Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 2.5ms)
|
69542
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69543
|
+
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69544
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69545
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
69546
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69547
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69548
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69549
|
+
[1m[36mApiUserAuth::AuthUser Update (0.8ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{d8e0d536-bce0-4ec5-a6b5-8704a85cc5ae,adbc6ae5-ffc8-4cfd-b588-16c34fec078a}"], ["updated_at", "2018-07-27 15:00:07.784465"], ["id", 350]]
|
69550
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69551
|
+
Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 5.0ms)
|
69552
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69553
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69554
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
69555
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69556
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69557
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69558
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69559
|
+
Completed 422 Unprocessable Entity in 164ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
69560
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69561
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69562
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
69563
|
+
Completed 422 Unprocessable Entity in 167ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
69564
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69565
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69566
|
+
Parameters: {"provider"=>"google"}
|
69567
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
69568
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69569
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
69570
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
69571
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69572
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69573
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69574
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69575
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69576
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69577
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{004f61c1-fe55-4d14-ba04-e9f49c157deb}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 15:00:08.162848"], ["updated_at", "2018-07-27 15:00:08.162848"]]
|
69578
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69579
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.2ms)
|
69580
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.5ms
|
69581
|
+
Sent mail to user@mail.com (3.3ms)
|
69582
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69583
|
+
From: support@example.com
|
69584
|
+
To: user@mail.com
|
69585
|
+
Message-ID: <5b5b337829a86_3779e4864453082@merkulov.mail>
|
69586
|
+
Subject: Welcome !
|
69587
|
+
Mime-Version: 1.0
|
69588
|
+
Content-Type: text/html;
|
69589
|
+
charset=UTF-8
|
69590
|
+
Content-Transfer-Encoding: 7bit
|
69591
|
+
|
69592
|
+
<h1>Welcome</h1>
|
69593
|
+
user@mail.com
|
69594
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69595
|
+
Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 2.5ms)
|
69596
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69597
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69598
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69599
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69600
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
69601
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69602
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69603
|
+
[1m[36mApiUserAuth::AuthUser Update (0.4ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{004f61c1-fe55-4d14-ba04-e9f49c157deb,51b39241-42bf-4697-8ba8-68c301bce48e}"], ["updated_at", "2018-07-27 15:00:08.183723"], ["id", 351]]
|
69604
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69605
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 4.2ms)
|
69606
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69607
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69608
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
69609
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
69610
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69611
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69612
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{889f2f5c-790e-4b03-a232-a1da064ca5fa}"], ["created_at", "2018-07-27 15:00:08.192034"], ["updated_at", "2018-07-27 15:00:08.192034"]]
|
69613
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69614
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69615
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
69616
|
+
Sent mail to user@mail.com (1.2ms)
|
69617
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69618
|
+
From: support@example.com
|
69619
|
+
To: user@mail.com
|
69620
|
+
Message-ID: <5b5b33782f997_3779e48644531fd@merkulov.mail>
|
69621
|
+
Subject: Welcome !
|
69622
|
+
Mime-Version: 1.0
|
69623
|
+
Content-Type: text/html;
|
69624
|
+
charset=UTF-8
|
69625
|
+
Content-Transfer-Encoding: 7bit
|
69626
|
+
|
69627
|
+
<h1>Welcome</h1>
|
69628
|
+
user@mail.com
|
69629
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69630
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69631
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 352]]
|
69632
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
69633
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69634
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('889f2f5c-790e-4b03-a232-a1da064ca5fa' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
69635
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
69636
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69637
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 352], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 15:00:08.213469"], ["updated_at", "2018-07-27 15:00:08.213469"]]
|
69638
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69639
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 2.0ms)
|
69640
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 352]]
|
69641
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
69642
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
69643
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
69644
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 352], ["LIMIT", 1]]
|
69645
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69646
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{889f2f5c-790e-4b03-a232-a1da064ca5fa,46f375c9-6d89-4ba9-a06a-26281990d9eb}"], ["updated_at", "2018-07-27 15:00:08.217992"], ["id", 352]]
|
69647
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69648
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.8ms)
|
69649
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
69650
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69651
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69652
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69653
|
+
[1m[36mApiUserAuth::AuthUser Create (0.1ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{018608ac-b949-4ba8-901b-8fbc344f8a55}"], ["created_at", "2018-07-27 15:00:08.221289"], ["updated_at", "2018-07-27 15:00:08.221289"]]
|
69654
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69655
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69656
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69657
|
+
Sent mail to user@mail.com (0.9ms)
|
69658
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69659
|
+
From: support@example.com
|
69660
|
+
To: user@mail.com
|
69661
|
+
Message-ID: <5b5b3378367e9_3779e48644532e0@merkulov.mail>
|
69662
|
+
Subject: Welcome !
|
69663
|
+
Mime-Version: 1.0
|
69664
|
+
Content-Type: text/html;
|
69665
|
+
charset=UTF-8
|
69666
|
+
Content-Transfer-Encoding: 7bit
|
69667
|
+
|
69668
|
+
<h1>Welcome</h1>
|
69669
|
+
user@mail.com
|
69670
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69671
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
69672
|
+
Parameters: {"email"=>"user@mail.com"}
|
69673
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69674
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69675
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "564754"], ["updated_at", "2018-07-27 15:00:08.225283"], ["id", 353]]
|
69676
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69677
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
69678
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.2ms)
|
69679
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 5.8ms
|
69680
|
+
Sent mail to user@mail.com (0.8ms)
|
69681
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69682
|
+
From: support@example.com
|
69683
|
+
To: user@mail.com
|
69684
|
+
Message-ID: <5b5b337839355_3779e48644533f3@merkulov.mail>
|
69685
|
+
Subject: Password Code Reset
|
69686
|
+
Mime-Version: 1.0
|
69687
|
+
Content-Type: text/html;
|
69688
|
+
charset=UTF-8
|
69689
|
+
Content-Transfer-Encoding: 7bit
|
69690
|
+
|
69691
|
+
user@mail.com
|
69692
|
+
</br>
|
69693
|
+
<strong>564754</strong>
|
69694
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
69695
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 353], ["LIMIT", 1]]
|
69696
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69697
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69698
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69699
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69700
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{bb416e58-323b-4017-8938-9f27d1bef86e}"], ["created_at", "2018-07-27 15:00:08.237864"], ["updated_at", "2018-07-27 15:00:08.237864"]]
|
69701
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69702
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69703
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
69704
|
+
Sent mail to user@mail.com (0.8ms)
|
69705
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69706
|
+
From: support@example.com
|
69707
|
+
To: user@mail.com
|
69708
|
+
Message-ID: <5b5b33783a882_3779e4864453457@merkulov.mail>
|
69709
|
+
Subject: Welcome !
|
69710
|
+
Mime-Version: 1.0
|
69711
|
+
Content-Type: text/html;
|
69712
|
+
charset=UTF-8
|
69713
|
+
Content-Transfer-Encoding: 7bit
|
69714
|
+
|
69715
|
+
<h1>Welcome</h1>
|
69716
|
+
user@mail.com
|
69717
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69718
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
69719
|
+
Parameters: {"email"=>"user1@mail.com"}
|
69720
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
69721
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
69722
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 354], ["LIMIT", 1]]
|
69723
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69724
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69725
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69726
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69727
|
+
Parameters: {"email"=>"user@mail.com"}
|
69728
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69729
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69730
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69731
|
+
Parameters: {"password"=>"[FILTERED]"}
|
69732
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69733
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69734
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69735
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69736
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69737
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69738
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69739
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
69740
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69741
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69742
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69743
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69744
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69745
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69746
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{78603b45-fd63-49f0-923f-efa841a04ed6}"], ["created_at", "2018-07-27 15:00:08.252757"], ["updated_at", "2018-07-27 15:00:08.252757"]]
|
69747
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69748
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69749
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
69750
|
+
Sent mail to user@mail.com (0.9ms)
|
69751
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69752
|
+
From: support@example.com
|
69753
|
+
To: user@mail.com
|
69754
|
+
Message-ID: <5b5b33783e2e0_3779e48644535ef@merkulov.mail>
|
69755
|
+
Subject: Welcome !
|
69756
|
+
Mime-Version: 1.0
|
69757
|
+
Content-Type: text/html;
|
69758
|
+
charset=UTF-8
|
69759
|
+
Content-Transfer-Encoding: 7bit
|
69760
|
+
|
69761
|
+
<h1>Welcome</h1>
|
69762
|
+
user@mail.com
|
69763
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69764
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
69765
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69766
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69767
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69768
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69769
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
69770
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69771
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
69772
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69773
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69774
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
69775
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69776
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69777
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69778
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{f7ac2392-2c81-466c-a25e-393809c4f6af}"], ["created_at", "2018-07-27 15:00:08.261105"], ["updated_at", "2018-07-27 15:00:08.261105"]]
|
69779
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69780
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69781
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69782
|
+
Sent mail to user@mail.com (0.9ms)
|
69783
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69784
|
+
From: support@example.com
|
69785
|
+
To: user@mail.com
|
69786
|
+
Message-ID: <5b5b337840360_3779e486445368c@merkulov.mail>
|
69787
|
+
Subject: Welcome !
|
69788
|
+
Mime-Version: 1.0
|
69789
|
+
Content-Type: text/html;
|
69790
|
+
charset=UTF-8
|
69791
|
+
Content-Transfer-Encoding: 7bit
|
69792
|
+
|
69793
|
+
<h1>Welcome</h1>
|
69794
|
+
user@mail.com
|
69795
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69796
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
69797
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69798
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69799
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69800
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69801
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69802
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69803
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e92ccf49-c7c3-49b3-ae3f-e0bf1fd8a6a6}"], ["created_at", "2018-07-27 15:00:08.266805"], ["updated_at", "2018-07-27 15:00:08.266805"]]
|
69804
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69805
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69806
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69807
|
+
Sent mail to user@mail.com (0.8ms)
|
69808
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69809
|
+
From: support@example.com
|
69810
|
+
To: user@mail.com
|
69811
|
+
Message-ID: <5b5b337841968_3779e4864453787@merkulov.mail>
|
69812
|
+
Subject: Welcome !
|
69813
|
+
Mime-Version: 1.0
|
69814
|
+
Content-Type: text/html;
|
69815
|
+
charset=UTF-8
|
69816
|
+
Content-Transfer-Encoding: 7bit
|
69817
|
+
|
69818
|
+
<h1>Welcome</h1>
|
69819
|
+
user@mail.com
|
69820
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69821
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69822
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 15:00:08.269686"], ["id", 357]]
|
69823
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69824
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
69825
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
69826
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
69827
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
69828
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
69829
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69830
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69831
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69832
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
69833
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69834
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69835
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
69836
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
69837
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69838
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69839
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69840
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69841
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69842
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{f49bc010-b69e-4af1-ab2f-3be906afc705}"], ["created_at", "2018-07-27 15:00:08.276676"], ["updated_at", "2018-07-27 15:00:08.276676"]]
|
69843
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69844
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69845
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69846
|
+
Sent mail to user@mail.com (0.8ms)
|
69847
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69848
|
+
From: support@example.com
|
69849
|
+
To: user@mail.com
|
69850
|
+
Message-ID: <5b5b337844014_3779e4864453869@merkulov.mail>
|
69851
|
+
Subject: Welcome !
|
69852
|
+
Mime-Version: 1.0
|
69853
|
+
Content-Type: text/html;
|
69854
|
+
charset=UTF-8
|
69855
|
+
Content-Transfer-Encoding: 7bit
|
69856
|
+
|
69857
|
+
<h1>Welcome</h1>
|
69858
|
+
user@mail.com
|
69859
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69860
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69861
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 15:00:08.279544"], ["id", 358]]
|
69862
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69863
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
69864
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
69865
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69866
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69867
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{f49bc010-b69e-4af1-ab2f-3be906afc705,f0ff2f9e-1b49-43da-b817-2fa224dac563}"], ["updated_at", "2018-07-27 15:00:08.281726"], ["id", 358]]
|
69868
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69869
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
69870
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 358], ["LIMIT", 1]]
|
69871
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69872
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69873
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
69874
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69876
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "c6e6249f58ffc50b4a70579aa55893b5f68b0051578b54ce83ec182931263c6b"], ["created_at", "2018-07-27 15:00:08.285778"], ["updated_at", "2018-07-27 15:00:08.285778"]]
|
69877
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69878
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69879
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69880
|
+
Sent mail to 10101010@facebook.com (1.0ms)
|
69881
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69882
|
+
From: support@example.com
|
69883
|
+
To: 10101010@facebook.com
|
69884
|
+
Message-ID: <5b5b3378463bf_3779e486445393d@merkulov.mail>
|
69885
|
+
Subject: Welcome !
|
69886
|
+
Mime-Version: 1.0
|
69887
|
+
Content-Type: text/html;
|
69888
|
+
charset=UTF-8
|
69889
|
+
Content-Transfer-Encoding: 7bit
|
69890
|
+
|
69891
|
+
<h1>Welcome</h1>
|
69892
|
+
10101010@facebook.com
|
69893
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69894
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
|
69895
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69896
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 359], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-27 15:00:08.289797"], ["updated_at", "2018-07-27 15:00:08.289797"]]
|
69897
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69898
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
69899
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69900
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69901
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69902
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69903
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69904
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69905
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
69906
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69907
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69908
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69909
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{e2eaf89d-3164-4e10-94bf-db058cd125b5}"], ["created_at", "2018-07-27 15:00:08.296307"], ["updated_at", "2018-07-27 15:00:08.296307"]]
|
69910
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69911
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69912
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69913
|
+
Sent mail to user@mail.com (0.9ms)
|
69914
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69915
|
+
From: support@example.com
|
69916
|
+
To: user@mail.com
|
69917
|
+
Message-ID: <5b5b337848d4d_3779e4864454054@merkulov.mail>
|
69918
|
+
Subject: Welcome !
|
69919
|
+
Mime-Version: 1.0
|
69920
|
+
Content-Type: text/html;
|
69921
|
+
charset=UTF-8
|
69922
|
+
Content-Transfer-Encoding: 7bit
|
69923
|
+
|
69924
|
+
<h1>Welcome</h1>
|
69925
|
+
user@mail.com
|
69926
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69927
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69928
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69929
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69930
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69931
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69932
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{15ac3f5f-046c-42c3-be31-f95935810fb7}"], ["created_at", "2018-07-27 15:00:08.301427"], ["updated_at", "2018-07-27 15:00:08.301427"]]
|
69933
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69934
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69935
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
69936
|
+
Sent mail to user@mail.com (0.9ms)
|
69937
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69938
|
+
From: support@example.com
|
69939
|
+
To: user@mail.com
|
69940
|
+
Message-ID: <5b5b33784a0be_3779e48644541ba@merkulov.mail>
|
69941
|
+
Subject: Welcome !
|
69942
|
+
Mime-Version: 1.0
|
69943
|
+
Content-Type: text/html;
|
69944
|
+
charset=UTF-8
|
69945
|
+
Content-Transfer-Encoding: 7bit
|
69946
|
+
|
69947
|
+
<h1>Welcome</h1>
|
69948
|
+
user@mail.com
|
69949
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69950
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69951
|
+
Processing by TestController#index as HTML
|
69952
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69953
|
+
Processing by TestController#index as HTML
|
69954
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
69955
|
+
Processing by TestController#index as HTML
|
69956
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('179d2452-8e22-4342-bb6b-64a4c6360b3f' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
69957
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
69958
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69959
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
69960
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69961
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69962
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{071488fc-2d79-4a0e-9952-b267f8a8b265}"], ["created_at", "2018-07-27 15:00:08.309887"], ["updated_at", "2018-07-27 15:00:08.309887"]]
|
69963
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69964
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
69965
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
69966
|
+
Sent mail to user@mail.com (0.9ms)
|
69967
|
+
Date: Fri, 27 Jul 2018 18:00:08 +0300
|
69968
|
+
From: support@example.com
|
69969
|
+
To: user@mail.com
|
69970
|
+
Message-ID: <5b5b33784c2e0_3779e48644542f5@merkulov.mail>
|
69971
|
+
Subject: Welcome !
|
69972
|
+
Mime-Version: 1.0
|
69973
|
+
Content-Type: text/html;
|
69974
|
+
charset=UTF-8
|
69975
|
+
Content-Transfer-Encoding: 7bit
|
69976
|
+
|
69977
|
+
<h1>Welcome</h1>
|
69978
|
+
user@mail.com
|
69979
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
69980
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
69981
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
69982
|
+
Processing by TestController#index as HTML
|
69983
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('071488fc-2d79-4a0e-9952-b267f8a8b265' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
69984
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
69985
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
69986
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
69987
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
69988
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
69989
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69990
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{913cf228-e0f0-47ee-b5fe-c270db6bc80a}"], ["created_at", "2018-07-27 15:00:13.751961"], ["updated_at", "2018-07-27 15:00:13.751961"]]
|
69991
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
69992
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.5ms)
|
69993
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 118.0ms
|
69994
|
+
Sent mail to user@mail.com (3.1ms)
|
69995
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
69996
|
+
From: support@example.com
|
69997
|
+
To: user@mail.com
|
69998
|
+
Message-ID: <5b5b337de2d79_378eef8648898d7@merkulov.mail>
|
69999
|
+
Subject: Welcome !
|
70000
|
+
Mime-Version: 1.0
|
70001
|
+
Content-Type: text/html;
|
70002
|
+
charset=UTF-8
|
70003
|
+
Content-Transfer-Encoding: 7bit
|
70004
|
+
|
70005
|
+
<h1>Welcome</h1>
|
70006
|
+
user@mail.com
|
70007
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70008
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70009
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70010
|
+
Processing by TestController#index as HTML
|
70011
|
+
[1m[36mApiUserAuth::AuthUser Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('913cf228-e0f0-47ee-b5fe-c270db6bc80a' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
70012
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
70013
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
70014
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
70015
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70016
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70017
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{9e509a6c-9968-42dc-b57f-cb4c54db2b4a}"], ["created_at", "2018-07-27 15:00:13.938931"], ["updated_at", "2018-07-27 15:00:13.938931"]]
|
70018
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70019
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70020
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
70021
|
+
Sent mail to user@mail.com (1.3ms)
|
70022
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
70023
|
+
From: support@example.com
|
70024
|
+
To: user@mail.com
|
70025
|
+
Message-ID: <5b5b337de5da2_378eef864889923@merkulov.mail>
|
70026
|
+
Subject: Welcome !
|
70027
|
+
Mime-Version: 1.0
|
70028
|
+
Content-Type: text/html;
|
70029
|
+
charset=UTF-8
|
70030
|
+
Content-Transfer-Encoding: 7bit
|
70031
|
+
|
70032
|
+
<h1>Welcome</h1>
|
70033
|
+
user@mail.com
|
70034
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70035
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70036
|
+
Processing by TestController#index as HTML
|
70037
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70038
|
+
Processing by TestController#index as HTML
|
70039
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70040
|
+
Processing by TestController#index as HTML
|
70041
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('def13f14-dab9-42e2-baee-ee6261ee3ef6' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
70042
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
70043
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
70044
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70045
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70046
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70047
|
+
Parameters: {"email"=>"user@mail.com"}
|
70048
|
+
Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70049
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70050
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70051
|
+
Parameters: {"password"=>"[FILTERED]"}
|
70052
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70053
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70054
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70055
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70056
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70057
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70058
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70059
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
70060
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70061
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70062
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70063
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70064
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70065
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70066
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{39dee018-8ca6-40c3-a7e9-682f20dd880f}"], ["created_at", "2018-07-27 15:00:13.962850"], ["updated_at", "2018-07-27 15:00:13.962850"]]
|
70067
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70068
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70069
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.9ms
|
70070
|
+
Sent mail to user@mail.com (1.3ms)
|
70071
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
70072
|
+
From: support@example.com
|
70073
|
+
To: user@mail.com
|
70074
|
+
Message-ID: <5b5b337debb3b_378eef864890096@merkulov.mail>
|
70075
|
+
Subject: Welcome !
|
70076
|
+
Mime-Version: 1.0
|
70077
|
+
Content-Type: text/html;
|
70078
|
+
charset=UTF-8
|
70079
|
+
Content-Transfer-Encoding: 7bit
|
70080
|
+
|
70081
|
+
<h1>Welcome</h1>
|
70082
|
+
user@mail.com
|
70083
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70084
|
+
Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
70085
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70086
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70087
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70088
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70089
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
70090
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70091
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70092
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70093
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70094
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
70095
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70096
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70097
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70098
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{a967d9b1-58d5-4240-9c44-dd34be657f11}"], ["created_at", "2018-07-27 15:00:13.972753"], ["updated_at", "2018-07-27 15:00:13.972753"]]
|
70099
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70100
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70101
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
70102
|
+
Sent mail to user@mail.com (1.3ms)
|
70103
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
70104
|
+
From: support@example.com
|
70105
|
+
To: user@mail.com
|
70106
|
+
Message-ID: <5b5b337dee1b0_378eef864890166@merkulov.mail>
|
70107
|
+
Subject: Welcome !
|
70108
|
+
Mime-Version: 1.0
|
70109
|
+
Content-Type: text/html;
|
70110
|
+
charset=UTF-8
|
70111
|
+
Content-Transfer-Encoding: 7bit
|
70112
|
+
|
70113
|
+
<h1>Welcome</h1>
|
70114
|
+
user@mail.com
|
70115
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70116
|
+
Completed 201 Created in 5ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
70117
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70118
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70119
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70120
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70121
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70122
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70123
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{1ef86909-a15f-4758-998d-b1c0dcb25326}"], ["created_at", "2018-07-27 15:00:13.980126"], ["updated_at", "2018-07-27 15:00:13.980126"]]
|
70124
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70125
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
70126
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
70127
|
+
Sent mail to user@mail.com (1.3ms)
|
70128
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
70129
|
+
From: support@example.com
|
70130
|
+
To: user@mail.com
|
70131
|
+
Message-ID: <5b5b337deffdc_378eef864890265@merkulov.mail>
|
70132
|
+
Subject: Welcome !
|
70133
|
+
Mime-Version: 1.0
|
70134
|
+
Content-Type: text/html;
|
70135
|
+
charset=UTF-8
|
70136
|
+
Content-Transfer-Encoding: 7bit
|
70137
|
+
|
70138
|
+
<h1>Welcome</h1>
|
70139
|
+
user@mail.com
|
70140
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70141
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
70142
|
+
Parameters: {"email"=>"user@mail.com"}
|
70143
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70144
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70145
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "532236"], ["updated_at", "2018-07-27 15:00:13.986228"], ["id", 367]]
|
70146
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70147
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
70148
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
|
70149
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 6.4ms
|
70150
|
+
Sent mail to user@mail.com (1.3ms)
|
70151
|
+
Date: Fri, 27 Jul 2018 18:00:13 +0300
|
70152
|
+
From: support@example.com
|
70153
|
+
To: user@mail.com
|
70154
|
+
Message-ID: <5b5b337df3458_378eef86489031f@merkulov.mail>
|
70155
|
+
Subject: Password Code Reset
|
70156
|
+
Mime-Version: 1.0
|
70157
|
+
Content-Type: text/html;
|
70158
|
+
charset=UTF-8
|
70159
|
+
Content-Transfer-Encoding: 7bit
|
70160
|
+
|
70161
|
+
user@mail.com
|
70162
|
+
</br>
|
70163
|
+
<strong>532236</strong>
|
70164
|
+
Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
70165
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 367], ["LIMIT", 1]]
|
70166
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70167
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70168
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70169
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70170
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{40c5a6f7-d954-49cb-a8ae-5c12d3b6806c}"], ["created_at", "2018-07-27 15:00:14.000757"], ["updated_at", "2018-07-27 15:00:14.000757"]]
|
70171
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70172
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70173
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
70174
|
+
Sent mail to user@mail.com (1.0ms)
|
70175
|
+
Date: Fri, 27 Jul 2018 18:00:14 +0300
|
70176
|
+
From: support@example.com
|
70177
|
+
To: user@mail.com
|
70178
|
+
Message-ID: <5b5b337eb97_378eef86489045a@merkulov.mail>
|
70179
|
+
Subject: Welcome !
|
70180
|
+
Mime-Version: 1.0
|
70181
|
+
Content-Type: text/html;
|
70182
|
+
charset=UTF-8
|
70183
|
+
Content-Transfer-Encoding: 7bit
|
70184
|
+
|
70185
|
+
<h1>Welcome</h1>
|
70186
|
+
user@mail.com
|
70187
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70188
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
70189
|
+
Parameters: {"email"=>"user1@mail.com"}
|
70190
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
70191
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
70192
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 368], ["LIMIT", 1]]
|
70193
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70194
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70195
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70196
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70197
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
70198
|
+
Completed 422 Unprocessable Entity in 362ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
70199
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70200
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70201
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
70202
|
+
Completed 422 Unprocessable Entity in 396ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
70203
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70204
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70205
|
+
Parameters: {"provider"=>"instagram"}
|
70206
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
70207
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70208
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
70209
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
70210
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70211
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70212
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
70213
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70214
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70215
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70216
|
+
[1m[36mApiUserAuth::AuthUser Create (0.4ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{d0841ec1-555e-4949-bd89-f510ac9654a6}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-27 15:00:14.815770"], ["updated_at", "2018-07-27 15:00:14.815770"]]
|
70217
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70218
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70219
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
70220
|
+
Sent mail to user@mail.com (1.4ms)
|
70221
|
+
Date: Fri, 27 Jul 2018 18:00:14 +0300
|
70222
|
+
From: support@example.com
|
70223
|
+
To: user@mail.com
|
70224
|
+
Message-ID: <5b5b337ec7fbc_378eef864890584@merkulov.mail>
|
70225
|
+
Subject: Welcome !
|
70226
|
+
Mime-Version: 1.0
|
70227
|
+
Content-Type: text/html;
|
70228
|
+
charset=UTF-8
|
70229
|
+
Content-Transfer-Encoding: 7bit
|
70230
|
+
|
70231
|
+
<h1>Welcome</h1>
|
70232
|
+
user@mail.com
|
70233
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70234
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 3.1ms)
|
70235
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70236
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70237
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70238
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
70239
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70240
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70241
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70242
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{d0841ec1-555e-4949-bd89-f510ac9654a6,6d4a3aa5-3b3c-461a-880e-51d518ca3d48}"], ["updated_at", "2018-07-27 15:00:14.824727"], ["id", 369]]
|
70243
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70244
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 3.9ms)
|
70245
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70246
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70247
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70248
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70249
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70250
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70251
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
70252
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70253
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70254
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70255
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{3e5dcb58-99e3-4eb3-a47c-67fb8e2c34a5}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-27 15:00:14.831571"], ["updated_at", "2018-07-27 15:00:14.831571"]]
|
70256
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70257
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70258
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
70259
|
+
Sent mail to user@mail.com (1.0ms)
|
70260
|
+
Date: Fri, 27 Jul 2018 18:00:14 +0300
|
70261
|
+
From: support@example.com
|
70262
|
+
To: user@mail.com
|
70263
|
+
Message-ID: <5b5b337ecb93f_378eef864890638@merkulov.mail>
|
70264
|
+
Subject: Welcome !
|
70265
|
+
Mime-Version: 1.0
|
70266
|
+
Content-Type: text/html;
|
70267
|
+
charset=UTF-8
|
70268
|
+
Content-Transfer-Encoding: 7bit
|
70269
|
+
|
70270
|
+
<h1>Welcome</h1>
|
70271
|
+
user@mail.com
|
70272
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70273
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
70274
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70275
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70276
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70277
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
70278
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70279
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70280
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70281
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{3e5dcb58-99e3-4eb3-a47c-67fb8e2c34a5,973a321e-2df1-4ea4-9b8a-c8ddea016229}"], ["updated_at", "2018-07-27 15:00:14.838194"], ["id", 370]]
|
70282
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70283
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 1.5ms)
|
70284
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70285
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70286
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70287
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70288
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70289
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70290
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
70291
|
+
Completed 422 Unprocessable Entity in 303ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
70292
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70293
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70294
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
70295
|
+
Completed 422 Unprocessable Entity in 291ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
70296
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70297
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70298
|
+
Parameters: {"provider"=>"facebook"}
|
70299
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
70300
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70301
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
70302
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
70303
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70304
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70305
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
70306
|
+
Completed 422 Unprocessable Entity in 162ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
70307
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70308
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70309
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
70310
|
+
Completed 422 Unprocessable Entity in 171ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
70311
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70312
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70313
|
+
Parameters: {"provider"=>"google"}
|
70314
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
70315
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70316
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
70317
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
70318
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70319
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70320
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
70321
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.5ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70322
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70323
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70324
|
+
[1m[36mApiUserAuth::AuthUser Create (0.8ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "user_provider_data", "provider", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "token"], ["auth_tokens", "{5cee6013-a517-446f-a904-b71f7f354fb8}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-27 15:00:15.806522"], ["updated_at", "2018-07-27 15:00:15.806522"]]
|
70325
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70326
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
70327
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.4ms
|
70328
|
+
Sent mail to user@mail.com (3.3ms)
|
70329
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70330
|
+
From: support@example.com
|
70331
|
+
To: user@mail.com
|
70332
|
+
Message-ID: <5b5b337fc6c82_378eef86489075@merkulov.mail>
|
70333
|
+
Subject: Welcome !
|
70334
|
+
Mime-Version: 1.0
|
70335
|
+
Content-Type: text/html;
|
70336
|
+
charset=UTF-8
|
70337
|
+
Content-Transfer-Encoding: 7bit
|
70338
|
+
|
70339
|
+
<h1>Welcome</h1>
|
70340
|
+
user@mail.com
|
70341
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70342
|
+
Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 2.5ms)
|
70343
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70344
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70345
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70346
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
70347
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" IS NULL AND "api_user_auth_provider_tokens"."user_id" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
70348
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70349
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70350
|
+
[1m[36mApiUserAuth::AuthUser Update (0.5ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{5cee6013-a517-446f-a904-b71f7f354fb8,49b89875-22e7-4df5-b246-1daff964b94d}"], ["updated_at", "2018-07-27 15:00:15.827705"], ["id", 371]]
|
70351
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70352
|
+
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 4.2ms)
|
70353
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70354
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70355
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
70356
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
70357
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70358
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70359
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{0027c6ad-fb19-424e-adc5-e589e2bf5324}"], ["created_at", "2018-07-27 15:00:15.836047"], ["updated_at", "2018-07-27 15:00:15.836047"]]
|
70360
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70361
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70362
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.1ms
|
70363
|
+
Sent mail to user@mail.com (1.4ms)
|
70364
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70365
|
+
From: support@example.com
|
70366
|
+
To: user@mail.com
|
70367
|
+
Message-ID: <5b5b337fcce5c_378eef864890872@merkulov.mail>
|
70368
|
+
Subject: Welcome !
|
70369
|
+
Mime-Version: 1.0
|
70370
|
+
Content-Type: text/html;
|
70371
|
+
charset=UTF-8
|
70372
|
+
Content-Transfer-Encoding: 7bit
|
70373
|
+
|
70374
|
+
<h1>Welcome</h1>
|
70375
|
+
user@mail.com
|
70376
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70377
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
70378
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('0027c6ad-fb19-424e-adc5-e589e2bf5324' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
70379
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70380
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{}"], ["updated_at", "2018-07-27 15:00:15.842871"], ["id", 372]]
|
70381
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70382
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
70383
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 372], ["LIMIT", 1]]
|
70384
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
70385
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70386
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70387
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70388
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b673b6be-a455-4a70-a248-cd58162c359c}"], ["created_at", "2018-07-27 15:00:15.848397"], ["updated_at", "2018-07-27 15:00:15.848397"]]
|
70389
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70390
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70391
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
70392
|
+
Sent mail to user@mail.com (1.4ms)
|
70393
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70394
|
+
From: support@example.com
|
70395
|
+
To: user@mail.com
|
70396
|
+
Message-ID: <5b5b337fcfdb3_378eef864890991@merkulov.mail>
|
70397
|
+
Subject: Welcome !
|
70398
|
+
Mime-Version: 1.0
|
70399
|
+
Content-Type: text/html;
|
70400
|
+
charset=UTF-8
|
70401
|
+
Content-Transfer-Encoding: 7bit
|
70402
|
+
|
70403
|
+
<h1>Welcome</h1>
|
70404
|
+
user@mail.com
|
70405
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70406
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
70407
|
+
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('e878b4aa-65ab-44f2-8a2b-c3c6bcebfb11' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
70408
|
+
Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
70409
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 373], ["LIMIT", 1]]
|
70410
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70411
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70412
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70413
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70414
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{b28b7491-fe94-4ebe-941d-da2487ab1e70}"], ["created_at", "2018-07-27 15:00:15.859297"], ["updated_at", "2018-07-27 15:00:15.859297"]]
|
70415
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70416
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70417
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 1.0ms
|
70418
|
+
Sent mail to user@mail.com (1.5ms)
|
70419
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70420
|
+
From: support@example.com
|
70421
|
+
To: user@mail.com
|
70422
|
+
Message-ID: <5b5b337fd2885_378eef864891042@merkulov.mail>
|
70423
|
+
Subject: Welcome !
|
70424
|
+
Mime-Version: 1.0
|
70425
|
+
Content-Type: text/html;
|
70426
|
+
charset=UTF-8
|
70427
|
+
Content-Transfer-Encoding: 7bit
|
70428
|
+
|
70429
|
+
<h1>Welcome</h1>
|
70430
|
+
user@mail.com
|
70431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70432
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70433
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70434
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
70435
|
+
Parameters: {"email"=>"user@mail.com"}
|
70436
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70437
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
70438
|
+
Parameters: {"password"=>"[FILTERED]"}
|
70439
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
70440
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
70441
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
70442
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user2@mail.com"], ["LIMIT", 1]]
|
70443
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
70444
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
70445
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70446
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70447
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
70448
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
70449
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70450
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70451
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70452
|
+
[1m[36mApiUserAuth::AuthUser Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{af4422e1-78aa-42f2-b9cd-da5e044fa3ec}"], ["created_at", "2018-07-27 15:00:15.873501"], ["updated_at", "2018-07-27 15:00:15.873501"]]
|
70453
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70454
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70455
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
70456
|
+
Sent mail to user@mail.com (1.0ms)
|
70457
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70458
|
+
From: support@example.com
|
70459
|
+
To: user@mail.com
|
70460
|
+
Message-ID: <5b5b337fd5d64_378eef86489115b@merkulov.mail>
|
70461
|
+
Subject: Welcome !
|
70462
|
+
Mime-Version: 1.0
|
70463
|
+
Content-Type: text/html;
|
70464
|
+
charset=UTF-8
|
70465
|
+
Content-Transfer-Encoding: 7bit
|
70466
|
+
|
70467
|
+
<h1>Welcome</h1>
|
70468
|
+
user@mail.com
|
70469
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70470
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70471
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70472
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
70473
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70474
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70475
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70476
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{af4422e1-78aa-42f2-b9cd-da5e044fa3ec,9daf50c7-8e93-46ec-ab35-60e3da55d500}"], ["updated_at", "2018-07-27 15:00:15.879330"], ["id", 375]]
|
70477
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70478
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
70479
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" ORDER BY "api_user_auth_auth_users"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
70480
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70481
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70482
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70483
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70484
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{1f916d4b-3fd1-4118-b63d-418fe474f178}"], ["created_at", "2018-07-27 15:00:15.883333"], ["updated_at", "2018-07-27 15:00:15.883333"]]
|
70485
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70486
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70487
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
70488
|
+
Sent mail to user@mail.com (1.2ms)
|
70489
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70490
|
+
From: support@example.com
|
70491
|
+
To: user@mail.com
|
70492
|
+
Message-ID: <5b5b337fd8304_378eef86489125e@merkulov.mail>
|
70493
|
+
Subject: Welcome !
|
70494
|
+
Mime-Version: 1.0
|
70495
|
+
Content-Type: text/html;
|
70496
|
+
charset=UTF-8
|
70497
|
+
Content-Transfer-Encoding: 7bit
|
70498
|
+
|
70499
|
+
<h1>Welcome</h1>
|
70500
|
+
user@mail.com
|
70501
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70502
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70503
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 376]]
|
70504
|
+
Processing by ApiUserAuth::AuthController#add_provider as HTML
|
70505
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
70506
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('1f916d4b-3fd1-4118-b63d-418fe474f178' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
70507
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
70508
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70509
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.3ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 376], ["provider", 1], ["user_id", "102030"], ["user_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\",\"provider\":\"google\",\"id\":\"102030\"}"], ["created_at", "2018-07-27 15:00:15.901970"], ["updated_at", "2018-07-27 15:00:15.901970"]]
|
70510
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70511
|
+
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.8ms)
|
70512
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."auth_user_id" = $1[0m [["auth_user_id", 376]]
|
70513
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
70514
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
70515
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 1], ["user_id", "102030"], ["LIMIT", 1]]
|
70516
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 376], ["LIMIT", 1]]
|
70517
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70518
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "auth_tokens" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["auth_tokens", "{1f916d4b-3fd1-4118-b63d-418fe474f178,034bbb2c-42ea-4ec4-8989-f92c03d9def1}"], ["updated_at", "2018-07-27 15:00:15.906444"], ["id", 376]]
|
70519
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70520
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 2.7ms)
|
70521
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70522
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70523
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70524
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70525
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{a3712962-f9b0-41e5-b0df-a8d681a346b5}"], ["created_at", "2018-07-27 15:00:15.909881"], ["updated_at", "2018-07-27 15:00:15.909881"]]
|
70526
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70527
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70528
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
70529
|
+
Sent mail to user@mail.com (0.9ms)
|
70530
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70531
|
+
From: support@example.com
|
70532
|
+
To: user@mail.com
|
70533
|
+
Message-ID: <5b5b337fde9e5_378eef864891342@merkulov.mail>
|
70534
|
+
Subject: Welcome !
|
70535
|
+
Mime-Version: 1.0
|
70536
|
+
Content-Type: text/html;
|
70537
|
+
charset=UTF-8
|
70538
|
+
Content-Transfer-Encoding: 7bit
|
70539
|
+
|
70540
|
+
<h1>Welcome</h1>
|
70541
|
+
user@mail.com
|
70542
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70543
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70544
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 15:00:15.912900"], ["id", 377]]
|
70545
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70546
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
70547
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70548
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70549
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70550
|
+
[1m[36mApiUserAuth::AuthUser Update (0.3ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "encrypted_password" = $1, "auth_tokens" = $2, "updated_at" = $3 WHERE "api_user_auth_auth_users"."id" = $4[0m [["encrypted_password", "12ade6a91f185f6f2901c1a542fea73a4c9e3598f6a4dfd18e2c3338eaf1d306"], ["auth_tokens", "{a3712962-f9b0-41e5-b0df-a8d681a346b5,95e60f7a-4967-4a81-b5c1-7bab33a54066}"], ["updated_at", "2018-07-27 15:00:15.915238"], ["id", 377]]
|
70551
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70552
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
70553
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."id" = $1 LIMIT $2[0m [["id", 377], ["LIMIT", 1]]
|
70554
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70555
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70556
|
+
[1m[36mApiUserAuth::AuthUser Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70557
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70558
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{fd318141-0f51-4d96-8243-bf1e605ad583}"], ["created_at", "2018-07-27 15:00:15.919605"], ["updated_at", "2018-07-27 15:00:15.919605"]]
|
70559
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70560
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70561
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
70562
|
+
Sent mail to user@mail.com (0.9ms)
|
70563
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70564
|
+
From: support@example.com
|
70565
|
+
To: user@mail.com
|
70566
|
+
Message-ID: <5b5b337fe0f83_378eef864891480@merkulov.mail>
|
70567
|
+
Subject: Welcome !
|
70568
|
+
Mime-Version: 1.0
|
70569
|
+
Content-Type: text/html;
|
70570
|
+
charset=UTF-8
|
70571
|
+
Content-Transfer-Encoding: 7bit
|
70572
|
+
|
70573
|
+
<h1>Welcome</h1>
|
70574
|
+
user@mail.com
|
70575
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70576
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70577
|
+
[1m[36mApiUserAuth::AuthUser Update (0.2ms)[0m [1m[33mUPDATE "api_user_auth_auth_users" SET "code" = $1, "updated_at" = $2 WHERE "api_user_auth_auth_users"."id" = $3[0m [["code", "123456"], ["updated_at", "2018-07-27 15:00:15.922549"], ["id", 378]]
|
70578
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70579
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
70580
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
70581
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user1@mail.com"], ["LIMIT", 1]]
|
70582
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
70583
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
70584
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70585
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70586
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
70587
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
70588
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
70589
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
70590
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
70591
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
70592
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
70593
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70594
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70595
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70596
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70597
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70598
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70599
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70600
|
+
[1m[36mApiUserAuth::AuthUser Load (0.1ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE "api_user_auth_auth_users"."email" = $1 LIMIT $2[0m [["email", "user@mail.com"], ["LIMIT", 1]]
|
70601
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70602
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "auth_tokens", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@mail.com"], ["encrypted_password", "6791129422e976a37f2df5a4f7de472b3490f7858421be449928feb3c8b0e8d7"], ["auth_tokens", "{f889d153-9f36-4acc-acc5-4ece82d37b49}"], ["created_at", "2018-07-27 15:00:15.933532"], ["updated_at", "2018-07-27 15:00:15.933532"]]
|
70603
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70604
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70605
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
70606
|
+
Sent mail to user@mail.com (0.8ms)
|
70607
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70608
|
+
From: support@example.com
|
70609
|
+
To: user@mail.com
|
70610
|
+
Message-ID: <5b5b337fe4644_378eef8648915eb@merkulov.mail>
|
70611
|
+
Subject: Welcome !
|
70612
|
+
Mime-Version: 1.0
|
70613
|
+
Content-Type: text/html;
|
70614
|
+
charset=UTF-8
|
70615
|
+
Content-Transfer-Encoding: 7bit
|
70616
|
+
|
70617
|
+
<h1>Welcome</h1>
|
70618
|
+
user@mail.com
|
70619
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70620
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70621
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
70622
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
70623
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
70624
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70625
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70626
|
+
[1m[36mApiUserAuth::AuthUser Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_auth_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "10101010@facebook.com"], ["encrypted_password", "1f7a54138be61917b2f6fc5eef3d29343796137d853b2e6712e84632fde9cdd0"], ["created_at", "2018-07-27 15:00:15.938748"], ["updated_at", "2018-07-27 15:00:15.938748"]]
|
70627
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
70628
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
70629
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
70630
|
+
Sent mail to 10101010@facebook.com (0.8ms)
|
70631
|
+
Date: Fri, 27 Jul 2018 18:00:15 +0300
|
70632
|
+
From: support@example.com
|
70633
|
+
To: 10101010@facebook.com
|
70634
|
+
Message-ID: <5b5b337fe5a25_378eef864891694@merkulov.mail>
|
70635
|
+
Subject: Welcome !
|
70636
|
+
Mime-Version: 1.0
|
70637
|
+
Content-Type: text/html;
|
70638
|
+
charset=UTF-8
|
70639
|
+
Content-Transfer-Encoding: 7bit
|
70640
|
+
|
70641
|
+
<h1>Welcome</h1>
|
70642
|
+
10101010@facebook.com
|
70643
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70644
|
+
[1m[36mApiUserAuth::ProviderToken Load (0.2ms)[0m [1m[34mSELECT "api_user_auth_provider_tokens".* FROM "api_user_auth_provider_tokens" WHERE "api_user_auth_provider_tokens"."provider" = $1 AND "api_user_auth_provider_tokens"."user_id" = $2 LIMIT $3[0m [["provider", 0], ["user_id", "10101010"], ["LIMIT", 1]]
|
70645
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
70646
|
+
[1m[36mApiUserAuth::ProviderToken Create (0.2ms)[0m [1m[32mINSERT INTO "api_user_auth_provider_tokens" ("auth_user_id", "provider", "user_id", "user_data", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["auth_user_id", 380], ["provider", 0], ["user_id", "10101010"], ["user_data", "{\"id\":\"10101010\",\"name\":\"Test\",\"provider\":\"facebook\",\"email\":\"mail@mail.com\",\"img_url\":\"img\"}"], ["created_at", "2018-07-27 15:00:15.942467"], ["updated_at", "2018-07-27 15:00:15.942467"]]
|
70647
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
70648
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_provider_tokens"[0m
|
70649
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
70650
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|