canvas_oauth_engine 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/canvas_oauth/version.rb +1 -1
- data/spec/dummy/config/application.rb +2 -0
- data/spec/dummy/config/initializers/secret_token.rb +0 -1
- data/spec/dummy/log/test.log +630 -0
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7be1804353a08fb358510036316e60872017a025591b2e18e44e4f87f3fabeac
|
4
|
+
data.tar.gz: a81b63a4574792cb225f60a7d75850b73cd74b29b07a7154e92f9d502599a9fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a9ad24beef4ed38b5157d07f35c4c79e75ed10293ef7c22254b5510101771a1d01b1dd9909f19ffa73dbea6aa4b0d7b5f9ffeb8362a56cfa95c34430c6b1cb1
|
7
|
+
data.tar.gz: 972cd470e23691758ae2f40e57795384a8f6b1b4f060f5e984b0af13e92e1e8b97b0f37b25b543727e85b96af77d857eea5ec7e34ad68d8f966ab5aa4746be42
|
data/lib/canvas_oauth/version.rb
CHANGED
@@ -43,6 +43,8 @@ module Dummy
|
|
43
43
|
# like if you have constraints or database-specific column types
|
44
44
|
# config.active_record.schema_format = :sql
|
45
45
|
|
46
|
+
config.active_record.sqlite3.represent_boolean_as_integer = true
|
47
|
+
|
46
48
|
# Enable the asset pipeline
|
47
49
|
config.assets.enabled = true
|
48
50
|
|
@@ -4,5 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
Dummy::Application.config.secret_token = '8f96a1f3e47ab183a6d3c4c5ac4c1ae9f1b271effdba9e1e9ebfbb7cba9bf0fad6182c716dc62c604cbaaae6d86e93c26b867262a04ef0ad770ece90161ede0e'
|
8
7
|
Dummy::Application.config.secret_key_base = "b580d616dcbf14f5394aea18bcae2886515306728e54be7ef37f9c6aa48313368c7d00e4f0af95f4ec7b8e37696381ba0a44e1b939833dbc678bd56362aeb7a0"
|
data/spec/dummy/log/test.log
CHANGED
@@ -10954,3 +10954,633 @@ Processing by CanvasOauth::CanvasController#oauth as HTML
|
|
10954
10954
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
10955
10955
|
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
10956
10956
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10957
|
+
Initializing Canvas using configuration in /Users/simon/Instructure/projects/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
10958
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10959
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10960
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
10961
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10962
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10963
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10964
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10965
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10966
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10967
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10968
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10969
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10970
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10971
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10972
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10973
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10974
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10975
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10976
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
10977
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10978
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10979
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10980
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10981
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10982
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10983
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10984
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10985
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10986
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10987
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10988
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10989
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10990
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10991
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10992
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
10993
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10994
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10995
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10996
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
10997
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
10998
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
10999
|
+
API call (0.05ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
11000
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11001
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11002
|
+
API call (0.04ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
11003
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11004
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11005
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11006
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11007
|
+
API call (0.04ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11008
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11009
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11010
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11011
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11012
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11013
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11014
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11015
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11016
|
+
API call (0.04ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
11017
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11018
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11019
|
+
API call (0.07ms): get ["/path", {:headers=>{}}]
|
11020
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11021
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11022
|
+
API call (0.09ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
11023
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11024
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11025
|
+
API call (0.05ms): get ["/path", {:headers=>{}}]
|
11026
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11027
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11028
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11029
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11030
|
+
API call (0.05ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
11031
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11032
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11033
|
+
API call (0.04ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
11034
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11035
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11036
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11037
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11038
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11039
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11040
|
+
API call (0.04ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
11041
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11042
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11043
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11044
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11045
|
+
API call (0.04ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
11046
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11047
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11048
|
+
API call (0.04ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11049
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11050
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11051
|
+
API call (0.04ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
11052
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11053
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11054
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11055
|
+
Parameters: {"code"=>"invalid"}
|
11056
|
+
Rendering text template
|
11057
|
+
Rendered text template (0.0ms)
|
11058
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
11059
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11060
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11061
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11062
|
+
Parameters: {"code"=>"valid"}
|
11063
|
+
Rendering text template
|
11064
|
+
Rendered text template (0.0ms)
|
11065
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
11066
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11067
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11068
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11069
|
+
Parameters: {"code"=>"valid"}
|
11070
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11071
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11072
|
+
Redirected to http://test.host/
|
11073
|
+
Completed 302 Found in 23ms (ActiveRecord: 2.6ms)
|
11074
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11075
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11076
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11077
|
+
Rendering text template
|
11078
|
+
Rendered text template (0.0ms)
|
11079
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
11080
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11081
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11082
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11083
|
+
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
11084
|
+
Rendering text template
|
11085
|
+
Rendered text template (0.0ms)
|
11086
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11087
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11088
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11089
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11090
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11091
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11092
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11093
|
+
Redirected to http://test.host/
|
11094
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
11095
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11096
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11097
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11098
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11099
|
+
Rendering text template
|
11100
|
+
Rendered text template (0.0ms)
|
11101
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11102
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11103
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11104
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11105
|
+
Parameters: {"code"=>"valid"}
|
11106
|
+
Rendering text template
|
11107
|
+
Rendered text template (0.0ms)
|
11108
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11109
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11110
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11111
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11112
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11113
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11114
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11115
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11116
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11117
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11118
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11119
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11120
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11121
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11122
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11123
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11124
|
+
[1m[36mCanvasOauth::Authorization Create (1.0ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "wrong"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.379380"], ["created_at", "2018-05-09 14:42:35.379783"], ["updated_at", "2018-05-09 14:42:35.379783"]]
|
11125
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11126
|
+
[1m[36mCanvasOauth::Authorization Load (0.3ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11127
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11128
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11129
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11130
|
+
[1m[36mCanvasOauth::Authorization Create (0.4ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.400663"], ["created_at", "2018-05-09 14:42:35.401288"], ["updated_at", "2018-05-09 14:42:35.401288"]]
|
11131
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11132
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11133
|
+
[1m[36mCanvasOauth::Authorization Create (0.1ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "def"], ["last_used_at", "2018-05-09 14:42:35.402906"], ["created_at", "2018-05-09 14:42:35.403361"], ["updated_at", "2018-05-09 14:42:35.403361"]]
|
11134
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11135
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11136
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11137
|
+
[1m[36mCanvasOauth::Authorization Update (0.1ms)[0m [1m[33mUPDATE "canvas_oauth_authorizations" SET "last_used_at" = ?, "updated_at" = ? WHERE "canvas_oauth_authorizations"."id" = ?[0m [["last_used_at", "2018-05-09 14:42:35.406989"], ["updated_at", "2018-05-09 14:42:35.407549"], ["id", 2]]
|
11138
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11139
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11140
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11141
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11142
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11143
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11144
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11145
|
+
[1m[36mCanvasOauth::Authorization Create (0.5ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.413389"], ["created_at", "2018-05-09 14:42:35.413813"], ["updated_at", "2018-05-09 14:42:35.413813"]]
|
11146
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11147
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11148
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11150
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11151
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.417972"], ["created_at", "2018-05-09 14:42:35.418276"], ["updated_at", "2018-05-09 14:42:35.418276"]]
|
11152
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11153
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11154
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11155
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11156
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11157
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.420784"], ["created_at", "2018-05-09 14:42:35.421060"], ["updated_at", "2018-05-09 14:42:35.421060"]]
|
11158
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11159
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11160
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11161
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11162
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11163
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:42:35.423486"], ["created_at", "2018-05-09 14:42:35.423764"], ["updated_at", "2018-05-09 14:42:35.423764"]]
|
11164
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11165
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11166
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11167
|
+
Initializing Canvas using configuration in /Users/simon/Instructure/projects/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
11168
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11169
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11171
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11172
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11173
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11174
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11175
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11176
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11177
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11179
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11180
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11181
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11182
|
+
[1m[36mCanvasOauth::Authorization Create (0.4ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.590137"], ["created_at", "2018-05-09 14:47:01.590553"], ["updated_at", "2018-05-09 14:47:01.590553"]]
|
11183
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11184
|
+
[1m[36mCanvasOauth::Authorization Load (0.1ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11185
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
11186
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11187
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11188
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.601706"], ["created_at", "2018-05-09 14:47:01.602191"], ["updated_at", "2018-05-09 14:47:01.602191"]]
|
11189
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11190
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11191
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11192
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11193
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11194
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.605037"], ["created_at", "2018-05-09 14:47:01.605352"], ["updated_at", "2018-05-09 14:47:01.605352"]]
|
11195
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11196
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11197
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11198
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11199
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11200
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.607726"], ["created_at", "2018-05-09 14:47:01.607981"], ["updated_at", "2018-05-09 14:47:01.607981"]]
|
11201
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11202
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11203
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11204
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11205
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11206
|
+
[1m[36mCanvasOauth::Authorization Create (0.2ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "wrong"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.610272"], ["created_at", "2018-05-09 14:47:01.610500"], ["updated_at", "2018-05-09 14:47:01.610500"]]
|
11207
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11208
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11209
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11210
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11211
|
+
[1m[36mCanvasOauth::Authorization Load (0.1ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11212
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11213
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11214
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11215
|
+
[1m[36mCanvasOauth::Authorization Create (0.2ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:01.615028"], ["created_at", "2018-05-09 14:47:01.615275"], ["updated_at", "2018-05-09 14:47:01.615275"]]
|
11216
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11217
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11218
|
+
[1m[36mCanvasOauth::Authorization Create (0.1ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "def"], ["last_used_at", "2018-05-09 14:47:01.616125"], ["created_at", "2018-05-09 14:47:01.616346"], ["updated_at", "2018-05-09 14:47:01.616346"]]
|
11219
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11220
|
+
[1m[36mCanvasOauth::Authorization Load (0.1ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11221
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11222
|
+
[1m[36mCanvasOauth::Authorization Update (0.1ms)[0m [1m[33mUPDATE "canvas_oauth_authorizations" SET "last_used_at" = ?, "updated_at" = ? WHERE "canvas_oauth_authorizations"."id" = ?[0m [["last_used_at", "2018-05-09 14:47:01.617564"], ["updated_at", "2018-05-09 14:47:01.618119"], ["id", 2]]
|
11223
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11224
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11225
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11226
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11227
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11228
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11229
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11230
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11231
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11232
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11233
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11234
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11235
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11236
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11237
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11238
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11239
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11240
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11241
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11242
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11243
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11244
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11245
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11246
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11247
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11248
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11249
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11250
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11251
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11252
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11253
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11254
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11255
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11256
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11257
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11258
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11259
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11260
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11262
|
+
API call (0.04ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
11263
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11264
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11265
|
+
API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11266
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11267
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11268
|
+
API call (0.02ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
11269
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11270
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11271
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11273
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11274
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11275
|
+
API call (0.02ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
11276
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11277
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11278
|
+
API call (0.02ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
11279
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11280
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11281
|
+
API call (0.04ms): get ["/path", {:headers=>{}}]
|
11282
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11283
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11284
|
+
API call (0.02ms): get ["/path", {:headers=>{}}]
|
11285
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11286
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11287
|
+
API call (0.02ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
11288
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11289
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11290
|
+
API call (0.02ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
11291
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11292
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11293
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11294
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11295
|
+
API call (0.02ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
11296
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11297
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11298
|
+
API call (0.02ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
11299
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11300
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11301
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11302
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11303
|
+
API call (0.02ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
11304
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11305
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11306
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11307
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11308
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11309
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11310
|
+
API call (0.02ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11311
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11312
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11313
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11314
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11315
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11316
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11317
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11318
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11319
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11320
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11321
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11322
|
+
Parameters: {"code"=>"invalid"}
|
11323
|
+
Rendering text template
|
11324
|
+
Rendered text template (0.0ms)
|
11325
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
11326
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11327
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11328
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11329
|
+
Parameters: {"code"=>"valid"}
|
11330
|
+
Rendering text template
|
11331
|
+
Rendered text template (0.0ms)
|
11332
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11333
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11334
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11335
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11336
|
+
Parameters: {"code"=>"valid"}
|
11337
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11338
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11339
|
+
Redirected to http://test.host/
|
11340
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
11341
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11342
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11343
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11344
|
+
Parameters: {"code"=>"valid"}
|
11345
|
+
Rendering text template
|
11346
|
+
Rendered text template (0.0ms)
|
11347
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11348
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11349
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11350
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11351
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11352
|
+
Rendering text template
|
11353
|
+
Rendered text template (0.0ms)
|
11354
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11355
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11356
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11357
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11358
|
+
Rendering text template
|
11359
|
+
Rendered text template (0.0ms)
|
11360
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11361
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11362
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11363
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11364
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11365
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11366
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11367
|
+
Redirected to http://test.host/
|
11368
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
11369
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11371
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11372
|
+
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
11373
|
+
Rendering text template
|
11374
|
+
Rendered text template (0.0ms)
|
11375
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11376
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11377
|
+
Initializing Canvas using configuration in /Users/simon/Instructure/projects/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
11378
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11379
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11380
|
+
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
11381
|
+
Rendering text template
|
11382
|
+
Rendered text template (0.0ms)
|
11383
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
11384
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11385
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11386
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11387
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11388
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11389
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11390
|
+
Redirected to http://test.host/
|
11391
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.3ms)
|
11392
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11393
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11394
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11395
|
+
Rendering text template
|
11396
|
+
Rendered text template (0.0ms)
|
11397
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11398
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11399
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11400
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11401
|
+
Parameters: {"code"=>"valid"}
|
11402
|
+
Rendering text template
|
11403
|
+
Rendered text template (0.0ms)
|
11404
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11405
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11406
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11407
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11408
|
+
Parameters: {"code"=>"valid"}
|
11409
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11410
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
11411
|
+
Redirected to http://test.host/
|
11412
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
11413
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11414
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11415
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11416
|
+
Parameters: {"code"=>"invalid"}
|
11417
|
+
Rendering text template
|
11418
|
+
Rendered text template (0.0ms)
|
11419
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11420
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11421
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11422
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11423
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
11424
|
+
Rendering text template
|
11425
|
+
Rendered text template (0.0ms)
|
11426
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11427
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11428
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11429
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11430
|
+
Parameters: {"code"=>"valid"}
|
11431
|
+
Rendering text template
|
11432
|
+
Rendered text template (0.0ms)
|
11433
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
11434
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11435
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11436
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11437
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11438
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11439
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11440
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11441
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11442
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11443
|
+
[1m[36mCanvasOauth::Authorization Create (0.5ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.357798"], ["created_at", "2018-05-09 14:47:13.358069"], ["updated_at", "2018-05-09 14:47:13.358069"]]
|
11444
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11445
|
+
[1m[36mCanvasOauth::Authorization Load (0.1ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11446
|
+
[1m[35m (2.3ms)[0m [1m[31mrollback transaction[0m
|
11447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11448
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11449
|
+
[1m[36mCanvasOauth::Authorization Create (0.6ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.370202"], ["created_at", "2018-05-09 14:47:13.370746"], ["updated_at", "2018-05-09 14:47:13.370746"]]
|
11450
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11451
|
+
[1m[36mCanvasOauth::Authorization Load (0.1ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11452
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11453
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11454
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11455
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.374151"], ["created_at", "2018-05-09 14:47:13.374461"], ["updated_at", "2018-05-09 14:47:13.374461"]]
|
11456
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11457
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11458
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
11459
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11460
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11461
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.377396"], ["created_at", "2018-05-09 14:47:13.377702"], ["updated_at", "2018-05-09 14:47:13.377702"]]
|
11462
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11463
|
+
[1m[36mCanvasOauth::Authorization Load (0.0ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
11464
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11465
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11466
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11467
|
+
[1m[36mCanvasOauth::Authorization Create (0.3ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "wrong"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.380267"], ["created_at", "2018-05-09 14:47:13.380544"], ["updated_at", "2018-05-09 14:47:13.380544"]]
|
11468
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11469
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11470
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11471
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11472
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11473
|
+
[1m[36mCanvasOauth::Authorization Create (0.2ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "abc"], ["last_used_at", "2018-05-09 14:47:13.384221"], ["created_at", "2018-05-09 14:47:13.384483"], ["updated_at", "2018-05-09 14:47:13.384483"]]
|
11474
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11476
|
+
[1m[36mCanvasOauth::Authorization Create (0.1ms)[0m [1m[32mINSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["token", "def"], ["last_used_at", "2018-05-09 14:47:13.385376"], ["created_at", "2018-05-09 14:47:13.385583"], ["updated_at", "2018-05-09 14:47:13.385583"]]
|
11477
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11478
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11479
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11480
|
+
[1m[36mCanvasOauth::Authorization Update (0.1ms)[0m [1m[33mUPDATE "canvas_oauth_authorizations" SET "last_used_at" = ?, "updated_at" = ? WHERE "canvas_oauth_authorizations"."id" = ?[0m [["last_used_at", "2018-05-09 14:47:13.386895"], ["updated_at", "2018-05-09 14:47:13.387219"], ["id", 2]]
|
11481
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11482
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
11483
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11484
|
+
[1m[36mCanvasOauth::Authorization Load (0.2ms)[0m [1m[34mSELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" WHERE "canvas_oauth_authorizations"."canvas_user_id" = ? AND "canvas_oauth_authorizations"."tool_consumer_instance_guid" = ? ORDER BY created_at DESC LIMIT ?[0m [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
|
11485
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11486
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11487
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11488
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11489
|
+
API call (0.04ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
11490
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11491
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11492
|
+
API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
11493
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11494
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11495
|
+
API call (0.03ms): get ["/path", {:headers=>{}}]
|
11496
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11497
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11498
|
+
API call (0.04ms): get ["/path", {:headers=>{}}]
|
11499
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11500
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11501
|
+
API call (0.02ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
11502
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11504
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11505
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11506
|
+
API call (0.02ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
11507
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11508
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11509
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11510
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11511
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11512
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11513
|
+
API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
11514
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11515
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11516
|
+
API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11517
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11518
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11519
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11520
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11521
|
+
API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
11522
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11523
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11524
|
+
API call (0.03ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
11525
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11526
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11527
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11528
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11529
|
+
API call (0.05ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
11530
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11531
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11532
|
+
API call (0.04ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
11533
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11534
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11535
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11536
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11537
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11538
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11539
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11540
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11541
|
+
API call (0.02ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
11542
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11543
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11544
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11545
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11546
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11547
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11548
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11549
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11550
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11551
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11552
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11553
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11554
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11555
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11556
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11557
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11558
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11559
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11560
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11561
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11562
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11563
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11564
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11565
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11566
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11567
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11568
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11569
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11570
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11571
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11572
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11573
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11574
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11575
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11576
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11577
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11578
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11579
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11580
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11581
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11582
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11583
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11584
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11585
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11586
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_oauth_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Donahue
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2018-05-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '4.2'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '5.
|
24
|
+
version: '5.3'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
version: '4.2'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '5.
|
34
|
+
version: '5.3'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: httparty
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,45 +295,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
295
|
version: '0'
|
296
296
|
requirements: []
|
297
297
|
rubyforge_project:
|
298
|
-
rubygems_version: 2.6
|
298
|
+
rubygems_version: 2.7.6
|
299
299
|
signing_key:
|
300
300
|
specification_version: 4
|
301
301
|
summary: CanvasOauth is a mountable engine for handling the oauth workflow with canvas
|
302
302
|
and making api calls from your rails app.
|
303
303
|
test_files:
|
304
|
-
- spec/
|
304
|
+
- spec/spec_helper.rb
|
305
305
|
- spec/dummy/app/controllers/application_controller.rb
|
306
306
|
- spec/dummy/app/controllers/welcome_controller.rb
|
307
|
-
- spec/dummy/config/
|
308
|
-
- spec/dummy/config/boot.rb
|
307
|
+
- spec/dummy/config/routes.rb
|
309
308
|
- spec/dummy/config/canvas.yml
|
310
|
-
- spec/dummy/config/
|
311
|
-
- spec/dummy/config/environment.rb
|
312
|
-
- spec/dummy/config/environments/development.rb
|
309
|
+
- spec/dummy/config/locales/en.yml
|
313
310
|
- spec/dummy/config/environments/production.rb
|
311
|
+
- spec/dummy/config/environments/development.rb
|
314
312
|
- spec/dummy/config/environments/test.rb
|
313
|
+
- spec/dummy/config/environment.rb
|
314
|
+
- spec/dummy/config/application.rb
|
315
|
+
- spec/dummy/config/database.yml
|
316
|
+
- spec/dummy/config/boot.rb
|
315
317
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
316
|
-
- spec/dummy/config/initializers/inflections.rb
|
317
318
|
- spec/dummy/config/initializers/mime_types.rb
|
318
|
-
- spec/dummy/config/initializers/secret_token.rb
|
319
319
|
- spec/dummy/config/initializers/session_store.rb
|
320
320
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
321
|
-
- spec/dummy/config/
|
322
|
-
- spec/dummy/config/
|
321
|
+
- spec/dummy/config/initializers/secret_token.rb
|
322
|
+
- spec/dummy/config/initializers/inflections.rb
|
323
323
|
- spec/dummy/config.ru
|
324
|
-
- spec/dummy/
|
325
|
-
- spec/dummy/
|
326
|
-
- spec/dummy/
|
327
|
-
- spec/dummy/log/test.log
|
328
|
-
- spec/dummy/public/404.html
|
324
|
+
- spec/dummy/script/rails
|
325
|
+
- spec/dummy/Rakefile
|
326
|
+
- spec/dummy/public/favicon.ico
|
329
327
|
- spec/dummy/public/422.html
|
330
328
|
- spec/dummy/public/500.html
|
331
|
-
- spec/dummy/public/
|
329
|
+
- spec/dummy/public/404.html
|
332
330
|
- spec/dummy/public/robots.txt
|
333
|
-
- spec/dummy/
|
331
|
+
- spec/dummy/db/schema.rb
|
332
|
+
- spec/dummy/db/test.sqlite3
|
333
|
+
- spec/dummy/db/migrate/20160711200737_create_canvas_oauth_authorizations.canvas_oauth.rb
|
334
|
+
- spec/dummy/log/test.log
|
334
335
|
- spec/dummy/README.rdoc
|
335
|
-
- spec/
|
336
|
+
- spec/models/canvas_oauth/authorization_spec.rb
|
336
337
|
- spec/lib/canvas_oauth/canvas_api_extensions_spec.rb
|
337
338
|
- spec/lib/canvas_oauth/canvas_api_spec.rb
|
338
|
-
- spec/
|
339
|
-
- spec/spec_helper.rb
|
339
|
+
- spec/controllers/canvas_oauth/canvas_controller_spec.rb
|