coalescing_panda 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a79ca03c76cc0e801b698609574efb16dda47ef0
4
- data.tar.gz: 790034d6ed8d73b7f28c3a67ba775730ec993847
3
+ metadata.gz: dc79d15879f71ed1d51f6a8c0f80ac3b9e92c603
4
+ data.tar.gz: 8a3cc2e0bcbc16a30069f5716322d7de38c844c5
5
5
  SHA512:
6
- metadata.gz: ffb3c8e8e5ddb072a472619dc1c7435a86890f35cbdccfca2fb4e72a353c1cf0189d07e08a91da8f08185b5498598e79e6af2e0e9f0628e77e703207ebf3cd40
7
- data.tar.gz: 4ef99faf15b7f63f3581ce745c0a62767aa1c141ecc96ef81980314b65afdd8c3ffa7f7bdef511ffafbe270585ea11e02c78dc9bf9ccf6ac3fce2151a6c65e4c
6
+ metadata.gz: 37b10b11fedd389a85fca4561186a79f93e416022de3d6ab47eecebd016b0a6f6bfa024e4504c2080a0f3298f0d1726114bf34f17ddeb76f09f561328e002731
7
+ data.tar.gz: caa38640ee03b459020ef82fd2ba0237aefa0e7cd60fb453a39b078c6eeac291d6e34cd0266a8c33ff247fecccb34ac37107be01564edf3057955ab78a60a118
@@ -15,6 +15,7 @@ module CoalescingPanda
15
15
  session['uri'] = launch_presentation_return_url
16
16
  session['lis_person_sourcedid'] = params['lis_person_sourcedid']
17
17
  session['oauth_consumer_key'] = params['oauth_consumer_key']
18
+ session['custom_canvas_account_id'] = params['custom_canvas_account_id']
18
19
 
19
20
  if token = CanvasApiAuth.where('user_id = ? and api_domain = ?', user_id, api_domain).pluck(:api_token).first
20
21
  @client = Bearcat::Client.new(token: token, prefix: scheme+api_domain)
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '1.1.7'
2
+ VERSION = '1.1.8'
3
3
  end
@@ -0,0 +1,336 @@
1
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
5
+  (0.1ms) begin transaction
6
+  (0.3ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
+ SQL (2.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
8
+  (0.9ms) commit transaction
9
+ Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
10
+  (0.1ms) begin transaction
11
+  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) 
12
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
13
+  (1.0ms) commit transaction
14
+ Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
15
+  (0.1ms) begin transaction
16
+  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) 
17
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
18
+  (0.7ms) commit transaction
19
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+  (0.1ms) begin transaction
22
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
23
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
24
+  (0.1ms) rollback transaction
25
+  (0.1ms) begin transaction
26
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
27
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
28
+  (0.1ms) rollback transaction
29
+  (0.1ms) begin transaction
30
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
31
+  (0.0ms) SAVEPOINT active_record_1
32
+ SQL (4.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["user_id", "arbitrary_string"]]
33
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
35
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
36
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
37
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
38
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
39
+  (0.5ms) rollback transaction
40
+  (0.1ms) begin transaction
41
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
42
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
43
+ CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
44
+ Completed 500 Internal Server Error in 30ms
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
48
+ Parameters: {"error"=>"your face"}
49
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
50
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
51
+  (0.1ms) rollback transaction
52
+  (0.1ms) begin transaction
53
+  (0.1ms) rollback transaction
54
+  (0.1ms) begin transaction
55
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
56
+ Completed 500 Internal Server Error in 0ms
57
+  (0.1ms) rollback transaction
58
+  (0.1ms) begin transaction
59
+  (0.1ms) rollback transaction
60
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+  (0.1ms) begin transaction
62
+  (0.1ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+  (0.1ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
67
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68
+  (0.1ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
71
+ Parameters: {"error"=>"your face"}
72
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
73
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
74
+  (0.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
77
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
78
+ CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
79
+ Completed 500 Internal Server Error in 9ms
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
83
+  (0.1ms) SAVEPOINT active_record_1
84
+ SQL (5.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["user_id", "arbitrary_string"]]
85
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
87
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
88
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
89
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
90
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
91
+  (0.7ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
94
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
98
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
99
+  (0.1ms) rollback transaction
100
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
+  (0.1ms) begin transaction
102
+  (0.1ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
105
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
106
+  (0.1ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
109
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
113
+  (0.0ms) SAVEPOINT active_record_1
114
+ SQL (5.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["user_id", "arbitrary_string"]]
115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
116
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
117
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
118
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
119
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
120
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
121
+  (0.6ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
124
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
125
+  (0.1ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
128
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
129
+  (0.1ms) rollback transaction
130
+  (0.1ms) begin transaction
131
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
132
+ Parameters: {"error"=>"your face"}
133
+ Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
134
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
135
+  (0.1ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
138
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
139
+ CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
140
+ Completed 500 Internal Server Error in 8ms
141
+  (0.1ms) rollback transaction
142
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
143
+  (0.1ms) begin transaction
144
+  (0.1ms) rollback transaction
145
+  (0.1ms) begin transaction
146
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
147
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
148
+  (0.1ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+  (0.1ms) rollback transaction
151
+  (0.1ms) begin transaction
152
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
153
+  (0.0ms) SAVEPOINT active_record_1
154
+ SQL (5.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["user_id", "arbitrary_string"]]
155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
157
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
158
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
159
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
160
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
161
+  (1.5ms) rollback transaction
162
+  (0.1ms) begin transaction
163
+ CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
164
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
165
+  (0.1ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
168
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
169
+  (0.1ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
172
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
173
+ CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
174
+ Completed 500 Internal Server Error in 29ms
175
+  (0.1ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
178
+ Parameters: {"error"=>"your face"}
179
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
180
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
181
+  (0.1ms) rollback transaction
182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
+  (0.1ms) begin transaction
184
+  (0.1ms) rollback transaction
185
+  (0.1ms) begin transaction
186
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
187
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
188
+  (0.1ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
191
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
192
+  (0.1ms) rollback transaction
193
+  (0.1ms) begin transaction
194
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
195
+  (0.0ms) SAVEPOINT active_record_1
196
+ SQL (5.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["user_id", "arbitrary_string"]]
197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
198
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
199
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
200
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
201
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
202
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
203
+  (1.8ms) rollback transaction
204
+  (0.1ms) begin transaction
205
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
206
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
207
+  (0.1ms) rollback transaction
208
+  (0.1ms) begin transaction
209
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
210
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
211
+  (0.1ms) rollback transaction
212
+  (0.1ms) begin transaction
213
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
214
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
215
+ CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
216
+ Completed 500 Internal Server Error in 8ms
217
+  (0.1ms) rollback transaction
218
+  (0.1ms) begin transaction
219
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
220
+ Parameters: {"error"=>"your face"}
221
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
222
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
223
+  (0.1ms) rollback transaction
224
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
225
+  (0.1ms) begin transaction
226
+  (0.1ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
229
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
230
+  (0.1ms) rollback transaction
231
+  (0.1ms) begin transaction
232
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
233
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
234
+  (0.1ms) rollback transaction
235
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
236
+  (0.1ms) begin transaction
237
+  (0.1ms) rollback transaction
238
+  (0.1ms) begin transaction
239
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
240
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
241
+  (0.1ms) rollback transaction
242
+  (0.1ms) begin transaction
243
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
244
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
245
+  (0.1ms) rollback transaction
246
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
247
+  (0.1ms) begin transaction
248
+  (0.1ms) rollback transaction
249
+  (0.1ms) begin transaction
250
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
251
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
255
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
256
+  (0.1ms) rollback transaction
257
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
258
+  (0.1ms) begin transaction
259
+  (0.1ms) rollback transaction
260
+  (0.1ms) begin transaction
261
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
262
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
263
+  (0.1ms) rollback transaction
264
+  (0.1ms) begin transaction
265
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
266
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
267
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
268
+  (0.1ms) begin transaction
269
+  (0.1ms) rollback transaction
270
+  (0.1ms) begin transaction
271
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
272
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
273
+  (0.1ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
276
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
277
+  (0.1ms) rollback transaction
278
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
279
+  (0.1ms) begin transaction
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
283
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
284
+  (0.1ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
287
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
288
+  (0.1ms) rollback transaction
289
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
+  (0.1ms) begin transaction
291
+  (0.1ms) rollback transaction
292
+  (0.1ms) begin transaction
293
+  (0.1ms) rollback transaction
294
+  (0.1ms) begin transaction
295
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
296
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
297
+  (0.1ms) rollback transaction
298
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
+  (0.1ms) begin transaction
300
+  (0.1ms) rollback transaction
301
+  (0.1ms) begin transaction
302
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
303
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
304
+  (0.1ms) rollback transaction
305
+  (0.1ms) begin transaction
306
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
307
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
308
+  (0.1ms) rollback transaction
309
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
310
+  (0.1ms) begin transaction
311
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
312
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
313
+ CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
314
+ Completed 500 Internal Server Error in 10ms
315
+  (0.1ms) rollback transaction
316
+  (0.1ms) begin transaction
317
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
318
+ Parameters: {"error"=>"your face"}
319
+ Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
320
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
321
+  (0.1ms) rollback transaction
322
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
323
+  (0.1ms) begin transaction
324
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
325
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
326
+ CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts"
327
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_lti_accounts"
328
+ CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
329
+ Completed 500 Internal Server Error in 441449ms
330
+  (0.1ms) rollback transaction
331
+  (0.1ms) begin transaction
332
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
333
+ Parameters: {"error"=>"your face"}
334
+ Completed 200 OK in 40ms (Views: 39.7ms | ActiveRecord: 0.0ms)
335
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
336
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coalescing_panda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '0.6'
33
+ version: 0.9.18
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '0.6'
40
+ version: 0.9.18
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: macaddr
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -306,9 +306,9 @@ files:
306
306
  - spec/dummy/config/locales/en.yml
307
307
  - spec/dummy/config/routes.rb
308
308
  - spec/dummy/config.ru
309
- - spec/dummy/db/development.sqlite3
310
309
  - spec/dummy/db/schema.rb
311
- - spec/dummy/log/development.log
310
+ - spec/dummy/db/test.sqlite3
311
+ - spec/dummy/log/test.log
312
312
  - spec/dummy/public/404.html
313
313
  - spec/dummy/public/422.html
314
314
  - spec/dummy/public/500.html
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.0.14
339
+ rubygems_version: 2.0.3
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: Canvas LTI and OAUTH2 mountable engine
@@ -369,9 +369,9 @@ test_files:
369
369
  - spec/dummy/config/locales/en.yml
370
370
  - spec/dummy/config/routes.rb
371
371
  - spec/dummy/config.ru
372
- - spec/dummy/db/development.sqlite3
373
372
  - spec/dummy/db/schema.rb
374
- - spec/dummy/log/development.log
373
+ - spec/dummy/db/test.sqlite3
374
+ - spec/dummy/log/test.log
375
375
  - spec/dummy/public/404.html
376
376
  - spec/dummy/public/422.html
377
377
  - spec/dummy/public/500.html
@@ -1,19 +0,0 @@
1
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
5
-  (0.1ms) begin transaction
6
-  (0.3ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
8
-  (0.7ms) commit transaction
9
- Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
10
-  (0.1ms) begin transaction
11
-  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) 
12
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
13
-  (0.8ms) commit transaction
14
- Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
15
-  (0.1ms) begin transaction
16
-  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) 
17
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
18
-  (0.8ms) commit transaction
19
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"