api_user_auth 0.0.14 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api_user_auth/auth_controller.rb +15 -0
- data/app/models/api_user_auth/auth_user.rb +50 -24
- data/app/models/api_user_auth/provider_token.rb +30 -0
- data/app/models/concerns/api_user_auth/auth_user_helper.rb +39 -0
- data/app/models/concerns/api_user_auth/providers_helper.rb +10 -0
- data/config/locales/api_user_auth.en.yml +6 -0
- data/config/locales/api_user_auth.ru.yml +6 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb +12 -0
- data/lib/api_user_auth/providers/facebook.rb +1 -0
- data/lib/api_user_auth/providers/google.rb +1 -1
- data/lib/api_user_auth/providers/instagram.rb +1 -0
- data/lib/api_user_auth/version.rb +1 -1
- data/spec/controllers/api_user_auth/auth_controller_spec.rb +2 -0
- data/spec/dummy/db/schema.rb +11 -1
- data/spec/dummy/log/development.log +82 -464
- data/spec/dummy/log/test.log +1524 -42878
- data/spec/factories/api_user_auth_provider_tokens.rb +5 -0
- data/spec/models/api_user_auth/auth_user_spec.rb +20 -8
- data/spec/models/api_user_auth/provider_token_spec.rb +41 -0
- metadata +51 -45
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
@@ -1,507 +1,125 @@
|
|
1
|
-
|
2
|
-
Processing by Rails::WelcomeController#index as HTML
|
3
|
-
Rendering /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
|
4
|
-
Rendered /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
|
5
|
-
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
6
|
-
|
7
|
-
|
8
|
-
Started GET "/" for 127.0.0.1 at 2018-07-03 17:28:55 +0300
|
9
|
-
Processing by Rails::WelcomeController#index as HTML
|
10
|
-
Rendering /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
|
11
|
-
Rendered /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (1.7ms)
|
12
|
-
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
13
|
-
|
14
|
-
|
15
|
-
Started GET "/api/v1/users/me/subscriptions/recent" for 127.0.0.1 at 2018-07-03 17:29:00 +0300
|
16
|
-
|
17
|
-
ActionController::RoutingError (No route matches [GET] "/api/v1/users/me/subscriptions/recent"):
|
18
|
-
|
19
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
20
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
21
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
22
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
23
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
24
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
25
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
26
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
27
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
28
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
29
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
30
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
31
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
32
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
33
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
34
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
35
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
36
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
37
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
38
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
39
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
40
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
41
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
42
|
-
↳ bin/rails:4
|
43
|
-
[1m[35m (105.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
44
|
-
↳ bin/rails:4
|
45
|
-
[1m[35m (64.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
46
|
-
↳ bin/rails:4
|
47
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
48
|
-
↳ bin/rails:4
|
49
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
50
|
-
↳ bin/rails:4
|
51
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-03 14:49:47.881238"], ["updated_at", "2018-07-03 14:49:47.881238"]]
|
52
|
-
↳ bin/rails:4
|
53
|
-
[1m[35m (49.6ms)[0m [1m[36mcommit transaction[0m
|
54
|
-
↳ bin/rails:4
|
55
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
56
|
-
↳ bin/rails:4
|
57
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
58
|
-
↳ bin/rails:25
|
59
|
-
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
60
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
61
|
-
↳ bin/rails:25
|
62
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
63
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
64
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
65
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
66
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180703111608"]]
|
67
|
-
↳ bin/rails:25
|
68
|
-
[1m[35m (45.5ms)[0m [1m[36mcommit transaction[0m
|
69
|
-
↳ bin/rails:25
|
70
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
71
|
-
↳ bin/rails:25
|
72
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
73
|
-
↳ bin/rails:25
|
74
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
75
|
-
↳ bin/rails:25
|
76
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
77
|
-
↳ bin/rails:25
|
78
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
79
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
80
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
81
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
82
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
83
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
84
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
85
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
86
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
87
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
88
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
89
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
90
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
91
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
92
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
93
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
94
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
95
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
96
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
97
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
98
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
99
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
100
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_auth_users"[0m
|
101
|
-
↳ db/schema.rb:15
|
102
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
103
|
-
↳ db/schema.rb:15
|
104
|
-
[1m[35m (76.2ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
105
|
-
↳ db/schema.rb:15
|
106
|
-
[1m[35m (35.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
107
|
-
↳ db/schema.rb:13
|
108
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
109
|
-
↳ db/schema.rb:13
|
110
|
-
[1m[35m (25.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180703111608)[0m
|
111
|
-
↳ db/schema.rb:13
|
112
|
-
[1m[35m (41.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
113
|
-
↳ db/schema.rb:13
|
114
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
115
|
-
↳ db/schema.rb:13
|
116
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
117
|
-
↳ db/schema.rb:13
|
118
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-03 15:35:06.840797"], ["updated_at", "2018-07-03 15:35:06.840797"]]
|
119
|
-
↳ db/schema.rb:13
|
120
|
-
[1m[35m (102.2ms)[0m [1m[36mcommit transaction[0m
|
121
|
-
↳ db/schema.rb:13
|
122
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
123
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
124
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
125
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
126
|
-
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ?[0m [["value", "test"], ["updated_at", "2018-07-03 15:35:06.949127"], ["key", "environment"]]
|
127
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
128
|
-
[1m[35m (47.6ms)[0m [1m[36mcommit transaction[0m
|
129
|
-
↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
|
130
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
131
|
-
↳ bin/rails:25
|
132
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
133
|
-
↳ bin/rails:25
|
134
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
135
|
-
↳ bin/rails:25
|
136
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
137
|
-
↳ bin/rails:25
|
138
|
-
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
139
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
140
|
-
↳ bin/rails:25
|
141
|
-
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "api_user_auth_auth_users"[0m
|
142
|
-
↳ bin/rails:25
|
143
|
-
[1m[36mActiveRecord::SchemaMigration Destroy (0.3ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20180703111608"]]
|
144
|
-
↳ bin/rails:25
|
145
|
-
[1m[35m (41.5ms)[0m [1m[36mcommit transaction[0m
|
146
|
-
↳ bin/rails:25
|
147
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
148
|
-
↳ bin/rails:25
|
149
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
150
|
-
↳ bin/rails:25
|
151
|
-
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
152
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
153
|
-
↳ bin/rails:25
|
154
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
155
|
-
↳ bin/rails:25
|
156
|
-
[1m[35m (1058.4ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
157
|
-
↳ bin/rails:25
|
158
|
-
[1m[35m (600.1ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
159
|
-
↳ bin/rails:25
|
160
|
-
[1m[35m (69.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
161
|
-
↳ bin/rails:25
|
162
|
-
[1m[35m (67.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
163
|
-
↳ bin/rails:25
|
164
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(7325747718710370390)[0m
|
1
|
+
[1m[35m (3.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
165
2
|
↳ bin/rails:25
|
166
|
-
[1m[35m (
|
167
|
-
↳ bin/rails:25
|
168
|
-
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
169
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
170
|
-
↳ bin/rails:25
|
171
|
-
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
172
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
173
|
-
[1m[35m (60.8ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "auth_tokens" uuid[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
174
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
175
|
-
[1m[35m (52.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
176
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
177
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180703111608"]]
|
178
|
-
↳ bin/rails:25
|
179
|
-
[1m[35m (37.1ms)[0m [1m[35mCOMMIT[0m
|
180
|
-
↳ bin/rails:25
|
181
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
182
|
-
↳ bin/rails:25
|
183
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
184
|
-
↳ bin/rails:25
|
185
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-05 09:51:43.608383"], ["updated_at", "2018-07-05 09:51:43.608383"]]
|
186
|
-
↳ bin/rails:25
|
187
|
-
[1m[35m (49.2ms)[0m [1m[35mCOMMIT[0m
|
188
|
-
↳ bin/rails:25
|
189
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(7325747718710370390)[0m
|
3
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
190
4
|
↳ bin/rails:25
|
191
5
|
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
192
6
|
↳ bin/rails:25
|
193
|
-
[1m[35m (
|
194
|
-
↳ bin/rails:25
|
195
|
-
[1m[35m (7.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
196
|
-
↳ bin/rails:25
|
197
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
198
|
-
↳ bin/rails:25
|
199
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
7
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
200
8
|
↳ bin/rails:25
|
201
9
|
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
202
10
|
↳ bin/rails:25
|
203
11
|
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
204
12
|
↳ bin/rails:25
|
205
|
-
[1m[35m (
|
13
|
+
[1m[35m (113.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
206
14
|
↳ bin/rails:25
|
207
|
-
[1m[35m (
|
15
|
+
[1m[35m (111.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
208
16
|
↳ bin/rails:25
|
209
|
-
[1m[35m (
|
17
|
+
[1m[35m (352.4ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
210
18
|
↳ bin/rails:25
|
211
|
-
[1m[35m (
|
19
|
+
[1m[35m (352.0ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
212
20
|
↳ bin/rails:25
|
213
|
-
[1m[35m (
|
21
|
+
[1m[35m (13.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
214
22
|
↳ bin/rails:25
|
215
|
-
[1m[35m (
|
23
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
216
24
|
↳ bin/rails:25
|
217
|
-
[1m[35m (0.
|
25
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(7325747718710370390)[0m
|
218
26
|
↳ bin/rails:25
|
219
|
-
[1m[35m (
|
27
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
220
28
|
↳ bin/rails:25
|
221
29
|
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
222
30
|
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
223
31
|
↳ bin/rails:25
|
224
|
-
[1m[35mSQL (
|
225
|
-
↳ /home/
|
226
|
-
[1m[35m (
|
227
|
-
↳ /home/
|
228
|
-
[1m[35m (
|
229
|
-
↳ /home/
|
230
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.
|
231
|
-
↳ bin/rails:25
|
232
|
-
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
|
32
|
+
[1m[35mSQL (12.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
33
|
+
↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
34
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
35
|
+
↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
36
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
37
|
+
↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
38
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180703111608"]]
|
233
39
|
↳ bin/rails:25
|
234
|
-
[1m[
|
235
|
-
↳ bin/rails:25
|
236
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
237
|
-
↳ bin/rails:25
|
238
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-09 07:14:46.792463"], ["updated_at", "2018-07-09 07:14:46.792463"]]
|
239
|
-
↳ bin/rails:25
|
240
|
-
[1m[35m (36.4ms)[0m [1m[35mCOMMIT[0m
|
241
|
-
↳ bin/rails:25
|
242
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7325747718710370390)[0m
|
243
|
-
↳ bin/rails:25
|
244
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
245
|
-
↳ bin/rails:25
|
246
|
-
Started PATCH "/api-user-auth/password" for 127.0.0.1 at 2018-07-09 14:30:31 +0300
|
247
|
-
|
248
|
-
ActionController::RoutingError (No route matches [PATCH] "/api-user-auth/password"):
|
249
|
-
|
250
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
251
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
252
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
253
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
254
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
255
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
256
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
257
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
258
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
259
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
260
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
261
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
262
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
263
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
264
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
265
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
266
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
267
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
268
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
269
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
270
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
271
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
272
|
-
Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:05 +0300
|
273
|
-
|
274
|
-
ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
|
275
|
-
|
276
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
277
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
278
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
279
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
280
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
281
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
282
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
283
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
284
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
285
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
286
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
287
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
288
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
289
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
290
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
291
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
292
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
293
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
294
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
295
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
296
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
297
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
298
|
-
Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:25 +0300
|
299
|
-
|
300
|
-
ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
|
301
|
-
|
302
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
303
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
304
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
305
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
306
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
307
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
308
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
309
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
310
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
311
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
312
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
313
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
314
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
315
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
316
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
317
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
318
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
319
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
320
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
321
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
322
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
323
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
324
|
-
Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:50 +0300
|
325
|
-
|
326
|
-
ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
|
327
|
-
|
328
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
329
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
330
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
331
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
332
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
333
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
334
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
335
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
336
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
337
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
338
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
339
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
340
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
341
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
342
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
343
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
344
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
345
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
346
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
347
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
348
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
349
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
350
|
-
Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:32:36 +0300
|
351
|
-
|
352
|
-
ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
|
353
|
-
|
354
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
355
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
356
|
-
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
357
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
|
358
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
359
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
360
|
-
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
|
361
|
-
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
|
362
|
-
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
363
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
364
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
365
|
-
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
|
366
|
-
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
|
367
|
-
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
368
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
369
|
-
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
|
370
|
-
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
|
371
|
-
railties (5.2.0) lib/rails/engine.rb:524:in `call'
|
372
|
-
rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
|
373
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
374
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
375
|
-
/usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
376
|
-
Started PATCH "/api_user_auth/auth/password" for 127.0.0.1 at 2018-07-09 14:33:26 +0300
|
377
|
-
Processing by ApiUserAuth::AuthController#password as */*
|
378
|
-
Parameters: {"email"=>"user@mail.com"}
|
379
|
-
Completed 422 Unprocessable Entity in 18ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
380
|
-
|
381
|
-
|
382
|
-
[1m[35m (0.9ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
383
|
-
↳ bin/rails:25
|
384
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
385
|
-
↳ bin/rails:25
|
386
|
-
[1m[35m (52.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
-
↳ bin/rails:25
|
388
|
-
[1m[35m (14.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
389
|
-
↳ bin/rails:25
|
390
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
40
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
391
41
|
↳ bin/rails:25
|
392
|
-
|
393
|
-
|
394
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
395
|
-
↳ bin/rails:25
|
396
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
397
|
-
↳ bin/rails:25
|
398
|
-
[1m[35m (371.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
399
|
-
↳ bin/rails:25
|
400
|
-
[1m[35m (303.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
401
|
-
↳ bin/rails:25
|
402
|
-
[1m[35m (1111.9ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
403
|
-
↳ bin/rails:25
|
404
|
-
[1m[35m (576.9ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
405
|
-
↳ bin/rails:25
|
406
|
-
[1m[35m (855.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
407
|
-
↳ bin/rails:25
|
408
|
-
[1m[35m (155.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
409
|
-
↳ bin/rails:25
|
410
|
-
[1m[35m (579.9ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
411
|
-
↳ bin/rails:25
|
412
|
-
[1m[35m (812.0ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
413
|
-
↳ bin/rails:25
|
414
|
-
[1m[35m (42.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
415
|
-
↳ bin/rails:25
|
416
|
-
[1m[35m (78.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
417
|
-
↳ bin/rails:25
|
418
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(7325747718710370390)[0m
|
419
|
-
↳ bin/rails:25
|
420
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
421
|
-
↳ bin/rails:25
|
422
|
-
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
423
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
42
|
+
Migrating to CreateApiUserAuthProviderTokens (20180726140712)
|
43
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
424
44
|
↳ bin/rails:25
|
425
|
-
[1m[
|
426
|
-
↳ /home/
|
427
|
-
[1m[35m (
|
428
|
-
↳ /home/
|
429
|
-
[1m[
|
430
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
431
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180703111608"]]
|
45
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
46
|
+
↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb:3
|
47
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")[0m
|
48
|
+
↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb:3
|
49
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180726140712"]]
|
432
50
|
↳ bin/rails:25
|
433
|
-
[1m[35m (
|
51
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
434
52
|
↳ bin/rails:25
|
435
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
53
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
436
54
|
↳ bin/rails:25
|
437
55
|
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
438
56
|
↳ bin/rails:25
|
439
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
440
|
-
↳ bin/rails:25
|
441
|
-
[1m[35m (56.0ms)[0m [1m[35mCOMMIT[0m
|
442
|
-
↳ bin/rails:25
|
443
|
-
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_advisory_unlock(7325747718710370390)[0m
|
444
|
-
↳ bin/rails:25
|
445
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
446
|
-
↳ bin/rails:25
|
447
|
-
[1m[35m (28.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
448
|
-
↳ bin/rails:25
|
449
|
-
[1m[35m (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
450
|
-
↳ bin/rails:25
|
451
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
452
|
-
↳ bin/rails:25
|
453
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
454
|
-
↳ bin/rails:25
|
455
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
456
|
-
↳ bin/rails:25
|
457
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
458
|
-
↳ bin/rails:25
|
459
|
-
[1m[35m (244.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
460
|
-
↳ bin/rails:25
|
461
|
-
[1m[35m (262.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
462
|
-
↳ bin/rails:25
|
463
|
-
[1m[35m (625.1ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
464
|
-
↳ bin/rails:25
|
465
|
-
[1m[35m (873.6ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
57
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-26 22:23:24.867638"], ["updated_at", "2018-07-26 22:23:24.867638"]]
|
466
58
|
↳ bin/rails:25
|
467
|
-
[1m[35m (
|
59
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
468
60
|
↳ bin/rails:25
|
469
|
-
[1m[35m (
|
470
|
-
↳ bin/rails:25
|
471
|
-
[1m[35m (551.2ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
472
|
-
↳ bin/rails:25
|
473
|
-
[1m[35m (593.7ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
474
|
-
↳ bin/rails:25
|
475
|
-
[1m[35m (123.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
476
|
-
↳ bin/rails:25
|
477
|
-
[1m[35m (45.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
61
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7325747718710370390)[0m
|
478
62
|
↳ bin/rails:25
|
479
|
-
[1m[35m (0.
|
63
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
480
64
|
↳ bin/rails:25
|
481
65
|
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
482
66
|
↳ bin/rails:25
|
483
|
-
|
484
|
-
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
67
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
485
68
|
↳ bin/rails:25
|
486
|
-
[1m[
|
487
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
488
|
-
[1m[35m (67.4ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
489
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
490
|
-
[1m[35m (21.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
491
|
-
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
492
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180703111608"]]
|
69
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
493
70
|
↳ bin/rails:25
|
494
|
-
[1m[35m (
|
71
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
495
72
|
↳ bin/rails:25
|
496
|
-
[1m[
|
73
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
497
74
|
↳ bin/rails:25
|
75
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
76
|
+
↳ bin/rails:25
|
77
|
+
[1m[35m (113.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
78
|
+
↳ bin/rails:25
|
79
|
+
[1m[35m (351.9ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
80
|
+
↳ bin/rails:25
|
81
|
+
[1m[35mSQL (9.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
82
|
+
↳ db/schema.rb:16
|
83
|
+
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
84
|
+
↳ db/schema.rb:17
|
85
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_auth_users" CASCADE[0m
|
86
|
+
↳ db/schema.rb:19
|
87
|
+
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
88
|
+
↳ db/schema.rb:19
|
89
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
90
|
+
↳ db/schema.rb:19
|
91
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "api_user_auth_provider_tokens" CASCADE[0m
|
92
|
+
↳ db/schema.rb:31
|
93
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
94
|
+
↳ db/schema.rb:31
|
95
|
+
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")[0m
|
96
|
+
↳ db/schema.rb:31
|
97
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
98
|
+
↳ db/schema.rb:13
|
99
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
100
|
+
↳ db/schema.rb:13
|
101
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180726140712)[0m
|
102
|
+
↳ db/schema.rb:13
|
103
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
104
|
+
(20180703111608);
|
105
|
+
|
106
|
+
[0m
|
107
|
+
↳ db/schema.rb:13
|
108
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
109
|
+
↳ db/schema.rb:13
|
110
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
111
|
+
↳ db/schema.rb:13
|
498
112
|
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
113
|
+
↳ db/schema.rb:13
|
114
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-07-26 22:23:36.579323"], ["updated_at", "2018-07-26 22:23:36.579323"]]
|
115
|
+
↳ db/schema.rb:13
|
116
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
117
|
+
↳ db/schema.rb:13
|
118
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
499
119
|
↳ bin/rails:25
|
500
|
-
[1m[
|
501
|
-
↳ bin/rails:25
|
502
|
-
[1m[35m (56.1ms)[0m [1m[35mCOMMIT[0m
|
120
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
503
121
|
↳ bin/rails:25
|
504
|
-
[1m[
|
122
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.9ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2018-07-26 22:23:36.588151"], ["key", "environment"]]
|
505
123
|
↳ bin/rails:25
|
506
|
-
[1m[35m (0.6ms)[0m [1m[
|
124
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
507
125
|
↳ bin/rails:25
|