api_user_auth 0.0.12 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/api_user_auth/auth_user.rb +1 -0
- data/lib/api_user_auth/version.rb +1 -1
- data/spec/dummy/log/test.log +585 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14ccd567f2514189726a4dd9d4423a00402ec75083d1f1a3c124ba125dfca47b
|
4
|
+
data.tar.gz: 8e9cc6376873cd8cd9a5cb52c53561938ce68e65af33b4bd50693c4b3affe3bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a00f3a899a3ee465711d869b2aa99f3b84b9cc1b8be8d890142f596b809972a50e77423e1d2c72a43deee141160741dc0066d4f3199e5cd5a7ee84cb52a0e8b7
|
7
|
+
data.tar.gz: 92b618e8ac88eb50e651031f2d7dcffbcee7f5afde785e1a1a7998d64469dcb829cf89e55b1c15738ac2c099f2ba2d418cca8f811d44e74e19444da0f4677ec7
|
data/spec/dummy/log/test.log
CHANGED
@@ -42939,3 +42939,588 @@ Processing by ApiUserAuth::AuthController#password as HTML
|
|
42939
42939
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
42940
42940
|
[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", 302], ["LIMIT", 1]]
|
42941
42941
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
42942
|
+
[1m[35m (37.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
42943
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
42944
|
+
[1m[35m (51.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42945
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42946
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
42947
|
+
Completed 422 Unprocessable Entity in 372ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
42948
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42949
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42950
|
+
Parameters: {"provider"=>"instagram2", "token"=>"token"}
|
42951
|
+
Completed 422 Unprocessable Entity in 631ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
42952
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42953
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42954
|
+
Parameters: {"provider"=>"instagram"}
|
42955
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
42956
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42957
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
42958
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
42959
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42960
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42961
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
42962
|
+
[1m[36mApiUserAuth::AuthUser Load (0.7ms)[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]]
|
42963
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
42964
|
+
[1m[36mApiUserAuth::AuthUser Create (19.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", "{2a72d41d-360d-4038-9f16-0d3ae3d50a8e}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "instagram"], ["created_at", "2018-07-24 07:28:15.482586"], ["updated_at", "2018-07-24 07:28:15.482586"]]
|
42965
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
42966
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (9.0ms)
|
42967
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 245.1ms
|
42968
|
+
Sent mail to user@mail.com (3.6ms)
|
42969
|
+
Date: Tue, 24 Jul 2018 10:28:15 +0300
|
42970
|
+
From: support@example.com
|
42971
|
+
To: user@mail.com
|
42972
|
+
Message-ID: <5b56d50fef59f_4bab4d664c71799@merkulov.mail>
|
42973
|
+
Subject: Welcome !
|
42974
|
+
Mime-Version: 1.0
|
42975
|
+
Content-Type: text/html;
|
42976
|
+
charset=UTF-8
|
42977
|
+
Content-Transfer-Encoding: 7bit
|
42978
|
+
|
42979
|
+
<h1>Welcome</h1>
|
42980
|
+
user@mail.com
|
42981
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
42982
|
+
Completed 200 OK in 530ms (Views: 0.1ms | ActiveRecord: 26.4ms)
|
42983
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42984
|
+
[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]]
|
42985
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42986
|
+
Parameters: {"provider"=>"instagram", "token"=>"token"}
|
42987
|
+
[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]]
|
42988
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
42989
|
+
[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", "{2a72d41d-360d-4038-9f16-0d3ae3d50a8e,d1d6ba77-85ad-4f6b-a9a8-7902538f0f85}"], ["updated_at", "2018-07-24 07:28:16.000918"], ["id", 303]]
|
42990
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
42991
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 27.7ms)
|
42992
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42993
|
+
[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]]
|
42994
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
42995
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
42996
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
42997
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
42998
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
42999
|
+
Completed 422 Unprocessable Entity in 301ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
43000
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43001
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43002
|
+
Parameters: {"provider"=>"facebook2", "token"=>"token"}
|
43003
|
+
Completed 422 Unprocessable Entity in 280ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
43004
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43005
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43006
|
+
Parameters: {"provider"=>"facebook"}
|
43007
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
43008
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43009
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
43010
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
43011
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43012
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43013
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
43014
|
+
[1m[36mApiUserAuth::AuthUser Load (0.6ms)[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]]
|
43015
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43016
|
+
[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", "{a05180cc-ffef-434c-a8dd-4714224784e3}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "facebook"], ["created_at", "2018-07-24 07:28:16.614741"], ["updated_at", "2018-07-24 07:28:16.614741"]]
|
43017
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43018
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
43019
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.8ms
|
43020
|
+
Sent mail to user@mail.com (4.9ms)
|
43021
|
+
Date: Tue, 24 Jul 2018 10:28:16 +0300
|
43022
|
+
From: support@example.com
|
43023
|
+
To: user@mail.com
|
43024
|
+
Message-ID: <5b56d510984b4_4bab4d664c71821@merkulov.mail>
|
43025
|
+
Subject: Welcome !
|
43026
|
+
Mime-Version: 1.0
|
43027
|
+
Content-Type: text/html;
|
43028
|
+
charset=UTF-8
|
43029
|
+
Content-Transfer-Encoding: 7bit
|
43030
|
+
|
43031
|
+
<h1>Welcome</h1>
|
43032
|
+
user@mail.com
|
43033
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43034
|
+
Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 2.1ms)
|
43035
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43036
|
+
[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]]
|
43037
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43038
|
+
Parameters: {"provider"=>"facebook", "token"=>"token"}
|
43039
|
+
[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]]
|
43040
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43041
|
+
[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", "{a05180cc-ffef-434c-a8dd-4714224784e3,74159f34-10ff-4bcc-ab5c-de94bd5026f5}"], ["updated_at", "2018-07-24 07:28:16.635733"], ["id", 304]]
|
43042
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43043
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 3.5ms)
|
43044
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43045
|
+
[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]]
|
43046
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
43047
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
43048
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43049
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43050
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
43051
|
+
[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]]
|
43052
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43053
|
+
[1m[36mApiUserAuth::AuthUser Create (0.5ms)[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", "{5eb33776-46a2-4afd-a8b7-25c8806b1f97}"], ["user_provider_data", "{\"email\":\"user@mail.com\",\"name\":\"User Name\"}"], ["provider", "google"], ["created_at", "2018-07-24 07:28:16.650979"], ["updated_at", "2018-07-24 07:28:16.650979"]]
|
43054
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43055
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
43056
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.0ms
|
43057
|
+
Sent mail to user@mail.com (3.1ms)
|
43058
|
+
Date: Tue, 24 Jul 2018 10:28:16 +0300
|
43059
|
+
From: support@example.com
|
43060
|
+
To: user@mail.com
|
43061
|
+
Message-ID: <5b56d510a082b_4bab4d664c71997@merkulov.mail>
|
43062
|
+
Subject: Welcome !
|
43063
|
+
Mime-Version: 1.0
|
43064
|
+
Content-Type: text/html;
|
43065
|
+
charset=UTF-8
|
43066
|
+
Content-Transfer-Encoding: 7bit
|
43067
|
+
|
43068
|
+
<h1>Welcome</h1>
|
43069
|
+
user@mail.com
|
43070
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43071
|
+
Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 1.5ms)
|
43072
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43073
|
+
[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]]
|
43074
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43075
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
43076
|
+
[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]]
|
43077
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43078
|
+
[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", "{5eb33776-46a2-4afd-a8b7-25c8806b1f97,eca29667-18ca-4ba2-a360-1d314dfcd2ec}"], ["updated_at", "2018-07-24 07:28:16.667696"], ["id", 305]]
|
43079
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43080
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 2.8ms)
|
43081
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43082
|
+
[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]]
|
43083
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43084
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43085
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43086
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43087
|
+
Parameters: {"provider"=>"google", "token"=>"token"}
|
43088
|
+
Completed 422 Unprocessable Entity in 201ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
43089
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43090
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43091
|
+
Parameters: {"provider"=>"google2", "token"=>"token"}
|
43092
|
+
Completed 422 Unprocessable Entity in 163ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
43093
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43094
|
+
Processing by ApiUserAuth::AuthController#provider as HTML
|
43095
|
+
Parameters: {"provider"=>"google"}
|
43096
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
43097
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43098
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
43099
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
43100
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43101
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43102
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43103
|
+
[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]]
|
43104
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43105
|
+
[1m[36mApiUserAuth::AuthUser Create (0.7ms)[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", "{efb5ec48-45dd-44aa-a63a-0e19fa299af3}"], ["created_at", "2018-07-24 07:28:17.063781"], ["updated_at", "2018-07-24 07:28:17.063781"]]
|
43106
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43107
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.1ms)
|
43108
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 2.8ms
|
43109
|
+
Sent mail to user@mail.com (1.3ms)
|
43110
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43111
|
+
From: support@example.com
|
43112
|
+
To: user@mail.com
|
43113
|
+
Message-ID: <5b56d51111570_4bab4d664c72083@merkulov.mail>
|
43114
|
+
Subject: Welcome !
|
43115
|
+
Mime-Version: 1.0
|
43116
|
+
Content-Type: text/html;
|
43117
|
+
charset=UTF-8
|
43118
|
+
Content-Transfer-Encoding: 7bit
|
43119
|
+
|
43120
|
+
<h1>Welcome</h1>
|
43121
|
+
user@mail.com
|
43122
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43123
|
+
Completed 201 Created in 12ms (Views: 0.1ms | ActiveRecord: 1.7ms)
|
43124
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43125
|
+
[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]]
|
43126
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43127
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43128
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43129
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43130
|
+
Parameters: {"email"=>"user@mail.com"}
|
43131
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43132
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43133
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43134
|
+
Parameters: {"password"=>"[FILTERED]"}
|
43135
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43136
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43137
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43138
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43139
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43140
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43141
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43142
|
+
Parameters: {"email"=>"", "password"=>"[FILTERED]"}
|
43143
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
43144
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43145
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43146
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43147
|
+
[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]]
|
43148
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43149
|
+
[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", "{3a8df46f-1d73-4366-b4c2-a42dc89e48a6}"], ["created_at", "2018-07-24 07:28:17.082524"], ["updated_at", "2018-07-24 07:28:17.082524"]]
|
43150
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43151
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43152
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
43153
|
+
Sent mail to user@mail.com (1.0ms)
|
43154
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43155
|
+
From: support@example.com
|
43156
|
+
To: user@mail.com
|
43157
|
+
Message-ID: <5b56d51114b65_4bab4d664c7215e@merkulov.mail>
|
43158
|
+
Subject: Welcome !
|
43159
|
+
Mime-Version: 1.0
|
43160
|
+
Content-Type: text/html;
|
43161
|
+
charset=UTF-8
|
43162
|
+
Content-Transfer-Encoding: 7bit
|
43163
|
+
|
43164
|
+
<h1>Welcome</h1>
|
43165
|
+
user@mail.com
|
43166
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43167
|
+
Completed 201 Created in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
|
43168
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43169
|
+
Processing by ApiUserAuth::AuthController#create as HTML
|
43170
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43171
|
+
[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]]
|
43172
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.8ms)
|
43173
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43174
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43175
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43176
|
+
[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]]
|
43177
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43178
|
+
[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", "{57ca7b37-62e7-402f-a9fe-9ee845872800}"], ["created_at", "2018-07-24 07:28:17.090675"], ["updated_at", "2018-07-24 07:28:17.090675"]]
|
43179
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43180
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43181
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
43182
|
+
Sent mail to user@mail.com (1.8ms)
|
43183
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43184
|
+
From: support@example.com
|
43185
|
+
To: user@mail.com
|
43186
|
+
Message-ID: <5b56d51116a84_4bab4d664c722b4@merkulov.mail>
|
43187
|
+
Subject: Welcome !
|
43188
|
+
Mime-Version: 1.0
|
43189
|
+
Content-Type: text/html;
|
43190
|
+
charset=UTF-8
|
43191
|
+
Content-Transfer-Encoding: 7bit
|
43192
|
+
|
43193
|
+
<h1>Welcome</h1>
|
43194
|
+
user@mail.com
|
43195
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43196
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
43197
|
+
[1m[36mApiUserAuth::AuthUser Load (0.4ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('57ca7b37-62e7-402f-a9fe-9ee845872800' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
43198
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43199
|
+
[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-24 07:28:17.096584"], ["id", 308]]
|
43200
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43201
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.9ms)
|
43202
|
+
[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", 308], ["LIMIT", 1]]
|
43203
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43204
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43205
|
+
[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]]
|
43206
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43207
|
+
[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", "{1d0595fd-f18f-4d7d-8fde-6e73e15c6193}"], ["created_at", "2018-07-24 07:28:17.100799"], ["updated_at", "2018-07-24 07:28:17.100799"]]
|
43208
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43209
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43210
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
43211
|
+
Sent mail to user@mail.com (0.9ms)
|
43212
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43213
|
+
From: support@example.com
|
43214
|
+
To: user@mail.com
|
43215
|
+
Message-ID: <5b56d5111aa02_4bab4d664c72331@merkulov.mail>
|
43216
|
+
Subject: Welcome !
|
43217
|
+
Mime-Version: 1.0
|
43218
|
+
Content-Type: text/html;
|
43219
|
+
charset=UTF-8
|
43220
|
+
Content-Transfer-Encoding: 7bit
|
43221
|
+
|
43222
|
+
<h1>Welcome</h1>
|
43223
|
+
user@mail.com
|
43224
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43225
|
+
Processing by ApiUserAuth::AuthController#logout as HTML
|
43226
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('e092e9dc-570b-4a3a-9365-e3cd10850f36' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
43227
|
+
Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43228
|
+
[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", 309], ["LIMIT", 1]]
|
43229
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43230
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43231
|
+
[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]]
|
43232
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43233
|
+
[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", "{e93a6335-5e98-4959-879a-31ee6af2948c}"], ["created_at", "2018-07-24 07:28:17.114462"], ["updated_at", "2018-07-24 07:28:17.114462"]]
|
43234
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43235
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43236
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
43237
|
+
Sent mail to user@mail.com (0.9ms)
|
43238
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43239
|
+
From: support@example.com
|
43240
|
+
To: user@mail.com
|
43241
|
+
Message-ID: <5b56d5111c6ba_4bab4d664c72451@merkulov.mail>
|
43242
|
+
Subject: Welcome !
|
43243
|
+
Mime-Version: 1.0
|
43244
|
+
Content-Type: text/html;
|
43245
|
+
charset=UTF-8
|
43246
|
+
Content-Transfer-Encoding: 7bit
|
43247
|
+
|
43248
|
+
<h1>Welcome</h1>
|
43249
|
+
user@mail.com
|
43250
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43251
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43252
|
+
[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]]
|
43253
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
43254
|
+
Parameters: {"email"=>"user@mail.com"}
|
43255
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43256
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
43257
|
+
Parameters: {"password"=>"[FILTERED]"}
|
43258
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43259
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
43260
|
+
Parameters: {"email"=>"user2@mail.com", "password"=>"[FILTERED]"}
|
43261
|
+
[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]]
|
43262
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
43263
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
43264
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43265
|
+
[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]]
|
43266
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
43267
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43268
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43269
|
+
[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]]
|
43270
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43271
|
+
[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", "{2e018472-be09-459f-a61d-4d6c0bcf9689}"], ["created_at", "2018-07-24 07:28:17.123990"], ["updated_at", "2018-07-24 07:28:17.123990"]]
|
43272
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43273
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43274
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
43275
|
+
Sent mail to user@mail.com (0.9ms)
|
43276
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43277
|
+
From: support@example.com
|
43278
|
+
To: user@mail.com
|
43279
|
+
Message-ID: <5b56d5111ebe4_4bab4d664c72587@merkulov.mail>
|
43280
|
+
Subject: Welcome !
|
43281
|
+
Mime-Version: 1.0
|
43282
|
+
Content-Type: text/html;
|
43283
|
+
charset=UTF-8
|
43284
|
+
Content-Transfer-Encoding: 7bit
|
43285
|
+
|
43286
|
+
<h1>Welcome</h1>
|
43287
|
+
user@mail.com
|
43288
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43289
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43290
|
+
[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]]
|
43291
|
+
Processing by ApiUserAuth::AuthController#login as HTML
|
43292
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43293
|
+
[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]]
|
43294
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43295
|
+
[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", "{2e018472-be09-459f-a61d-4d6c0bcf9689,83381264-d656-411e-9aa1-644c64020b83}"], ["updated_at", "2018-07-24 07:28:17.128898"], ["id", 311]]
|
43296
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43297
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.6ms)
|
43298
|
+
[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]]
|
43299
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43300
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43301
|
+
[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]]
|
43302
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43303
|
+
[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", "{ca79e6fd-6cbe-4015-8c50-c921db278728}"], ["created_at", "2018-07-24 07:28:17.132510"], ["updated_at", "2018-07-24 07:28:17.132510"]]
|
43304
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43305
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43306
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
43307
|
+
Sent mail to user@mail.com (0.9ms)
|
43308
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43309
|
+
From: support@example.com
|
43310
|
+
To: user@mail.com
|
43311
|
+
Message-ID: <5b56d51120cf9_4bab4d664c7266c@merkulov.mail>
|
43312
|
+
Subject: Welcome !
|
43313
|
+
Mime-Version: 1.0
|
43314
|
+
Content-Type: text/html;
|
43315
|
+
charset=UTF-8
|
43316
|
+
Content-Transfer-Encoding: 7bit
|
43317
|
+
|
43318
|
+
<h1>Welcome</h1>
|
43319
|
+
user@mail.com
|
43320
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43321
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43322
|
+
[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-24 07:28:17.135376"], ["id", 312]]
|
43323
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43324
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
43325
|
+
Parameters: {"code"=>"123456", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43326
|
+
[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]]
|
43327
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43328
|
+
[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", "{ca79e6fd-6cbe-4015-8c50-c921db278728,4980a7b7-ad08-47fa-907d-3bf621304075}"], ["updated_at", "2018-07-24 07:28:17.137545"], ["id", 312]]
|
43329
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43330
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
43331
|
+
[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", 312], ["LIMIT", 1]]
|
43332
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43333
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43334
|
+
[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]]
|
43335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43336
|
+
[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", "{02ac3750-91ec-4a78-8ea0-4b7430da2c3d}"], ["created_at", "2018-07-24 07:28:17.140956"], ["updated_at", "2018-07-24 07:28:17.140956"]]
|
43337
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43338
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43339
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
43340
|
+
Sent mail to user@mail.com (1.0ms)
|
43341
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43342
|
+
From: support@example.com
|
43343
|
+
To: user@mail.com
|
43344
|
+
Message-ID: <5b56d51122ded_4bab4d664c72796@merkulov.mail>
|
43345
|
+
Subject: Welcome !
|
43346
|
+
Mime-Version: 1.0
|
43347
|
+
Content-Type: text/html;
|
43348
|
+
charset=UTF-8
|
43349
|
+
Content-Transfer-Encoding: 7bit
|
43350
|
+
|
43351
|
+
<h1>Welcome</h1>
|
43352
|
+
user@mail.com
|
43353
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43354
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43355
|
+
[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-24 07:28:17.144115"], ["id", 313]]
|
43356
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43357
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
43358
|
+
Parameters: {"code"=>"123456", "email"=>"user1@mail.com", "password"=>"[FILTERED]"}
|
43359
|
+
[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]]
|
43360
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
43361
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
43362
|
+
Parameters: {"code"=>"123457", "email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43363
|
+
[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]]
|
43364
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43365
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
43366
|
+
Parameters: {"email"=>"user@mail.com", "password"=>"[FILTERED]"}
|
43367
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43368
|
+
Processing by ApiUserAuth::AuthController#password as HTML
|
43369
|
+
Parameters: {"code"=>"123457", "password"=>"[FILTERED]"}
|
43370
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43371
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43372
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43373
|
+
[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]]
|
43374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43375
|
+
[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", "{d3f30e63-299a-4f83-8c06-769b4ff0cf58}"], ["created_at", "2018-07-24 07:28:17.151208"], ["updated_at", "2018-07-24 07:28:17.151208"]]
|
43376
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43377
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43378
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.7ms
|
43379
|
+
Sent mail to user@mail.com (0.9ms)
|
43380
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43381
|
+
From: support@example.com
|
43382
|
+
To: user@mail.com
|
43383
|
+
Message-ID: <5b56d5112565f_4bab4d664c72871@merkulov.mail>
|
43384
|
+
Subject: Welcome !
|
43385
|
+
Mime-Version: 1.0
|
43386
|
+
Content-Type: text/html;
|
43387
|
+
charset=UTF-8
|
43388
|
+
Content-Transfer-Encoding: 7bit
|
43389
|
+
|
43390
|
+
<h1>Welcome</h1>
|
43391
|
+
user@mail.com
|
43392
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43393
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
43394
|
+
Parameters: {"email"=>"user1@mail.com"}
|
43395
|
+
[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]]
|
43396
|
+
Completed 422 Unprocessable Entity in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
43397
|
+
[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", 314], ["LIMIT", 1]]
|
43398
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
43399
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43400
|
+
[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]]
|
43401
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43402
|
+
[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", "{5fa14118-5562-4e72-930c-5534739ce50d}"], ["created_at", "2018-07-24 07:28:17.157516"], ["updated_at", "2018-07-24 07:28:17.157516"]]
|
43403
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43404
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43405
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.6ms
|
43406
|
+
Sent mail to user@mail.com (0.8ms)
|
43407
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43408
|
+
From: support@example.com
|
43409
|
+
To: user@mail.com
|
43410
|
+
Message-ID: <5b56d51126e93_4bab4d664c72992@merkulov.mail>
|
43411
|
+
Subject: Welcome !
|
43412
|
+
Mime-Version: 1.0
|
43413
|
+
Content-Type: text/html;
|
43414
|
+
charset=UTF-8
|
43415
|
+
Content-Transfer-Encoding: 7bit
|
43416
|
+
|
43417
|
+
<h1>Welcome</h1>
|
43418
|
+
user@mail.com
|
43419
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43420
|
+
Processing by ApiUserAuth::AuthController#forgot_password as HTML
|
43421
|
+
Parameters: {"email"=>"user@mail.com"}
|
43422
|
+
[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]]
|
43423
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43424
|
+
[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", "804142"], ["updated_at", "2018-07-24 07:28:17.161447"], ["id", 315]]
|
43425
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43426
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb
|
43427
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb (0.3ms)
|
43428
|
+
ApiUserAuth::ForgotPasswordMailer#reset_code: processed outbound mail in 15.4ms
|
43429
|
+
Sent mail to user@mail.com (1.2ms)
|
43430
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43431
|
+
From: support@example.com
|
43432
|
+
To: user@mail.com
|
43433
|
+
Message-ID: <5b56d51131c7a_4bab4d664c73048@merkulov.mail>
|
43434
|
+
Subject: Password Code Reset
|
43435
|
+
Mime-Version: 1.0
|
43436
|
+
Content-Type: text/html;
|
43437
|
+
charset=UTF-8
|
43438
|
+
Content-Transfer-Encoding: 7bit
|
43439
|
+
|
43440
|
+
user@mail.com
|
43441
|
+
</br>
|
43442
|
+
<strong>804142</strong>
|
43443
|
+
Completed 200 OK in 44ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
43444
|
+
[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", 315], ["LIMIT", 1]]
|
43445
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43446
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
43447
|
+
[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]]
|
43448
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43449
|
+
[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", "{683f99e0-9664-4bc6-9abb-f73ed2de04dc}"], ["created_at", "2018-07-24 07:28:17.209060"], ["updated_at", "2018-07-24 07:28:17.209060"]]
|
43450
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43451
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43452
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
43453
|
+
Sent mail to user@mail.com (1.2ms)
|
43454
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43455
|
+
From: support@example.com
|
43456
|
+
To: user@mail.com
|
43457
|
+
Message-ID: <5b56d51133ab6_4bab4d664c731e4@merkulov.mail>
|
43458
|
+
Subject: Welcome !
|
43459
|
+
Mime-Version: 1.0
|
43460
|
+
Content-Type: text/html;
|
43461
|
+
charset=UTF-8
|
43462
|
+
Content-Transfer-Encoding: 7bit
|
43463
|
+
|
43464
|
+
<h1>Welcome</h1>
|
43465
|
+
user@mail.com
|
43466
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43467
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43468
|
+
Processing by TestController#index as HTML
|
43469
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43470
|
+
Processing by TestController#index as HTML
|
43471
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43472
|
+
Processing by TestController#index as HTML
|
43473
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('684a9fe5-9c83-4fdb-b62a-401d7eac2639' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
43474
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43475
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43476
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43477
|
+
[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]]
|
43478
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43479
|
+
[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", "{2967b453-5f9d-4b83-a439-2354bcd2cf92}"], ["created_at", "2018-07-24 07:28:17.219478"], ["updated_at", "2018-07-24 07:28:17.219478"]]
|
43480
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43481
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43482
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
43483
|
+
Sent mail to user@mail.com (1.1ms)
|
43484
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43485
|
+
From: support@example.com
|
43486
|
+
To: user@mail.com
|
43487
|
+
Message-ID: <5b56d511362f2_4bab4d664c73230@merkulov.mail>
|
43488
|
+
Subject: Welcome !
|
43489
|
+
Mime-Version: 1.0
|
43490
|
+
Content-Type: text/html;
|
43491
|
+
charset=UTF-8
|
43492
|
+
Content-Transfer-Encoding: 7bit
|
43493
|
+
|
43494
|
+
<h1>Welcome</h1>
|
43495
|
+
user@mail.com
|
43496
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43497
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43498
|
+
[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]]
|
43499
|
+
Processing by TestController#index as HTML
|
43500
|
+
[1m[36mApiUserAuth::AuthUser Load (0.3ms)[0m [1m[34mSELECT "api_user_auth_auth_users".* FROM "api_user_auth_auth_users" WHERE ('2967b453-5f9d-4b83-a439-2354bcd2cf92' = ANY("api_user_auth_auth_users"."auth_tokens")) ORDER BY "api_user_auth_auth_users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
43501
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
43502
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
43503
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43504
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43505
|
+
[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]]
|
43506
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
43507
|
+
[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", "{c78aaf22-867e-4d33-9b07-ce9e07c8c191}"], ["created_at", "2018-07-24 07:28:17.228613"], ["updated_at", "2018-07-24 07:28:17.228613"]]
|
43508
|
+
Rendering /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb
|
43509
|
+
Rendered /home/alex/bit_forge/api_user_auth/app/views/api_user_auth/welcome_mailer/welcome.html.erb (0.0ms)
|
43510
|
+
ApiUserAuth::WelcomeMailer#welcome: processed outbound mail in 0.8ms
|
43511
|
+
Sent mail to user@mail.com (1.1ms)
|
43512
|
+
Date: Tue, 24 Jul 2018 10:28:17 +0300
|
43513
|
+
From: support@example.com
|
43514
|
+
To: user@mail.com
|
43515
|
+
Message-ID: <5b56d51138694_4bab4d664c7330@merkulov.mail>
|
43516
|
+
Subject: Welcome !
|
43517
|
+
Mime-Version: 1.0
|
43518
|
+
Content-Type: text/html;
|
43519
|
+
charset=UTF-8
|
43520
|
+
Content-Transfer-Encoding: 7bit
|
43521
|
+
|
43522
|
+
<h1>Welcome</h1>
|
43523
|
+
user@mail.com
|
43524
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
43525
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "api_user_auth_auth_users"[0m
|
43526
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_user_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex M
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|