canvas_sync 0.20.3 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/canvas_sync/generators/templates/migrations/create_learning_outcomes.rb +0 -1
- data/lib/canvas_sync/importers/bulk_importer.rb +1 -1
- data/lib/canvas_sync/jobs/report_checker.rb +1 -1
- data/lib/canvas_sync/processors/model_mappings.yml +0 -3
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb +0 -1
- data/spec/dummy/db/schema.rb +0 -1
- data/spec/support/fixtures/reports/learning_outcomes.csv +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f59e793e475e0b39b8ec22a5d0f27144e6734a83020874c9d45b0d78c48c1c60
|
|
4
|
+
data.tar.gz: fd32c923becad3bb3845979edb6344be3974fbe598908ec2ec99697fbe449703
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b117ba9091d2da2e6aea6b1277ebd7cf61bdb127f9dc4e8c2ea2d87ade654cc791950af800053095f8cce13dcf99b231f541472e845fe10fdca2021e85b8028f
|
|
7
|
+
data.tar.gz: 8d033ae9f1b2fb233d4706d0953bc4ac0d04dd2a7da6d26414d62f700be2c39e3d6a9755703816c763f5dd5b22f6685d0f259f3bfa82453c84b58beff4ec2fb1
|
|
@@ -108,7 +108,7 @@ module CanvasSync
|
|
|
108
108
|
import_result: nil,
|
|
109
109
|
import_options: options,
|
|
110
110
|
}
|
|
111
|
-
ClassCallbackExecutor.run_if_defined(klass, :sync_batch_import,
|
|
111
|
+
ClassCallbackExecutor.run_if_defined(klass, :sync_batch_import, callback_env) do
|
|
112
112
|
result = klass.import(columns, rows, options)
|
|
113
113
|
callback_env[:import_result] = result
|
|
114
114
|
|
|
@@ -5,7 +5,7 @@ module CanvasSync
|
|
|
5
5
|
# Enqueues the ReportProcessor when the report has completed.
|
|
6
6
|
class ReportChecker < CanvasSync::Job
|
|
7
7
|
REPORT_TIMEOUT = 24.hours
|
|
8
|
-
COMPILATION_TIMEOUT =
|
|
8
|
+
COMPILATION_TIMEOUT = 3.hours
|
|
9
9
|
MAX_TRIES = 3
|
|
10
10
|
|
|
11
11
|
class FatalReportError < ::RuntimeError; end
|
data/lib/canvas_sync/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
|
@@ -275,7 +275,6 @@ ActiveRecord::Schema.define(version: 2024_05_23_101010) do
|
|
|
275
275
|
t.integer "outcome_import_id"
|
|
276
276
|
t.integer "root_account_ids", default: [], array: true
|
|
277
277
|
t.text "description"
|
|
278
|
-
t.text "short_description"
|
|
279
278
|
t.datetime "created_at", null: false
|
|
280
279
|
t.datetime "updated_at", null: false
|
|
281
280
|
t.index ["canvas_context_id", "canvas_context_type"], name: "index_learning_outcomes_on_context"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
learning_outcome_id,context_id,context_type,name,friendly_name,workflow_state,created_at,updated_at,migration_id,vendor_guid,low_grade,high_grade,calculation_method,calculation_int,outcome_import_id,root_account_ids,description
|
|
2
|
-
1,1,Course,Course Outcome,"",active,2021-08-12 21:11:40 UTC,2021-08-13 01:05:40 UTC,,,,,decaying_average,65,,[1],<p>description</p
|
|
3
|
-
2,1,Account,Account Outcome,Friendly Name,active,2021-08-12 21:11:40 UTC,2021-08-13 01:05:40 UTC,,,,,decaying_average,65,,[1],<p>description</p
|
|
1
|
+
learning_outcome_id,context_id,context_type,name,friendly_name,workflow_state,created_at,updated_at,migration_id,vendor_guid,low_grade,high_grade,calculation_method,calculation_int,outcome_import_id,root_account_ids,description
|
|
2
|
+
1,1,Course,Course Outcome,"",active,2021-08-12 21:11:40 UTC,2021-08-13 01:05:40 UTC,,,,,decaying_average,65,,[1],<p>description</p>
|
|
3
|
+
2,1,Account,Account Outcome,Friendly Name,active,2021-08-12 21:11:40 UTC,2021-08-13 01:05:40 UTC,,,,,decaying_average,65,,[1],<p>description</p>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canvas_sync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.
|
|
4
|
+
version: 0.20.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Instructure CustomDev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|