canvas_sync 0.17.31 → 0.17.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/concerns/sync_mapping.rb +1 -1
- data/lib/canvas_sync/engine.rb +20 -16
- data/lib/canvas_sync/generators/templates/migrations/create_learning_outcomes.rb +30 -0
- data/lib/canvas_sync/generators/templates/models/learning_outcome.rb +22 -0
- data/lib/canvas_sync/job_batches/batch.rb +21 -1
- data/lib/canvas_sync/job_batches/callback.rb +1 -1
- data/lib/canvas_sync/job_batches/pool.rb +4 -4
- data/lib/canvas_sync/job_batches/sidekiq/web/helpers.rb +1 -1
- data/lib/canvas_sync/job_batches/sidekiq/web/views/batch.erb +10 -0
- data/lib/canvas_sync/job_batches/sidekiq/web.rb +5 -1
- data/lib/canvas_sync/processors/model_mappings.yml +55 -0
- data/lib/canvas_sync/processors/provisioning_report_processor.rb +7 -0
- data/lib/canvas_sync/processors/report_processor.rb +3 -2
- data/lib/canvas_sync/version.rb +1 -1
- data/lib/canvas_sync.rb +1 -0
- data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +6 -0
- data/spec/dummy/app/models/learning_outcome.rb +28 -0
- data/spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb +36 -0
- data/spec/dummy/db/schema.rb +25 -1
- data/spec/dummy/log/development.log +148 -2028
- data/spec/dummy/log/test.log +4654 -101591
- data/spec/support/fixtures/reports/learning_outcomes.csv +3 -0
- metadata +14 -6
@@ -0,0 +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>
|
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.17.
|
4
|
+
version: 0.17.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Collings
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -346,7 +346,7 @@ dependencies:
|
|
346
346
|
- - ">="
|
347
347
|
- !ruby/object:Gem::Version
|
348
348
|
version: '0'
|
349
|
-
description:
|
349
|
+
description:
|
350
350
|
email:
|
351
351
|
- ncollings@instructure.com
|
352
352
|
executables: []
|
@@ -390,6 +390,7 @@ files:
|
|
390
390
|
- lib/canvas_sync/generators/templates/migrations/create_grading_periods.rb
|
391
391
|
- lib/canvas_sync/generators/templates/migrations/create_group_memberships.rb
|
392
392
|
- lib/canvas_sync/generators/templates/migrations/create_groups.rb
|
393
|
+
- lib/canvas_sync/generators/templates/migrations/create_learning_outcomes.rb
|
393
394
|
- lib/canvas_sync/generators/templates/migrations/create_pseudonyms.rb
|
394
395
|
- lib/canvas_sync/generators/templates/migrations/create_roles.rb
|
395
396
|
- lib/canvas_sync/generators/templates/migrations/create_sections.rb
|
@@ -410,6 +411,7 @@ files:
|
|
410
411
|
- lib/canvas_sync/generators/templates/models/grading_period_group.rb
|
411
412
|
- lib/canvas_sync/generators/templates/models/group.rb
|
412
413
|
- lib/canvas_sync/generators/templates/models/group_membership.rb
|
414
|
+
- lib/canvas_sync/generators/templates/models/learning_outcome.rb
|
413
415
|
- lib/canvas_sync/generators/templates/models/pseudonym.rb
|
414
416
|
- lib/canvas_sync/generators/templates/models/role.rb
|
415
417
|
- lib/canvas_sync/generators/templates/models/section.rb
|
@@ -551,6 +553,7 @@ files:
|
|
551
553
|
- spec/dummy/app/models/grading_period_group.rb
|
552
554
|
- spec/dummy/app/models/group.rb
|
553
555
|
- spec/dummy/app/models/group_membership.rb
|
556
|
+
- spec/dummy/app/models/learning_outcome.rb
|
554
557
|
- spec/dummy/app/models/pseudonym.rb
|
555
558
|
- spec/dummy/app/models/role.rb
|
556
559
|
- spec/dummy/app/models/section.rb
|
@@ -620,6 +623,7 @@ files:
|
|
620
623
|
- spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
|
621
624
|
- spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
|
622
625
|
- spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
|
626
|
+
- spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
|
623
627
|
- spec/dummy/db/schema.rb
|
624
628
|
- spec/dummy/log/development.log
|
625
629
|
- spec/dummy/log/test.log
|
@@ -671,6 +675,7 @@ files:
|
|
671
675
|
- spec/support/fixtures/reports/grading_periods.csv
|
672
676
|
- spec/support/fixtures/reports/group_memberships.csv
|
673
677
|
- spec/support/fixtures/reports/groups.csv
|
678
|
+
- spec/support/fixtures/reports/learning_outcomes.csv
|
674
679
|
- spec/support/fixtures/reports/provisioning_csv
|
675
680
|
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
676
681
|
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
@@ -682,7 +687,7 @@ files:
|
|
682
687
|
homepage: https://instructure.com
|
683
688
|
licenses: []
|
684
689
|
metadata: {}
|
685
|
-
post_install_message:
|
690
|
+
post_install_message:
|
686
691
|
rdoc_options: []
|
687
692
|
require_paths:
|
688
693
|
- lib
|
@@ -698,7 +703,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
698
703
|
version: '0'
|
699
704
|
requirements: []
|
700
705
|
rubygems_version: 3.0.3
|
701
|
-
signing_key:
|
706
|
+
signing_key:
|
702
707
|
specification_version: 4
|
703
708
|
summary: Gem for generating Canvas models and migrations and syncing data from Canvas
|
704
709
|
test_files:
|
@@ -759,6 +764,7 @@ test_files:
|
|
759
764
|
- spec/dummy/app/models/grading_period_group.rb
|
760
765
|
- spec/dummy/app/models/group.rb
|
761
766
|
- spec/dummy/app/models/group_membership.rb
|
767
|
+
- spec/dummy/app/models/learning_outcome.rb
|
762
768
|
- spec/dummy/app/models/pseudonym.rb
|
763
769
|
- spec/dummy/app/models/role.rb
|
764
770
|
- spec/dummy/app/models/section.rb
|
@@ -828,6 +834,7 @@ test_files:
|
|
828
834
|
- spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
|
829
835
|
- spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
|
830
836
|
- spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
|
837
|
+
- spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
|
831
838
|
- spec/dummy/db/schema.rb
|
832
839
|
- spec/dummy/log/development.log
|
833
840
|
- spec/dummy/log/test.log
|
@@ -879,6 +886,7 @@ test_files:
|
|
879
886
|
- spec/support/fixtures/reports/grading_periods.csv
|
880
887
|
- spec/support/fixtures/reports/group_memberships.csv
|
881
888
|
- spec/support/fixtures/reports/groups.csv
|
889
|
+
- spec/support/fixtures/reports/learning_outcomes.csv
|
882
890
|
- spec/support/fixtures/reports/provisioning_csv
|
883
891
|
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
884
892
|
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|