canvas_sync 0.17.0.beta2 → 0.17.0.beta3
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.rb +2 -1
- data/lib/canvas_sync/job_batches/chain_builder.rb +7 -0
- data/lib/canvas_sync/job_batches/sidekiq.rb +2 -0
- data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +0 -3
- data/lib/canvas_sync/jobs/sync_terms_job.rb +3 -1
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/canvas_sync_spec.rb +20 -10
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1248 -0
- data/spec/dummy/log/test.log +43258 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +3 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +4 -0
- metadata +12 -2
@@ -0,0 +1,3 @@
|
|
1
|
+
canvas_course_id,course_id,integration_id,short_name,long_name,canvas_account_id,account_id,canvas_term_id,term_id,status,start_date,end_date,course_format,created_by_sis
|
2
|
+
1,course_sis_id_1,,C1,Course #1,1,,1,term_sis_id_1,active,2017-03-27T15:53:18-06:00,2017-04-27T06:21:18-06:00,,FALSE
|
3
|
+
2,course_sis_id_2,,C2,Course #2,1,,1,term_sis_id_2,unpublished,2017-03-27T15:53:18-06:00,2017-04-27T06:21:18-06:00,,FALSE
|
@@ -0,0 +1,4 @@
|
|
1
|
+
canvas_user_id,user_id,integration_id,authentication_provider_id,login_id,first_name,last_name,full_name,sortable_name,short_name,email,status,created_by_sis
|
2
|
+
1,sis_id_1,,123,spiderdude1337,Patches,the Spider,Patches the Spider,"the Spider, Patches",,poorbastard@yharnam.com,active,FALSE
|
3
|
+
2,sis_id_2,,1234,retireddude109,Hunter,Djura,Hunter Djura,"Djura, Hunter",,dreamer@yharnam.com,active,FALSE
|
4
|
+
2,sis_id_2,,1234,retireddude110,Hunter,Djura,Hunter Djura,"Djura, Hunter",,dreamer@yharnam.com,active,FALSE
|
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.0.
|
4
|
+
version: 0.17.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Collings
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -576,6 +576,9 @@ files:
|
|
576
576
|
- spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
|
577
577
|
- spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
|
578
578
|
- spec/dummy/db/schema.rb
|
579
|
+
- spec/dummy/db/test.sqlite3
|
580
|
+
- spec/dummy/log/development.log
|
581
|
+
- spec/dummy/log/test.log
|
579
582
|
- spec/factories/account_factory.rb
|
580
583
|
- spec/factories/admin_factory.rb
|
581
584
|
- spec/factories/assignment_factory.rb
|
@@ -620,6 +623,8 @@ files:
|
|
620
623
|
- spec/support/fixtures/reports/group_memberships.csv
|
621
624
|
- spec/support/fixtures/reports/groups.csv
|
622
625
|
- spec/support/fixtures/reports/provisioning_csv
|
626
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
627
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
623
628
|
- spec/support/fixtures/reports/sections.csv
|
624
629
|
- spec/support/fixtures/reports/submissions.csv
|
625
630
|
- spec/support/fixtures/reports/users.csv
|
@@ -764,6 +769,9 @@ test_files:
|
|
764
769
|
- spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
|
765
770
|
- spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
|
766
771
|
- spec/dummy/db/schema.rb
|
772
|
+
- spec/dummy/db/test.sqlite3
|
773
|
+
- spec/dummy/log/development.log
|
774
|
+
- spec/dummy/log/test.log
|
767
775
|
- spec/factories/account_factory.rb
|
768
776
|
- spec/factories/admin_factory.rb
|
769
777
|
- spec/factories/assignment_factory.rb
|
@@ -808,6 +816,8 @@ test_files:
|
|
808
816
|
- spec/support/fixtures/reports/group_memberships.csv
|
809
817
|
- spec/support/fixtures/reports/groups.csv
|
810
818
|
- spec/support/fixtures/reports/provisioning_csv
|
819
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
820
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
811
821
|
- spec/support/fixtures/reports/sections.csv
|
812
822
|
- spec/support/fixtures/reports/submissions.csv
|
813
823
|
- spec/support/fixtures/reports/users.csv
|