canvas_oauth_engine 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1c3f45d46de810a8bce3878a65db3cb8bf3c22500e2202086c272a5c9c53575
4
- data.tar.gz: f12004a45f25c17af6db2587efcccb2b97ded6e0660aaae3867a5c4759dc478a
3
+ metadata.gz: 15da81a70ac964dc35e6346d7f68cd63759fc5dc5763fca239e2768fae64141c
4
+ data.tar.gz: 4db1cbfa3790625bb5f9cfa640c2aaecfc77007852604d4de76a420d9b74fd5c
5
5
  SHA512:
6
- metadata.gz: 39b59cb007c7c9691d0707a30de029f48d0bfa1f79498713dbb3ad8ebf6376ab8955e6df685948df8f6b1ed8d401d8e7217d59ae792ab0fea372aff89632005a
7
- data.tar.gz: 8344f79d98862dc2e0f09a6a467c2cb931694383924d3a072aadf918f92f3a08a21809740b6ac16ace5abeeb60bead28b488be8b355a016cfbfdef183755c0b4
6
+ metadata.gz: 7a36402e5730f9fb54bc6b99ccf9b347525e6da490800b183c2b922c802103d8277bc14c29b1c9cea9ff8d23be8fb591af2d4736a5defbf7411a4b2eedfe5554
7
+ data.tar.gz: 07ab0eb58a950a329c62f8622861f0f45bee6fba5d955389407fdaafb804d9951754a699512aaf49f764f83052c79126841668fe1320ce8343921e517d3f48fd
@@ -1,3 +1,3 @@
1
1
  module CanvasOauth
2
- VERSION = "2.3.0"
2
+ VERSION = "2.4.0"
3
3
  end
@@ -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 = true
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
@@ -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
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
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: 20121121005358) do
13
+ ActiveRecord::Schema.define(version: 2016_07_11_200737) do
15
14
 
16
- create_table "canvas_oauth_authorizations", force: true do |t|
17
- t.integer "canvas_user_id", limit: 8
18
- t.string "tool_consumer_instance_guid", null: false
19
- t.string "token"
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", null: false
22
- t.datetime "updated_at", null: false
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
Binary file
@@ -1,49 +1,4 @@
1
- Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
2
-  (3.7ms) SELECT sqlite_version(*)
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
   (1.2ms) SELECT sqlite_version(*)
5
-  (0.1ms) SELECT sqlite_version(*)
6
- Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
7
-  (1.6ms) SELECT sqlite_version(*)
8
- Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
9
-  (1.3ms) SELECT sqlite_version(*)
10
-  (0.1ms) SELECT sqlite_version(*)
11
3
   (0.0ms) SELECT sqlite_version(*)
12
-  (0.1ms) SELECT sqlite_version(*)
13
-  (0.1ms) DROP TABLE IF EXISTS "canvas_oauth_authorizations"
14
-  (1.3ms) CREATE 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)
15
-  (1.0ms) CREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")
16
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
17
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20121121005358)
19
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
20
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
21
- TRANSACTION (0.0ms) begin transaction
22
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2022-03-21 15:32:41.317911"], ["updated_at", "2022-03-21 15:32:41.317911"]]
23
- TRANSACTION (0.7ms) commit transaction
24
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
25
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "schema_sha1"], ["LIMIT", 1]]
26
- TRANSACTION (0.0ms) begin transaction
27
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "schema_sha1"], ["value", "fc30e804ce934e09ede366066915736ad77cf98d"], ["created_at", "2022-03-21 15:32:41.321862"], ["updated_at", "2022-03-21 15:32:41.321862"]]
28
- TRANSACTION (0.8ms) commit transaction
29
4
   (0.0ms) SELECT sqlite_version(*)
30
-  (0.1ms) DROP TABLE IF EXISTS "canvas_oauth_authorizations"
31
-  (1.1ms) CREATE 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)
32
-  (1.0ms) CREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")
33
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
34
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
35
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20121121005358)
36
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
37
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
38
- TRANSACTION (0.0ms) begin transaction
39
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2022-03-21 15:32:41.332974"], ["updated_at", "2022-03-21 15:32:41.332974"]]
40
- TRANSACTION (0.7ms) commit transaction
41
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
42
- TRANSACTION (0.0ms) begin transaction
43
- ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2022-03-21 15:32:41.335498"], ["key", "environment"]]
44
- TRANSACTION (0.8ms) commit transaction
45
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "schema_sha1"], ["LIMIT", 1]]
46
- TRANSACTION (0.0ms) begin transaction
47
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "schema_sha1"], ["value", "fc30e804ce934e09ede366066915736ad77cf98d"], ["created_at", "2022-03-21 15:32:41.338507"], ["updated_at", "2022-03-21 15:32:41.338507"]]
48
- TRANSACTION (0.6ms) commit transaction
49
-  (0.1ms) SELECT sqlite_version(*)
@@ -1,6 +1,108 @@
1
- Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
2
-  (1.6ms) SELECT sqlite_version(*)
1
+ Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
2
+  (1.5ms) SELECT sqlite_version(*)
3
+ TRANSACTION (0.0ms) begin transaction
4
+ TRANSACTION (0.1ms) rollback transaction
5
+ TRANSACTION (0.0ms) begin transaction
6
+ TRANSACTION (0.0ms) rollback transaction
7
+ TRANSACTION (0.0ms) begin transaction
8
+ TRANSACTION (0.0ms) rollback transaction
9
+ TRANSACTION (0.1ms) begin transaction
10
+ TRANSACTION (0.0ms) rollback transaction
11
+ TRANSACTION (0.0ms) begin transaction
12
+ TRANSACTION (0.1ms) rollback transaction
13
+ TRANSACTION (0.0ms) begin transaction
14
+ TRANSACTION (0.1ms) rollback transaction
15
+ TRANSACTION (0.1ms) begin transaction
16
+ TRANSACTION (6.9ms) rollback transaction
17
+ TRANSACTION (0.0ms) begin transaction
18
+ TRANSACTION (0.1ms) rollback transaction
19
+ TRANSACTION (0.0ms) begin transaction
20
+ TRANSACTION (0.0ms) rollback transaction
21
+ TRANSACTION (0.0ms) begin transaction
22
+ TRANSACTION (0.0ms) rollback transaction
23
+ TRANSACTION (0.0ms) begin transaction
24
+ TRANSACTION (0.0ms) rollback transaction
25
+ TRANSACTION (0.0ms) begin transaction
26
+ TRANSACTION (0.0ms) rollback transaction
27
+ TRANSACTION (0.0ms) begin transaction
28
+ TRANSACTION (0.0ms) rollback transaction
29
+ TRANSACTION (0.0ms) begin transaction
30
+ TRANSACTION (0.0ms) rollback transaction
31
+ TRANSACTION (0.0ms) begin transaction
32
+ TRANSACTION (0.0ms) rollback transaction
33
+ TRANSACTION (0.0ms) begin transaction
34
+ TRANSACTION (0.0ms) rollback transaction
35
+ TRANSACTION (0.0ms) begin transaction
36
+ TRANSACTION (0.0ms) rollback transaction
37
+ TRANSACTION (0.0ms) begin transaction
38
+ TRANSACTION (0.0ms) rollback transaction
39
+ TRANSACTION (0.0ms) begin transaction
40
+ TRANSACTION (0.0ms) rollback transaction
41
+ TRANSACTION (0.0ms) begin transaction
42
+ API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
43
+ TRANSACTION (0.0ms) rollback transaction
44
+ TRANSACTION (0.0ms) begin transaction
45
+ API call (0.03ms): get ["/path", {:headers=>{}}]
46
+ TRANSACTION (0.0ms) rollback transaction
47
+ TRANSACTION (0.0ms) begin transaction
48
+ API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
49
+ TRANSACTION (0.0ms) rollback transaction
50
+ TRANSACTION (0.0ms) begin transaction
51
+ API call (0.03ms): get ["/path", {:headers=>{}}]
52
+ TRANSACTION (0.0ms) rollback transaction
53
+ TRANSACTION (0.0ms) begin transaction
54
+ API call (0.03ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
55
+ TRANSACTION (0.0ms) rollback transaction
56
+ TRANSACTION (0.0ms) begin transaction
57
+ API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
58
+ TRANSACTION (0.0ms) rollback transaction
59
+ TRANSACTION (0.0ms) begin transaction
60
+ TRANSACTION (0.0ms) rollback transaction
61
+ TRANSACTION (0.0ms) begin transaction
62
+ API call (0.03ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
63
+ TRANSACTION (0.0ms) rollback transaction
64
+ TRANSACTION (0.0ms) begin transaction
65
+ API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
66
+ TRANSACTION (0.0ms) rollback transaction
67
+ TRANSACTION (0.0ms) begin transaction
68
+ TRANSACTION (0.0ms) rollback transaction
69
+ TRANSACTION (0.0ms) begin transaction
70
+ TRANSACTION (0.0ms) rollback transaction
71
+ TRANSACTION (0.0ms) begin transaction
72
+ API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
73
+ TRANSACTION (0.0ms) rollback transaction
74
+ TRANSACTION (0.0ms) begin transaction
75
+ TRANSACTION (0.0ms) rollback transaction
76
+ TRANSACTION (0.0ms) begin transaction
77
+ API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
78
+ TRANSACTION (0.0ms) rollback transaction
3
79
  TRANSACTION (0.0ms) begin transaction
80
+ TRANSACTION (0.0ms) rollback transaction
81
+ TRANSACTION (0.0ms) begin transaction
82
+ TRANSACTION (0.1ms) rollback transaction
83
+ TRANSACTION (0.0ms) begin transaction
84
+ TRANSACTION (0.1ms) rollback transaction
85
+ TRANSACTION (0.0ms) begin transaction
86
+ TRANSACTION (0.0ms) rollback transaction
87
+ TRANSACTION (0.0ms) begin transaction
88
+ TRANSACTION (0.0ms) rollback transaction
89
+ TRANSACTION (0.0ms) begin transaction
90
+ API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
91
+ TRANSACTION (0.0ms) rollback transaction
92
+ TRANSACTION (0.0ms) begin transaction
93
+ API call (0.03ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
94
+ TRANSACTION (0.0ms) rollback transaction
95
+ TRANSACTION (0.0ms) begin transaction
96
+ TRANSACTION (0.0ms) rollback transaction
97
+ TRANSACTION (0.0ms) begin transaction
98
+ API call (0.08ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
99
+ TRANSACTION (0.0ms) rollback transaction
100
+ TRANSACTION (0.0ms) begin transaction
101
+ TRANSACTION (0.1ms) rollback transaction
102
+ TRANSACTION (0.1ms) begin transaction
103
+ TRANSACTION (0.0ms) rollback transaction
104
+ TRANSACTION (0.0ms) begin transaction
105
+ API call (0.04ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
4
106
  TRANSACTION (0.0ms) rollback transaction
5
107
  TRANSACTION (0.0ms) begin transaction
6
108
  TRANSACTION (0.0ms) rollback transaction
@@ -9,53 +111,53 @@ Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instr
9
111
  TRANSACTION (0.0ms) begin transaction
10
112
  Processing by CanvasOauth::CanvasController#oauth as HTML
11
113
  Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
12
- Rendering text template
13
- Rendered text template (Duration: 0.0ms | Allocations: 3)
14
- Completed 200 OK in 10ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 2549)
15
- TRANSACTION (0.0ms) rollback transaction
114
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.2ms | Allocations: 1659)
115
+ TRANSACTION (0.1ms) rollback transaction
16
116
  TRANSACTION (0.0ms) begin transaction
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: 1)
21
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
22
- TRANSACTION (0.0ms) rollback transaction
120
+ Rendered text template (Duration: 0.0ms | Allocations: 8)
121
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms | Allocations: 1332)
122
+ TRANSACTION (0.1ms) rollback transaction
23
123
  TRANSACTION (0.0ms) begin transaction
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: 400)
126
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 394)
27
127
  TRANSACTION (0.0ms) rollback transaction
28
128
  TRANSACTION (0.0ms) begin transaction
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 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 315)
133
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 453)
34
134
  TRANSACTION (0.0ms) rollback transaction
35
135
  TRANSACTION (0.0ms) begin transaction
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 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 246)
140
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 363)
41
141
  TRANSACTION (0.0ms) rollback transaction
42
142
  TRANSACTION (0.0ms) begin transaction
43
143
  Processing by CanvasOauth::CanvasController#oauth as HTML
44
- Parameters: {"code"=>"valid", "state"=>"mismatch"}
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.2ms | ActiveRecord: 0.0ms | Allocations: 153)
147
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 233)
48
148
  TRANSACTION (0.0ms) rollback transaction
49
149
  TRANSACTION (0.0ms) begin transaction
50
150
  Processing by CanvasOauth::CanvasController#oauth as HTML
51
151
  Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
52
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 282)
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
  TRANSACTION (0.0ms) rollback transaction
54
156
  TRANSACTION (0.0ms) begin transaction
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: 185)
160
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 284)
59
161
  TRANSACTION (0.0ms) rollback transaction
60
162
  TRANSACTION (0.0ms) begin transaction
61
163
  TRANSACTION (0.0ms) rollback transaction
@@ -87,6 +189,10 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 185)
87
189
  TRANSACTION (0.0ms) rollback transaction
88
190
  TRANSACTION (0.0ms) begin transaction
89
191
  TRANSACTION (0.0ms) rollback transaction
192
+ Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
193
+  (1.7ms) SELECT sqlite_version(*)
194
+ TRANSACTION (0.0ms) begin transaction
195
+ TRANSACTION (0.1ms) rollback transaction
90
196
  TRANSACTION (0.0ms) begin transaction
91
197
  TRANSACTION (0.0ms) rollback transaction
92
198
  TRANSACTION (0.0ms) begin transaction
@@ -98,99 +204,99 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 185)
98
204
  TRANSACTION (0.0ms) begin transaction
99
205
  TRANSACTION (0.0ms) rollback transaction
100
206
  TRANSACTION (0.0ms) begin transaction
207
+ API call (0.04ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
101
208
  TRANSACTION (0.0ms) rollback transaction
102
209
  TRANSACTION (0.0ms) begin transaction
103
210
  TRANSACTION (0.0ms) rollback transaction
104
211
  TRANSACTION (0.0ms) begin transaction
212
+ API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
105
213
  TRANSACTION (0.0ms) rollback transaction
106
214
  TRANSACTION (0.0ms) begin transaction
107
215
  TRANSACTION (0.0ms) rollback transaction
108
216
  TRANSACTION (0.0ms) begin transaction
217
+ API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
109
218
  TRANSACTION (0.0ms) rollback transaction
110
219
  TRANSACTION (0.0ms) begin transaction
220
+ API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
111
221
  TRANSACTION (0.0ms) rollback transaction
112
222
  TRANSACTION (0.0ms) begin transaction
113
223
  TRANSACTION (0.0ms) rollback transaction
114
224
  TRANSACTION (0.0ms) begin transaction
225
+ API call (8.66ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
226
+ TRANSACTION (0.2ms) rollback transaction
227
+ TRANSACTION (7.6ms) begin transaction
228
+ API call (0.04ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
115
229
  TRANSACTION (0.0ms) rollback transaction
230
+ TRANSACTION (0.1ms) begin transaction
231
+ TRANSACTION (7.7ms) rollback transaction
116
232
  TRANSACTION (0.0ms) begin transaction
233
+ API call (0.04ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
117
234
  TRANSACTION (0.0ms) rollback transaction
118
235
  TRANSACTION (0.0ms) begin transaction
119
236
  TRANSACTION (0.0ms) rollback transaction
120
237
  TRANSACTION (0.0ms) begin transaction
238
+ TRANSACTION (0.2ms) rollback transaction
239
+ TRANSACTION (0.0ms) begin transaction
240
+ API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
121
241
  TRANSACTION (0.0ms) rollback transaction
122
- TRANSACTION (0.1ms) begin transaction
242
+ TRANSACTION (0.0ms) begin transaction
123
243
  TRANSACTION (0.0ms) rollback transaction
124
244
  TRANSACTION (0.0ms) begin transaction
245
+ API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
125
246
  TRANSACTION (0.0ms) rollback transaction
126
247
  TRANSACTION (0.0ms) begin transaction
127
- TRANSACTION (0.1ms) rollback transaction
128
- TRANSACTION (0.1ms) begin transaction
248
+ API call (0.04ms): get ["/path", {:headers=>{}}]
129
249
  TRANSACTION (0.0ms) rollback transaction
130
250
  TRANSACTION (0.0ms) begin transaction
131
- TRANSACTION (0.1ms) rollback transaction
132
- TRANSACTION (0.1ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
135
- TRANSACTION (0.1ms) begin transaction
136
- TRANSACTION (0.1ms) rollback transaction
137
253
  TRANSACTION (0.0ms) begin transaction
138
- API call (0.04ms): get ["/api/v1/courses/123", {:headers=>{}}]
139
254
  TRANSACTION (0.0ms) rollback transaction
140
255
  TRANSACTION (0.0ms) begin transaction
141
- API call (0.04ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
142
256
  TRANSACTION (0.0ms) rollback transaction
143
257
  TRANSACTION (0.0ms) begin transaction
144
258
  TRANSACTION (0.1ms) rollback transaction
145
- TRANSACTION (0.1ms) begin transaction
146
- API call (0.06ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
259
+ TRANSACTION (0.0ms) begin transaction
260
+ TRANSACTION (0.1ms) rollback transaction
261
+ TRANSACTION (0.0ms) begin transaction
262
+ API call (0.04ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
147
263
  TRANSACTION (0.0ms) rollback transaction
148
264
  TRANSACTION (0.0ms) begin transaction
149
265
  TRANSACTION (0.0ms) rollback transaction
150
- TRANSACTION (0.1ms) begin transaction
266
+ TRANSACTION (0.0ms) begin transaction
267
+ API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
151
268
  TRANSACTION (0.0ms) rollback transaction
152
269
  TRANSACTION (0.0ms) begin transaction
153
- API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
270
+ API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
154
271
  TRANSACTION (0.0ms) rollback transaction
155
272
  TRANSACTION (0.0ms) begin transaction
156
- API call (0.04ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
157
273
  TRANSACTION (0.0ms) rollback transaction
158
274
  TRANSACTION (0.0ms) begin transaction
159
- API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
160
275
  TRANSACTION (0.0ms) rollback transaction
161
276
  TRANSACTION (0.0ms) begin transaction
162
277
  TRANSACTION (0.0ms) rollback transaction
163
278
  TRANSACTION (0.0ms) begin transaction
164
279
  TRANSACTION (0.0ms) rollback transaction
165
280
  TRANSACTION (0.0ms) begin transaction
166
- API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
167
281
  TRANSACTION (0.0ms) rollback transaction
168
282
  TRANSACTION (0.0ms) begin transaction
169
- API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
170
283
  TRANSACTION (0.0ms) rollback transaction
171
284
  TRANSACTION (0.0ms) begin transaction
172
285
  TRANSACTION (0.0ms) rollback transaction
173
286
  TRANSACTION (0.0ms) begin transaction
174
- API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
175
287
  TRANSACTION (0.0ms) rollback transaction
176
288
  TRANSACTION (0.0ms) begin transaction
177
- API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
178
289
  TRANSACTION (0.0ms) rollback transaction
179
290
  TRANSACTION (0.0ms) begin transaction
180
291
  TRANSACTION (0.0ms) rollback transaction
181
292
  TRANSACTION (0.0ms) begin transaction
182
- API call (0.04ms): get ["/path", {:headers=>{}}]
183
293
  TRANSACTION (0.0ms) rollback transaction
184
294
  TRANSACTION (0.0ms) begin transaction
185
- API call (0.03ms): get ["/path", {:headers=>{}}]
186
295
  TRANSACTION (0.0ms) rollback transaction
187
296
  TRANSACTION (0.0ms) begin transaction
188
- API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
189
297
  TRANSACTION (0.0ms) rollback transaction
190
298
  TRANSACTION (0.0ms) begin transaction
191
299
  TRANSACTION (0.0ms) rollback transaction
192
- Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
193
-  (1.7ms) SELECT sqlite_version(*)
194
300
  TRANSACTION (0.0ms) begin transaction
195
301
  TRANSACTION (0.0ms) rollback transaction
196
302
  TRANSACTION (0.0ms) begin transaction
@@ -212,74 +318,119 @@ Initializing Canvas using configuration in /Users/murilo.paiva/Desktop/www/Instr
212
318
  TRANSACTION (0.0ms) begin transaction
213
319
  TRANSACTION (0.0ms) rollback transaction
214
320
  TRANSACTION (0.0ms) begin transaction
215
- API call (0.03ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
216
321
  TRANSACTION (0.0ms) rollback transaction
217
322
  TRANSACTION (0.0ms) begin transaction
218
323
  TRANSACTION (0.0ms) rollback transaction
219
324
  TRANSACTION (0.0ms) begin transaction
220
- API call (0.02ms): get ["/api/v1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
221
325
  TRANSACTION (0.0ms) rollback transaction
222
326
  TRANSACTION (0.0ms) begin transaction
223
- API call (0.02ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
224
327
  TRANSACTION (0.0ms) rollback transaction
225
328
  TRANSACTION (0.0ms) begin transaction
226
329
  TRANSACTION (0.0ms) rollback transaction
227
330
  TRANSACTION (0.0ms) begin transaction
228
331
  TRANSACTION (0.0ms) rollback transaction
229
332
  TRANSACTION (0.0ms) begin transaction
230
- API call (0.02ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
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
  TRANSACTION (0.0ms) rollback transaction
232
339
  TRANSACTION (0.0ms) begin transaction
233
- API call (0.02ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
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
  TRANSACTION (0.0ms) rollback transaction
235
344
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
237
351
  TRANSACTION (0.0ms) begin transaction
238
- API call (0.02ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
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
  TRANSACTION (0.0ms) rollback transaction
240
357
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
242
364
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
244
371
  TRANSACTION (0.0ms) begin transaction
245
- API call (0.02ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
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
  TRANSACTION (0.0ms) rollback transaction
247
376
  TRANSACTION (0.0ms) begin transaction
248
- API call (0.02ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
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
+ TRANSACTION (0.0ms) rollback transaction
383
+ Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
384
+  (1.4ms) SELECT sqlite_version(*)
385
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
386
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
387
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
388
+ Migrating to CreateCanvasOauthAuthorizations (20160711200737)
389
+ TRANSACTION (0.0ms) begin transaction
390
+  (0.1ms) DROP TABLE IF EXISTS "canvas_oauth_authorizations"
391
+  (0.3ms) CREATE 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)
392
+  (0.2ms) CREATE INDEX "index_canvas_oauth_auths_on_user_id_and_tciguid" ON "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid")
393
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160711200737"]]
394
+ TRANSACTION (0.6ms) commit transaction
395
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
396
+ TRANSACTION (0.1ms) begin transaction
397
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2023-08-18 19:10:48.892662"], ["updated_at", "2023-08-18 19:10:48.892662"]]
398
+ TRANSACTION (0.6ms) commit transaction
399
+  (0.0ms) SELECT sqlite_version(*)
400
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
401
+ Initializing Canvas using configuration in /Users/luis.hilario/CAS/Repositories/canvas_oauth_engine/spec/dummy/config/canvas.yml
402
+  (1.3ms) SELECT sqlite_version(*)
403
+ TRANSACTION (0.0ms) begin transaction
404
+ TRANSACTION (0.1ms) rollback transaction
405
+ TRANSACTION (0.0ms) begin transaction
249
406
  TRANSACTION (0.0ms) rollback transaction
250
407
  TRANSACTION (0.0ms) begin transaction
251
408
  TRANSACTION (0.0ms) rollback transaction
252
409
  TRANSACTION (0.0ms) begin transaction
253
- API call (0.02ms): get ["/api/v1/courses/123", {:headers=>{}}]
410
+ TRANSACTION (0.0ms) rollback transaction
411
+ TRANSACTION (0.1ms) begin transaction
254
412
  TRANSACTION (0.0ms) rollback transaction
255
413
  TRANSACTION (0.0ms) begin transaction
256
- API call (0.03ms): get ["/api/v1/accounts/1/users", {:query=>{:per_page=>50}, :headers=>{}}]
257
414
  TRANSACTION (0.0ms) rollback transaction
258
415
  TRANSACTION (0.0ms) begin transaction
259
416
  TRANSACTION (0.0ms) rollback transaction
260
417
  TRANSACTION (0.0ms) begin transaction
261
- API call (0.07ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
262
418
  TRANSACTION (0.0ms) rollback transaction
263
- TRANSACTION (0.1ms) begin transaction
419
+ TRANSACTION (0.0ms) begin transaction
264
420
  TRANSACTION (0.0ms) rollback transaction
265
421
  TRANSACTION (0.0ms) begin transaction
266
- API call (0.05ms): get ["/path", {:query=>"stuff", :headers=>{}}]
267
422
  TRANSACTION (0.0ms) rollback transaction
268
423
  TRANSACTION (0.0ms) begin transaction
269
- API call (0.06ms): get ["/path", {:headers=>{}}]
424
+ TRANSACTION (0.1ms) rollback transaction
425
+ TRANSACTION (0.0ms) begin transaction
270
426
  TRANSACTION (0.0ms) rollback transaction
271
427
  TRANSACTION (0.0ms) begin transaction
272
- API call (0.06ms): get ["/path", {:headers=>{}}]
273
428
  TRANSACTION (0.0ms) rollback transaction
274
429
  TRANSACTION (0.0ms) begin transaction
275
- TRANSACTION (0.1ms) rollback transaction
276
- TRANSACTION (0.1ms) begin transaction
277
- TRANSACTION (0.1ms) rollback transaction
430
+ TRANSACTION (0.0ms) rollback transaction
278
431
  TRANSACTION (0.0ms) begin transaction
279
432
  TRANSACTION (0.0ms) rollback transaction
280
433
  TRANSACTION (0.0ms) begin transaction
281
- TRANSACTION (0.1ms) rollback transaction
282
- TRANSACTION (0.1ms) begin transaction
283
434
  TRANSACTION (0.0ms) rollback transaction
284
435
  TRANSACTION (0.0ms) begin transaction
285
436
  TRANSACTION (0.0ms) rollback transaction
@@ -292,90 +443,181 @@ API call (0.06ms): get ["/path", {:headers=>{}}]
292
443
  TRANSACTION (0.0ms) begin transaction
293
444
  TRANSACTION (0.0ms) rollback transaction
294
445
  TRANSACTION (0.0ms) begin transaction
295
- TRANSACTION (0.1ms) rollback transaction
446
+ TRANSACTION (0.0ms) rollback transaction
447
+ TRANSACTION (0.0ms) begin transaction
448
+ API call (0.03ms): get ["/api/v1/accounts/1/courses", {:query=>{:per_page=>50}, :headers=>{}}]
449
+ TRANSACTION (0.0ms) rollback transaction
450
+ TRANSACTION (0.0ms) begin transaction
451
+ TRANSACTION (0.0ms) rollback transaction
452
+ TRANSACTION (0.0ms) begin transaction
453
+ API call (0.03ms): get ["/api/v1/users/123/profile", {:headers=>{}}]
454
+ TRANSACTION (0.0ms) rollback transaction
455
+ TRANSACTION (0.0ms) begin transaction
456
+ API call (0.03ms): put ["/api/v1/courses/1/assignments/2/submissions/3", {:body=>{}, :headers=>{}}]
457
+ TRANSACTION (0.0ms) rollback transaction
458
+ TRANSACTION (0.0ms) begin transaction
459
+ TRANSACTION (0.0ms) rollback transaction
460
+ TRANSACTION (0.0ms) begin transaction
461
+ TRANSACTION (0.0ms) rollback transaction
462
+ TRANSACTION (0.0ms) begin transaction
463
+ API call (0.03ms): get ["/api/v1/courses/123/sections", {:query=>{:include=>["students", "avatar_url", "enrollments"], :per_page=>50}, :headers=>{}}]
464
+ TRANSACTION (0.0ms) rollback transaction
465
+ TRANSACTION (0.0ms) begin transaction
466
+ TRANSACTION (0.0ms) rollback transaction
296
467
  TRANSACTION (0.0ms) begin transaction
468
+ API call (0.03ms): put ["/api/v1/courses/123/assignments/345", {:body=>{:assignment=>{:omit_from_final_grade=>true}}, :headers=>{}}]
297
469
  TRANSACTION (0.0ms) rollback transaction
298
470
  TRANSACTION (0.0ms) begin transaction
299
471
  TRANSACTION (0.0ms) rollback transaction
300
472
  TRANSACTION (0.0ms) begin transaction
301
473
  TRANSACTION (0.0ms) rollback transaction
302
474
  TRANSACTION (0.0ms) begin transaction
475
+ API call (0.03ms): get ["/api/v1/courses/123/assignments", {:query=>{:per_page=>50}, :headers=>{}}]
476
+ TRANSACTION (0.0ms) rollback transaction
477
+ TRANSACTION (0.0ms) begin transaction
478
+ TRANSACTION (0.0ms) rollback transaction
479
+ TRANSACTION (0.0ms) begin transaction
480
+ API call (0.03ms): get ["/api/v1/courses/123/students", {:query=>{:per_page=>50}, :headers=>{}}]
481
+ TRANSACTION (0.0ms) rollback transaction
482
+ TRANSACTION (0.0ms) begin transaction
483
+ API call (0.04ms): get ["/path", {:headers=>{}}]
484
+ TRANSACTION (0.0ms) rollback transaction
485
+ TRANSACTION (0.0ms) begin transaction
486
+ API call (0.03ms): get ["/path", {:headers=>{}}]
487
+ TRANSACTION (0.0ms) rollback transaction
488
+ TRANSACTION (0.0ms) begin transaction
489
+ API call (0.03ms): get ["/path", {:query=>"stuff", :headers=>{}}]
490
+ TRANSACTION (0.0ms) rollback transaction
491
+ TRANSACTION (0.0ms) begin transaction
492
+ TRANSACTION (0.1ms) rollback transaction
493
+ TRANSACTION (0.0ms) begin transaction
303
494
  TRANSACTION (0.1ms) rollback transaction
304
495
  TRANSACTION (0.0ms) begin transaction
305
496
  TRANSACTION (0.0ms) rollback transaction
306
497
  TRANSACTION (0.0ms) begin transaction
307
498
  TRANSACTION (0.0ms) rollback transaction
308
499
  TRANSACTION (0.0ms) begin transaction
309
- Processing by CanvasOauth::CanvasController#oauth as HTML
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
  TRANSACTION (0.0ms) rollback transaction
315
502
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
320
504
  TRANSACTION (0.0ms) begin transaction
321
- Processing by CanvasOauth::CanvasController#oauth as HTML
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
  TRANSACTION (0.0ms) rollback transaction
327
507
  TRANSACTION (0.0ms) begin transaction
328
- Processing by CanvasOauth::CanvasController#oauth as HTML
329
- Rendering text template
330
- Rendered text template (Duration: 0.0ms | Allocations: 1)
331
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 185)
508
+ API call (0.03ms): get ["/api/v1/courses/123", {:headers=>{}}]
509
+ TRANSACTION (0.0ms) rollback transaction
510
+ TRANSACTION (0.0ms) begin transaction
511
+ TRANSACTION (0.0ms) rollback transaction
512
+ TRANSACTION (0.0ms) begin transaction
513
+ API call (0.03ms): post ["/api/v1/courses/123/assignments", {:body=>{:assignment=>{:name=>"Assignment"}}, :headers=>{}}]
514
+ TRANSACTION (0.0ms) rollback transaction
515
+ TRANSACTION (0.2ms) begin transaction
516
+ TRANSACTION (0.1ms) rollback transaction
517
+ TRANSACTION (0.0ms) begin transaction
518
+ TRANSACTION (0.0ms) rollback transaction
519
+ TRANSACTION (0.0ms) begin transaction
520
+ TRANSACTION (0.0ms) rollback transaction
521
+ TRANSACTION (0.0ms) begin transaction
522
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
523
+ CanvasOauth::Authorization Create (1.4ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
525
+ CanvasOauth::Authorization Load (0.1ms) SELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ? [["LIMIT", 1]]
526
+ TRANSACTION (0.4ms) rollback transaction
527
+ TRANSACTION (0.0ms) begin transaction
528
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
529
+ CanvasOauth::Authorization Create (0.3ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
531
+ CanvasOauth::Authorization Load (0.0ms) SELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ? [["LIMIT", 1]]
532
+ TRANSACTION (0.3ms) rollback transaction
533
+ TRANSACTION (0.0ms) begin transaction
534
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
535
+ CanvasOauth::Authorization Create (0.3ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
537
+ CanvasOauth::Authorization Load (0.0ms) SELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ? [["LIMIT", 1]]
538
+ TRANSACTION (0.3ms) rollback transaction
539
+ TRANSACTION (0.0ms) begin transaction
540
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
541
+ CanvasOauth::Authorization Create (0.4ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
543
+ CanvasOauth::Authorization Load (0.0ms) SELECT "canvas_oauth_authorizations".* FROM "canvas_oauth_authorizations" ORDER BY "canvas_oauth_authorizations"."id" ASC LIMIT ? [["LIMIT", 1]]
544
+ TRANSACTION (0.3ms) rollback transaction
545
+ TRANSACTION (0.0ms) begin transaction
546
+ CanvasOauth::Authorization Load (0.2ms) SELECT "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 ? [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
332
547
  TRANSACTION (0.0ms) rollback transaction
333
548
  TRANSACTION (0.0ms) begin transaction
549
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
550
+ CanvasOauth::Authorization Create (0.3ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
552
+ CanvasOauth::Authorization Load (0.1ms) SELECT "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 ? [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
553
+ TRANSACTION (0.3ms) rollback transaction
554
+ TRANSACTION (0.0ms) begin transaction
555
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
556
+ CanvasOauth::Authorization Create (0.3ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
558
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
559
+ CanvasOauth::Authorization Create (0.1ms) INSERT INTO "canvas_oauth_authorizations" ("canvas_user_id", "tool_consumer_instance_guid", "token", "last_used_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
561
+ CanvasOauth::Authorization Load (0.1ms) SELECT "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 ? [["canvas_user_id", 123], ["tool_consumer_instance_guid", "abc123"], ["LIMIT", 1]]
562
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
563
+ CanvasOauth::Authorization Update (0.1ms) UPDATE "canvas_oauth_authorizations" SET "last_used_at" = ?, "updated_at" = ? WHERE "canvas_oauth_authorizations"."id" = ? [["last_used_at", "2023-08-18 19:18:05.699811"], ["updated_at", "2023-08-18 19:18:05.699993"], ["id", 2]]
564
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
565
+ TRANSACTION (0.9ms) rollback transaction
566
+ TRANSACTION (0.0ms) begin transaction
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: 1)
338
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
339
- TRANSACTION (0.1ms) rollback transaction
570
+ Rendered text template (Duration: 0.0ms | Allocations: 8)
571
+ Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.0ms | Allocations: 2444)
572
+ TRANSACTION (0.0ms) rollback transaction
340
573
  TRANSACTION (0.0ms) begin transaction
341
574
  Processing by CanvasOauth::CanvasController#oauth as HTML
342
575
  Parameters: {"code"=>"valid", "state"=>"zzyyxx"}
343
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 282)
576
+ Redirected to http://test.host/
577
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 991)
578
+ TRANSACTION (0.1ms) rollback transaction
579
+ TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
345
585
  TRANSACTION (0.0ms) begin transaction
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: 153)
590
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 234)
351
591
  TRANSACTION (0.0ms) rollback transaction
352
592
  TRANSACTION (0.0ms) begin transaction
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: 153)
358
- TRANSACTION (0.0ms) rollback transaction
359
- TRANSACTION (0.0ms) begin transaction
597
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 234)
360
598
  TRANSACTION (0.0ms) rollback transaction
361
599
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
363
605
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
365
612
  TRANSACTION (0.0ms) begin transaction
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
  TRANSACTION (0.0ms) rollback transaction
367
619
  TRANSACTION (0.0ms) begin transaction
368
620
  TRANSACTION (0.1ms) rollback transaction
369
- TRANSACTION (0.1ms) begin transaction
370
- TRANSACTION (0.1ms) rollback transaction
371
- TRANSACTION (0.1ms) begin transaction
372
- TRANSACTION (0.0ms) rollback transaction
373
- TRANSACTION (0.0ms) begin transaction
374
- TRANSACTION (0.0ms) rollback transaction
375
- TRANSACTION (0.0ms) begin transaction
376
- TRANSACTION (0.0ms) rollback transaction
377
- TRANSACTION (0.0ms) begin transaction
378
- TRANSACTION (0.0ms) rollback transaction
379
621
  TRANSACTION (0.0ms) begin transaction
380
622
  TRANSACTION (0.0ms) rollback transaction
381
623
  TRANSACTION (0.0ms) begin transaction
@@ -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.3.0
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: 2023-08-16 00:00:00.000000000 Z
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
@@ -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.1.6
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/spec_helper.rb
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/routes.rb
307
+ - spec/dummy/config/application.rb
308
+ - spec/dummy/config/boot.rb
340
309
  - spec/dummy/config/canvas.yml
341
- - spec/dummy/config/locales/en.yml
342
- - spec/dummy/config/environments/production.rb
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/initializers/secret_token.rb
354
- - spec/dummy/config/initializers/inflections.rb
321
+ - spec/dummy/config/locales/en.yml
322
+ - spec/dummy/config/routes.rb
355
323
  - spec/dummy/config.ru
356
- - spec/dummy/script/rails
357
- - spec/dummy/Rakefile
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/README.rdoc
370
- - spec/models/canvas_oauth/authorization_spec.rb
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/controllers/canvas_oauth/canvas_controller_spec.rb
338
+ - spec/lib/canvas_oauth/default_utf8_parser_spec.rb
339
+ - spec/models/canvas_oauth/authorization_spec.rb
340
+ - spec/spec_helper.rb