openstax_api 2.2.4 → 2.3.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: 45c27bbfb7edbe8f5c01860b4e4f0a9e207b7da8
|
4
|
+
data.tar.gz: 43d7537f58483adaae038c63c68a2f165495dc45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4542cb79a125a6649073825c5eae73b8270f11037ebd95b62fc0de1cc28d7cf5da8437b2e3cc756a1d0f2d34d842c1540b54a27a8eb06e3754b8eb938de3d1d
|
7
|
+
data.tar.gz: 6032ee2636e0813b182fda6b4e06fa61af87219a892e1afa9e413cfa78586bfb0bfd5e1823bce8cdf7316f2e933c2680c4fe8f26651b12fc8751257354d9b25e
|
data/lib/openstax/api/engine.rb
CHANGED
@@ -4,11 +4,21 @@ module OpenStax
|
|
4
4
|
module Api
|
5
5
|
module RoutingMapperIncludes
|
6
6
|
def api(version, options = {})
|
7
|
+
api_namespace = (options.delete(:namespace) || 'api').to_s
|
7
8
|
constraints = Constraints.new(version: version,
|
8
9
|
default: options.delete(:default))
|
9
|
-
|
10
|
+
|
11
|
+
namespace api_namespace, defaults: {format: 'json'}.merge(options) do
|
10
12
|
scope(module: version,
|
11
|
-
constraints: constraints)
|
13
|
+
constraints: constraints) do
|
14
|
+
get '/', to: '/apipie/apipies#index', defaults: {format: 'html',
|
15
|
+
version: version.to_s}
|
16
|
+
|
17
|
+
yield
|
18
|
+
|
19
|
+
match '/*other', via: [:get, :post, :put, :patch, :delete],
|
20
|
+
to: lambda { |env| [404, {"Content-Type" => 'application/json'}, ['']] }
|
21
|
+
end
|
12
22
|
end
|
13
23
|
end
|
14
24
|
end
|
data/lib/openstax/api/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -3463,3 +3463,465 @@ Connecting to database specified by database.yml
|
|
3463
3463
|
[1m[35m (0.1ms)[0m begin transaction
|
3464
3464
|
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL ORDER BY "dummy_users"."id" ASC LIMIT 1[0m
|
3465
3465
|
[1m[35m (0.1ms)[0m rollback transaction
|
3466
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3467
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3468
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3469
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3470
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3471
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3472
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3473
|
+
FROM sqlite_master
|
3474
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3475
|
+
UNION ALL
|
3476
|
+
SELECT sql
|
3477
|
+
FROM sqlite_temp_master
|
3478
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3479
|
+
[0m
|
3480
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3481
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3482
|
+
FROM sqlite_master
|
3483
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3484
|
+
UNION ALL
|
3485
|
+
SELECT sql
|
3486
|
+
FROM sqlite_temp_master
|
3487
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3488
|
+
[0m
|
3489
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3490
|
+
FROM sqlite_master
|
3491
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3492
|
+
UNION ALL
|
3493
|
+
SELECT sql
|
3494
|
+
FROM sqlite_temp_master
|
3495
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3496
|
+
|
3497
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3498
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3499
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3500
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3501
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3502
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3503
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3504
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3505
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3506
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3507
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
3508
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3509
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3510
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3511
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3512
|
+
FROM sqlite_master
|
3513
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3514
|
+
UNION ALL
|
3515
|
+
SELECT sql
|
3516
|
+
FROM sqlite_temp_master
|
3517
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3518
|
+
[0m
|
3519
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3520
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3521
|
+
FROM sqlite_master
|
3522
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3523
|
+
UNION ALL
|
3524
|
+
SELECT sql
|
3525
|
+
FROM sqlite_temp_master
|
3526
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3527
|
+
[0m
|
3528
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3529
|
+
FROM sqlite_master
|
3530
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3531
|
+
UNION ALL
|
3532
|
+
SELECT sql
|
3533
|
+
FROM sqlite_temp_master
|
3534
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3535
|
+
|
3536
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3537
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3538
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3539
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3540
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3541
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3542
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3543
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3544
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3545
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3546
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3547
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3548
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3549
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3550
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3551
|
+
FROM sqlite_master
|
3552
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3553
|
+
UNION ALL
|
3554
|
+
SELECT sql
|
3555
|
+
FROM sqlite_temp_master
|
3556
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3557
|
+
[0m
|
3558
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3559
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3560
|
+
FROM sqlite_master
|
3561
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3562
|
+
UNION ALL
|
3563
|
+
SELECT sql
|
3564
|
+
FROM sqlite_temp_master
|
3565
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3566
|
+
[0m
|
3567
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3568
|
+
FROM sqlite_master
|
3569
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3570
|
+
UNION ALL
|
3571
|
+
SELECT sql
|
3572
|
+
FROM sqlite_temp_master
|
3573
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3574
|
+
|
3575
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3576
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3577
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3578
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3579
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3580
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3581
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3582
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3583
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3584
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3585
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
3586
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3587
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3588
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3589
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3590
|
+
FROM sqlite_master
|
3591
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3592
|
+
UNION ALL
|
3593
|
+
SELECT sql
|
3594
|
+
FROM sqlite_temp_master
|
3595
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3596
|
+
[0m
|
3597
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3598
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3599
|
+
FROM sqlite_master
|
3600
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3601
|
+
UNION ALL
|
3602
|
+
SELECT sql
|
3603
|
+
FROM sqlite_temp_master
|
3604
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3605
|
+
[0m
|
3606
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3607
|
+
FROM sqlite_master
|
3608
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3609
|
+
UNION ALL
|
3610
|
+
SELECT sql
|
3611
|
+
FROM sqlite_temp_master
|
3612
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3613
|
+
|
3614
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3615
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3616
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3617
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3618
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3619
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3620
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3621
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3622
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3623
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3624
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3625
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3626
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3627
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3628
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3629
|
+
FROM sqlite_master
|
3630
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3631
|
+
UNION ALL
|
3632
|
+
SELECT sql
|
3633
|
+
FROM sqlite_temp_master
|
3634
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3635
|
+
[0m
|
3636
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3637
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3638
|
+
FROM sqlite_master
|
3639
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3640
|
+
UNION ALL
|
3641
|
+
SELECT sql
|
3642
|
+
FROM sqlite_temp_master
|
3643
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3644
|
+
[0m
|
3645
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3646
|
+
FROM sqlite_master
|
3647
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3648
|
+
UNION ALL
|
3649
|
+
SELECT sql
|
3650
|
+
FROM sqlite_temp_master
|
3651
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3652
|
+
|
3653
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3654
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3655
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3656
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3657
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3658
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3659
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3660
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3661
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3662
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3663
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
3664
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3665
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3666
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3667
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3668
|
+
FROM sqlite_master
|
3669
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3670
|
+
UNION ALL
|
3671
|
+
SELECT sql
|
3672
|
+
FROM sqlite_temp_master
|
3673
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3674
|
+
[0m
|
3675
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3676
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3677
|
+
FROM sqlite_master
|
3678
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3679
|
+
UNION ALL
|
3680
|
+
SELECT sql
|
3681
|
+
FROM sqlite_temp_master
|
3682
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3683
|
+
[0m
|
3684
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3685
|
+
FROM sqlite_master
|
3686
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3687
|
+
UNION ALL
|
3688
|
+
SELECT sql
|
3689
|
+
FROM sqlite_temp_master
|
3690
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3691
|
+
|
3692
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3693
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3694
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3695
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3696
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3697
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3698
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3699
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3700
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3701
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3702
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3703
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3704
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3705
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3706
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
3707
|
+
FROM sqlite_master
|
3708
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3709
|
+
UNION ALL
|
3710
|
+
SELECT sql
|
3711
|
+
FROM sqlite_temp_master
|
3712
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3713
|
+
[0m
|
3714
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3715
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3716
|
+
FROM sqlite_master
|
3717
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3718
|
+
UNION ALL
|
3719
|
+
SELECT sql
|
3720
|
+
FROM sqlite_temp_master
|
3721
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3722
|
+
[0m
|
3723
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3724
|
+
FROM sqlite_master
|
3725
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3726
|
+
UNION ALL
|
3727
|
+
SELECT sql
|
3728
|
+
FROM sqlite_temp_master
|
3729
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3730
|
+
|
3731
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3732
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3733
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3734
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3735
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3736
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3737
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3738
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3739
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3740
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3741
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3742
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3743
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3744
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3745
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3746
|
+
FROM sqlite_master
|
3747
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3748
|
+
UNION ALL
|
3749
|
+
SELECT sql
|
3750
|
+
FROM sqlite_temp_master
|
3751
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3752
|
+
[0m
|
3753
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3754
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3755
|
+
FROM sqlite_master
|
3756
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3757
|
+
UNION ALL
|
3758
|
+
SELECT sql
|
3759
|
+
FROM sqlite_temp_master
|
3760
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3761
|
+
[0m
|
3762
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3763
|
+
FROM sqlite_master
|
3764
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3765
|
+
UNION ALL
|
3766
|
+
SELECT sql
|
3767
|
+
FROM sqlite_temp_master
|
3768
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3769
|
+
|
3770
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3771
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3772
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3773
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3774
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3775
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3776
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3777
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3778
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3779
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3780
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3781
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3782
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3783
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3784
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3785
|
+
FROM sqlite_master
|
3786
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3787
|
+
UNION ALL
|
3788
|
+
SELECT sql
|
3789
|
+
FROM sqlite_temp_master
|
3790
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3791
|
+
[0m
|
3792
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3793
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3794
|
+
FROM sqlite_master
|
3795
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3796
|
+
UNION ALL
|
3797
|
+
SELECT sql
|
3798
|
+
FROM sqlite_temp_master
|
3799
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3800
|
+
[0m
|
3801
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3802
|
+
FROM sqlite_master
|
3803
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3804
|
+
UNION ALL
|
3805
|
+
SELECT sql
|
3806
|
+
FROM sqlite_temp_master
|
3807
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3808
|
+
|
3809
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3810
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3811
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3812
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3813
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3814
|
+
[1m[35m (0.8ms)[0m SELECT version FROM "schema_migrations"
|
3815
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3816
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3817
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3818
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3820
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3826
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3832
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3833
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3834
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3838
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3841
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-09-24 23:23:24.938667"], ["updated_at", "2014-09-24 23:23:24.938667"]]
|
3842
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3843
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3846
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-24 23:23:24.944437"], ["updated_at", "2014-09-24 23:23:24.944437"]]
|
3847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3848
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 ORDER BY "dummy_users"."id" ASC LIMIT 1
|
3849
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3850
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3851
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL ORDER BY "dummy_users"."id" ASC LIMIT 1[0m
|
3852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3853
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
3854
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
3855
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3856
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")
|
3857
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
3858
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
3859
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3860
|
+
FROM sqlite_master
|
3861
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3862
|
+
UNION ALL
|
3863
|
+
SELECT sql
|
3864
|
+
FROM sqlite_temp_master
|
3865
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3866
|
+
[0m
|
3867
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")
|
3868
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3869
|
+
FROM sqlite_master
|
3870
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3871
|
+
UNION ALL
|
3872
|
+
SELECT sql
|
3873
|
+
FROM sqlite_temp_master
|
3874
|
+
WHERE name='index_oauth_access_tokens_on_resource_owner_id' AND type='index'
|
3875
|
+
[0m
|
3876
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3877
|
+
FROM sqlite_master
|
3878
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3879
|
+
UNION ALL
|
3880
|
+
SELECT sql
|
3881
|
+
FROM sqlite_temp_master
|
3882
|
+
WHERE name='index_oauth_access_tokens_on_refresh_token' AND type='index'
|
3883
|
+
|
3884
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")[0m
|
3885
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3886
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
3887
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3888
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3889
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3890
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
3891
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
3892
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3899
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3901
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3905
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3907
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3909
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3911
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3913
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3914
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-09-24 23:26:34.418458"], ["updated_at", "2014-09-24 23:26:34.418458"]]
|
3915
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3916
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 ORDER BY "dummy_users"."id" ASC LIMIT 1[0m
|
3917
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
3918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3919
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3920
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-09-24 23:26:34.426888"], ["updated_at", "2014-09-24 23:26:34.426888"]]
|
3921
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3922
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3923
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3924
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL ORDER BY "dummy_users"."id" ASC LIMIT 1[0m
|
3925
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3927
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
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: 2.
|
4
|
+
version: 2.3.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: 2014-
|
12
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|