canvas_oauth_engine 2.2.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_oauth/canvas_config.rb +1 -1
- data/lib/canvas_oauth/version.rb +1 -1
- data/spec/dummy/config/application.rb +2 -2
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +13 -15
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1 -46
- data/spec/dummy/log/test.log +340 -98
- data/spec/lib/canvas_oauth/canvas_api_spec.rb +1 -1
- metadata +31 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15da81a70ac964dc35e6346d7f68cd63759fc5dc5763fca239e2768fae64141c
|
4
|
+
data.tar.gz: 4db1cbfa3790625bb5f9cfa640c2aaecfc77007852604d4de76a420d9b74fd5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a36402e5730f9fb54bc6b99ccf9b347525e6da490800b183c2b922c802103d8277bc14c29b1c9cea9ff8d23be8fb591af2d4736a5defbf7411a4b2eedfe5554
|
7
|
+
data.tar.gz: 07ab0eb58a950a329c62f8622861f0f45bee6fba5d955389407fdaafb804d9951754a699512aaf49f764f83052c79126841668fe1320ce8343921e517d3f48fd
|
data/lib/canvas_oauth/version.rb
CHANGED
@@ -44,10 +44,10 @@ module Dummy
|
|
44
44
|
# config.active_record.schema_format = :sql
|
45
45
|
|
46
46
|
# Enable the asset pipeline
|
47
|
-
config.assets.enabled =
|
47
|
+
# config.assets.enabled = false
|
48
48
|
|
49
49
|
# Version of your assets, change this if you want to expire all your assets
|
50
|
-
config.assets.version = '1.0'
|
50
|
+
# config.assets.version = '1.0'
|
51
51
|
|
52
52
|
# true is the default, setting this explicitly to avoid deprecation warnings
|
53
53
|
config.i18n.enforce_available_locales = true
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1,27 +1,25 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# This file is auto-generated from the current state of the database. Instead
|
3
2
|
# of editing this file, please use the migrations feature of Active Record to
|
4
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
5
4
|
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# from scratch.
|
10
|
-
#
|
5
|
+
# This file is the source Rails uses to define your schema when running `bin/rails
|
6
|
+
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
7
|
+
# be faster and is potentially less error prone than running all of your
|
8
|
+
# migrations from scratch. Old migrations may fail to apply correctly if those
|
9
|
+
# migrations use external dependencies or application code.
|
11
10
|
#
|
12
11
|
# It's strongly recommended that you check this file into your version control system.
|
13
12
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 2016_07_11_200737) do
|
15
14
|
|
16
|
-
create_table "canvas_oauth_authorizations", force:
|
17
|
-
t.integer
|
18
|
-
t.string
|
19
|
-
t.string
|
15
|
+
create_table "canvas_oauth_authorizations", force: :cascade do |t|
|
16
|
+
t.integer "canvas_user_id", limit: 8
|
17
|
+
t.string "tool_consumer_instance_guid", null: false
|
18
|
+
t.string "token"
|
20
19
|
t.datetime "last_used_at"
|
21
|
-
t.datetime "created_at",
|
22
|
-
t.datetime "updated_at",
|
20
|
+
t.datetime "created_at", null: false
|
21
|
+
t.datetime "updated_at", null: false
|
22
|
+
t.index ["canvas_user_id", "tool_consumer_instance_guid"], name: "index_canvas_oauth_auths_on_user_id_and_tciguid"
|
23
23
|
end
|
24
24
|
|
25
|
-
add_index "canvas_oauth_authorizations", ["canvas_user_id", "tool_consumer_instance_guid"], name: "index_canvas_oauth_auths_on_user_id_and_tciguid"
|
26
|
-
|
27
25
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,49 +1,4 @@
|
|
1
|
-
Initializing Canvas using configuration in /Users/
|
2
|
-
[1m[35m (3.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
-
Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
1
|
+
Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
4
2
|
[1m[35m (1.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
5
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
6
|
-
Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
7
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
8
|
-
Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
9
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
10
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
11
3
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
12
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
13
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_oauth_authorizations"[0m
|
14
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "canvas_oauth_authorizations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" integer(8), "tool_consumer_instance_guid" varchar NOT NULL, "token" varchar, "last_used_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
15
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")[0m
|
16
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
17
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
18
|
-
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20121121005358)[0m
|
19
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
20
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
21
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
22
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-03-21 15:32:41.317911"], ["updated_at", "2022-03-21 15:32:41.317911"]]
|
23
|
-
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
24
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
25
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
26
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "fc30e804ce934e09ede366066915736ad77cf98d"], ["created_at", "2022-03-21 15:32:41.321862"], ["updated_at", "2022-03-21 15:32:41.321862"]]
|
28
|
-
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
29
4
|
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
30
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_oauth_authorizations"[0m
|
31
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "canvas_oauth_authorizations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" integer(8), "tool_consumer_instance_guid" varchar NOT NULL, "token" varchar, "last_used_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
32
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")[0m
|
33
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
34
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
35
|
-
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20121121005358)[0m
|
36
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
38
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-03-21 15:32:41.332974"], ["updated_at", "2022-03-21 15:32:41.332974"]]
|
40
|
-
[1m[36mTRANSACTION (0.7ms)[0m [1m[36mcommit transaction[0m
|
41
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
42
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
43
|
-
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ?[0m [["value", "test"], ["updated_at", "2022-03-21 15:32:41.335498"], ["key", "environment"]]
|
44
|
-
[1m[36mTRANSACTION (0.8ms)[0m [1m[36mcommit transaction[0m
|
45
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
46
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
47
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "fc30e804ce934e09ede366066915736ad77cf98d"], ["created_at", "2022-03-21 15:32:41.338507"], ["updated_at", "2022-03-21 15:32:41.338507"]]
|
48
|
-
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
49
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,6 +1,108 @@
|
|
1
|
-
Initializing Canvas using configuration in /Users/
|
2
|
-
[1m[35m (1.
|
1
|
+
Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
2
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
4
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
5
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
6
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
7
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
8
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
9
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
10
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
11
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
13
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
14
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
15
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
16
|
+
[1m[36mTRANSACTION (6.9ms)[0m [1m[31mrollback transaction[0m
|
17
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
18
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
19
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
20
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
21
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
22
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
23
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
25
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
26
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
27
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
29
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
31
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
32
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
33
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
35
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
36
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
37
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
39
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
42
|
+
API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
43
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
44
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
45
|
+
API call (0.03ms): get ["/path", {:headers=>{}}]
|
46
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
47
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
48
|
+
API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
49
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
50
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
51
|
+
API call (0.03ms): get ["/path", {:headers=>{}}]
|
52
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
53
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
54
|
+
API call (0.03ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
55
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
56
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
57
|
+
API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
58
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
59
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
60
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
61
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
|
+
API call (0.03ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
63
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
64
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
65
|
+
API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
66
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
67
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
68
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
69
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
70
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
71
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
72
|
+
API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
|
73
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
74
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
75
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
76
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
77
|
+
API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
78
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
3
79
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
80
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
81
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
82
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
83
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
85
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
86
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
87
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
88
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
89
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
90
|
+
API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
91
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
92
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
93
|
+
API call (0.03ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
94
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
95
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
96
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
97
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
98
|
+
API call (0.08ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
99
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
100
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
101
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
102
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
103
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
104
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
105
|
+
API call (0.04ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
4
106
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
5
107
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
6
108
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -9,53 +111,53 @@ Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instr
|
|
9
111
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
10
112
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
11
113
|
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
12
|
-
|
13
|
-
|
14
|
-
Completed 200 OK in 10ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 2549)
|
15
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
114
|
+
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.2ms | Allocations: 1659)
|
115
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
16
116
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
17
117
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
18
|
-
Parameters: {"code"=>"valid"}
|
118
|
+
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
19
119
|
Rendering text template
|
20
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
21
|
-
Completed 200 OK in
|
22
|
-
[1m[36mTRANSACTION (0.
|
120
|
+
Rendered text template (Duration: 0.0ms | Allocations: 8)
|
121
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms | Allocations: 1332)
|
122
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
23
123
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
24
124
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
25
125
|
Parameters: {"code"=>"valid"}
|
26
|
-
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations:
|
126
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 394)
|
27
127
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
28
128
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
29
129
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
30
130
|
Parameters: {"code"=>"valid"}
|
31
131
|
Rendering text template
|
32
132
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
33
|
-
Completed 200 OK in
|
133
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 453)
|
34
134
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
35
135
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
36
136
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
37
137
|
Parameters: {"code"=>"invalid"}
|
38
138
|
Rendering text template
|
39
139
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
40
|
-
Completed 200 OK in
|
140
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 363)
|
41
141
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
42
142
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
43
143
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
44
|
-
Parameters: {"code"=>"valid"
|
144
|
+
Parameters: {"code"=>"valid"}
|
45
145
|
Rendering text template
|
46
146
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
47
|
-
Completed 200 OK in 0ms (Views: 0.
|
147
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 233)
|
48
148
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
49
149
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
50
150
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
51
151
|
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
52
|
-
|
152
|
+
Rendering text template
|
153
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
154
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 235)
|
53
155
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
54
156
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
55
157
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
56
158
|
Rendering text template
|
57
159
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
58
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations:
|
160
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 284)
|
59
161
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
60
162
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
61
163
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -87,6 +189,10 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 185)
|
|
87
189
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
88
190
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
89
191
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
192
|
+
Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
193
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
195
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
90
196
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
91
197
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
92
198
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -98,99 +204,99 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 185)
|
|
98
204
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
99
205
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
100
206
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
207
|
+
API call (0.04ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
|
101
208
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
102
209
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
103
210
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
104
211
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
212
|
+
API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
105
213
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
106
214
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
107
215
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
108
216
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
217
|
+
API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
109
218
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
110
219
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
220
|
+
API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
111
221
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
112
222
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
113
223
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
114
224
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
225
|
+
API call (8.66ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
226
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
227
|
+
[1m[36mTRANSACTION (7.6ms)[0m [1m[36mbegin transaction[0m
|
228
|
+
API call (0.04ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
115
229
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
230
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
231
|
+
[1m[36mTRANSACTION (7.7ms)[0m [1m[31mrollback transaction[0m
|
116
232
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
233
|
+
API call (0.04ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
117
234
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
118
235
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
119
236
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
120
237
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
238
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
239
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
240
|
+
API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
121
241
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
122
|
-
[1m[36mTRANSACTION (0.
|
242
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
123
243
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
124
244
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
245
|
+
API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
125
246
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
126
247
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
127
|
-
|
128
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
248
|
+
API call (0.04ms): get ["/path", {:headers=>{}}]
|
129
249
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
130
250
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
131
|
-
|
132
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
133
|
-
API call (0.06ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
251
|
+
API call (0.03ms): get ["/path", {:headers=>{}}]
|
134
252
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
135
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
136
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
137
253
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
138
|
-
API call (0.04ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
139
254
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
140
255
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
141
|
-
API call (0.04ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
142
256
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
143
257
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
144
258
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
145
|
-
[1m[36mTRANSACTION (0.
|
146
|
-
|
259
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
260
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
+
API call (0.04ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
147
263
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
148
264
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
149
265
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
150
|
-
[1m[36mTRANSACTION (0.
|
266
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
267
|
+
API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
151
268
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
152
269
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
153
|
-
API call (0.03ms): get ["/api/v1/courses/123
|
270
|
+
API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
154
271
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
155
272
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
156
|
-
API call (0.04ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
157
273
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
158
274
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
159
|
-
API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
160
275
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
161
276
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
162
277
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
163
278
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
164
279
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
165
280
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
166
|
-
API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
|
167
281
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
168
282
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
169
|
-
API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
170
283
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
171
284
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
172
285
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
173
286
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
|
-
API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
175
287
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
176
288
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
177
|
-
API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
178
289
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
179
290
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
180
291
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
181
292
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
182
|
-
API call (0.04ms): get ["/path", {:headers=>{}}]
|
183
293
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
184
294
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
185
|
-
API call (0.03ms): get ["/path", {:headers=>{}}]
|
186
295
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
187
296
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
188
|
-
API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
189
297
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
190
298
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
191
299
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
192
|
-
Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
193
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
194
300
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
195
301
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
196
302
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -212,74 +318,119 @@ Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instr
|
|
212
318
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
213
319
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
214
320
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
215
|
-
API call (0.03ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
216
321
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
217
322
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
218
323
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
219
324
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
220
|
-
API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
221
325
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
222
326
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
223
|
-
API call (0.02ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
224
327
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
225
328
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
226
329
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
227
330
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
228
331
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
229
332
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
230
|
-
|
333
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
334
|
+
Parameters: {"code"=>"valid"}
|
335
|
+
Rendering text template
|
336
|
+
Rendered text template (Duration: 0.0ms | Allocations: 8)
|
337
|
+
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.0ms | Allocations: 2657)
|
231
338
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
232
339
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
233
|
-
|
340
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
341
|
+
Parameters: {"code"=>"valid"}
|
342
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 417)
|
234
343
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
235
344
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
345
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
346
|
+
Parameters: {"code"=>"invalid"}
|
347
|
+
Rendering text template
|
348
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
349
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 363)
|
236
350
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
237
351
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
238
|
-
|
352
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
353
|
+
Rendering text template
|
354
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
355
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 286)
|
239
356
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
240
357
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
358
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
359
|
+
Parameters: {"code"=>"valid"}
|
360
|
+
Rendering text template
|
361
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
362
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 233)
|
241
363
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
242
364
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
365
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
366
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
367
|
+
Rendering text template
|
368
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
369
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 236)
|
243
370
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
244
371
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
245
|
-
|
372
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
373
|
+
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
374
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.1ms | Allocations: 352)
|
246
375
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
247
376
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
248
|
-
|
377
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
378
|
+
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
379
|
+
Rendering text template
|
380
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
381
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 235)
|
382
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
383
|
+
Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
384
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
386
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
387
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
388
|
+
Migrating to CreateCanvasOauthAuthorizations (20160711200737)
|
389
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_oauth_authorizations"[0m
|
391
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "canvas_oauth_authorizations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" integer(8), "tool_consumer_instance_guid" varchar NOT NULL, "token" varchar, "last_used_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
392
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")[0m
|
393
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160711200737"]]
|
394
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
395
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
396
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
397
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2023-08-18 19:10:48.892662"], ["updated_at", "2023-08-18 19:10:48.892662"]]
|
398
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[36mcommit transaction[0m
|
399
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
401
|
+
Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
|
402
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
404
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
405
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
249
406
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
250
407
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
251
408
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
252
409
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
253
|
-
|
410
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
411
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
254
412
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
255
413
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
256
|
-
API call (0.03ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
257
414
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
258
415
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
259
416
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
260
417
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
261
|
-
API call (0.07ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
262
418
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
263
|
-
[1m[36mTRANSACTION (0.
|
419
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
264
420
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
265
421
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
266
|
-
API call (0.05ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
267
422
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
268
423
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
269
|
-
|
424
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
425
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
270
426
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
271
427
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
272
|
-
API call (0.06ms): get ["/path", {:headers=>{}}]
|
273
428
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
274
429
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
275
|
-
[1m[36mTRANSACTION (0.
|
276
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
277
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
430
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
278
431
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
279
432
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
280
433
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
281
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
282
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
283
434
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
284
435
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
285
436
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -292,90 +443,181 @@ API call (0.06ms): get ["/path", {:headers=>{}}]
|
|
292
443
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
293
444
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
294
445
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
295
|
-
[1m[36mTRANSACTION (0.
|
446
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
447
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
+
API call (0.03ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
449
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
452
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
453
|
+
API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
|
454
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
455
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
456
|
+
API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
|
457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
458
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
459
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
460
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
461
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
462
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
463
|
+
API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
|
464
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
465
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
466
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
296
467
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
468
|
+
API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
|
297
469
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
298
470
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
299
471
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
300
472
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
301
473
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
302
474
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
+
API call (0.03ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
|
476
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
477
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
478
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
479
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
480
|
+
API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
|
481
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
482
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
483
|
+
API call (0.04ms): get ["/path", {:headers=>{}}]
|
484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
485
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
+
API call (0.03ms): get ["/path", {:headers=>{}}]
|
487
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
488
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
489
|
+
API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
|
490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
491
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
492
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
493
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
303
494
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
304
495
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
305
496
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
306
497
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
307
498
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
308
499
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
309
|
-
|
310
|
-
Parameters: {"code"=>"invalid"}
|
311
|
-
Rendering text template
|
312
|
-
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
313
|
-
Completed 200 OK in 12ms (Views: 4.5ms | ActiveRecord: 0.0ms | Allocations: 2642)
|
500
|
+
API call (0.05ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
|
314
501
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
315
502
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
316
|
-
Processing by CanvasOauth::CanvasController#oauth as HTML
|
317
|
-
Parameters: {"code"=>"valid"}
|
318
|
-
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 399)
|
319
503
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
320
504
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
321
|
-
|
322
|
-
Parameters: {"code"=>"valid"}
|
323
|
-
Rendering text template
|
324
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
325
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 312)
|
505
|
+
API call (0.03ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
|
326
506
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
327
507
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
508
|
+
API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
|
509
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
511
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
512
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
513
|
+
API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
|
514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
515
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[36mbegin transaction[0m
|
516
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
517
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
519
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
520
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
521
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
522
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
523
|
+
[1m[36mCanvasOauth::Authorization Create (1.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", "2023-08-18 19:18:05.664485"], ["created_at", "2023-08-18 19:18:05.664800"], ["updated_at", "2023-08-18 19:18:05.664800"]]
|
524
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
525
|
+
[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]]
|
526
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
527
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
529
|
+
[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", "2023-08-18 19:18:05.680158"], ["created_at", "2023-08-18 19:18:05.680313"], ["updated_at", "2023-08-18 19:18:05.680313"]]
|
530
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
531
|
+
[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]]
|
532
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
533
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
534
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
535
|
+
[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", "2023-08-18 19:18:05.682934"], ["created_at", "2023-08-18 19:18:05.683064"], ["updated_at", "2023-08-18 19:18:05.683064"]]
|
536
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
537
|
+
[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]]
|
538
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
540
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
541
|
+
[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", "2023-08-18 19:18:05.685586"], ["created_at", "2023-08-18 19:18:05.685777"], ["updated_at", "2023-08-18 19:18:05.685777"]]
|
542
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
543
|
+
[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]]
|
544
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
545
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
546
|
+
[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]]
|
332
547
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
333
548
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
549
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
550
|
+
[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", "2023-08-18 19:18:05.694116"], ["created_at", "2023-08-18 19:18:05.694268"], ["updated_at", "2023-08-18 19:18:05.694268"]]
|
551
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
552
|
+
[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]]
|
553
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
554
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
555
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
556
|
+
[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", "2023-08-18 19:18:05.697000"], ["created_at", "2023-08-18 19:18:05.697135"], ["updated_at", "2023-08-18 19:18:05.697135"]]
|
557
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
558
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
559
|
+
[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", "2023-08-18 19:18:05.698209"], ["created_at", "2023-08-18 19:18:05.698323"], ["updated_at", "2023-08-18 19:18:05.698323"]]
|
560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
561
|
+
[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]]
|
562
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
563
|
+
[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", "2023-08-18 19:18:05.699811"], ["updated_at", "2023-08-18 19:18:05.699993"], ["id", 2]]
|
564
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
565
|
+
[1m[36mTRANSACTION (0.9ms)[0m [1m[31mrollback transaction[0m
|
566
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
334
567
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
335
568
|
Parameters: {"code"=>"valid", "state"=>"mismatch"}
|
336
569
|
Rendering text template
|
337
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
338
|
-
Completed 200 OK in
|
339
|
-
[1m[36mTRANSACTION (0.
|
570
|
+
Rendered text template (Duration: 0.0ms | Allocations: 8)
|
571
|
+
Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.0ms | Allocations: 2444)
|
572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
340
573
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
341
574
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
342
575
|
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
343
|
-
|
576
|
+
Redirected to http://test.host/
|
577
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 991)
|
578
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
579
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
580
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
581
|
+
Rendering text template
|
582
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
583
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 286)
|
344
584
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
345
585
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
346
586
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
347
587
|
Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
|
348
588
|
Rendering text template
|
349
589
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
350
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations:
|
590
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 234)
|
351
591
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
352
592
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
353
593
|
Processing by CanvasOauth::CanvasController#oauth as HTML
|
354
594
|
Parameters: {"code"=>"valid"}
|
355
595
|
Rendering text template
|
356
596
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
357
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations:
|
358
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
359
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
597
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 234)
|
360
598
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
361
599
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
600
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
601
|
+
Parameters: {"code"=>"valid"}
|
602
|
+
Redirected to http://test.host/
|
603
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 541)
|
362
604
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
363
605
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
606
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
607
|
+
Parameters: {"code"=>"valid"}
|
608
|
+
Rendering text template
|
609
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
610
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 453)
|
364
611
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
365
612
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
613
|
+
Processing by CanvasOauth::CanvasController#oauth as HTML
|
614
|
+
Parameters: {"code"=>"invalid"}
|
615
|
+
Rendering text template
|
616
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
617
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 363)
|
366
618
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
367
619
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
368
620
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
369
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
370
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
371
|
-
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
373
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
374
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
375
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
376
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
377
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
378
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
379
621
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
380
622
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
381
623
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -299,7 +299,7 @@ describe CanvasOauth::CanvasApi do
|
|
299
299
|
let(:query) { { query: { taco: 'tuesday' } } }
|
300
300
|
|
301
301
|
it "adds per_page parameters to the request query" do
|
302
|
-
expect(canvas).to receive(:authenticated_get).with("/some/address", query: { per_page: 50 })
|
302
|
+
expect(canvas).to receive(:authenticated_get).with("/some/address", {query: { per_page: 50 }})
|
303
303
|
canvas.paginated_get "/some/address"
|
304
304
|
end
|
305
305
|
|
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Donahue
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -20,9 +20,6 @@ dependencies:
|
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '4.2'
|
23
|
-
- - "<="
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: 6.1.4.2
|
26
23
|
type: :runtime
|
27
24
|
prerelease: false
|
28
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,9 +27,6 @@ dependencies:
|
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '4.2'
|
33
|
-
- - "<="
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 6.1.4.2
|
36
30
|
- !ruby/object:Gem::Dependency
|
37
31
|
name: httparty
|
38
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,20 +55,6 @@ dependencies:
|
|
61
55
|
- - '='
|
62
56
|
- !ruby/object:Gem::Version
|
63
57
|
version: 0.0.8
|
64
|
-
- !ruby/object:Gem::Dependency
|
65
|
-
name: sprockets
|
66
|
-
requirement: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - '='
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 3.7.2
|
71
|
-
type: :runtime
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - '='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 3.7.2
|
78
58
|
- !ruby/object:Gem::Dependency
|
79
59
|
name: sqlite3
|
80
60
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,16 +101,16 @@ dependencies:
|
|
121
101
|
name: rspec-rails
|
122
102
|
requirement: !ruby/object:Gem::Requirement
|
123
103
|
requirements:
|
124
|
-
- -
|
104
|
+
- - '='
|
125
105
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
106
|
+
version: 5.1.2
|
127
107
|
type: :development
|
128
108
|
prerelease: false
|
129
109
|
version_requirements: !ruby/object:Gem::Requirement
|
130
110
|
requirements:
|
131
|
-
- -
|
111
|
+
- - '='
|
132
112
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
113
|
+
version: 5.1.2
|
134
114
|
- !ruby/object:Gem::Dependency
|
135
115
|
name: rspec-rails-mocha
|
136
116
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,20 +181,6 @@ dependencies:
|
|
201
181
|
- - "~>"
|
202
182
|
- !ruby/object:Gem::Version
|
203
183
|
version: 3.0.6
|
204
|
-
- !ruby/object:Gem::Dependency
|
205
|
-
name: sprockets
|
206
|
-
requirement: !ruby/object:Gem::Requirement
|
207
|
-
requirements:
|
208
|
-
- - "~>"
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version: '3.0'
|
211
|
-
type: :development
|
212
|
-
prerelease: false
|
213
|
-
version_requirements: !ruby/object:Gem::Requirement
|
214
|
-
requirements:
|
215
|
-
- - "~>"
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: '3.0'
|
218
184
|
- !ruby/object:Gem::Dependency
|
219
185
|
name: rb-fsevent
|
220
186
|
requirement: !ruby/object:Gem::Requirement
|
@@ -327,48 +293,48 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
327
293
|
- !ruby/object:Gem::Version
|
328
294
|
version: '0'
|
329
295
|
requirements: []
|
330
|
-
rubygems_version: 3.
|
296
|
+
rubygems_version: 3.2.33
|
331
297
|
signing_key:
|
332
298
|
specification_version: 4
|
333
299
|
summary: CanvasOauth is a mountable engine for handling the oauth workflow with canvas
|
334
300
|
and making api calls from your rails app.
|
335
301
|
test_files:
|
336
|
-
- spec/
|
302
|
+
- spec/controllers/canvas_oauth/canvas_controller_spec.rb
|
303
|
+
- spec/dummy/README.rdoc
|
304
|
+
- spec/dummy/Rakefile
|
337
305
|
- spec/dummy/app/controllers/application_controller.rb
|
338
306
|
- spec/dummy/app/controllers/welcome_controller.rb
|
339
|
-
- spec/dummy/config/
|
307
|
+
- spec/dummy/config/application.rb
|
308
|
+
- spec/dummy/config/boot.rb
|
340
309
|
- spec/dummy/config/canvas.yml
|
341
|
-
- spec/dummy/config/
|
342
|
-
- spec/dummy/config/
|
310
|
+
- spec/dummy/config/database.yml
|
311
|
+
- spec/dummy/config/environment.rb
|
343
312
|
- spec/dummy/config/environments/development.rb
|
313
|
+
- spec/dummy/config/environments/production.rb
|
344
314
|
- spec/dummy/config/environments/test.rb
|
345
|
-
- spec/dummy/config/environment.rb
|
346
|
-
- spec/dummy/config/application.rb
|
347
|
-
- spec/dummy/config/database.yml
|
348
|
-
- spec/dummy/config/boot.rb
|
349
315
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
316
|
+
- spec/dummy/config/initializers/inflections.rb
|
350
317
|
- spec/dummy/config/initializers/mime_types.rb
|
318
|
+
- spec/dummy/config/initializers/secret_token.rb
|
351
319
|
- spec/dummy/config/initializers/session_store.rb
|
352
320
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
353
|
-
- spec/dummy/config/
|
354
|
-
- spec/dummy/config/
|
321
|
+
- spec/dummy/config/locales/en.yml
|
322
|
+
- spec/dummy/config/routes.rb
|
355
323
|
- spec/dummy/config.ru
|
356
|
-
- spec/dummy/
|
357
|
-
- spec/dummy/
|
358
|
-
- spec/dummy/public/favicon.ico
|
359
|
-
- spec/dummy/public/422.html
|
360
|
-
- spec/dummy/public/500.html
|
361
|
-
- spec/dummy/public/404.html
|
362
|
-
- spec/dummy/public/robots.txt
|
324
|
+
- spec/dummy/db/development.sqlite3
|
325
|
+
- spec/dummy/db/migrate/20160711200737_create_canvas_oauth_authorizations.canvas_oauth.rb
|
363
326
|
- spec/dummy/db/schema.rb
|
364
327
|
- spec/dummy/db/test.sqlite3
|
365
|
-
- spec/dummy/db/migrate/20160711200737_create_canvas_oauth_authorizations.canvas_oauth.rb
|
366
|
-
- spec/dummy/db/development.sqlite3
|
367
|
-
- spec/dummy/log/test.log
|
368
328
|
- spec/dummy/log/development.log
|
369
|
-
- spec/dummy/
|
370
|
-
- spec/
|
329
|
+
- spec/dummy/log/test.log
|
330
|
+
- spec/dummy/public/404.html
|
331
|
+
- spec/dummy/public/422.html
|
332
|
+
- spec/dummy/public/500.html
|
333
|
+
- spec/dummy/public/favicon.ico
|
334
|
+
- spec/dummy/public/robots.txt
|
335
|
+
- spec/dummy/script/rails
|
371
336
|
- spec/lib/canvas_oauth/canvas_api_extensions_spec.rb
|
372
|
-
- spec/lib/canvas_oauth/default_utf8_parser_spec.rb
|
373
337
|
- spec/lib/canvas_oauth/canvas_api_spec.rb
|
374
|
-
- spec/
|
338
|
+
- spec/lib/canvas_oauth/default_utf8_parser_spec.rb
|
339
|
+
- spec/models/canvas_oauth/authorization_spec.rb
|
340
|
+
- spec/spec_helper.rb
|