api_user_auth 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +36 -0
- data/Rakefile +53 -0
- data/app/assets/config/api_user_auth_manifest.js +2 -0
- data/app/assets/javascripts/api_user_auth/application.js +15 -0
- data/app/assets/stylesheets/api_user_auth/application.css +15 -0
- data/app/controllers/api_user_auth/auth_controller.rb +75 -0
- data/app/helpers/api_user_auth/application_helper.rb +5 -0
- data/app/jobs/api_user_auth/application_job.rb +4 -0
- data/app/mailers/api_user_auth/application_mailer.rb +7 -0
- data/app/mailers/api_user_auth/forgot_password_mailer.rb +12 -0
- data/app/mailers/api_user_auth/welcome_mailer.rb +11 -0
- data/app/models/api_user_auth/application_record.rb +5 -0
- data/app/models/api_user_auth/auth_user.rb +167 -0
- data/app/views/api_user_auth/forgot_password_mailer/reset_code.html.erb +3 -0
- data/app/views/api_user_auth/welcome_mailer/welcome.html.erb +2 -0
- data/app/views/layouts/api_user_auth/application.html.erb +16 -0
- data/config/routes.rb +12 -0
- data/db/migrate/20180703111608_create_api_user_auth_auth_users.rb +16 -0
- data/lib/api_user_auth/controller.rb +39 -0
- data/lib/api_user_auth/engine.rb +10 -0
- data/lib/api_user_auth/exceptions.rb +9 -0
- data/lib/api_user_auth/providers/facebook.rb +61 -0
- data/lib/api_user_auth/providers/google.rb +59 -0
- data/lib/api_user_auth/providers/instagram.rb +53 -0
- data/lib/api_user_auth/version.rb +3 -0
- data/lib/api_user_auth.rb +11 -0
- data/lib/generators/api_user_auth_generator.rb +7 -0
- data/lib/tasks/api_user_auth_tasks.rake +4 -0
- data/spec/controllers/api_user_auth/auth_controller_spec.rb +344 -0
- data/spec/controllers/api_user_auth/controller_spec.rb +39 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/controllers/test_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +36 -0
- data/spec/dummy/bin/update +31 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +16 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +63 -0
- data/spec/dummy/config/environments/production.rb +89 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +31 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +507 -0
- data/spec/dummy/log/test.log +42941 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/models/api_user_auth/auth_user_spec.rb +16 -0
- data/spec/rails_helper.rb +61 -0
- data/spec/spec_helper.rb +93 -0
- data/spec/support/request_spec_helper.rb +13 -0
- 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
|
+
[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
|
165
|
+
↳ bin/rails:25
|
166
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
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
|
190
|
+
↳ bin/rails:25
|
191
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
192
|
+
↳ bin/rails:25
|
193
|
+
[1m[35m (43.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
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"]]
|
200
|
+
↳ bin/rails:25
|
201
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
202
|
+
↳ bin/rails:25
|
203
|
+
[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
|
+
↳ bin/rails:25
|
205
|
+
[1m[35m (317.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
206
|
+
↳ bin/rails:25
|
207
|
+
[1m[35m (277.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
208
|
+
↳ bin/rails:25
|
209
|
+
[1m[35m (1146.4ms)[0m [1m[35mCREATE DATABASE "dummy_dev" ENCODING = 'utf8'[0m
|
210
|
+
↳ bin/rails:25
|
211
|
+
[1m[35m (560.1ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'utf8'[0m
|
212
|
+
↳ bin/rails:25
|
213
|
+
[1m[35m (98.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
214
|
+
↳ bin/rails:25
|
215
|
+
[1m[35m (165.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
|
216
|
+
↳ bin/rails:25
|
217
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(7325747718710370390)[0m
|
218
|
+
↳ bin/rails:25
|
219
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
220
|
+
↳ bin/rails:25
|
221
|
+
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
222
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
223
|
+
↳ bin/rails:25
|
224
|
+
[1m[35mSQL (0.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
225
|
+
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
226
|
+
[1m[35m (46.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 '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
227
|
+
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
228
|
+
[1m[35m (10.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
229
|
+
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
230
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180703111608"]]
|
231
|
+
↳ bin/rails:25
|
232
|
+
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
|
233
|
+
↳ bin/rails:25
|
234
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
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
|
391
|
+
↳ bin/rails:25
|
392
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
393
|
+
↳ bin/rails:25
|
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
|
424
|
+
↳ bin/rails:25
|
425
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
426
|
+
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
|
427
|
+
[1m[35m (39.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, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
428
|
+
↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
|
429
|
+
[1m[35m (30.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")[0m
|
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"]]
|
432
|
+
↳ bin/rails:25
|
433
|
+
[1m[35m (29.3ms)[0m [1m[35mCOMMIT[0m
|
434
|
+
↳ bin/rails:25
|
435
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
436
|
+
↳ bin/rails:25
|
437
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
438
|
+
↳ bin/rails:25
|
439
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[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-19 15:28:11.790946"], ["updated_at", "2018-07-19 15:28:11.790946"]]
|
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
|
466
|
+
↳ bin/rails:25
|
467
|
+
[1m[35m (852.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_dev"[0m
|
468
|
+
↳ bin/rails:25
|
469
|
+
[1m[35m (131.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
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
|
478
|
+
↳ bin/rails:25
|
479
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(7325747718710370390)[0m
|
480
|
+
↳ bin/rails:25
|
481
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
482
|
+
↳ bin/rails:25
|
483
|
+
Migrating to CreateApiUserAuthAuthUsers (20180703111608)
|
484
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
485
|
+
↳ bin/rails:25
|
486
|
+
[1m[35mSQL (0.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
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"]]
|
493
|
+
↳ bin/rails:25
|
494
|
+
[1m[35m (30.2ms)[0m [1m[35mCOMMIT[0m
|
495
|
+
↳ bin/rails:25
|
496
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
497
|
+
↳ bin/rails:25
|
498
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
499
|
+
↳ bin/rails:25
|
500
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[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-20 12:47:13.995013"], ["updated_at", "2018-07-20 12:47:13.995013"]]
|
501
|
+
↳ bin/rails:25
|
502
|
+
[1m[35m (56.1ms)[0m [1m[35mCOMMIT[0m
|
503
|
+
↳ bin/rails:25
|
504
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(7325747718710370390)[0m
|
505
|
+
↳ bin/rails:25
|
506
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
507
|
+
↳ bin/rails:25
|