canvas_oauth_engine 2.1.3 → 2.3.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
- SHA1:
3
- metadata.gz: b7c55542e1d6b9c5e141c59670d06ecba6bba26b
4
- data.tar.gz: 42a9cd9fe36eccdf3fc59c0e91751024b7ebba2a
2
+ SHA256:
3
+ metadata.gz: d1c3f45d46de810a8bce3878a65db3cb8bf3c22500e2202086c272a5c9c53575
4
+ data.tar.gz: f12004a45f25c17af6db2587efcccb2b97ded6e0660aaae3867a5c4759dc478a
5
5
  SHA512:
6
- metadata.gz: 01a9107fb3437328c8bcb6a661ba1448d2004a9596fdf7f1d777ae3e2c2026fb3e778d4a5b1d722d44410d7cdd972828eca9d6f96afa5b6368e8c8471d95972f
7
- data.tar.gz: e0b4f28bd735d415de80b835b1561ad08c6b9774bf23348a22b2ce54015bc9cf1f1fe0746208f18b49eb81ce0b2d9b4a56c8e42b03cc559531efdc8dcbd40477
6
+ metadata.gz: 39b59cb007c7c9691d0707a30de029f48d0bfa1f79498713dbb3ad8ebf6376ab8955e6df685948df8f6b1ed8d401d8e7217d59ae792ab0fea372aff89632005a
7
+ data.tar.gz: 8344f79d98862dc2e0f09a6a467c2cb931694383924d3a072aadf918f92f3a08a21809740b6ac16ace5abeeb60bead28b488be8b355a016cfbfdef183755c0b4
@@ -11,7 +11,7 @@ module CanvasOauth
11
11
  end
12
12
 
13
13
  def self.setup!
14
- if File.exists?(config_file)
14
+ if File.exist?(config_file)
15
15
  Rails.logger.info "Initializing Canvas using configuration in #{config_file}"
16
16
  config = load_config
17
17
  self.key = config['key']
@@ -1,3 +1,3 @@
1
1
  module CanvasOauth
2
- VERSION = "2.1.3"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -43,8 +43,6 @@ module Dummy
43
43
  # like if you have constraints or database-specific column types
44
44
  # config.active_record.schema_format = :sql
45
45
 
46
- config.active_record.sqlite3.represent_boolean_as_integer = true
47
-
48
46
  # Enable the asset pipeline
49
47
  config.assets.enabled = true
50
48
 
Binary file
Binary file
@@ -1 +1,49 @@
1
- Initializing Canvas using configuration in /Users/kgarner/exempt/instructure/canvas_oauth_engine/spec/dummy/config/canvas.yml
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
4
+  (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
+  (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
+  (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(*)