dce_lti 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dce_lti/redirect_to_helper.rb +2 -2
- data/lib/dce_lti/version.rb +1 -1
- data/spec/controllers/posts_controller_spec.rb +14 -3
- data/spec/dummy/app/controllers/posts_controller.rb +4 -0
- data/spec/dummy/config/routes.rb +5 -1
- data/spec/dummy/log/development.log +33 -0
- data/spec/dummy/log/test.log +3664 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54ea4de8fa450d23dcaa8fcc296cac30da709366
|
4
|
+
data.tar.gz: 108816502fc95232dacc4032fe05ae4e4b14a217
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 225ebd50ea6a5aa9d04ab35cc272e82c27d3b416634ac5e81ba58ae76c452a7c40a112ac6d118f6915a93fdf74e3a9e3a7323251fb9e9eec831c7ab09d687764
|
7
|
+
data.tar.gz: c7daaf1ea27972e6431da428870f3e2ed400fc83faa932310c31c7b55786d30dfc2427551c10cb2d29de159fe6c851c61377bb4a8f41631ba33377072f79cd72
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module DceLti
|
2
2
|
module RedirectToHelper
|
3
|
-
def redirect_to(options)
|
3
|
+
def redirect_to(options, response_status = {})
|
4
4
|
session_key_name = Rails.application.config.session_options[:key]
|
5
5
|
if request.env.fetch('HTTP_COOKIE', '').match(/shimmed_cookie/) &&
|
6
6
|
(::DceLti::Engine.config.enable_cookieless_sessions)
|
@@ -19,7 +19,7 @@ module DceLti
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
-
super(options)
|
22
|
+
super(options, response_status)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
data/lib/dce_lti/version.rb
CHANGED
@@ -13,10 +13,21 @@ describe PostsController do
|
|
13
13
|
allow(DceLti::User).to receive(:find_by).and_return(user)
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
context 'index' do
|
17
|
+
it 'is successful' do
|
18
|
+
get :index
|
19
|
+
|
20
|
+
expect(response).to be_successful
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
context 'redirect_with_response_status' do
|
25
|
+
it 'does not error and uses custom status' do
|
26
|
+
get :redirect_with_response_status
|
18
27
|
|
19
|
-
|
28
|
+
expect(response).to redirect_to(root_path)
|
29
|
+
expect(response.status).to be 301
|
30
|
+
end
|
20
31
|
end
|
21
32
|
end
|
22
33
|
end
|
data/spec/dummy/config/routes.rb
CHANGED
@@ -3119,3 +3119,36 @@ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
|
3119
3119
|
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3120
3120
|
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141008172001')
|
3121
3121
|
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141003180140')[0m
|
3122
|
+
[1m[36m (104.2ms)[0m [1mDROP DATABASE IF EXISTS "dce_lti_dummy_test"[0m
|
3123
|
+
[1m[35m (233.3ms)[0m CREATE DATABASE "dce_lti_dummy_test" ENCODING = 'utf8'
|
3124
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
3125
|
+
[1m[35m (6.5ms)[0m CREATE TABLE "dce_lti_nonces" ("id" serial primary key, "nonce" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
3126
|
+
[1m[36m (3.6ms)[0m [1mCREATE UNIQUE INDEX "index_dce_lti_nonces_on_nonce" ON "dce_lti_nonces" USING btree ("nonce")[0m
|
3127
|
+
[1m[35m (7.7ms)[0m CREATE TABLE "dce_lti_users" ("id" serial primary key, "lti_user_id" character varying(255), "lis_person_contact_email_primary" character varying(255), "lis_person_name_family" character varying(255), "lis_person_name_full" character varying(255), "lis_person_name_given" character varying(255), "lis_person_sourcedid" character varying(255), "user_image" character varying(255), "roles" character varying(255)[] DEFAULT '{}', "created_at" timestamp, "updated_at" timestamp)
|
3128
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3129
|
+
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3130
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3131
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141008172001')
|
3132
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141003180140')[0m
|
3133
|
+
[1m[36m (107.2ms)[0m [1mDROP DATABASE IF EXISTS "dce_lti_dummy_test"[0m
|
3134
|
+
[1m[35m (284.7ms)[0m CREATE DATABASE "dce_lti_dummy_test" ENCODING = 'utf8'
|
3135
|
+
[1m[36mSQL (0.1ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
3136
|
+
[1m[35m (14.1ms)[0m CREATE TABLE "dce_lti_nonces" ("id" serial primary key, "nonce" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
3137
|
+
[1m[36m (7.5ms)[0m [1mCREATE UNIQUE INDEX "index_dce_lti_nonces_on_nonce" ON "dce_lti_nonces" USING btree ("nonce")[0m
|
3138
|
+
[1m[35m (13.3ms)[0m CREATE TABLE "dce_lti_users" ("id" serial primary key, "lti_user_id" character varying(255), "lis_person_contact_email_primary" character varying(255), "lis_person_name_family" character varying(255), "lis_person_name_full" character varying(255), "lis_person_name_given" character varying(255), "lis_person_sourcedid" character varying(255), "user_image" character varying(255), "roles" character varying(255)[] DEFAULT '{}', "created_at" timestamp, "updated_at" timestamp)
|
3139
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3140
|
+
[1m[35m (7.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3141
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3142
|
+
[1m[35m (2.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141008172001')
|
3143
|
+
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141003180140')[0m
|
3144
|
+
[1m[36m (105.9ms)[0m [1mDROP DATABASE IF EXISTS "dce_lti_dummy_test"[0m
|
3145
|
+
[1m[35m (227.9ms)[0m CREATE DATABASE "dce_lti_dummy_test" ENCODING = 'utf8'
|
3146
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
3147
|
+
[1m[35m (6.0ms)[0m CREATE TABLE "dce_lti_nonces" ("id" serial primary key, "nonce" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
3148
|
+
[1m[36m (3.4ms)[0m [1mCREATE UNIQUE INDEX "index_dce_lti_nonces_on_nonce" ON "dce_lti_nonces" USING btree ("nonce")[0m
|
3149
|
+
[1m[35m (11.4ms)[0m CREATE TABLE "dce_lti_users" ("id" serial primary key, "lti_user_id" character varying(255), "lis_person_contact_email_primary" character varying(255), "lis_person_name_family" character varying(255), "lis_person_name_full" character varying(255), "lis_person_name_given" character varying(255), "lis_person_sourcedid" character varying(255), "user_image" character varying(255), "roles" character varying(255)[] DEFAULT '{}', "created_at" timestamp, "updated_at" timestamp)
|
3150
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3151
|
+
[1m[35m (7.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3152
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3153
|
+
[1m[35m (2.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141008172001')
|
3154
|
+
[1m[36m (2.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141003180140')[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -135716,3 +135716,3667 @@ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
135716
135716
|
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
135717
135717
|
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
135718
135718
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135719
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135720
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135721
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135722
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135723
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135724
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135725
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
135726
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135727
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135728
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135729
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
135730
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135731
|
+
Processing by PostsController#index as HTML
|
135732
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
135733
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135734
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135735
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135736
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135737
|
+
Processing by PostsController#index as HTML
|
135738
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
135739
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
135740
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
135741
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
|
135742
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135743
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135744
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135745
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135746
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135747
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135748
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135749
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
135750
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135751
|
+
Processing by PostsController#index as HTML
|
135752
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
135753
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
135754
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
135755
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
135756
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135757
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135758
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135759
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135760
|
+
Processing by PostsController#index as HTML
|
135761
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
135762
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135763
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135764
|
+
[1m[35m (0.0ms)[0m COMMIT
|
135765
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135766
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135767
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135768
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135769
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135770
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135771
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135772
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135773
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135774
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135775
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135777
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135778
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135779
|
+
Processing by PostsController#index as HTML
|
135780
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
135781
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135782
|
+
[1m[35m (0.2ms)[0m BEGIN
|
135783
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
135784
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135785
|
+
Processing by PostsController#index as HTML
|
135786
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
135787
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
135788
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
135789
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
135790
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135791
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135792
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135793
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135794
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135795
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135796
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135797
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135798
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135799
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135800
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135801
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135802
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135803
|
+
Processing by PostsController#index as HTML
|
135804
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
135805
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135806
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135807
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135808
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135809
|
+
Processing by PostsController#index as HTML
|
135810
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
135811
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
135812
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
135813
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
135814
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135815
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135816
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135817
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135818
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135819
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135821
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135822
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135823
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135824
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135825
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135826
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135827
|
+
Processing by PostsController#index as HTML
|
135828
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
135829
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135830
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135831
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135832
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135833
|
+
Processing by PostsController#index as HTML
|
135834
|
+
[1m[36mDceLti::User Load (0.4ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
135835
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
135836
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
135837
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
135838
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135839
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135840
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135841
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135842
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
135843
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135844
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135845
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135846
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135847
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
135848
|
+
Completed 500 Internal Server Error in 4ms
|
135849
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135850
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
135851
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
135852
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
135853
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
135854
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
135855
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135856
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135857
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135858
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135859
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135860
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135861
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135862
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
135863
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135864
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135865
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135866
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
135867
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135868
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135869
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135870
|
+
Processing by DceLti::SessionsController#create as HTML
|
135871
|
+
Rendered /home/djcp/code/work/dce_lti/app/views/dce_lti/sessions/invalid.html.erb within layouts/dce_lti/application (0.2ms)
|
135872
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
135873
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135874
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135875
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135876
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135877
|
+
Processing by DceLti::SessionsController#create as HTML
|
135878
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
135879
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135880
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.712368"], ["nonce", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.712368"]]
|
135881
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135882
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135883
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135884
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135885
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.729646"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:01:54.729646"]]
|
135886
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135887
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135888
|
+
[1m[35mDceLti::User Exists (0.3ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 11) LIMIT 1
|
135889
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 11[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.732143"], ["user_image", #<RSpec::Mocks::Double:0x3fd49dee3890 @name="Tool Provider">]]
|
135890
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135891
|
+
Redirected to http://test.host/?_dummy_session=8c2acc85f33aafb769307365045db81d
|
135892
|
+
Completed 302 Found in 29ms (ActiveRecord: 5.7ms)
|
135893
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135894
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135895
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135896
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135897
|
+
Processing by DceLti::SessionsController#create as HTML
|
135898
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135899
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.736904"], ["nonce", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.736904"]]
|
135900
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135901
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135903
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135904
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.738720"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:01:54.738720"]]
|
135905
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
135906
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135907
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 12) LIMIT 1
|
135908
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 12[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.739902"], ["user_image", #<RSpec::Mocks::Double:0x3fd49de33300 @name="Tool Provider">]]
|
135909
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135910
|
+
Redirected to http://test.host/?_dummy_session=70c1716a13f26c607107fee4e12d331b
|
135911
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
135912
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135913
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135914
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135915
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135916
|
+
Processing by DceLti::SessionsController#create as HTML
|
135917
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
135918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135919
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.743839"], ["nonce", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.743839"]]
|
135920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135921
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135923
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.745660"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:01:54.745660"]]
|
135925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
135926
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135927
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 13) LIMIT 1
|
135928
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 13[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.746767"], ["user_image", #<RSpec::Mocks::Double:0x3fd49ed857e0 @name="Tool Provider">]]
|
135929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
135930
|
+
Redirected to http://test.host/?_dummy_session=155fe322952a21a80eaf96e3682a709c
|
135931
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
|
135932
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135933
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135934
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135935
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135936
|
+
Processing by DceLti::SessionsController#create as HTML
|
135937
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135938
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.750256"], ["nonce", #<RSpec::Mocks::Double:0x3fd49ddfabf4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.750256"]]
|
135939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135940
|
+
Redirected to http://test.host/?_dummy_session=4ab075be0185373493abb053d52128e2
|
135941
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
135942
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135943
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135944
|
+
[1m[35m (0.1ms)[0m COMMIT
|
135945
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135946
|
+
Processing by DceLti::SessionsController#create as HTML
|
135947
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
135948
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.755334"], ["nonce", #<RSpec::Mocks::Double:0x3fd49edb36b8 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.755334"]]
|
135949
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135950
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
135951
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135952
|
+
[1m[35m (0.1ms)[0m BEGIN
|
135953
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135954
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135955
|
+
Processing by DceLti::SessionsController#create as HTML
|
135956
|
+
Parameters: {"user_id"=>"oauth_id"}
|
135957
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135958
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.760592"], ["nonce", #<RSpec::Mocks::Double:0x3fd49edc80a4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.760592"]]
|
135959
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135960
|
+
Redirected to http://test.host/?_dummy_session=94922c6eed292d72e32834ef12a35172
|
135961
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
135962
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
135963
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135964
|
+
[1m[35m (0.1ms)[0m COMMIT
|
135965
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
135966
|
+
Processing by DceLti::SessionsController#create as HTML
|
135967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
135968
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.765578"], ["nonce", #<RSpec::Mocks::Double:0x3fd49edde304 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.765578"]]
|
135969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135970
|
+
Redirected to http://test.host/?_dummy_session=6e5d53990eb1b077ad1b8ba48fa5edf8
|
135971
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
135972
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135973
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135974
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135975
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135976
|
+
Processing by DceLti::SessionsController#create as HTML
|
135977
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
135978
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.770585"], ["nonce", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.770585"]]
|
135979
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
135980
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135982
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
135983
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.772830"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:01:54.772830"]]
|
135984
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
135986
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 14) LIMIT 1
|
135987
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 14[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.774248"], ["user_image", #<RSpec::Mocks::Double:0x3fd49ddadc78 @name="Tool Provider">]]
|
135988
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135989
|
+
Redirected to http://test.host/sessions/create
|
135990
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
|
135991
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
135992
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135993
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
135994
|
+
[1m[35m (0.0ms)[0m BEGIN
|
135995
|
+
Processing by DceLti::SessionsController#create as HTML
|
135996
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
135997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
135998
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.778475"], ["nonce", #<RSpec::Mocks::Double:0x3fd49ee22608 @name="Tool Provider">], ["updated_at", "2015-05-26 14:01:54.778475"]]
|
135999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136000
|
+
Redirected to http://test.host/?_dummy_session=3adc840b072d2085c8028fdff9c5ae2a
|
136001
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136002
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136003
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136004
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136005
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136006
|
+
Processing by DceLti::SessionsController#create as HTML
|
136007
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
136008
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136009
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136010
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136011
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136012
|
+
Processing by DceLti::SessionsController#create as HTML
|
136013
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
136014
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136015
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136016
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136017
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136018
|
+
Processing by DceLti::SessionsController#create as HTML
|
136019
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
136020
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136021
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136022
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136023
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136024
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:01:54 -0400
|
136025
|
+
Processing by PostsController#index as HTML
|
136026
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
136027
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
136028
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136029
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
|
136030
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:01:54 -0400
|
136031
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
136032
|
+
Completed 200 OK in 86ms (Views: 85.4ms | ActiveRecord: 0.0ms)
|
136033
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136034
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136035
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136036
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136037
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136038
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136039
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136040
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136041
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136042
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136043
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136044
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136045
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136046
|
+
Completed 500 Internal Server Error in 2ms
|
136047
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136048
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136049
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136050
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136051
|
+
Processing by PostsController#index as HTML
|
136052
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
136053
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136054
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136055
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136056
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136057
|
+
Processing by PostsController#index as HTML
|
136058
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136059
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136060
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136061
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136062
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136063
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136064
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136065
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136066
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136067
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136068
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136069
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136070
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136071
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136072
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136073
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136074
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136075
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136076
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136077
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136078
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136079
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136080
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136081
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136083
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.917433"], ["nonce", "100"], ["updated_at", "2015-05-26 14:01:54.917433"]]
|
136084
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136086
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:01:54.918648"], ["nonce", "100"], ["updated_at", "2015-05-26 14:01:54.918648"]]
|
136087
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
136088
|
+
DETAIL: Key (nonce)=(100) already exists.
|
136089
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
136090
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
136091
|
+
Creating nonce failed: "100"
|
136092
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136093
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136094
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136095
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136097
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.920936"], ["nonce", "100"], ["updated_at", "2015-05-26 14:01:54.920936"]]
|
136098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136099
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136100
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136101
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136102
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136103
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136104
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136105
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136106
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136107
|
+
Processing by PostsController#index as HTML
|
136108
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136109
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136110
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136111
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136112
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136113
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136114
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136115
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136116
|
+
Processing by DceLti::ConfigsController#index as XML
|
136117
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136118
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136120
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136121
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136122
|
+
Processing by DceLti::ConfigsController#index as XML
|
136123
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136124
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136125
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136126
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136127
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136128
|
+
Processing by DceLti::ConfigsController#index as XML
|
136129
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
136130
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136131
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136132
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136133
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136134
|
+
Processing by DceLti::ConfigsController#index as XML
|
136135
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
136136
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136137
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136138
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136139
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136140
|
+
Processing by DceLti::ConfigsController#index as XML
|
136141
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136142
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136143
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136144
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136145
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136147
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
136148
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
136149
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136150
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136151
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136152
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136153
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136154
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136155
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136156
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136157
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136158
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136159
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136160
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136162
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1
|
136163
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.967665"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:01:54.967665"]]
|
136164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136165
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 15]]
|
136166
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136167
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136168
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136169
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136171
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1[0m
|
136172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:01:54.972373"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:01:54.972373"]]
|
136173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136174
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 16]]
|
136175
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136176
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136177
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136178
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136179
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1[0m
|
136180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136181
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.978587"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:01:54.978587"]]
|
136182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136183
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
136184
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
136185
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136186
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136187
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136189
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
136190
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
136191
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136192
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136193
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136194
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136195
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136196
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136197
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136198
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136199
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136200
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136201
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136202
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136203
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136204
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-6' LIMIT 1
|
136205
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:54.996446"], ["lti_user_id", "user_id-6"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:01:54.996446"]]
|
136206
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136207
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136208
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136209
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136210
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136212
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-7' LIMIT 1
|
136213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:55.000168"], ["lti_user_id", "user_id-7"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:01:55.000168"]]
|
136214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136215
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136216
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136217
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136219
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136220
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136221
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136222
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136223
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136224
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-8' LIMIT 1
|
136225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:01:55.003916"], ["lti_user_id", "user_id-8"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:01:55.003916"]]
|
136226
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136227
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136228
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136229
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136230
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136231
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
136232
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136233
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136234
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136235
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136236
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136237
|
+
Completed 500 Internal Server Error in 0ms
|
136238
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136239
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136240
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136241
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136242
|
+
Processing by PostsController#index as HTML
|
136243
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
136244
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136245
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136246
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136247
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136248
|
+
Processing by PostsController#index as HTML
|
136249
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136250
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136251
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136252
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
136253
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136254
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136255
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136256
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136257
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
136258
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136259
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136260
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136261
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136262
|
+
Processing by PostsController#index as HTML
|
136263
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136264
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136265
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136266
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
136267
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136268
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136269
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136271
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136272
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136273
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136274
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136276
|
+
[1m[36mDceLti::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1[0m
|
136277
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:04:39.449487"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:04:39.449487"]]
|
136278
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136279
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 21]]
|
136280
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136281
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136282
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136283
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136285
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1
|
136286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.454669"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:04:39.454669"]]
|
136287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136288
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 22]]
|
136289
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136290
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136291
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136294
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1[0m
|
136295
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:04:39.457865"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:04:39.457865"]]
|
136296
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136297
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136298
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136299
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136300
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136302
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1[0m
|
136303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:04:39.461443"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:04:39.461443"]]
|
136304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136305
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136306
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136307
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136308
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136310
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1[0m
|
136311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:04:39.464017"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:04:39.464017"]]
|
136312
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136313
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136314
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136315
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136316
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136317
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136318
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136319
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136320
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136321
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1
|
136322
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136323
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.471170"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:04:39.471170"]]
|
136324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136325
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
136326
|
+
[1m[36mDceLti::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
136327
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136328
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136329
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136330
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136331
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136332
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136333
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136334
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136335
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136336
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136337
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136338
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136339
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
136340
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
136341
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136342
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136343
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136344
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136345
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136346
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136347
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136348
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136349
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136350
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136351
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136352
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136353
|
+
Processing by DceLti::ConfigsController#index as XML
|
136354
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136355
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136356
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136357
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136358
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136359
|
+
Processing by DceLti::ConfigsController#index as XML
|
136360
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136361
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136362
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136363
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136364
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136365
|
+
Processing by DceLti::ConfigsController#index as XML
|
136366
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
136367
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136368
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136369
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136370
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136371
|
+
Processing by DceLti::ConfigsController#index as XML
|
136372
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136373
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136374
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136375
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136376
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136377
|
+
Processing by DceLti::ConfigsController#index as XML
|
136378
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
136379
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136380
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136381
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136382
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136383
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136384
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136385
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136386
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136387
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136388
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136389
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136390
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136391
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136392
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136393
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136394
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136395
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136396
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.523026"], ["nonce", "100"], ["updated_at", "2015-05-26 14:04:39.523026"]]
|
136397
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136399
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.524913"], ["nonce", "100"], ["updated_at", "2015-05-26 14:04:39.524913"]]
|
136400
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
136401
|
+
DETAIL: Key (nonce)=(100) already exists.
|
136402
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
136403
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
136404
|
+
Creating nonce failed: "100"
|
136405
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136406
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136407
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136408
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.527079"], ["nonce", "100"], ["updated_at", "2015-05-26 14:04:39.527079"]]
|
136411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136412
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136413
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136414
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136415
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136416
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136417
|
+
Redirected to http://test.host/
|
136418
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136419
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136420
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136421
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136422
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136423
|
+
Processing by PostsController#index as HTML
|
136424
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
136425
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136426
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136427
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136428
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136429
|
+
Processing by PostsController#index as HTML
|
136430
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136431
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136432
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136433
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136434
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136435
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136436
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136437
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136438
|
+
Processing by DceLti::SessionsController#create as HTML
|
136439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136440
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.540649"], ["nonce", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.540649"]]
|
136441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136442
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136444
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136445
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.542873"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:04:39.542873"]]
|
136446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136447
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136448
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 27) LIMIT 1[0m
|
136449
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 27 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.544682"], ["user_image", #<RSpec::Mocks::Double:0x3fae208ae8ec @name="Tool Provider">]]
|
136450
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136451
|
+
Redirected to http://test.host/?_dummy_session=d6c1b55d9cc9abcd56b9306ee23fd6a4
|
136452
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
|
136453
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136454
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136455
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136456
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136457
|
+
Processing by DceLti::SessionsController#create as HTML
|
136458
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
136459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136460
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.548999"], ["nonce", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.548999"]]
|
136461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136462
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136464
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136465
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.550846"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:04:39.550846"]]
|
136466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136468
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 28) LIMIT 1[0m
|
136469
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 28 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.552066"], ["user_image", #<RSpec::Mocks::Double:0x3fae208cc860 @name="Tool Provider">]]
|
136470
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136471
|
+
Redirected to http://test.host/?_dummy_session=fec2cabc42eeee833c552ba039160ed5
|
136472
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
136473
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136474
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136475
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136476
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136477
|
+
Processing by DceLti::SessionsController#create as HTML
|
136478
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
136479
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136480
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136481
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136482
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136483
|
+
Processing by DceLti::SessionsController#create as HTML
|
136484
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136485
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.560622"], ["nonce", #<RSpec::Mocks::Double:0x3fae2090050c @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.560622"]]
|
136486
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136487
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
136488
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136489
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136490
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136491
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136492
|
+
Processing by DceLti::SessionsController#create as HTML
|
136493
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136494
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.564760"], ["nonce", #<RSpec::Mocks::Double:0x3fae2091b780 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.564760"]]
|
136495
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136496
|
+
Redirected to http://test.host/?_dummy_session=33209f3c5a00a506040ad4452b93ba82
|
136497
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136498
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136499
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136500
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136501
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136502
|
+
Processing by DceLti::SessionsController#create as HTML
|
136503
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
136504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136505
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.568108"], ["nonce", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.568108"]]
|
136506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136507
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136508
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136509
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136510
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.569975"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:04:39.569975"]]
|
136511
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136512
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136513
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 29) LIMIT 1[0m
|
136514
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 29 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.571226"], ["user_image", #<RSpec::Mocks::Double:0x3fae2092a104 @name="Tool Provider">]]
|
136515
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136516
|
+
Redirected to http://test.host/?_dummy_session=f5288e10f3bbd848ac65fb25efc6021f
|
136517
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
136518
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136519
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136520
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136522
|
+
Processing by DceLti::SessionsController#create as HTML
|
136523
|
+
Parameters: {"user_id"=>"oauth_id"}
|
136524
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136525
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.575896"], ["nonce", #<RSpec::Mocks::Double:0x3fae1f75dc3c @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.575896"]]
|
136526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136527
|
+
Redirected to http://test.host/?_dummy_session=80d74c0a295020274d2694ed4c3d284c
|
136528
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
136529
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136530
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136531
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136532
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136533
|
+
Processing by DceLti::SessionsController#create as HTML
|
136534
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
136535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136536
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.580249"], ["nonce", #<RSpec::Mocks::Double:0x3fae2095a50c @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.580249"]]
|
136537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136538
|
+
Redirected to http://test.host/?_dummy_session=accbfc69effa89c522d6a669d68adac8
|
136539
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136540
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136541
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136542
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136543
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136544
|
+
Processing by DceLti::SessionsController#create as HTML
|
136545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136546
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.584530"], ["nonce", #<RSpec::Mocks::Double:0x3fae20973f20 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.584530"]]
|
136547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136548
|
+
Redirected to http://test.host/?_dummy_session=52eb99a81334e5381769e073829fc5f0
|
136549
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
136550
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136551
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136552
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136553
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136554
|
+
Processing by DceLti::SessionsController#create as HTML
|
136555
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136556
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:04:39.588222"], ["nonce", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.588222"]]
|
136557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136558
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
136559
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136560
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
136561
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:04:39.590274"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:04:39.590274"]]
|
136562
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136564
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 30) LIMIT 1
|
136565
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 30[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:04:39.591585"], ["user_image", #<RSpec::Mocks::Double:0x3fae2098dca4 @name="Tool Provider">]]
|
136566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
136567
|
+
Redirected to http://test.host/sessions/create
|
136568
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
136569
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136570
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136571
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136572
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136573
|
+
Processing by DceLti::SessionsController#create as HTML
|
136574
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
136575
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136576
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136577
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136578
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136579
|
+
Processing by DceLti::SessionsController#create as HTML
|
136580
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
136581
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136582
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136583
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136584
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136585
|
+
Processing by DceLti::SessionsController#create as HTML
|
136586
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
136587
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136588
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136589
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136590
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136591
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136592
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136593
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136594
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136595
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136596
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136597
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136598
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136600
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
136601
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
136602
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136603
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136604
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136605
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136606
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136607
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136608
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136609
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136610
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136611
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136612
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136613
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136614
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136615
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136616
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136617
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136618
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136619
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136620
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136621
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136622
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:04:39 -0400
|
136623
|
+
Processing by PostsController#index as HTML
|
136624
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
136625
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
136626
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136627
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
|
136628
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:04:39 -0400
|
136629
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
136630
|
+
Completed 200 OK in 90ms (Views: 89.9ms | ActiveRecord: 0.0ms)
|
136631
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136632
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136633
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136634
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136635
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
136636
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136637
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136638
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136639
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136640
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136641
|
+
Redirected to http://test.host/
|
136642
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136643
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
136644
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136645
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136646
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136647
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
136648
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136649
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136650
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136651
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136652
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136653
|
+
Redirected to http://test.host/
|
136654
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136655
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
136656
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136657
|
+
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136658
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136659
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
136660
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136661
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136662
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136663
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136664
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136665
|
+
Redirected to http://test.host/
|
136666
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136667
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136668
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136669
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136670
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136671
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
136672
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136673
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136674
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136675
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136676
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136677
|
+
Redirected to http://test.host/
|
136678
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136679
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136680
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136681
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136682
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136683
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
136684
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136685
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136686
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136687
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136688
|
+
Processing by PostsController#index as HTML
|
136689
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136690
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136691
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136692
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
136693
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136694
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136695
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136696
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136697
|
+
Processing by PostsController#index as HTML
|
136698
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
136699
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136700
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136701
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136702
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136703
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136704
|
+
Redirected to http://test.host/
|
136705
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136706
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136707
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136708
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136709
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136710
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
136711
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136712
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136713
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136714
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136715
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136716
|
+
Redirected to http://test.host/
|
136717
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136718
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136719
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136720
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136721
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136722
|
+
Processing by PostsController#index as HTML
|
136723
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
136724
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136725
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136726
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136727
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136728
|
+
Processing by PostsController#index as HTML
|
136729
|
+
[1m[36mDceLti::User Load (0.4ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
136730
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136731
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136732
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
136733
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136734
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
136735
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
136736
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
136737
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
136738
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
136739
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136740
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136741
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136742
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136743
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136744
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136745
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136746
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136747
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136748
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136749
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136750
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136751
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136752
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136753
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136755
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.468106"], ["nonce", "100"], ["updated_at", "2015-05-26 14:09:23.468106"]]
|
136756
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136758
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.471204"], ["nonce", "100"], ["updated_at", "2015-05-26 14:09:23.471204"]]
|
136759
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
136760
|
+
DETAIL: Key (nonce)=(100) already exists.
|
136761
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
136762
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
136763
|
+
Creating nonce failed: "100"
|
136764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136765
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136766
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136767
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136769
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.473920"], ["nonce", "100"], ["updated_at", "2015-05-26 14:09:23.473920"]]
|
136770
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136771
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136772
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136773
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136774
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136775
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136776
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136777
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136778
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136779
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136780
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136781
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136782
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136783
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136784
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136785
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136786
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136787
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136788
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136789
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136790
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136791
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136792
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136793
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136794
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136795
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
136796
|
+
Redirected to http://test.host/
|
136797
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
136798
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136799
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136800
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136801
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136802
|
+
Processing by PostsController#index as HTML
|
136803
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
136804
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136805
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136806
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136807
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136808
|
+
Processing by PostsController#index as HTML
|
136809
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
136810
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
136811
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
136812
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
|
136813
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136814
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136815
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136816
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136817
|
+
Processing by DceLti::ConfigsController#index as XML
|
136818
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136819
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136821
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136822
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136823
|
+
Processing by DceLti::ConfigsController#index as XML
|
136824
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136825
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136826
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136827
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136828
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136829
|
+
Processing by DceLti::ConfigsController#index as XML
|
136830
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
136831
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
136832
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136833
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136834
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136835
|
+
Processing by DceLti::ConfigsController#index as XML
|
136836
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136837
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136838
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136839
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136840
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136841
|
+
Processing by DceLti::ConfigsController#index as XML
|
136842
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
136843
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136844
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136845
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136846
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136847
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136848
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136849
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136850
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136851
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136852
|
+
[1m[35m (0.1ms)[0m BEGIN
|
136853
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136854
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136855
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136856
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
136857
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
136858
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136859
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136860
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136861
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136862
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136863
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136864
|
+
[1m[35m (0.1ms)[0m COMMIT
|
136865
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136866
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136867
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136868
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136869
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136871
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1[0m
|
136872
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:09:23.538531"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:09:23.538531"]]
|
136873
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136874
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 31]]
|
136875
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136876
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136877
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
136878
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136880
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1
|
136881
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.541946"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:09:23.541946"]]
|
136882
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136883
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 32]]
|
136884
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136885
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136886
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136887
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136889
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1[0m
|
136890
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:09:23.544636"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:09:23.544636"]]
|
136891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136892
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136893
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136894
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136895
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136896
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136897
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1[0m
|
136898
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:09:23.547900"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:09:23.547900"]]
|
136899
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136900
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136901
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136902
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136903
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136904
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
136905
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1[0m
|
136906
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:09:23.550813"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:09:23.550813"]]
|
136907
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136908
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136909
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136910
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136911
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136912
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
136913
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136914
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136915
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136916
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1
|
136917
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136918
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.557996"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:09:23.557996"]]
|
136919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136920
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
136921
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
136922
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136923
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136924
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136925
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136926
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136927
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136928
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
136929
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
136930
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136931
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136932
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136933
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136934
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
136935
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
136936
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136937
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136938
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136939
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136940
|
+
Processing by DceLti::SessionsController#create as HTML
|
136941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136942
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.573291"], ["nonce", #<RSpec::Mocks::Double:0x3fa021304458 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.573291"]]
|
136943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136944
|
+
Redirected to http://test.host/?_dummy_session=c17ab2df063c8660c71a283e566ecadd
|
136945
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
136946
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
136947
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136948
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
136949
|
+
[1m[35m (0.0ms)[0m BEGIN
|
136950
|
+
Processing by DceLti::SessionsController#create as HTML
|
136951
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
136952
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.576979"], ["nonce", #<RSpec::Mocks::Double:0x3fa0212f2a3c @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.576979"]]
|
136953
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136954
|
+
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
136955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136956
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136957
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136958
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136959
|
+
Processing by DceLti::SessionsController#create as HTML
|
136960
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
136961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.581520"], ["nonce", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.581520"]]
|
136963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136964
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136966
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136967
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.583474"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:09:23.583474"]]
|
136968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136969
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136970
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 37) LIMIT 1[0m
|
136971
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 37 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.585532"], ["user_image", #<RSpec::Mocks::Double:0x3fa022448368 @name="Tool Provider">]]
|
136972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136973
|
+
Redirected to http://test.host/?_dummy_session=c1e347f52522fd46feac99ef88becf17
|
136974
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
|
136975
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136977
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136978
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136979
|
+
Processing by DceLti::SessionsController#create as HTML
|
136980
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
136981
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
136982
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136983
|
+
[1m[35m (0.0ms)[0m COMMIT
|
136984
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
136985
|
+
Processing by DceLti::SessionsController#create as HTML
|
136986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136987
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.593358"], ["nonce", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.593358"]]
|
136988
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
136989
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136990
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
136991
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
136992
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.595436"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:09:23.595436"]]
|
136993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136994
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
136995
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 38) LIMIT 1[0m
|
136996
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 38 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.596709"], ["user_image", #<RSpec::Mocks::Double:0x3fa02247b9c0 @name="Tool Provider">]]
|
136997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136998
|
+
Redirected to http://test.host/?_dummy_session=ee3faf5f6d51293da5cac50a8a643ed0
|
136999
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
137000
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137001
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137002
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137003
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137004
|
+
Processing by DceLti::SessionsController#create as HTML
|
137005
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
137006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137007
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.600229"], ["nonce", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.600229"]]
|
137008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137009
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137010
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137011
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137012
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.602301"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:09:23.602301"]]
|
137013
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137014
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137015
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 39) LIMIT 1[0m
|
137016
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 39 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.603943"], ["user_image", #<RSpec::Mocks::Double:0x3fa02128be18 @name="Tool Provider">]]
|
137017
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137018
|
+
Redirected to http://test.host/?_dummy_session=85bf04833946211fa8a175f7c88ba284
|
137019
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
|
137020
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137021
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137022
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137023
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137024
|
+
Processing by DceLti::SessionsController#create as HTML
|
137025
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137026
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.608670"], ["nonce", #<RSpec::Mocks::Double:0x3fa0224b6b74 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.608670"]]
|
137027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137028
|
+
Redirected to http://test.host/?_dummy_session=ac9d2612b08d6ff9cf6ba083e09614f5
|
137029
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137030
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137031
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137032
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137033
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137034
|
+
Processing by DceLti::SessionsController#create as HTML
|
137035
|
+
Parameters: {"user_id"=>"oauth_id"}
|
137036
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137037
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.612408"], ["nonce", #<RSpec::Mocks::Double:0x3fa021259be8 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.612408"]]
|
137038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137039
|
+
Redirected to http://test.host/?_dummy_session=fcbd4daebb26df8b14d8bbd13d3411da
|
137040
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137041
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137042
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137043
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137044
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137045
|
+
Processing by DceLti::SessionsController#create as HTML
|
137046
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
137047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137048
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.616101"], ["nonce", #<RSpec::Mocks::Double:0x3fa0224dc7e8 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.616101"]]
|
137049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137050
|
+
Redirected to http://test.host/?_dummy_session=e77c99e65041d17afdbf498057cb3c3c
|
137051
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137052
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137053
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137054
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137055
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137056
|
+
Processing by DceLti::SessionsController#create as HTML
|
137057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137058
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:09:23.619897"], ["nonce", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.619897"]]
|
137059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137060
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137061
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137062
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137063
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:09:23.621879"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:09:23.621879"]]
|
137064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137066
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 40) LIMIT 1
|
137067
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 40[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">], ["updated_at", "2015-05-26 14:09:23.623314"], ["user_image", #<RSpec::Mocks::Double:0x3fa021239e74 @name="Tool Provider">]]
|
137068
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137069
|
+
Redirected to http://test.host/sessions/create
|
137070
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
137071
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137073
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137074
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137075
|
+
Processing by DceLti::SessionsController#create as HTML
|
137076
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
137077
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137078
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137079
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137080
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137081
|
+
Processing by DceLti::SessionsController#create as HTML
|
137082
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
137083
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137084
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137085
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137086
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137087
|
+
Processing by DceLti::SessionsController#create as HTML
|
137088
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
137089
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137090
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137091
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137092
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137093
|
+
Processing by PostsController#index as HTML
|
137094
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
137095
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137096
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137097
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137098
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137099
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137100
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137101
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137102
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:09:23 -0400
|
137103
|
+
Processing by PostsController#index as HTML
|
137104
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137105
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
137106
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137107
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
|
137108
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:09:23 -0400
|
137109
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
137110
|
+
Completed 200 OK in 84ms (Views: 84.4ms | ActiveRecord: 0.0ms)
|
137111
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137112
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
137113
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
137114
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
137115
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
137116
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
137117
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137118
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137119
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137120
|
+
Processing by PostsController#index as HTML
|
137121
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
137122
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137123
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137124
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
137125
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137126
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137127
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137128
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137129
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
137130
|
+
Redirected to http://test.host/
|
137131
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
137132
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137133
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137134
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137135
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137136
|
+
Processing by PostsController#index as HTML
|
137137
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
137138
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137139
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137140
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137141
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137142
|
+
Processing by PostsController#index as HTML
|
137143
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137144
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137145
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137146
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137147
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137148
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137149
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137150
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137151
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137152
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137153
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137154
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137155
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137156
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137157
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137158
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137159
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137160
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
137161
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137162
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137163
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137164
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137165
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137166
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137167
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137168
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137169
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137170
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137171
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137172
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137173
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137174
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137175
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137176
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137177
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137178
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137179
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137180
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137181
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137182
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137183
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.370814"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:04.370814"]]
|
137184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137186
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.372138"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:04.372138"]]
|
137187
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
137188
|
+
DETAIL: Key (nonce)=(100) already exists.
|
137189
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
137190
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137191
|
+
Creating nonce failed: "100"
|
137192
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137193
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137194
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137195
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137196
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137197
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.373755"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:04.373755"]]
|
137198
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137199
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137200
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137201
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137202
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137203
|
+
Processing by DceLti::SessionsController#create as HTML
|
137204
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
137205
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137206
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137207
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137208
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137209
|
+
Processing by DceLti::SessionsController#create as HTML
|
137210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.381848"], ["nonce", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.381848"]]
|
137212
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137213
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137215
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137216
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.383974"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:04.383974"]]
|
137217
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137219
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 41) LIMIT 1
|
137220
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 41[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.386054"], ["user_image", #<RSpec::Mocks::Double:0x3f908e4cf3d4 @name="Tool Provider">]]
|
137221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137222
|
+
Redirected to http://test.host/?_dummy_session=759df0764d68f102fb6639394fbb04d0
|
137223
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
137224
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137225
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137226
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137227
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137228
|
+
Processing by DceLti::SessionsController#create as HTML
|
137229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137230
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.390085"], ["nonce", #<RSpec::Mocks::Double:0x3f908e4ace74 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.390085"]]
|
137231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137232
|
+
Redirected to http://test.host/?_dummy_session=23629c3a4375d6e6a0e4c4cdbb9a2c62
|
137233
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
137234
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137235
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137236
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137237
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137238
|
+
Processing by DceLti::SessionsController#create as HTML
|
137239
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
137240
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.393265"], ["nonce", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.393265"]]
|
137242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137243
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137244
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137245
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137246
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.395037"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:04.395037"]]
|
137247
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137249
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 42) LIMIT 1[0m
|
137250
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 42 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.396182"], ["user_image", #<RSpec::Mocks::Double:0x3f908f484950 @name="Tool Provider">]]
|
137251
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137252
|
+
Redirected to http://test.host/?_dummy_session=80f459b46838510a1e47750f581cc208
|
137253
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
137254
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137256
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137258
|
+
Processing by DceLti::SessionsController#create as HTML
|
137259
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137260
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.401489"], ["nonce", #<RSpec::Mocks::Double:0x3f908e485004 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.401489"]]
|
137261
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137262
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
137263
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137264
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137265
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137266
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137267
|
+
Processing by DceLti::SessionsController#create as HTML
|
137268
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
137269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137270
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.405183"], ["nonce", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.405183"]]
|
137271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137272
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137273
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137274
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
137275
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.407019"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:04.407019"]]
|
137276
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137277
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137278
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 43) LIMIT 1
|
137279
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 43[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.408392"], ["user_image", #<RSpec::Mocks::Double:0x3f908e472170 @name="Tool Provider">]]
|
137280
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137281
|
+
Redirected to http://test.host/?_dummy_session=780c7fe1b98becb4c1637a139bf85069
|
137282
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
|
137283
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137284
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137285
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137286
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137287
|
+
Processing by DceLti::SessionsController#create as HTML
|
137288
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
137289
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.412853"], ["nonce", #<RSpec::Mocks::Double:0x3f908f4d80a0 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.412853"]]
|
137291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137292
|
+
Redirected to http://test.host/?_dummy_session=c727c1f5565c2eae6c008b504eefb3e7
|
137293
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137294
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137296
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137297
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137298
|
+
Processing by DceLti::SessionsController#create as HTML
|
137299
|
+
Parameters: {"user_id"=>"oauth_id"}
|
137300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137301
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.416858"], ["nonce", #<RSpec::Mocks::Double:0x3f908e43f310 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.416858"]]
|
137302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137303
|
+
Redirected to http://test.host/?_dummy_session=1f2f882e808df35e9cf7cfa2626c6803
|
137304
|
+
Completed 302 Found in 3ms (ActiveRecord: 1.4ms)
|
137305
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137306
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137307
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137308
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137309
|
+
Processing by DceLti::SessionsController#create as HTML
|
137310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.422414"], ["nonce", #<RSpec::Mocks::Double:0x3f908f4fc0a4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.422414"]]
|
137312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137313
|
+
Redirected to http://test.host/?_dummy_session=a6c845581c859ddd3c87a7a380ff3dbd
|
137314
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137315
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137316
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137317
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137318
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137319
|
+
Processing by DceLti::SessionsController#create as HTML
|
137320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.425959"], ["nonce", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.425959"]]
|
137322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137323
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137325
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.427870"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:04.427870"]]
|
137327
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137329
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 44) LIMIT 1[0m
|
137330
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 44 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:04.429159"], ["user_image", #<RSpec::Mocks::Double:0x3f908f513a24 @name="Tool Provider">]]
|
137331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137332
|
+
Redirected to http://test.host/sessions/create
|
137333
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
137334
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137335
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137336
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137337
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137338
|
+
Processing by DceLti::SessionsController#create as HTML
|
137339
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
137340
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137341
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137342
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137343
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137344
|
+
Processing by DceLti::SessionsController#create as HTML
|
137345
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
137346
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137347
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137348
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137349
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137350
|
+
Processing by DceLti::SessionsController#create as HTML
|
137351
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
137352
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137353
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137354
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137355
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137356
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137357
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137358
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137359
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137360
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137361
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137362
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137363
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137364
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137365
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137366
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137367
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137368
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137369
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137370
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137371
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137372
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137373
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1[0m
|
137374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:04.444293"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:12:04.444293"]]
|
137375
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137376
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 45]]
|
137377
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137378
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137379
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137380
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137382
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1
|
137383
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:04.447220"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:12:04.447220"]]
|
137384
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137385
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 46]]
|
137386
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137387
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137388
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137389
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137391
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-6' LIMIT 1[0m
|
137392
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:04.449697"], ["lti_user_id", "user_id-6"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:04.449697"]]
|
137393
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137394
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137395
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137396
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137397
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137399
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-7' LIMIT 1[0m
|
137400
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:04.453063"], ["lti_user_id", "user_id-7"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:04.453063"]]
|
137401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137402
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137403
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137404
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137405
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137407
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-8' LIMIT 1[0m
|
137408
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:04.455430"], ["lti_user_id", "user_id-8"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:04.455430"]]
|
137409
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137410
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137411
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137412
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137413
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137414
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137415
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137416
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137417
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137418
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1
|
137419
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137420
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:04.462825"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:12:04.462825"]]
|
137421
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137422
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
137423
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
137424
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137425
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137426
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137427
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137428
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
137429
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
137430
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
137431
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
137432
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137433
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137434
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137435
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137436
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
137437
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
137438
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137439
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137440
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137441
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137442
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137443
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137444
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137445
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137446
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137447
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137448
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137449
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137450
|
+
Processing by DceLti::ConfigsController#index as XML
|
137451
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137452
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137453
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137454
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137455
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137456
|
+
Processing by DceLti::ConfigsController#index as XML
|
137457
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137458
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137459
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137460
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137461
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137462
|
+
Processing by DceLti::ConfigsController#index as XML
|
137463
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
137464
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137465
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137466
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137467
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137468
|
+
Processing by DceLti::ConfigsController#index as XML
|
137469
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137470
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137471
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137472
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137473
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137474
|
+
Processing by DceLti::ConfigsController#index as XML
|
137475
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
137476
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137477
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137478
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137479
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137480
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:12:04 -0400
|
137481
|
+
Processing by PostsController#index as HTML
|
137482
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137483
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
137484
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137485
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
|
137486
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:12:04 -0400
|
137487
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
137488
|
+
Completed 200 OK in 87ms (Views: 86.7ms | ActiveRecord: 0.0ms)
|
137489
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137490
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
137491
|
+
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
137492
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
137493
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
137494
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
137495
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137496
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137497
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137498
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137499
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137500
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137501
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137502
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137503
|
+
[1m[35mDceLti::User Exists (0.3ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1
|
137504
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.520503"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:12:13.520503"]]
|
137505
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137506
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 51]]
|
137507
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137508
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137509
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137510
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137512
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1[0m
|
137513
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:13.526874"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:12:13.526874"]]
|
137514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137515
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 52]]
|
137516
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137517
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137518
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137519
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137520
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1[0m
|
137521
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137522
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.531905"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:12:13.531905"]]
|
137523
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137524
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
137525
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
137526
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137527
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137528
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137529
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137530
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
137531
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
137532
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137533
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137534
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137535
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137536
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
137537
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
137538
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
137539
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
137540
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137541
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137542
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137543
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137544
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137545
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137546
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137547
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137549
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1
|
137550
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.548986"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:13.548986"]]
|
137551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137552
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137553
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137554
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137555
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137557
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1
|
137558
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.551384"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:13.551384"]]
|
137559
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137560
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137561
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137562
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137563
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137565
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1
|
137566
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.553702"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:13.553702"]]
|
137567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137568
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137569
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137570
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137571
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137572
|
+
Processing by DceLti::ConfigsController#index as XML
|
137573
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
137574
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137575
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137576
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137577
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137578
|
+
Processing by DceLti::ConfigsController#index as XML
|
137579
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
137580
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137581
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137582
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137583
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137584
|
+
Processing by DceLti::ConfigsController#index as XML
|
137585
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137586
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137587
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137588
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137589
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137590
|
+
Processing by DceLti::ConfigsController#index as XML
|
137591
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
137592
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137593
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137594
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137595
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137596
|
+
Processing by DceLti::ConfigsController#index as XML
|
137597
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
137598
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137599
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137600
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137601
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137602
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137603
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137604
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137605
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137606
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137607
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137608
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137609
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137610
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137611
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137612
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137613
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137615
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
137616
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137617
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137618
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137619
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137620
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137621
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137622
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137623
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137624
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137625
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137626
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137627
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137628
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137629
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137630
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137631
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137632
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137633
|
+
Processing by DceLti::SessionsController#create as HTML
|
137634
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137635
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.593111"], ["nonce", #<RSpec::Mocks::Double:0x3fe8dac30214 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.593111"]]
|
137636
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137637
|
+
Redirected to http://test.host/?_dummy_session=1b2b4d64d3c208e887f1887db79c5802
|
137638
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
|
137639
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137640
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137641
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137642
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137643
|
+
Processing by DceLti::SessionsController#create as HTML
|
137644
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
137645
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137646
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137647
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137648
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137649
|
+
Processing by DceLti::SessionsController#create as HTML
|
137650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137651
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.601483"], ["nonce", #<RSpec::Mocks::Double:0x3fe8dac73528 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.601483"]]
|
137652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137653
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
137654
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137655
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137656
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137657
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137658
|
+
Processing by DceLti::SessionsController#create as HTML
|
137659
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
137660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137661
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.605659"], ["nonce", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.605659"]]
|
137662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137663
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137665
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137666
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.609315"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:13.609315"]]
|
137667
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137668
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137669
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 57) LIMIT 1[0m
|
137670
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 57 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.611142"], ["user_image", #<RSpec::Mocks::Double:0x3fe8d9ae8150 @name="Tool Provider">]]
|
137671
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137672
|
+
Redirected to http://test.host/?_dummy_session=dbd026f80107162bf1def429ef2f45ae
|
137673
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
137674
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137675
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137676
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137677
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137678
|
+
Processing by DceLti::SessionsController#create as HTML
|
137679
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
137680
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137681
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.615351"], ["nonce", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.615351"]]
|
137682
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137683
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137685
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137686
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.617469"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:13.617469"]]
|
137687
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137689
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 58) LIMIT 1[0m
|
137690
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 58 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.619171"], ["user_image", #<RSpec::Mocks::Double:0x3fe8d9ac2004 @name="Tool Provider">]]
|
137691
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137692
|
+
Redirected to http://test.host/?_dummy_session=982d766aab9c5f2a9b4571640c9c0eb6
|
137693
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
137694
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137695
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137696
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137697
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137698
|
+
Processing by DceLti::SessionsController#create as HTML
|
137699
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137700
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.623491"], ["nonce", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.623491"]]
|
137701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137702
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137703
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137704
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137705
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.625501"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:13.625501"]]
|
137706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137707
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137708
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 59) LIMIT 1[0m
|
137709
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 59 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.626797"], ["user_image", #<RSpec::Mocks::Double:0x3fe8d9aa0e54 @name="Tool Provider">]]
|
137710
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137711
|
+
Redirected to http://test.host/?_dummy_session=91d2faf9eb04335472f8e499a5400059
|
137712
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
137713
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137714
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137715
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137716
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137717
|
+
Processing by DceLti::SessionsController#create as HTML
|
137718
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.630688"], ["nonce", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.630688"]]
|
137720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137721
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137723
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
137724
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.632555"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:13.632555"]]
|
137725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137726
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
137727
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 60) LIMIT 1[0m
|
137728
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 60 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.633927"], ["user_image", #<RSpec::Mocks::Double:0x3fe8dacf436c @name="Tool Provider">]]
|
137729
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137730
|
+
Redirected to http://test.host/sessions/create
|
137731
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
|
137732
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137733
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137734
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137735
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137736
|
+
Processing by DceLti::SessionsController#create as HTML
|
137737
|
+
Parameters: {"user_id"=>"oauth_id"}
|
137738
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137739
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.638005"], ["nonce", #<RSpec::Mocks::Double:0x3fe8dad17254 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.638005"]]
|
137740
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137741
|
+
Redirected to http://test.host/?_dummy_session=c74e311d1de9784ca4b4606af27a7512
|
137742
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
137743
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137744
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137745
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137746
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137747
|
+
Processing by DceLti::SessionsController#create as HTML
|
137748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137749
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.642229"], ["nonce", #<RSpec::Mocks::Double:0x3fe8d9a58410 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.642229"]]
|
137750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137751
|
+
Redirected to http://test.host/?_dummy_session=fc3c75f334db75ca059ac4479ede4945
|
137752
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137753
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
137754
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137755
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137756
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137757
|
+
Processing by DceLti::SessionsController#create as HTML
|
137758
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
137759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137760
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.645711"], ["nonce", #<RSpec::Mocks::Double:0x3fe8dad3e9e4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:13.645711"]]
|
137761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137762
|
+
Redirected to http://test.host/?_dummy_session=89f76f6c0f8cefa7c8632ef2309ec389
|
137763
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137764
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137765
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137766
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137767
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137768
|
+
Processing by DceLti::SessionsController#create as HTML
|
137769
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
137770
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137771
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137772
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137773
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137774
|
+
Processing by DceLti::SessionsController#create as HTML
|
137775
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
137776
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137777
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137778
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137779
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137780
|
+
Processing by DceLti::SessionsController#create as HTML
|
137781
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
137782
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137783
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137784
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137786
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:12:13 -0400
|
137787
|
+
Processing by PostsController#index as HTML
|
137788
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
137789
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
137790
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137791
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
|
137792
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:12:13 -0400
|
137793
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
137794
|
+
Completed 200 OK in 89ms (Views: 89.0ms | ActiveRecord: 0.0ms)
|
137795
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137796
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137797
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137798
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137799
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137800
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137801
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137802
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137803
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137804
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137805
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137806
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137808
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.767011"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:13.767011"]]
|
137809
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137811
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:13.768554"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:13.768554"]]
|
137812
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
137813
|
+
DETAIL: Key (nonce)=(100) already exists.
|
137814
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
137815
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137816
|
+
Creating nonce failed: "100"
|
137817
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137818
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137819
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137820
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137822
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:13.770805"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:13.770805"]]
|
137823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137824
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137825
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137826
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137827
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137828
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137829
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137830
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137831
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137832
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
137833
|
+
Redirected to http://test.host/
|
137834
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
137835
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137836
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137837
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137838
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137839
|
+
Processing by PostsController#index as HTML
|
137840
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
137841
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137842
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137843
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137844
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137845
|
+
Processing by PostsController#index as HTML
|
137846
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
137847
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137848
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137849
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
137850
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137851
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137852
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137853
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137854
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137855
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137856
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137857
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137858
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137859
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137860
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137861
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137862
|
+
Processing by PostsController#index as HTML
|
137863
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137864
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137865
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137866
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
137867
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137868
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
137869
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
137870
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
137871
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
137872
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
137873
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137874
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137875
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137876
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137877
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137878
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137879
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137880
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137881
|
+
[1m[35mDceLti::User Exists (0.3ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
137882
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137883
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137884
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137885
|
+
[1m[35m (0.1ms)[0m COMMIT
|
137886
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137887
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 10:12:52 -0400
|
137888
|
+
Processing by PostsController#index as HTML
|
137889
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137890
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
137891
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137892
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.3ms)
|
137893
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 10:12:52 -0400
|
137894
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
137895
|
+
Rendered /home/djcp/code/work/dce_lti/app/views/dce_lti/sessions/invalid.html.erb within layouts/dce_lti/application (0.7ms)
|
137896
|
+
Completed 200 OK in 91ms (Views: 90.9ms | ActiveRecord: 0.0ms)
|
137897
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137898
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137899
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137900
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137901
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137902
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137903
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137904
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137905
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137906
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137907
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137908
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137909
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137910
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137911
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137912
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137913
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137914
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.695730"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:52.695730"]]
|
137915
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
137916
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137917
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137918
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137919
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137921
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.698972"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:52.698972"]]
|
137922
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137923
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137924
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.699839"], ["nonce", "100"], ["updated_at", "2015-05-26 14:12:52.699839"]]
|
137925
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
137926
|
+
DETAIL: Key (nonce)=(100) already exists.
|
137927
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
137928
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
137929
|
+
Creating nonce failed: "100"
|
137930
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
137931
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
137932
|
+
[1m[35m (0.0ms)[0m COMMIT
|
137933
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
137934
|
+
Processing by PostsController#index as HTML
|
137935
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
137936
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
137937
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
137938
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
137939
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137940
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137941
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137942
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137943
|
+
Processing by DceLti::ConfigsController#index as XML
|
137944
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137945
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137946
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137947
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137948
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137949
|
+
Processing by DceLti::ConfigsController#index as XML
|
137950
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137951
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137952
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137953
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137954
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137955
|
+
Processing by DceLti::ConfigsController#index as XML
|
137956
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137957
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137958
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137959
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137960
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137961
|
+
Processing by DceLti::ConfigsController#index as XML
|
137962
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
137963
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137964
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137965
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137966
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137967
|
+
Processing by DceLti::ConfigsController#index as XML
|
137968
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
137969
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137970
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137971
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137972
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137973
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137974
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137975
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
137976
|
+
[1m[35m (0.1ms)[0m BEGIN
|
137977
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137978
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137979
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137980
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137981
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137982
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137983
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137984
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137985
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
137986
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137987
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137988
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137989
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
137990
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1
|
137991
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.746964"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:52.746964"]]
|
137992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137993
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
137994
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137995
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
137996
|
+
[1m[35m (0.0ms)[0m BEGIN
|
137997
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
137998
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1
|
137999
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.752050"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:52.752050"]]
|
138000
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138001
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138002
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138003
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138004
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138005
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138006
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138007
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138008
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138009
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138010
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1
|
138011
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.756428"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 14:12:52.756428"]]
|
138012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138013
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138014
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138015
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138016
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138017
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138018
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1
|
138019
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.759714"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 14:12:52.759714"]]
|
138020
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138021
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 4]]
|
138022
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138023
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138024
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138025
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138027
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1[0m
|
138028
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 14:12:52.763774"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 14:12:52.763774"]]
|
138029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138030
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 5]]
|
138031
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138032
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138033
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138034
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138035
|
+
[1m[36mDceLti::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138036
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138037
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138038
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138039
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138040
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138041
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138042
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138043
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1[0m
|
138044
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138045
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.777953"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 14:12:52.777953"]]
|
138046
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138047
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
138048
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
138049
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138050
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138051
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138052
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138053
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
138054
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
138055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138056
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138057
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138058
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138059
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138060
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138061
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138062
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138063
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138064
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138065
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138066
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138067
|
+
Processing by DceLti::SessionsController#create as HTML
|
138068
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
138069
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138070
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138071
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138073
|
+
Processing by DceLti::SessionsController#create as HTML
|
138074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138075
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.799198"], ["nonce", #<RSpec::Mocks::Double:0x3f96e3f05884 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.799198"]]
|
138076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138077
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)
|
138078
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138079
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138080
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138081
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138082
|
+
Processing by DceLti::SessionsController#create as HTML
|
138083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138084
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.804890"], ["nonce", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.804890"]]
|
138085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138086
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138087
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138088
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138089
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.807276"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:52.807276"]]
|
138090
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138091
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138092
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 7) LIMIT 1[0m
|
138093
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 7 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.810777"], ["user_image", #<RSpec::Mocks::Double:0x3f96e3f6c05c @name="Tool Provider">]]
|
138094
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138095
|
+
Redirected to http://test.host/?_dummy_session=368fac92cce6563eaa84585f48ff433c
|
138096
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.6ms)
|
138097
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138098
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138099
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138100
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138101
|
+
Processing by DceLti::SessionsController#create as HTML
|
138102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138103
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.816504"], ["nonce", #<RSpec::Mocks::Double:0x3f96e4035ccc @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.816504"]]
|
138104
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138105
|
+
Redirected to http://test.host/?_dummy_session=9777041ec062bf75ae9d23273bed2b4b
|
138106
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
138107
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138108
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138109
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138110
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138111
|
+
Processing by DceLti::SessionsController#create as HTML
|
138112
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
138113
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138114
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.820602"], ["nonce", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.820602"]]
|
138115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138116
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138118
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138119
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.822598"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:52.822598"]]
|
138120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138122
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 8) LIMIT 1
|
138123
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 8[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.824139"], ["user_image", #<RSpec::Mocks::Double:0x3f96e406fea4 @name="Tool Provider">]]
|
138124
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138125
|
+
Redirected to http://test.host/?_dummy_session=400d3ac3962679e7702b22dc67b7b988
|
138126
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
138127
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138128
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138129
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138130
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138131
|
+
Processing by DceLti::SessionsController#create as HTML
|
138132
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
138133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138134
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.828401"], ["nonce", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.828401"]]
|
138135
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138136
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138137
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138138
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138139
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.830902"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:52.830902"]]
|
138140
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138141
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138142
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 9) LIMIT 1
|
138143
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 9[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.832911"], ["user_image", #<RSpec::Mocks::Double:0x3f96e41509b8 @name="Tool Provider">]]
|
138144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138145
|
+
Redirected to http://test.host/?_dummy_session=15eed25502a7cf0a24c877cd5bf686d0
|
138146
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.7ms)
|
138147
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138148
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138149
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138150
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138151
|
+
Processing by DceLti::SessionsController#create as HTML
|
138152
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138153
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138154
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138155
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138156
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138157
|
+
Processing by DceLti::SessionsController#create as HTML
|
138158
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138159
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138160
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138161
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138162
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138163
|
+
Processing by DceLti::SessionsController#create as HTML
|
138164
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138165
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138166
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138167
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138168
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138169
|
+
Processing by DceLti::SessionsController#create as HTML
|
138170
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
138171
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138172
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.848096"], ["nonce", #<RSpec::Mocks::Double:0x3f96e430ab00 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.848096"]]
|
138173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138174
|
+
Redirected to http://test.host/?_dummy_session=3af98dfb8540c437e70a1491cdf3cf89
|
138175
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
138176
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138177
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138178
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138179
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138180
|
+
Processing by DceLti::SessionsController#create as HTML
|
138181
|
+
Parameters: {"user_id"=>"oauth_id"}
|
138182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138183
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.853423"], ["nonce", #<RSpec::Mocks::Double:0x3f96e439a50c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.853423"]]
|
138184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138185
|
+
Redirected to http://test.host/?_dummy_session=f0175fe978572c49acdbbe364095042f
|
138186
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
138187
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138188
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138189
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138190
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138191
|
+
Processing by DceLti::SessionsController#create as HTML
|
138192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.859753"], ["nonce", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.859753"]]
|
138194
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138195
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138196
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138197
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 14:12:52.862484"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 14:12:52.862484"]]
|
138199
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138201
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 10) LIMIT 1
|
138202
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 10[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.864674"], ["user_image", #<RSpec::Mocks::Double:0x3f96e447560c @name="Tool Provider">]]
|
138203
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138204
|
+
Redirected to http://test.host/sessions/create
|
138205
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
|
138206
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138207
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138208
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138209
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138210
|
+
Processing by DceLti::SessionsController#create as HTML
|
138211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138212
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 14:12:52.870385"], ["nonce", #<RSpec::Mocks::Double:0x3f96e459e808 @name="Tool Provider">], ["updated_at", "2015-05-26 14:12:52.870385"]]
|
138213
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138214
|
+
Redirected to http://test.host/?_dummy_session=afe63b96396c37939aa7a0b487119717
|
138215
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
138216
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138217
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138218
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138219
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138220
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138221
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138222
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138223
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138224
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138225
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138226
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138227
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138228
|
+
Processing by PostsController#index as HTML
|
138229
|
+
[1m[35mDceLti::User Load (0.3ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
138230
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
138231
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138232
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
138233
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138234
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138235
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138236
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138237
|
+
Processing by PostsController#index as HTML
|
138238
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
138239
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138240
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138241
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138242
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138243
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
138244
|
+
Redirected to http://test.host/
|
138245
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
138246
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138247
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
138248
|
+
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
138249
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
138250
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
138251
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
138252
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138253
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138254
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138255
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138256
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138257
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138258
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138260
|
+
[1m[35mDceLti::User Exists (0.3ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1
|
138261
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:40.974255"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 17:26:40.974255"]]
|
138262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138263
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 11]]
|
138264
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138265
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138266
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138267
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138269
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1[0m
|
138270
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:26:40.981588"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 17:26:40.981588"]]
|
138271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138272
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 12]]
|
138273
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138274
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138275
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138276
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138277
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1[0m
|
138278
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138279
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:40.986722"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 17:26:40.986722"]]
|
138280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138281
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
138282
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
138283
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138284
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138285
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138286
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138287
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
138288
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
138289
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138290
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138291
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138292
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138293
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138294
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138295
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138296
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138297
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138298
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138299
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138300
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138301
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138302
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1
|
138303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.003066"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:26:41.003066"]]
|
138304
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138305
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138307
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138308
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138309
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138310
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138311
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138312
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138314
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1
|
138315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.007517"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:26:41.007517"]]
|
138316
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138317
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138318
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138319
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138320
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138321
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138322
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1
|
138323
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.009997"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:26:41.009997"]]
|
138324
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138325
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138326
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138327
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138328
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138329
|
+
Processing by DceLti::SessionsController#create as HTML
|
138330
|
+
Rendered /home/djcp/code/work/dce_lti/app/views/dce_lti/sessions/invalid.html.erb within layouts/dce_lti/application (0.2ms)
|
138331
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
138332
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138334
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138336
|
+
Processing by DceLti::SessionsController#create as HTML
|
138337
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
138338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138339
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.031563"], ["nonce", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.031563"]]
|
138340
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138341
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138343
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138344
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.035923"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:26:41.035923"]]
|
138345
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138347
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 17) LIMIT 1
|
138348
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 17[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.037729"], ["user_image", #<RSpec::Mocks::Double:0x3f9437469c1c @name="Tool Provider">]]
|
138349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138350
|
+
Redirected to http://test.host/?_dummy_session=aad369b00a813173194c857ce13b94a3
|
138351
|
+
Completed 302 Found in 11ms (ActiveRecord: 2.7ms)
|
138352
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138353
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138354
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138355
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138356
|
+
Processing by DceLti::SessionsController#create as HTML
|
138357
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
138358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138359
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.041934"], ["nonce", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.041934"]]
|
138360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138361
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138362
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138363
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138364
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.043924"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:26:41.043924"]]
|
138365
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138367
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 18) LIMIT 1
|
138368
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 18[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.045473"], ["user_image", #<RSpec::Mocks::Double:0x3f9437434ad0 @name="Tool Provider">]]
|
138369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138370
|
+
Redirected to http://test.host/?_dummy_session=c90d020589c6292c5fd5d859416d1f01
|
138371
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
|
138372
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138373
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138374
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138375
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138376
|
+
Processing by DceLti::SessionsController#create as HTML
|
138377
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138378
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.049441"], ["nonce", #<RSpec::Mocks::Double:0x3f94384142fc @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.049441"]]
|
138379
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138380
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
138381
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138382
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138383
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138384
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138385
|
+
Processing by DceLti::SessionsController#create as HTML
|
138386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138387
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.053379"], ["nonce", #<RSpec::Mocks::Double:0x3f9438428374 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.053379"]]
|
138388
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138389
|
+
Redirected to http://test.host/?_dummy_session=ca5af360f9543719177b6512cc73406f
|
138390
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
138391
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138392
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138393
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138394
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138395
|
+
Processing by DceLti::SessionsController#create as HTML
|
138396
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138397
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.056560"], ["nonce", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.056560"]]
|
138398
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138399
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138401
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
138402
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.058418"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:26:41.058418"]]
|
138403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138405
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 19) LIMIT 1
|
138406
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 19[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.059637"], ["user_image", #<RSpec::Mocks::Double:0x3f943843d954 @name="Tool Provider">]]
|
138407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138408
|
+
Redirected to http://test.host/?_dummy_session=be941012c3e6fe3232a73334ed147001
|
138409
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
|
138410
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138411
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138412
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138413
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138414
|
+
Processing by DceLti::SessionsController#create as HTML
|
138415
|
+
Parameters: {"user_id"=>"oauth_id"}
|
138416
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138417
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.063617"], ["nonce", #<RSpec::Mocks::Double:0x3f943845d380 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.063617"]]
|
138418
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138419
|
+
Redirected to http://test.host/?_dummy_session=9b38a9337c62eb5d1c3de6dc41d356ea
|
138420
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
|
138421
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138422
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138423
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138424
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138425
|
+
Processing by DceLti::SessionsController#create as HTML
|
138426
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138427
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.067692"], ["nonce", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.067692"]]
|
138428
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138429
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138431
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138432
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.069619"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:26:41.069619"]]
|
138433
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138435
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 20) LIMIT 1[0m
|
138436
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 20 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.070861"], ["user_image", #<RSpec::Mocks::Double:0x3f943846d03c @name="Tool Provider">]]
|
138437
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138438
|
+
Redirected to http://test.host/sessions/create
|
138439
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
138440
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138441
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138442
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138443
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138444
|
+
Processing by DceLti::SessionsController#create as HTML
|
138445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138446
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.075553"], ["nonce", #<RSpec::Mocks::Double:0x3f94373aaa10 @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.075553"]]
|
138447
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138448
|
+
Redirected to http://test.host/?_dummy_session=7d0403e4b35a535d07fabb3273a5c50e
|
138449
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
138450
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138451
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138452
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138453
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138454
|
+
Processing by DceLti::SessionsController#create as HTML
|
138455
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
138456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138457
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.080068"], ["nonce", #<RSpec::Mocks::Double:0x3f94384a778c @name="Tool Provider">], ["updated_at", "2015-05-26 17:26:41.080068"]]
|
138458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138459
|
+
Redirected to http://test.host/?_dummy_session=60230736e58145e7638d8cd5b945915e
|
138460
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138461
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138462
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138463
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138464
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138465
|
+
Processing by DceLti::SessionsController#create as HTML
|
138466
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
138467
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138468
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138469
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138470
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138471
|
+
Processing by DceLti::SessionsController#create as HTML
|
138472
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138473
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138474
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138475
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138476
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138477
|
+
Processing by DceLti::SessionsController#create as HTML
|
138478
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138479
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138480
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138481
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138482
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138483
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
138484
|
+
Redirected to http://test.host/
|
138485
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
138486
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138487
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138488
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138489
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138490
|
+
Processing by PostsController#index as HTML
|
138491
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
138492
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138493
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138494
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138495
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138496
|
+
Processing by PostsController#index as HTML
|
138497
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
138498
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
138499
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138500
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138501
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138502
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138503
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138504
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138505
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138506
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138507
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138508
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138509
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138510
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138511
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138512
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138513
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138514
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138515
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138516
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138517
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138518
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138519
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138520
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138521
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138522
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138523
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138524
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138525
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138527
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138528
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138529
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138530
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138531
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138532
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138533
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138534
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.111315"], ["nonce", "100"], ["updated_at", "2015-05-26 17:26:41.111315"]]
|
138535
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138537
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:26:41.112150"], ["nonce", "100"], ["updated_at", "2015-05-26 17:26:41.112150"]]
|
138538
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
138539
|
+
DETAIL: Key (nonce)=(100) already exists.
|
138540
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
138541
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
138542
|
+
Creating nonce failed: "100"
|
138543
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138544
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138545
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138546
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138548
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:26:41.113926"], ["nonce", "100"], ["updated_at", "2015-05-26 17:26:41.113926"]]
|
138549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138550
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138551
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138552
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138553
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138554
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138555
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138556
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138557
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138558
|
+
Processing by PostsController#index as HTML
|
138559
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
138560
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
138561
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138562
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
138563
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138564
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138565
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138566
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138567
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 13:26:41 -0400
|
138568
|
+
Processing by PostsController#index as HTML
|
138569
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
138570
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
138571
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138572
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.2ms)
|
138573
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 13:26:41 -0400
|
138574
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
138575
|
+
Completed 200 OK in 84ms (Views: 83.9ms | ActiveRecord: 0.0ms)
|
138576
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138578
|
+
[1m[35m (0.1ms)[0m COMMIT
|
138579
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138580
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138581
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138582
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138583
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138584
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138585
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138586
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138587
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138588
|
+
Processing by DceLti::ConfigsController#index as XML
|
138589
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138590
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138591
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138592
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138593
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138594
|
+
Processing by DceLti::ConfigsController#index as XML
|
138595
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
138596
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138597
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138598
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138599
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138600
|
+
Processing by DceLti::ConfigsController#index as XML
|
138601
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138602
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138604
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138605
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138606
|
+
Processing by DceLti::ConfigsController#index as XML
|
138607
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138608
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138609
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138610
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138611
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138612
|
+
Processing by DceLti::ConfigsController#index as XML
|
138613
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138614
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138616
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138617
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138618
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138619
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
138620
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
138621
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138622
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138623
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138624
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138625
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138626
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
138627
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
138628
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
138629
|
+
[1m[35m (0.2ms)[0m DELETE FROM "dce_lti_users";
|
138630
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
138631
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138632
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138633
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138634
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138635
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138636
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138637
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138638
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138639
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138640
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138641
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138642
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138643
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138644
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138645
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138646
|
+
Processing by DceLti::SessionsController#create as HTML
|
138647
|
+
Rendered /home/djcp/code/work/dce_lti/app/views/dce_lti/sessions/invalid.html.erb within layouts/dce_lti/application (0.2ms)
|
138648
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
138649
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138650
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138651
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138652
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138653
|
+
Processing by DceLti::SessionsController#create as HTML
|
138654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138655
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.904122"], ["nonce", #<RSpec::Mocks::Double:0x3fe3306e80cc @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.904122"]]
|
138656
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138657
|
+
Redirected to http://test.host/?_dummy_session=fbb6cbfd95ea8d4ac9ad73c4e3968b2b
|
138658
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
|
138659
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138660
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138661
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138662
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138663
|
+
Processing by DceLti::SessionsController#create as HTML
|
138664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138665
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.909457"], ["nonce", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.909457"]]
|
138666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138667
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138668
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138669
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138670
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.920841"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:27:16.920841"]]
|
138671
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138673
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 1) LIMIT 1[0m
|
138674
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 1 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.922914"], ["user_image", #<RSpec::Mocks::Double:0x3fe32f9038d0 @name="Tool Provider">]]
|
138675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138676
|
+
Redirected to http://test.host/?_dummy_session=6fd6823b0c0ab73e03396d7506b50049
|
138677
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.5ms)
|
138678
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138679
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138680
|
+
[1m[35m (0.1ms)[0m COMMIT
|
138681
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138682
|
+
Processing by DceLti::SessionsController#create as HTML
|
138683
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
138684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138685
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.927434"], ["nonce", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.927434"]]
|
138686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138687
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138689
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138690
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.929728"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:27:16.929728"]]
|
138691
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138692
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138693
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 2) LIMIT 1[0m
|
138694
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 2 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.931044"], ["user_image", #<RSpec::Mocks::Double:0x3fe3307d415c @name="Tool Provider">]]
|
138695
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138696
|
+
Redirected to http://test.host/?_dummy_session=0f8bb43e324f8673b931d09ce234d6ff
|
138697
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
|
138698
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138699
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138700
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138701
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138702
|
+
Processing by DceLti::SessionsController#create as HTML
|
138703
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
138704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138705
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.934634"], ["nonce", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.934634"]]
|
138706
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138707
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138708
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138709
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138710
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.936497"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:27:16.936497"]]
|
138711
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138713
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 3) LIMIT 1[0m
|
138714
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 3 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.937707"], ["user_image", #<RSpec::Mocks::Double:0x3fe3307f1a18 @name="Tool Provider">]]
|
138715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138716
|
+
Redirected to http://test.host/?_dummy_session=72545dfcb0b95899ec15bc12ed45bd0b
|
138717
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
|
138718
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138719
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138720
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138721
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138722
|
+
Processing by DceLti::SessionsController#create as HTML
|
138723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138724
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.941317"], ["nonce", #<RSpec::Mocks::Double:0x3fe33080e44c @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.941317"]]
|
138725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138726
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
138727
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138728
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138729
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138730
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138731
|
+
Processing by DceLti::SessionsController#create as HTML
|
138732
|
+
Parameters: {"user_id"=>"oauth_id"}
|
138733
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138734
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.946282"], ["nonce", #<RSpec::Mocks::Double:0x3fe32f83e56c @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.946282"]]
|
138735
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138736
|
+
Redirected to http://test.host/?_dummy_session=cce8022b0e7500e7eb24ad6e626a4065
|
138737
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
138738
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138739
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138740
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138741
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138742
|
+
Processing by DceLti::SessionsController#create as HTML
|
138743
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138744
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.950752"], ["nonce", #<RSpec::Mocks::Double:0x3fe32f82e5a4 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.950752"]]
|
138745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138746
|
+
Redirected to http://test.host/?_dummy_session=c649c0dd5ec08b2461ecc6099daa38bb
|
138747
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138748
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138749
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138750
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138751
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138752
|
+
Processing by DceLti::SessionsController#create as HTML
|
138753
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
138754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138755
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.955078"], ["nonce", #<RSpec::Mocks::Double:0x3fe32f81269c @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.955078"]]
|
138756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138757
|
+
Redirected to http://test.host/?_dummy_session=9250c476ba24ebdec68da4e5e1018c4c
|
138758
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138759
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138760
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138761
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138762
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138763
|
+
Processing by DceLti::SessionsController#create as HTML
|
138764
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138765
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:16.958561"], ["nonce", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.958561"]]
|
138766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138767
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138768
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138769
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
138770
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:16.960511"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:27:16.960511"]]
|
138771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138772
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138773
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 4) LIMIT 1[0m
|
138774
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 4 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">], ["updated_at", "2015-05-26 17:27:16.961992"], ["user_image", #<RSpec::Mocks::Double:0x3fe330877f78 @name="Tool Provider">]]
|
138775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138776
|
+
Redirected to http://test.host/sessions/create
|
138777
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
138778
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138779
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138780
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138781
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138782
|
+
Processing by DceLti::SessionsController#create as HTML
|
138783
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138784
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138785
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138786
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138787
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138788
|
+
Processing by DceLti::SessionsController#create as HTML
|
138789
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
138790
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138791
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138792
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138793
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138794
|
+
Processing by DceLti::SessionsController#create as HTML
|
138795
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
138796
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138797
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138798
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138799
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138800
|
+
Processing by PostsController#index as HTML
|
138801
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
138802
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
138803
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138804
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138805
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138806
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138807
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138808
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138809
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138810
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138811
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138812
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138813
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138814
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138815
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138816
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138818
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
138819
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
138820
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138821
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138822
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138823
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138824
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138825
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138826
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138827
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138828
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 13:27:16 -0400
|
138829
|
+
Processing by PostsController#index as HTML
|
138830
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
138831
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
138832
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138833
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
|
138834
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 13:27:16 -0400
|
138835
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
138836
|
+
Completed 200 OK in 86ms (Views: 85.7ms | ActiveRecord: 0.0ms)
|
138837
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138838
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138839
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138840
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138841
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138842
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138843
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138844
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138845
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138846
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138847
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138848
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138849
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138850
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138851
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138852
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138854
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1
|
138855
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.092402"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:27:17.092402"]]
|
138856
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138857
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138858
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138859
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138860
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138862
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1
|
138863
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.097405"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:27:17.097405"]]
|
138864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138865
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
138866
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138867
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138868
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138869
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138870
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-6' LIMIT 1
|
138871
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.100932"], ["lti_user_id", "user_id-6"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:27:17.100932"]]
|
138872
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
138873
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138874
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138875
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138876
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138877
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138878
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138879
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138880
|
+
[1m[35m (0.4ms)[0m BEGIN
|
138881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138882
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-7' LIMIT 1
|
138883
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.106326"], ["lti_user_id", "user_id-7"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 17:27:17.106326"]]
|
138884
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138885
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 8]]
|
138886
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138887
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138888
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138889
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138890
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138891
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-8' LIMIT 1[0m
|
138892
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:27:17.110243"], ["lti_user_id", "user_id-8"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 17:27:17.110243"]]
|
138893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138894
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 9]]
|
138895
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
138896
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138897
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138898
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138899
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138900
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138901
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
138902
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
138903
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138904
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138905
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138906
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138907
|
+
[1m[36mDceLti::User Load (0.3ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1[0m
|
138908
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
138909
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.127325"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 17:27:17.127325"]]
|
138910
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138911
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
138912
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
138913
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138914
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138915
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138916
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138917
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
138918
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
138919
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138920
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138921
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138922
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138923
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
138924
|
+
Redirected to http://test.host/
|
138925
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
138926
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138927
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138928
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138929
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138930
|
+
Processing by PostsController#index as HTML
|
138931
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
138932
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138933
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138934
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138935
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138936
|
+
Processing by PostsController#index as HTML
|
138937
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
138938
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
138939
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
138940
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
138941
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138942
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138943
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138944
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138945
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138946
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138947
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138948
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138949
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138950
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138951
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138952
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138953
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
138954
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138955
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138956
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138958
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.156528"], ["nonce", "100"], ["updated_at", "2015-05-26 17:27:17.156528"]]
|
138959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
138960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138961
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:27:17.157645"], ["nonce", "100"], ["updated_at", "2015-05-26 17:27:17.157645"]]
|
138962
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
138963
|
+
DETAIL: Key (nonce)=(100) already exists.
|
138964
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
138965
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
138966
|
+
Creating nonce failed: "100"
|
138967
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
138968
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138969
|
+
[1m[35m (0.0ms)[0m COMMIT
|
138970
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
138971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
138972
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:27:17.159431"], ["nonce", "100"], ["updated_at", "2015-05-26 17:27:17.159431"]]
|
138973
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
138974
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138975
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138976
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
138977
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138978
|
+
Processing by DceLti::ConfigsController#index as XML
|
138979
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
138980
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138981
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138982
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138983
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138984
|
+
Processing by DceLti::ConfigsController#index as XML
|
138985
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138986
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138987
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138988
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138989
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138990
|
+
Processing by DceLti::ConfigsController#index as XML
|
138991
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
138992
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138993
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138994
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
138995
|
+
[1m[35m (0.0ms)[0m BEGIN
|
138996
|
+
Processing by DceLti::ConfigsController#index as XML
|
138997
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
138998
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
138999
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139000
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139001
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139002
|
+
Processing by DceLti::ConfigsController#index as XML
|
139003
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
139004
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139005
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "dce_lti_nonces" DISABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
139006
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dce_lti_dummy_test'
|
139007
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "dce_lti_nonces";[0m
|
139008
|
+
[1m[35m (0.1ms)[0m DELETE FROM "dce_lti_users";
|
139009
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "dce_lti_nonces" ENABLE TRIGGER ALL;ALTER TABLE "dce_lti_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
139010
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139011
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139012
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139013
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139014
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139015
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139016
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139017
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139018
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139019
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139020
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139021
|
+
Processing by PostsController#index as HTML
|
139022
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1[0m
|
139023
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
139024
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
139025
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
139026
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139027
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139028
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139029
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139030
|
+
Processing by PostsController#index as HTML
|
139031
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
139032
|
+
Redirected to http://test.host/dce_lti/sessions/invalid
|
139033
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
139034
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
139035
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139036
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139037
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139038
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139039
|
+
Processing by PostsController#index as HTML
|
139040
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
139041
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139042
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139043
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139044
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139045
|
+
Processing by PostsController#redirect_with_response_status as HTML
|
139046
|
+
Redirected to http://test.host/
|
139047
|
+
Completed 301 Moved Permanently in 0ms (ActiveRecord: 0.0ms)
|
139048
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139049
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139050
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139051
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139052
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
139053
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139054
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139055
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139057
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.395912"], ["nonce", "100"], ["updated_at", "2015-05-26 17:28:53.395912"]]
|
139058
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139059
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139060
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139061
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139062
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139063
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139064
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.401032"], ["nonce", "100"], ["updated_at", "2015-05-26 17:28:53.401032"]]
|
139065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
139066
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139067
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.401883"], ["nonce", "100"], ["updated_at", "2015-05-26 17:28:53.401883"]]
|
139068
|
+
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_dce_lti_nonces_on_nonce"
|
139069
|
+
DETAIL: Key (nonce)=(100) already exists.
|
139070
|
+
: INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
|
139071
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
139072
|
+
Creating nonce failed: "100"
|
139073
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139074
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139075
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139076
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139077
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139078
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139079
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139080
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139081
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139082
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139083
|
+
[1m[35m (0.1ms)[0m COMMIT
|
139084
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139085
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139086
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139087
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139088
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139089
|
+
[1m[35mDceLti::User Exists (0.3ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
139090
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1[0m
|
139091
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139092
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139093
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139094
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139095
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
139096
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
139097
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
|
139098
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1[0m
|
139099
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139100
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139101
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139102
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139103
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" ORDER BY "dce_lti_users"."id" ASC LIMIT 1
|
139104
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
139105
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.432915"], ["lti_user_id", "a"], ["updated_at", "2015-05-26 17:28:53.432915"]]
|
139106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139107
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1
|
139108
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'a' LIMIT 1[0m
|
139109
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139110
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139111
|
+
[1m[35m (0.1ms)[0m COMMIT
|
139112
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139113
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139114
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139115
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139116
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139117
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139118
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-1' LIMIT 1[0m
|
139119
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:28:53.440569"], ["lti_user_id", "user_id-1"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:28:53.440569"]]
|
139120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139121
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139122
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139123
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139124
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139126
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-2' LIMIT 1[0m
|
139127
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:28:53.442889"], ["lti_user_id", "user_id-2"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:28:53.442889"]]
|
139128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139129
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139130
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139131
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139132
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139134
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-3' LIMIT 1[0m
|
139135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:28:53.446082"], ["lti_user_id", "user_id-3"], ["roles", "{\"foo\",\"blee\"}"], ["updated_at", "2015-05-26 17:28:53.446082"]]
|
139136
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139137
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139138
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139139
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139140
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139141
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139142
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-4' LIMIT 1[0m
|
139143
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2015-05-26 17:28:53.448479"], ["lti_user_id", "user_id-4"], ["roles", "{\"foo\",\"bar\"}"], ["updated_at", "2015-05-26 17:28:53.448479"]]
|
139144
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139145
|
+
[1m[35mDceLti::User Load (0.1ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1 [["id", 5]]
|
139146
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
139147
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139148
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139149
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139150
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139151
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'user_id-5' LIMIT 1
|
139152
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "roles", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.450977"], ["lti_user_id", "user_id-5"], ["roles", "{\"foo\",\"bar\",\"baz\"}"], ["updated_at", "2015-05-26 17:28:53.450977"]]
|
139153
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139154
|
+
[1m[36mDceLti::User Load (0.1ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" = $1 LIMIT 1[0m [["id", 6]]
|
139155
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139156
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139157
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139158
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139159
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139160
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139161
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139162
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139163
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139164
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139165
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139166
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139167
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139168
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139169
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139170
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139171
|
+
Processing by DceLti::ConfigsController#index as XML
|
139172
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
139173
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139174
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139175
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139176
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139177
|
+
Processing by DceLti::ConfigsController#index as XML
|
139178
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
139179
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139180
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139181
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139182
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139183
|
+
Processing by DceLti::ConfigsController#index as XML
|
139184
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
139185
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139186
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139187
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139188
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139189
|
+
Processing by DceLti::ConfigsController#index as XML
|
139190
|
+
Completed 200 OK in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
|
139191
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139192
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139193
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139194
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139195
|
+
Processing by DceLti::ConfigsController#index as XML
|
139196
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
139197
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139198
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139199
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139200
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139201
|
+
Started GET "/" for 127.0.0.1 at 2015-05-26 13:28:53 -0400
|
139202
|
+
Processing by PostsController#index as HTML
|
139203
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."id" IS NULL LIMIT 1
|
139204
|
+
Redirected to http://www.example.com/dce_lti/sessions/invalid
|
139205
|
+
Filter chain halted as :authenticate_via_lti rendered or redirected
|
139206
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
|
139207
|
+
Started GET "/dce_lti/sessions/invalid" for 127.0.0.1 at 2015-05-26 13:28:53 -0400
|
139208
|
+
Processing by DceLti::SessionsController#invalid as HTML
|
139209
|
+
Completed 200 OK in 88ms (Views: 87.7ms | ActiveRecord: 0.0ms)
|
139210
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139211
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139212
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
139213
|
+
[1m[35m (0.1ms)[0m BEGIN
|
139214
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139215
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139216
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139217
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139218
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
139219
|
+
[1m[35mDceLti::User Exists (0.2ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" IS NULL LIMIT 1
|
139220
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
139221
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
139222
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139223
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139224
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139225
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139226
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139227
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139228
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139229
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139230
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139231
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139232
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139233
|
+
Processing by DceLti::SessionsController#create as HTML
|
139234
|
+
Parameters: {"oauth_consumer_key"=>"a key"}
|
139235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.587311"], ["nonce", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.587311"]]
|
139237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139238
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139239
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139240
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139241
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.590372"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:28:53.590372"]]
|
139242
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139243
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139244
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 7) LIMIT 1[0m
|
139245
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 7 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.593400"], ["user_image", #<RSpec::Mocks::Double:0x3f992193cdf4 @name="Tool Provider">]]
|
139246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139247
|
+
Redirected to http://test.host/?_dummy_session=ace0f73a8cca935884a937111245507d
|
139248
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
|
139249
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139250
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139251
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139252
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139253
|
+
Processing by DceLti::SessionsController#create as HTML
|
139254
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139255
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.599566"], ["nonce", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.599566"]]
|
139256
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
139257
|
+
[1m[36mDceLti::User Load (0.2ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139259
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139260
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.602579"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:28:53.602579"]]
|
139261
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139263
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 8) LIMIT 1[0m
|
139264
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 8 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.604336"], ["user_image", #<RSpec::Mocks::Double:0x3f99228dcc14 @name="Tool Provider">]]
|
139265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139266
|
+
Redirected to http://test.host/?_dummy_session=6e653bb2080ed632e2c19e5f2e9ca345
|
139267
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.2ms)
|
139268
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139269
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139270
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139271
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139272
|
+
Processing by DceLti::SessionsController#create as HTML
|
139273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139274
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.615319"], ["nonce", #<RSpec::Mocks::Double:0x3f99229bcb34 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.615319"]]
|
139275
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
139276
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
139277
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139278
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139279
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139280
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139281
|
+
Processing by DceLti::SessionsController#create as HTML
|
139282
|
+
Parameters: {"oauth_consumer_key"=>"consumer_key"}
|
139283
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
139284
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.620933"], ["nonce", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.620933"]]
|
139285
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139286
|
+
[1m[35mDceLti::User Load (0.2ms)[0m SELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
139287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139288
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1
|
139289
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.623343"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:28:53.623343"]]
|
139290
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139291
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139292
|
+
[1m[35mDceLti::User Exists (0.1ms)[0m SELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 9) LIMIT 1
|
139293
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 9[0m [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.624916"], ["user_image", #<RSpec::Mocks::Double:0x3f9922a1a2fc @name="Tool Provider">]]
|
139294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139295
|
+
Redirected to http://test.host/?_dummy_session=2ff4e6d70ee30b7628b7b9fb045d574b
|
139296
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
|
139297
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139298
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139299
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139300
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139301
|
+
Processing by DceLti::SessionsController#create as HTML
|
139302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.629952"], ["nonce", #<RSpec::Mocks::Double:0x3f9922ac9c5c @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.629952"]]
|
139304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139305
|
+
Redirected to http://test.host/?_dummy_session=1d4e837939500c76c99542ab334cf6b5
|
139306
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
139307
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139308
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139309
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139310
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139311
|
+
Processing by DceLti::SessionsController#create as HTML
|
139312
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
139313
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139314
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
139315
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139316
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139317
|
+
Processing by DceLti::SessionsController#create as HTML
|
139318
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
139319
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139320
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139321
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139322
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139323
|
+
Processing by DceLti::SessionsController#create as HTML
|
139324
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
139325
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139326
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139327
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139328
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139329
|
+
Processing by DceLti::SessionsController#create as HTML
|
139330
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
139331
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
139332
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139333
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139334
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139335
|
+
Processing by DceLti::SessionsController#create as HTML
|
139336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.648201"], ["nonce", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.648201"]]
|
139338
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139339
|
+
[1m[36mDceLti::User Load (0.5ms)[0m [1mSELECT "dce_lti_users".* FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139341
|
+
[1m[36mDceLti::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE "dce_lti_users"."lti_user_id" = 'oauth_id' LIMIT 1[0m
|
139342
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dce_lti_users" ("created_at", "lti_user_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.651201"], ["lti_user_id", "oauth_id"], ["updated_at", "2015-05-26 17:28:53.651201"]]
|
139343
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139345
|
+
[1m[36mDceLti::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "dce_lti_users" WHERE ("dce_lti_users"."lti_user_id" = 'oauth_id' AND "dce_lti_users"."id" != 10) LIMIT 1[0m
|
139346
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "dce_lti_users" SET "lis_person_contact_email_primary" = $1, "lis_person_name_family" = $2, "lis_person_name_full" = $3, "lis_person_name_given" = $4, "lis_person_sourcedid" = $5, "updated_at" = $6, "user_image" = $7 WHERE "dce_lti_users"."id" = 10 [["lis_person_contact_email_primary", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["lis_person_name_family", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["lis_person_name_full", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["lis_person_name_given", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["lis_person_sourcedid", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.653048"], ["user_image", #<RSpec::Mocks::Double:0x3f9922d6f984 @name="Tool Provider">]]
|
139347
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139348
|
+
Redirected to http://test.host/sessions/create
|
139349
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
|
139350
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139351
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139352
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139353
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
139354
|
+
Processing by DceLti::SessionsController#create as HTML
|
139355
|
+
Parameters: {"user_id"=>"asdfasdfasdfasfd"}
|
139356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139357
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.659086"], ["nonce", #<RSpec::Mocks::Double:0x3f992362ba78 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.659086"]]
|
139358
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139359
|
+
Redirected to http://test.host/?_dummy_session=4382de854fc24a12ffc6bfeeb226bebc
|
139360
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
139361
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139362
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139363
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
139364
|
+
[1m[35m (0.0ms)[0m BEGIN
|
139365
|
+
Processing by DceLti::SessionsController#create as HTML
|
139366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
139367
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2015-05-26 17:28:53.663486"], ["nonce", #<RSpec::Mocks::Double:0x3f9923690a54 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.663486"]]
|
139368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
139369
|
+
Redirected to http://test.host/?_dummy_session=7c64b1a626f1e9712e7e83007100f811
|
139370
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
139371
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139372
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139373
|
+
[1m[35m (0.0ms)[0m COMMIT
|
139374
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
139375
|
+
Processing by DceLti::SessionsController#create as HTML
|
139376
|
+
Parameters: {"user_id"=>"oauth_id"}
|
139377
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
139378
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dce_lti_nonces" ("created_at", "nonce", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2015-05-26 17:28:53.667823"], ["nonce", #<RSpec::Mocks::Double:0x3f99237151a0 @name="Tool Provider">], ["updated_at", "2015-05-26 17:28:53.667823"]]
|
139379
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139380
|
+
Redirected to http://test.host/?_dummy_session=79815d398b880396b256191f96942940
|
139381
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
139382
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|