api_user_auth 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +36 -0
  4. data/Rakefile +53 -0
  5. data/app/assets/config/api_user_auth_manifest.js +2 -0
  6. data/app/assets/javascripts/api_user_auth/application.js +15 -0
  7. data/app/assets/stylesheets/api_user_auth/application.css +15 -0
  8. data/app/controllers/api_user_auth/auth_controller.rb +75 -0
  9. data/app/helpers/api_user_auth/application_helper.rb +5 -0
  10. data/app/jobs/api_user_auth/application_job.rb +4 -0
  11. data/app/mailers/api_user_auth/application_mailer.rb +7 -0
  12. data/app/mailers/api_user_auth/forgot_password_mailer.rb +12 -0
  13. data/app/mailers/api_user_auth/welcome_mailer.rb +11 -0
  14. data/app/models/api_user_auth/application_record.rb +5 -0
  15. data/app/models/api_user_auth/auth_user.rb +167 -0
  16. data/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb +3 -0
  17. data/app/views/api_user_auth/welcome_mailer/welcome.html.erb +2 -0
  18. data/app/views/layouts/api_user_auth/application.html.erb +16 -0
  19. data/config/routes.rb +12 -0
  20. data/db/migrate/20180703111608_create_api_user_auth_auth_users.rb +16 -0
  21. data/lib/api_user_auth/controller.rb +39 -0
  22. data/lib/api_user_auth/engine.rb +10 -0
  23. data/lib/api_user_auth/exceptions.rb +9 -0
  24. data/lib/api_user_auth/providers/facebook.rb +61 -0
  25. data/lib/api_user_auth/providers/google.rb +59 -0
  26. data/lib/api_user_auth/providers/instagram.rb +53 -0
  27. data/lib/api_user_auth/version.rb +3 -0
  28. data/lib/api_user_auth.rb +11 -0
  29. data/lib/generators/api_user_auth_generator.rb +7 -0
  30. data/lib/tasks/api_user_auth_tasks.rake +4 -0
  31. data/spec/controllers/api_user_auth/auth_controller_spec.rb +344 -0
  32. data/spec/controllers/api_user_auth/controller_spec.rb +39 -0
  33. data/spec/dummy/Rakefile +6 -0
  34. data/spec/dummy/app/assets/config/manifest.js +4 -0
  35. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  36. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  37. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  38. data/spec/dummy/app/controllers/test_controller.rb +8 -0
  39. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  40. data/spec/dummy/app/jobs/application_job.rb +2 -0
  41. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  42. data/spec/dummy/app/models/application_record.rb +3 -0
  43. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  44. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  45. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  46. data/spec/dummy/bin/bundle +3 -0
  47. data/spec/dummy/bin/rails +4 -0
  48. data/spec/dummy/bin/rake +4 -0
  49. data/spec/dummy/bin/setup +36 -0
  50. data/spec/dummy/bin/update +31 -0
  51. data/spec/dummy/bin/yarn +11 -0
  52. data/spec/dummy/config/application.rb +30 -0
  53. data/spec/dummy/config/boot.rb +5 -0
  54. data/spec/dummy/config/database.yml +16 -0
  55. data/spec/dummy/config/environment.rb +5 -0
  56. data/spec/dummy/config/environments/development.rb +63 -0
  57. data/spec/dummy/config/environments/production.rb +89 -0
  58. data/spec/dummy/config/environments/test.rb +46 -0
  59. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  60. data/spec/dummy/config/initializers/assets.rb +14 -0
  61. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  62. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  63. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  64. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  65. data/spec/dummy/config/initializers/inflections.rb +16 -0
  66. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  67. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  68. data/spec/dummy/config/locales/en.yml +33 -0
  69. data/spec/dummy/config/puma.rb +34 -0
  70. data/spec/dummy/config/routes.rb +4 -0
  71. data/spec/dummy/config/spring.rb +6 -0
  72. data/spec/dummy/config/storage.yml +34 -0
  73. data/spec/dummy/config.ru +5 -0
  74. data/spec/dummy/db/development.sqlite3 +0 -0
  75. data/spec/dummy/db/schema.rb +31 -0
  76. data/spec/dummy/db/test.sqlite3 +0 -0
  77. data/spec/dummy/log/development.log +507 -0
  78. data/spec/dummy/log/test.log +42941 -0
  79. data/spec/dummy/package.json +5 -0
  80. data/spec/dummy/public/404.html +67 -0
  81. data/spec/dummy/public/422.html +67 -0
  82. data/spec/dummy/public/500.html +66 -0
  83. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  84. data/spec/dummy/public/apple-touch-icon.png +0 -0
  85. data/spec/dummy/public/favicon.ico +0 -0
  86. data/spec/models/api_user_auth/auth_user_spec.rb +16 -0
  87. data/spec/rails_helper.rb +61 -0
  88. data/spec/spec_helper.rb +93 -0
  89. data/spec/support/request_spec_helper.rb +13 -0
  90. metadata +273 -0
@@ -0,0 +1,507 @@
1
+ Started GET "/" for 127.0.0.1 at 2018-07-03 14:12:21 +0300
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
+  (0.1ms) SELECT sqlite_version(*)
42
+ ↳ bin/rails:4
43
+  (105.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
44
+ ↳ bin/rails:4
45
+  (64.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
46
+ ↳ bin/rails:4
47
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
48
+ ↳ bin/rails:4
49
+  (0.1ms) begin transaction
50
+ ↳ bin/rails:4
51
+ ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (49.6ms) commit transaction
54
+ ↳ bin/rails:4
55
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56
+ ↳ bin/rails:4
57
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
+ ↳ bin/rails:25
59
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
60
+  (0.0ms) begin transaction
61
+ ↳ bin/rails:25
62
+  (0.1ms) SELECT sqlite_version(*)
63
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
64
+  (0.2ms) CREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
65
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
66
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180703111608"]]
67
+ ↳ bin/rails:25
68
+  (45.5ms) commit transaction
69
+ ↳ bin/rails:25
70
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
71
+ ↳ bin/rails:25
72
+  (0.1ms) begin transaction
73
+ ↳ bin/rails:25
74
+  (0.1ms) commit transaction
75
+ ↳ bin/rails:25
76
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
77
+ ↳ bin/rails:25
78
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
79
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
80
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
81
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
82
+  (0.0ms) begin transaction
83
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
84
+  (0.0ms) commit transaction
85
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
86
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
87
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
88
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
89
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
90
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
91
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
92
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
93
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
94
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
95
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
96
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
98
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
99
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
100
+  (0.1ms) DROP TABLE IF EXISTS "api_user_auth_auth_users"
101
+ ↳ db/schema.rb:15
102
+  (0.0ms) SELECT sqlite_version(*)
103
+ ↳ db/schema.rb:15
104
+  (76.2ms) CREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
105
+ ↳ db/schema.rb:15
106
+  (35.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
107
+ ↳ db/schema.rb:13
108
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
109
+ ↳ db/schema.rb:13
110
+  (25.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180703111608)
111
+ ↳ db/schema.rb:13
112
+  (41.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
113
+ ↳ db/schema.rb:13
114
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
115
+ ↳ db/schema.rb:13
116
+  (0.0ms) begin transaction
117
+ ↳ db/schema.rb:13
118
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (102.2ms) commit transaction
121
+ ↳ db/schema.rb:13
122
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
123
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
124
+  (0.1ms) begin transaction
125
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
126
+ ActiveRecord::InternalMetadata Update (0.5ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["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
+  (47.6ms) commit transaction
129
+ ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
130
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
131
+ ↳ bin/rails:25
132
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
133
+ ↳ bin/rails:25
134
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
+ ↳ bin/rails:25
136
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
137
+ ↳ bin/rails:25
138
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
139
+  (0.1ms) begin transaction
140
+ ↳ bin/rails:25
141
+  (0.3ms) DROP TABLE "api_user_auth_auth_users"
142
+ ↳ bin/rails:25
143
+ ActiveRecord::SchemaMigration Destroy (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20180703111608"]]
144
+ ↳ bin/rails:25
145
+  (41.5ms) commit transaction
146
+ ↳ bin/rails:25
147
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
148
+ ↳ bin/rails:25
149
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
+ ↳ bin/rails:25
151
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
152
+  (0.0ms) begin transaction
153
+ ↳ bin/rails:25
154
+  (0.0ms) rollback transaction
155
+ ↳ bin/rails:25
156
+  (1058.4ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
157
+ ↳ bin/rails:25
158
+  (600.1ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
159
+ ↳ bin/rails:25
160
+  (69.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
161
+ ↳ bin/rails:25
162
+  (67.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
163
+ ↳ bin/rails:25
164
+  (0.3ms) SELECT pg_try_advisory_lock(7325747718710370390)
165
+ ↳ bin/rails:25
166
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
167
+ ↳ bin/rails:25
168
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
169
+  (0.1ms) BEGIN
170
+ ↳ bin/rails:25
171
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
172
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
173
+  (60.8ms) CREATE 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)
174
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
175
+  (52.5ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
176
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
177
+ ActiveRecord::SchemaMigration Create (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
178
+ ↳ bin/rails:25
179
+  (37.1ms) COMMIT
180
+ ↳ bin/rails:25
181
+ ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
182
+ ↳ bin/rails:25
183
+  (0.2ms) BEGIN
184
+ ↳ bin/rails:25
185
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["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
+  (49.2ms) COMMIT
188
+ ↳ bin/rails:25
189
+  (0.5ms) SELECT pg_advisory_unlock(7325747718710370390)
190
+ ↳ bin/rails:25
191
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
192
+ ↳ bin/rails:25
193
+  (43.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
194
+ ↳ bin/rails:25
195
+  (7.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
196
+ ↳ bin/rails:25
197
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
198
+ ↳ bin/rails:25
199
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
200
+ ↳ bin/rails:25
201
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
202
+ ↳ bin/rails:25
203
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
204
+ ↳ bin/rails:25
205
+  (317.8ms) DROP DATABASE IF EXISTS "dummy_dev"
206
+ ↳ bin/rails:25
207
+  (277.4ms) DROP DATABASE IF EXISTS "dummy_test"
208
+ ↳ bin/rails:25
209
+  (1146.4ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
210
+ ↳ bin/rails:25
211
+  (560.1ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
212
+ ↳ bin/rails:25
213
+  (98.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
214
+ ↳ bin/rails:25
215
+  (165.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
216
+ ↳ bin/rails:25
217
+  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
218
+ ↳ bin/rails:25
219
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
220
+ ↳ bin/rails:25
221
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
222
+  (0.4ms) BEGIN
223
+ ↳ bin/rails:25
224
+ SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
225
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
226
+  (46.3ms) CREATE 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 '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
227
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
228
+  (10.8ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
229
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
230
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
231
+ ↳ bin/rails:25
232
+  (5.5ms) COMMIT
233
+ ↳ bin/rails:25
234
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
235
+ ↳ bin/rails:25
236
+  (0.2ms) BEGIN
237
+ ↳ bin/rails:25
238
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["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
+  (36.4ms) COMMIT
241
+ ↳ bin/rails:25
242
+  (0.6ms) SELECT pg_advisory_unlock(7325747718710370390)
243
+ ↳ bin/rails:25
244
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
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
+  (0.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
383
+ ↳ bin/rails:25
384
+  (0.2ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
385
+ ↳ bin/rails:25
386
+  (52.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
387
+ ↳ bin/rails:25
388
+  (14.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
389
+ ↳ bin/rails:25
390
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
391
+ ↳ bin/rails:25
392
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
393
+ ↳ bin/rails:25
394
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
395
+ ↳ bin/rails:25
396
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
397
+ ↳ bin/rails:25
398
+  (371.1ms) DROP DATABASE IF EXISTS "dummy_dev"
399
+ ↳ bin/rails:25
400
+  (303.7ms) DROP DATABASE IF EXISTS "dummy_test"
401
+ ↳ bin/rails:25
402
+  (1111.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
403
+ ↳ bin/rails:25
404
+  (576.9ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
405
+ ↳ bin/rails:25
406
+  (855.4ms) DROP DATABASE IF EXISTS "dummy_dev"
407
+ ↳ bin/rails:25
408
+  (155.5ms) DROP DATABASE IF EXISTS "dummy_test"
409
+ ↳ bin/rails:25
410
+  (579.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
411
+ ↳ bin/rails:25
412
+  (812.0ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
413
+ ↳ bin/rails:25
414
+  (42.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
415
+ ↳ bin/rails:25
416
+  (78.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
417
+ ↳ bin/rails:25
418
+  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
419
+ ↳ bin/rails:25
420
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
421
+ ↳ bin/rails:25
422
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
423
+  (0.3ms) BEGIN
424
+ ↳ bin/rails:25
425
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
426
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
427
+  (39.8ms) CREATE 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 '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
428
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
429
+  (30.2ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
430
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
431
+ ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
432
+ ↳ bin/rails:25
433
+  (29.3ms) COMMIT
434
+ ↳ bin/rails:25
435
+ ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
436
+ ↳ bin/rails:25
437
+  (0.3ms) BEGIN
438
+ ↳ bin/rails:25
439
+ ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-19 15:28:11.790946"], ["updated_at", "2018-07-19 15:28:11.790946"]]
440
+ ↳ bin/rails:25
441
+  (56.0ms) COMMIT
442
+ ↳ bin/rails:25
443
+  (0.7ms) SELECT pg_advisory_unlock(7325747718710370390)
444
+ ↳ bin/rails:25
445
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
446
+ ↳ bin/rails:25
447
+  (28.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
448
+ ↳ bin/rails:25
449
+  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
450
+ ↳ bin/rails:25
451
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
452
+ ↳ bin/rails:25
453
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
454
+ ↳ bin/rails:25
455
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
456
+ ↳ bin/rails:25
457
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
458
+ ↳ bin/rails:25
459
+  (244.8ms) DROP DATABASE IF EXISTS "dummy_dev"
460
+ ↳ bin/rails:25
461
+  (262.1ms) DROP DATABASE IF EXISTS "dummy_test"
462
+ ↳ bin/rails:25
463
+  (625.1ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
464
+ ↳ bin/rails:25
465
+  (873.6ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
466
+ ↳ bin/rails:25
467
+  (852.8ms) DROP DATABASE IF EXISTS "dummy_dev"
468
+ ↳ bin/rails:25
469
+  (131.8ms) DROP DATABASE IF EXISTS "dummy_test"
470
+ ↳ bin/rails:25
471
+  (551.2ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
472
+ ↳ bin/rails:25
473
+  (593.7ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
474
+ ↳ bin/rails:25
475
+  (123.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
476
+ ↳ bin/rails:25
477
+  (45.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
478
+ ↳ bin/rails:25
479
+  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
480
+ ↳ bin/rails:25
481
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
482
+ ↳ bin/rails:25
483
+ Migrating to CreateApiUserAuthAuthUsers (20180703111608)
484
+  (0.4ms) BEGIN
485
+ ↳ bin/rails:25
486
+ SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
487
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
488
+  (67.4ms) CREATE 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)
489
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
490
+  (21.5ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
491
+ ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
492
+ ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
493
+ ↳ bin/rails:25
494
+  (30.2ms) COMMIT
495
+ ↳ bin/rails:25
496
+ ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
497
+ ↳ bin/rails:25
498
+  (0.3ms) BEGIN
499
+ ↳ bin/rails:25
500
+ ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-20 12:47:13.995013"], ["updated_at", "2018-07-20 12:47:13.995013"]]
501
+ ↳ bin/rails:25
502
+  (56.1ms) COMMIT
503
+ ↳ bin/rails:25
504
+  (0.6ms) SELECT pg_advisory_unlock(7325747718710370390)
505
+ ↳ bin/rails:25
506
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
507
+ ↳ bin/rails:25