openstax_api 8.0.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fd67f7eaa59122e363d49ec80c66a92789d63b8
|
4
|
+
data.tar.gz: 2c27a0241070b0912d7c59d5dc34ec11159222bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a0ab099f97920625cb806bcdd79d99f2639b3d8b1be958f26be58bf8b2f2ef8d6b7184834a634d6dcc833745c9fb7a295d08a24b534df28969923cb161a8367
|
7
|
+
data.tar.gz: 7e73d82dd3a3b36af83b111ec317ee593660d63f4a228f49f80c7f20866e108a1a06259587d48cedd38644f1140586de94e384ea70c6c4e7ded6e53e0df1201c
|
data/lib/openstax/api/roar.rb
CHANGED
data/lib/openstax/api/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -9529,3 +9529,549 @@ Completed 500 Internal Server Error in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
|
9529
9529
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
9530
9530
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
9531
9531
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."name" ASC LIMIT 20 OFFSET 19980
|
9532
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9533
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar) [0m
|
9534
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9535
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
9536
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar NOT NULL, "refresh_token" varchar, "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar)
|
9537
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")[0m
|
9538
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9539
|
+
FROM sqlite_master
|
9540
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9541
|
+
UNION ALL
|
9542
|
+
SELECT sql
|
9543
|
+
FROM sqlite_temp_master
|
9544
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9545
|
+
|
9546
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
9547
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9548
|
+
FROM sqlite_master
|
9549
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9550
|
+
UNION ALL
|
9551
|
+
SELECT sql
|
9552
|
+
FROM sqlite_temp_master
|
9553
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9554
|
+
|
9555
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9556
|
+
FROM sqlite_master
|
9557
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9558
|
+
UNION ALL
|
9559
|
+
SELECT sql
|
9560
|
+
FROM sqlite_temp_master
|
9561
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9562
|
+
[0m
|
9563
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
9564
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "secret" varchar NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9565
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
|
9566
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar NOT NULL, "password_hash" varchar NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9567
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
9568
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9569
|
+
FROM sqlite_master
|
9570
|
+
WHERE name='index_users_on_email' AND type='index'
|
9571
|
+
UNION ALL
|
9572
|
+
SELECT sql
|
9573
|
+
FROM sqlite_temp_master
|
9574
|
+
WHERE name='index_users_on_email' AND type='index'
|
9575
|
+
[0m
|
9576
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_users_on_name" ON "users" ("name")
|
9577
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9578
|
+
FROM sqlite_master
|
9579
|
+
WHERE name='index_users_on_name' AND type='index'
|
9580
|
+
UNION ALL
|
9581
|
+
SELECT sql
|
9582
|
+
FROM sqlite_temp_master
|
9583
|
+
WHERE name='index_users_on_name' AND type='index'
|
9584
|
+
[0m
|
9585
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9586
|
+
FROM sqlite_master
|
9587
|
+
WHERE name='index_users_on_email' AND type='index'
|
9588
|
+
UNION ALL
|
9589
|
+
SELECT sql
|
9590
|
+
FROM sqlite_temp_master
|
9591
|
+
WHERE name='index_users_on_email' AND type='index'
|
9592
|
+
|
9593
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_users_on_username" ON "users" ("username")[0m
|
9594
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
9595
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9596
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9597
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
9598
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
9599
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
9600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9601
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "8b18fa4cf7218de1cfb06a0de4900665"], ["password_hash", "3e8ba422e8c3dafde3f73d68c1e29476"], ["name", "Kamron Botsford"], ["email", "cristopher@shanahannicolas.info"], ["created_at", "2017-01-12 21:47:45.679417"], ["updated_at", "2017-01-12 21:47:45.679417"]]
|
9602
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
9603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9604
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "f9cff1ae1c2e83fbc5fe6dac7fafc2c8"], ["password_hash", "bcfa4b6b7d2b14c817338ae54e1eb45b"], ["name", "Gerson Bergstrom"], ["email", "sandra@pouroshoeger.biz"], ["created_at", "2017-01-12 21:47:45.684685"], ["updated_at", "2017-01-12 21:47:45.684685"]]
|
9605
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9607
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "2c4a0ce438f45fe1f6586fac48fcd77c"], ["password_hash", "4999aa7e0c88fd71d1c448931c4b5ec6"], ["name", "Nicholas Paucek"], ["email", "gus_waters@wittingmurphy.net"], ["created_at", "2017-01-12 21:47:45.695126"], ["updated_at", "2017-01-12 21:47:45.695126"]]
|
9608
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9610
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "706d9953265cb0130e5c334345753d32"], ["password_hash", "268b8a5843b93a59aadc3dbde4b5fa40"], ["name", "Koby Franecki V"], ["email", "jedidiah_corwin@schneider.net"], ["created_at", "2017-01-12 21:47:45.697632"], ["updated_at", "2017-01-12 21:47:45.697632"]]
|
9611
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9613
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "6355ef9a9b44b3de48aeb9350191f9d0"], ["password_hash", "ac75976b99620f21bd785633c484d1c0"], ["name", "Lesley Block"], ["email", "chester@daughertycollins.com"], ["created_at", "2017-01-12 21:47:45.700941"], ["updated_at", "2017-01-12 21:47:45.700941"]]
|
9614
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "27c978d6f9e6068696f70dd91392cd5e"], ["password_hash", "2dcf1ec98edd2891dc9d4a9a200d18e2"], ["name", "Mr. Lia Corkery"], ["email", "edythe@berge.org"], ["created_at", "2017-01-12 21:47:45.703237"], ["updated_at", "2017-01-12 21:47:45.703237"]]
|
9617
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9618
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 5]]
|
9619
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9620
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "8374aced87d4c94aadee2dd4b2781499"], ["password_hash", "50c5500766ac6df2f07fccab99823952"], ["name", "Tiffany Kovacek II"], ["email", "rex@gulgowskiwisoky.name"], ["created_at", "2017-01-12 21:47:45.724065"], ["updated_at", "2017-01-12 21:47:45.724065"]]
|
9621
|
+
[1m[35m (0.9ms)[0m commit transaction
|
9622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9623
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "64b72eba819b494c976be266b6c1163d"], ["password_hash", "52acfbb67a7a376448daccf8bb3636bd"], ["name", "Mr. Emmalee Bosco"], ["email", "maudie@beatty.org"], ["created_at", "2017-01-12 21:47:45.726903"], ["updated_at", "2017-01-12 21:47:45.726903"]]
|
9624
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9625
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL ORDER BY "users"."id" ASC LIMIT 1
|
9626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9627
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "7822b1fa1779dd2024f1f0e34fa847e7"], ["password_hash", "5157e386c0066f2757a0ede537841370"], ["name", "Parker Tromp"], ["email", "kiana_dickinson@terry.biz"], ["created_at", "2017-01-12 21:47:45.731289"], ["updated_at", "2017-01-12 21:47:45.731289"]]
|
9628
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9630
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "a76704287e83f4d47f783c17e0054b10"], ["password_hash", "9cc19301a3990783c81a017754891024"], ["name", "Daphney Robel V"], ["email", "damaris_grady@mayer.biz"], ["created_at", "2017-01-12 21:47:45.733626"], ["updated_at", "2017-01-12 21:47:45.733626"]]
|
9631
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9632
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 9 ORDER BY "users"."id" ASC LIMIT 1[0m
|
9633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9634
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "b996d37b8ce669bdce35ff05731f8be2"], ["password_hash", "428824056dbffad135d154d72096d3e2"], ["name", "Terence Hilpert"], ["email", "jacquelyn@effertz.com"], ["created_at", "2017-01-12 21:47:45.737696"], ["updated_at", "2017-01-12 21:47:45.737696"]]
|
9635
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9637
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "b9f55671d76be611e8de1c2420f1b3ab"], ["password_hash", "4e4f246af830df525f5b9a9a6f472afb"], ["name", "Carole Hettinger"], ["email", "jamil@jones.com"], ["created_at", "2017-01-12 21:47:45.740419"], ["updated_at", "2017-01-12 21:47:45.740419"]]
|
9638
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9639
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9640
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "cbd14d8b64c659f6ec8b1765fcf04c8f"], ["password_hash", "7da98cd4246b466544ca1c0453cbde18"], ["name", "Hilbert Kilback"], ["email", "ryley@windler.com"], ["created_at", "2017-01-12 21:47:45.748853"], ["updated_at", "2017-01-12 21:47:45.748853"]]
|
9643
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9644
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9645
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "c93876764274d371be15d32b66e3c89e"], ["password_hash", "54e10ecde2af38d965e30a753886f9f7"], ["name", "Jerome Wyman PhD"], ["email", "teie.hahn@kodibbert.biz"], ["created_at", "2017-01-12 21:47:45.751201"], ["updated_at", "2017-01-12 21:47:45.751201"]]
|
9646
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9647
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9648
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "39ddec0ba14fae267e3911f223fc02bf"], ["password_hash", "3e8d17cf234f8231b92d15ba59df3b62"], ["name", "Domingo Kirlin II"], ["email", "rowena@rau.info"], ["created_at", "2017-01-12 21:47:45.754748"], ["updated_at", "2017-01-12 21:47:45.754748"]]
|
9651
|
+
[1m[35m (0.9ms)[0m commit transaction
|
9652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9653
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "08c34720d3e33c836e88f1ce99691fe7"], ["password_hash", "d14f6173d29d2383455f34e7eda8b419"], ["name", "Howard Brakus III"], ["email", "meta_romaguera@oconnellwaters.org"], ["created_at", "2017-01-12 21:47:45.757204"], ["updated_at", "2017-01-12 21:47:45.757204"]]
|
9654
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
9655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9656
|
+
[1m[36mDoorkeeper::AccessToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = 'f7a108cac7e5de41fd3b53dc3f568a91ef2cf9ab4dbc04d4ad1d5cf39c00fd39' LIMIT 1[0m
|
9657
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "oauth_access_tokens" ("token", "created_at") VALUES (?, ?) [["token", "f7a108cac7e5de41fd3b53dc3f568a91ef2cf9ab4dbc04d4ad1d5cf39c00fd39"], ["created_at", "2017-01-12 21:47:45.769628"]]
|
9658
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9659
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9660
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9662
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "79cbe645751ab4d157d66c3a23030d29"], ["password_hash", "f4eb73a7af0d1a7e834bfcc3f56d75ca"], ["name", "Nora Marvin"], ["email", "shania@hodkiewicz.org"], ["created_at", "2017-01-12 21:47:45.775011"], ["updated_at", "2017-01-12 21:47:45.775011"]]
|
9663
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9665
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "fcfbf251a63111214c199862348ceeee"], ["password_hash", "b6521438c0fd2443f5aa9bfb41b69afb"], ["name", "Vidal Walter"], ["email", "judd@baumbach.com"], ["created_at", "2017-01-12 21:47:45.777374"], ["updated_at", "2017-01-12 21:47:45.777374"]]
|
9666
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9667
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9668
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9670
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "30e0927203d6c7f4133b9d263a9a28bf"], ["password_hash", "b2e2e94d9d21fc2a60153c4b7e2f2c46"], ["name", "Ms. Randal McGlynn"], ["email", "treie@dibbert.org"], ["created_at", "2017-01-12 21:47:45.781144"], ["updated_at", "2017-01-12 21:47:45.781144"]]
|
9671
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9673
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "a5697838ce5e482b812eba0fb63d4a1b"], ["password_hash", "81b35b546c3db9ab4c0d5b3ae4dbd887"], ["name", "Karen MacGyver"], ["email", "lavada_hamill@creminbaumbach.name"], ["created_at", "2017-01-12 21:47:45.783324"], ["updated_at", "2017-01-12 21:47:45.783324"]]
|
9674
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9675
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9676
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9678
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "f40333039b47e35228d1d03ca4586715"], ["password_hash", "aa53689419227af6684809102a14a45a"], ["name", "Kitty Keeling"], ["email", "florine@moriette.biz"], ["created_at", "2017-01-12 21:47:45.786833"], ["updated_at", "2017-01-12 21:47:45.786833"]]
|
9679
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9681
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "7d8ab69ac0558da48a19820872c06632"], ["password_hash", "10882b0c573bc73c67fbbd23f29422cf"], ["name", "Helmer Bailey Jr."], ["email", "cydney_okeefe@hoegerbode.info"], ["created_at", "2017-01-12 21:47:45.789023"], ["updated_at", "2017-01-12 21:47:45.789023"]]
|
9682
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9683
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9684
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9686
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "6041212299cc4a469ac11584ac7155f5"], ["password_hash", "6ee029bc3154fdad16095ba835ba69dc"], ["name", "Hildegard Gaylord"], ["email", "ebony@gusikowski.net"], ["created_at", "2017-01-12 21:47:45.792982"], ["updated_at", "2017-01-12 21:47:45.792982"]]
|
9687
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9689
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "da5c60418ab3053cb8775fe4d1e206fe"], ["password_hash", "11acf8966418bf56a857f9ab218fb949"], ["name", "Elliott Dietrich"], ["email", "ian_jakubowski@hahn.info"], ["created_at", "2017-01-12 21:47:45.795316"], ["updated_at", "2017-01-12 21:47:45.795316"]]
|
9690
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9691
|
+
Processing by Api::V1::DummyController#explode as HTML
|
9692
|
+
Rendered text template (0.0ms)
|
9693
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
9694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9695
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "64396335cbc18fa3e917dbe6aefdc4d5"], ["password_hash", "bca4a1af9c4e0ee4071adbe4e6571fc7"], ["name", "Dr. Marcia Bruen"], ["email", "carolyn_labadie@ortiz.info"], ["created_at", "2017-01-12 21:47:45.804599"], ["updated_at", "2017-01-12 21:47:45.804599"]]
|
9696
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9698
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "46f8479099676be89a339361f0c9ee83"], ["password_hash", "7dcc5afaa526d7e43fd21a1fc4786daa"], ["name", "Rogelio Moen"], ["email", "jasper.lemke@pacocha.org"], ["created_at", "2017-01-12 21:47:45.807134"], ["updated_at", "2017-01-12 21:47:45.807134"]]
|
9699
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9701
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "07dd57482b5b98e0597288f6763a7517"], ["password_hash", "e5b9e1cbd634d5bd702f05fd21ba7602"], ["name", "Mazie Roberts"], ["email", "elliot.stamm@waelchi.info"], ["created_at", "2017-01-12 21:47:45.810163"], ["updated_at", "2017-01-12 21:47:45.810163"]]
|
9702
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9704
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "3f21de5bea14bb09d1b97707df4f9587"], ["password_hash", "6602bf0125d7f8133f0f3b1ebb3903bb"], ["name", "Domenica Bartell"], ["email", "norberto_walker@beier.com"], ["created_at", "2017-01-12 21:47:45.812915"], ["updated_at", "2017-01-12 21:47:45.812915"]]
|
9705
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9707
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "9e357cbae888362c1c0d4fb888b0d2c0"], ["password_hash", "0165559bdc0ae7d082ebb26e1e946ed5"], ["name", "Aletha Casper"], ["email", "clair_krajcik@feeney.biz"], ["created_at", "2017-01-12 21:47:45.816577"], ["updated_at", "2017-01-12 21:47:45.816577"]]
|
9708
|
+
[1m[35m (0.9ms)[0m commit transaction
|
9709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9710
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "bf89b4eb3545df22f19f9f1e065cc3b5"], ["password_hash", "52673b1e4bdd0e78aa03bfd72f9aaac9"], ["name", "Aisha Cummerata"], ["email", "valerie@gulgowski.biz"], ["created_at", "2017-01-12 21:47:45.819256"], ["updated_at", "2017-01-12 21:47:45.819256"]]
|
9711
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9712
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9713
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar) [0m
|
9714
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9715
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
9716
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar NOT NULL, "refresh_token" varchar, "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar)
|
9717
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")[0m
|
9718
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9719
|
+
FROM sqlite_master
|
9720
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9721
|
+
UNION ALL
|
9722
|
+
SELECT sql
|
9723
|
+
FROM sqlite_temp_master
|
9724
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9725
|
+
|
9726
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
9727
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9728
|
+
FROM sqlite_master
|
9729
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9730
|
+
UNION ALL
|
9731
|
+
SELECT sql
|
9732
|
+
FROM sqlite_temp_master
|
9733
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9734
|
+
|
9735
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9736
|
+
FROM sqlite_master
|
9737
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9738
|
+
UNION ALL
|
9739
|
+
SELECT sql
|
9740
|
+
FROM sqlite_temp_master
|
9741
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9742
|
+
[0m
|
9743
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
9744
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "secret" varchar NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9745
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
|
9746
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar NOT NULL, "password_hash" varchar NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9747
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
9748
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9749
|
+
FROM sqlite_master
|
9750
|
+
WHERE name='index_users_on_email' AND type='index'
|
9751
|
+
UNION ALL
|
9752
|
+
SELECT sql
|
9753
|
+
FROM sqlite_temp_master
|
9754
|
+
WHERE name='index_users_on_email' AND type='index'
|
9755
|
+
[0m
|
9756
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_users_on_name" ON "users" ("name")
|
9757
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9758
|
+
FROM sqlite_master
|
9759
|
+
WHERE name='index_users_on_name' AND type='index'
|
9760
|
+
UNION ALL
|
9761
|
+
SELECT sql
|
9762
|
+
FROM sqlite_temp_master
|
9763
|
+
WHERE name='index_users_on_name' AND type='index'
|
9764
|
+
[0m
|
9765
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9766
|
+
FROM sqlite_master
|
9767
|
+
WHERE name='index_users_on_email' AND type='index'
|
9768
|
+
UNION ALL
|
9769
|
+
SELECT sql
|
9770
|
+
FROM sqlite_temp_master
|
9771
|
+
WHERE name='index_users_on_email' AND type='index'
|
9772
|
+
|
9773
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_users_on_username" ON "users" ("username")[0m
|
9774
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
9775
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9776
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9777
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
9778
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
9779
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
9780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9781
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "1a755708c6a40936036ae411c359dd35"], ["password_hash", "6302d5f7fe97e2f8230b12780222759c"], ["name", "Mr. Domenic Conn"], ["email", "carmelo.schiller@nicolasheel.biz"], ["created_at", "2017-01-12 21:50:44.433542"], ["updated_at", "2017-01-12 21:50:44.433542"]]
|
9782
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
9783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9784
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "055fb1b5a14089bd7535fabf23db678c"], ["password_hash", "e69d2e1323542b43fbe35d347f810148"], ["name", "Jolie Turner"], ["email", "jaclyn.farrell@gusikowski.net"], ["created_at", "2017-01-12 21:50:44.439750"], ["updated_at", "2017-01-12 21:50:44.439750"]]
|
9785
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9787
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "da9e793bcece4942c87556be55a55e34"], ["password_hash", "79a1ae729d968f266e2cb7af9a4c7804"], ["name", "Scarlett Waelchi"], ["email", "piper.pacocha@goodwin.com"], ["created_at", "2017-01-12 21:50:44.449680"], ["updated_at", "2017-01-12 21:50:44.449680"]]
|
9788
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9790
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "d7b40786be212fd625298ef8b58f4352"], ["password_hash", "7a2617518c3df671b17f00fd848b651f"], ["name", "Holly Kulas"], ["email", "catalina@wehner.info"], ["created_at", "2017-01-12 21:50:44.452360"], ["updated_at", "2017-01-12 21:50:44.452360"]]
|
9791
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9793
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "009cf7bc9f6f44b524b8cefac72cac7e"], ["password_hash", "aca7ea9dfd8fe99a319df4d184b43719"], ["name", "Rogelio McClure"], ["email", "kallie@morar.name"], ["created_at", "2017-01-12 21:50:44.455693"], ["updated_at", "2017-01-12 21:50:44.455693"]]
|
9794
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9795
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9796
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "2f63346192762ce8dc4cfc9dfbdfc95e"], ["password_hash", "48e60e75291cd2da161eb248038380bc"], ["name", "Mr. Vern Beatty"], ["email", "aleen.mayert@schowalter.info"], ["created_at", "2017-01-12 21:50:44.458181"], ["updated_at", "2017-01-12 21:50:44.458181"]]
|
9797
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9798
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 5]]
|
9799
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9800
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "e5f4ecd6c1c3b97b8442894520cd7ab0"], ["password_hash", "da8b8945d8696e725ddafa1345e088d4"], ["name", "Merlin Lynch"], ["email", "cooper.ullrich@schmidt.biz"], ["created_at", "2017-01-12 21:50:44.471569"], ["updated_at", "2017-01-12 21:50:44.471569"]]
|
9801
|
+
[1m[35m (0.9ms)[0m commit transaction
|
9802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9803
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "cb94d3ea5c21fc577f2ae43c4808a2d4"], ["password_hash", "7d77d623f0aec97e904e1c65f744c977"], ["name", "Robyn Halvorson"], ["email", "agustin_fritsch@walsh.com"], ["created_at", "2017-01-12 21:50:44.474131"], ["updated_at", "2017-01-12 21:50:44.474131"]]
|
9804
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9805
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL ORDER BY "users"."id" ASC LIMIT 1
|
9806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9807
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "0505eecfc7f3d892e7900f17c3387693"], ["password_hash", "67cd88d421a329340d54624dd7f016ae"], ["name", "Mr. Bartholome Sauer"], ["email", "maureen.heaney@tremblay.info"], ["created_at", "2017-01-12 21:50:44.478004"], ["updated_at", "2017-01-12 21:50:44.478004"]]
|
9808
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9810
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "07f4a23463b173cbdd56e3bb7bf80ffa"], ["password_hash", "5f94f0c335dd5e9d214632da40a749df"], ["name", "Darrin Rosenbaum"], ["email", "ashlynn@hagenes.net"], ["created_at", "2017-01-12 21:50:44.480267"], ["updated_at", "2017-01-12 21:50:44.480267"]]
|
9811
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9812
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 9 ORDER BY "users"."id" ASC LIMIT 1[0m
|
9813
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "2c2236d0f1b63559ebdc8bac997a40f8"], ["password_hash", "92e3daa939067a528c120b6b9d6d1ec5"], ["name", "Therese Stehr Jr."], ["email", "armani_mayert@christiansenhickle.biz"], ["created_at", "2017-01-12 21:50:44.484554"], ["updated_at", "2017-01-12 21:50:44.484554"]]
|
9815
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9817
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "4b963e46399e3e2712a27bb97bb280f7"], ["password_hash", "b7e5822818f29a30319a6b30111bf12f"], ["name", "Naomie Daugherty"], ["email", "flavie@bahringer.org"], ["created_at", "2017-01-12 21:50:44.487138"], ["updated_at", "2017-01-12 21:50:44.487138"]]
|
9818
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
9819
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9820
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9822
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "3e0f8ccf5a31bc5d2567e46f68572402"], ["password_hash", "adf3fd64ca6adf8ed3201b00936996f0"], ["name", "Telly Trantow"], ["email", "frankie.ferry@cronafeil.com"], ["created_at", "2017-01-12 21:50:44.496445"], ["updated_at", "2017-01-12 21:50:44.496445"]]
|
9823
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9824
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9825
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "050ff64901b05dc1c701f8f1b4bd92d1"], ["password_hash", "e0bde50c80c255344562922a2b9cc0ad"], ["name", "Ms. Willard Thompson"], ["email", "anne@schmelerhettinger.org"], ["created_at", "2017-01-12 21:50:44.498963"], ["updated_at", "2017-01-12 21:50:44.498963"]]
|
9826
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9827
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9828
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9830
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "d1ef1bd4b9b616251eba8da348760ded"], ["password_hash", "62087fd24533ab1c08d6dfed526de33e"], ["name", "Emie Kiehn"], ["email", "ivah_borer@herman.org"], ["created_at", "2017-01-12 21:50:44.502766"], ["updated_at", "2017-01-12 21:50:44.502766"]]
|
9831
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9833
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "adc0c23747e4d3c4e8e01808a1fae122"], ["password_hash", "175333c69184d81f8d2fe78b1d45a409"], ["name", "Dana Runolfsson"], ["email", "casandra@wilkinson.org"], ["created_at", "2017-01-12 21:50:44.504992"], ["updated_at", "2017-01-12 21:50:44.504992"]]
|
9834
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9835
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9836
|
+
[1m[36mDoorkeeper::AccessToken Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."token" = '1988ae9c3c426eb7e00a0a642a9f56db22d7d1c451d1a87d78c6eca2c9cd5376' LIMIT 1[0m
|
9837
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "oauth_access_tokens" ("token", "created_at") VALUES (?, ?) [["token", "1988ae9c3c426eb7e00a0a642a9f56db22d7d1c451d1a87d78c6eca2c9cd5376"], ["created_at", "2017-01-12 21:50:44.518025"]]
|
9838
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9839
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9840
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9842
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "78c3361dc7b6553d4196608325c9c592"], ["password_hash", "5c5ac299d9d0a99fa2ff2393757bb434"], ["name", "Carolyn Thompson"], ["email", "abbey_ondricka@schinner.net"], ["created_at", "2017-01-12 21:50:44.523060"], ["updated_at", "2017-01-12 21:50:44.523060"]]
|
9843
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9844
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9845
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "3b98e11736d41642da16c8ce7d688425"], ["password_hash", "ba3106ec1de0beb2c5d9a0c26978aee3"], ["name", "Buddy Dibbert"], ["email", "rosalee.sporer@strackelind.biz"], ["created_at", "2017-01-12 21:50:44.525647"], ["updated_at", "2017-01-12 21:50:44.525647"]]
|
9846
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9847
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9848
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9849
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9850
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "27b9d145eae35f6853548bda1cafa3a9"], ["password_hash", "e3d131e29bb43649dc922249104b5872"], ["name", "Sheila Hirthe"], ["email", "danial_murray@rathjohnson.biz"], ["created_at", "2017-01-12 21:50:44.530524"], ["updated_at", "2017-01-12 21:50:44.530524"]]
|
9851
|
+
[1m[35m (0.7ms)[0m commit transaction
|
9852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9853
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "97e0c56d272977efac78f5b9c8cf2fa8"], ["password_hash", "f4b75826d196517ec12d6f39192390e2"], ["name", "Savion Jacobs DDS"], ["email", "kallie@krajcik.org"], ["created_at", "2017-01-12 21:50:44.532933"], ["updated_at", "2017-01-12 21:50:44.532933"]]
|
9854
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9855
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9856
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9858
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "6d9ae9e188cb03b5fa439413be02949d"], ["password_hash", "b85e260d767a663bf75eb243760f6625"], ["name", "Miss Bennie Fay"], ["email", "hilda@denesik.biz"], ["created_at", "2017-01-12 21:50:44.536591"], ["updated_at", "2017-01-12 21:50:44.536591"]]
|
9859
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9861
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "df8d82ec5f747e0d3d63fcd35ee912a3"], ["password_hash", "65f1702d30f1740cced305d64c39ca8c"], ["name", "Columbus Glover"], ["email", "gregory_herman@gleasonbuckridge.com"], ["created_at", "2017-01-12 21:50:44.538799"], ["updated_at", "2017-01-12 21:50:44.538799"]]
|
9862
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
9863
|
+
Processing by Api::V1::DummyController#dummy as HTML
|
9864
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
9865
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9866
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["username", "49f0014b256ba3f9be0be9a51e341592"], ["password_hash", "fa2c668c8c7bd56d6c942742a32ab94d"], ["name", "Amara Olson II"], ["email", "madilyn@wilkinsonstoltenberg.net"], ["created_at", "2017-01-12 21:50:44.542643"], ["updated_at", "2017-01-12 21:50:44.542643"]]
|
9867
|
+
[1m[35m (0.8ms)[0m commit transaction
|
9868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("username", "password_hash", "name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["username", "d20382cafcaf81836b38361adf89710a"], ["password_hash", "8b6cff8dabd790e7cecb448d8e156a2b"], ["name", "Fredrick Predovic"], ["email", "otho_wehner@walsh.info"], ["created_at", "2017-01-12 21:50:44.545009"], ["updated_at", "2017-01-12 21:50:44.545009"]]
|
9870
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9871
|
+
Processing by Api::V1::DummyController#explode as HTML
|
9872
|
+
Rendered text template (0.0ms)
|
9873
|
+
Completed 500 Internal Server Error in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
9874
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9875
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar) [0m
|
9876
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9877
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
9878
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar NOT NULL, "refresh_token" varchar, "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar)
|
9879
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")[0m
|
9880
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9881
|
+
FROM sqlite_master
|
9882
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9883
|
+
UNION ALL
|
9884
|
+
SELECT sql
|
9885
|
+
FROM sqlite_temp_master
|
9886
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9887
|
+
|
9888
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
9889
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9890
|
+
FROM sqlite_master
|
9891
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9892
|
+
UNION ALL
|
9893
|
+
SELECT sql
|
9894
|
+
FROM sqlite_temp_master
|
9895
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9896
|
+
|
9897
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9898
|
+
FROM sqlite_master
|
9899
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9900
|
+
UNION ALL
|
9901
|
+
SELECT sql
|
9902
|
+
FROM sqlite_temp_master
|
9903
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9904
|
+
[0m
|
9905
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
9906
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "secret" varchar NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9907
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
|
9908
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar NOT NULL, "password_hash" varchar NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9909
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
9910
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9911
|
+
FROM sqlite_master
|
9912
|
+
WHERE name='index_users_on_email' AND type='index'
|
9913
|
+
UNION ALL
|
9914
|
+
SELECT sql
|
9915
|
+
FROM sqlite_temp_master
|
9916
|
+
WHERE name='index_users_on_email' AND type='index'
|
9917
|
+
[0m
|
9918
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_users_on_name" ON "users" ("name")
|
9919
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9920
|
+
FROM sqlite_master
|
9921
|
+
WHERE name='index_users_on_name' AND type='index'
|
9922
|
+
UNION ALL
|
9923
|
+
SELECT sql
|
9924
|
+
FROM sqlite_temp_master
|
9925
|
+
WHERE name='index_users_on_name' AND type='index'
|
9926
|
+
[0m
|
9927
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9928
|
+
FROM sqlite_master
|
9929
|
+
WHERE name='index_users_on_email' AND type='index'
|
9930
|
+
UNION ALL
|
9931
|
+
SELECT sql
|
9932
|
+
FROM sqlite_temp_master
|
9933
|
+
WHERE name='index_users_on_email' AND type='index'
|
9934
|
+
|
9935
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_users_on_username" ON "users" ("username")[0m
|
9936
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
9937
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9938
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9939
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
9940
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
9941
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
9942
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9943
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar) [0m
|
9944
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9945
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
9946
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar NOT NULL, "refresh_token" varchar, "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar)
|
9947
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")[0m
|
9948
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9949
|
+
FROM sqlite_master
|
9950
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9951
|
+
UNION ALL
|
9952
|
+
SELECT sql
|
9953
|
+
FROM sqlite_temp_master
|
9954
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9955
|
+
|
9956
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
9957
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9958
|
+
FROM sqlite_master
|
9959
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9960
|
+
UNION ALL
|
9961
|
+
SELECT sql
|
9962
|
+
FROM sqlite_temp_master
|
9963
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
9964
|
+
|
9965
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9966
|
+
FROM sqlite_master
|
9967
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9968
|
+
UNION ALL
|
9969
|
+
SELECT sql
|
9970
|
+
FROM sqlite_temp_master
|
9971
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
9972
|
+
[0m
|
9973
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
9974
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "secret" varchar NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9975
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
|
9976
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar NOT NULL, "password_hash" varchar NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
9977
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
9978
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9979
|
+
FROM sqlite_master
|
9980
|
+
WHERE name='index_users_on_email' AND type='index'
|
9981
|
+
UNION ALL
|
9982
|
+
SELECT sql
|
9983
|
+
FROM sqlite_temp_master
|
9984
|
+
WHERE name='index_users_on_email' AND type='index'
|
9985
|
+
[0m
|
9986
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_users_on_name" ON "users" ("name")
|
9987
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
9988
|
+
FROM sqlite_master
|
9989
|
+
WHERE name='index_users_on_name' AND type='index'
|
9990
|
+
UNION ALL
|
9991
|
+
SELECT sql
|
9992
|
+
FROM sqlite_temp_master
|
9993
|
+
WHERE name='index_users_on_name' AND type='index'
|
9994
|
+
[0m
|
9995
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
9996
|
+
FROM sqlite_master
|
9997
|
+
WHERE name='index_users_on_email' AND type='index'
|
9998
|
+
UNION ALL
|
9999
|
+
SELECT sql
|
10000
|
+
FROM sqlite_temp_master
|
10001
|
+
WHERE name='index_users_on_email' AND type='index'
|
10002
|
+
|
10003
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_users_on_username" ON "users" ("username")[0m
|
10004
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
10005
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10006
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10007
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
10008
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
10009
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
10010
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10011
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar) [0m
|
10012
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
10013
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
10014
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar NOT NULL, "refresh_token" varchar, "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar)
|
10015
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")[0m
|
10016
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10017
|
+
FROM sqlite_master
|
10018
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
10019
|
+
UNION ALL
|
10020
|
+
SELECT sql
|
10021
|
+
FROM sqlite_temp_master
|
10022
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
10023
|
+
|
10024
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
10025
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10026
|
+
FROM sqlite_master
|
10027
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
10028
|
+
UNION ALL
|
10029
|
+
SELECT sql
|
10030
|
+
FROM sqlite_temp_master
|
10031
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
10032
|
+
|
10033
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10034
|
+
FROM sqlite_master
|
10035
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
10036
|
+
UNION ALL
|
10037
|
+
SELECT sql
|
10038
|
+
FROM sqlite_temp_master
|
10039
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
10040
|
+
[0m
|
10041
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
10042
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "secret" varchar NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
10043
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
|
10044
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar NOT NULL, "password_hash" varchar NOT NULL, "name" varchar NOT NULL, "email" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
10045
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
10046
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10047
|
+
FROM sqlite_master
|
10048
|
+
WHERE name='index_users_on_email' AND type='index'
|
10049
|
+
UNION ALL
|
10050
|
+
SELECT sql
|
10051
|
+
FROM sqlite_temp_master
|
10052
|
+
WHERE name='index_users_on_email' AND type='index'
|
10053
|
+
[0m
|
10054
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_users_on_name" ON "users" ("name")
|
10055
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10056
|
+
FROM sqlite_master
|
10057
|
+
WHERE name='index_users_on_name' AND type='index'
|
10058
|
+
UNION ALL
|
10059
|
+
SELECT sql
|
10060
|
+
FROM sqlite_temp_master
|
10061
|
+
WHERE name='index_users_on_name' AND type='index'
|
10062
|
+
[0m
|
10063
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10064
|
+
FROM sqlite_master
|
10065
|
+
WHERE name='index_users_on_email' AND type='index'
|
10066
|
+
UNION ALL
|
10067
|
+
SELECT sql
|
10068
|
+
FROM sqlite_temp_master
|
10069
|
+
WHERE name='index_users_on_email' AND type='index'
|
10070
|
+
|
10071
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_users_on_username" ON "users" ("username")[0m
|
10072
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
10073
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10074
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10075
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
10076
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
10077
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
@@ -18,6 +18,27 @@ module OpenStax
|
|
18
18
|
expect(controller).to respond_to(:standard_sort)
|
19
19
|
expect(controller).to respond_to(:render_api_errors)
|
20
20
|
end
|
21
|
+
|
22
|
+
context 'render_api_errors' do
|
23
|
+
it 'returns nil if errors is nil' do
|
24
|
+
expect(controller).not_to receive(:render)
|
25
|
+
expect(controller.render_api_errors(nil)).to be_nil
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'returns nil if errors is empty' do
|
29
|
+
expect(controller).not_to receive(:render)
|
30
|
+
expect(controller.render_api_errors([])).to be_nil
|
31
|
+
expect(controller.render_api_errors({})).to be_nil
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'returns the rendered response if there are errors' do
|
35
|
+
expect(controller).to receive(:render) do |options|
|
36
|
+
expect(options[:json]).to eq({ status: 422, errors: [{code: :error}] })
|
37
|
+
expect(options[:status]).to eq :unprocessable_entity
|
38
|
+
end
|
39
|
+
controller.render_api_errors(code: :error)
|
40
|
+
end
|
41
|
+
end
|
21
42
|
end
|
22
43
|
end
|
23
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|