canvas_sync 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -6
- data/db/migrate/20170915210836_create_canvas_sync_job_log.rb +1 -1
- data/lib/canvas_sync.rb +30 -4
- data/lib/canvas_sync/importers/legacy_importer.rb +17 -0
- data/lib/canvas_sync/jobs/report_checker.rb +1 -1
- data/lib/canvas_sync/jobs/report_processor_job.rb +4 -0
- data/lib/canvas_sync/jobs/report_starter.rb +1 -1
- data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +1 -1
- data/lib/canvas_sync/jobs/sync_terms_job.rb +6 -2
- data/lib/canvas_sync/processors/provisioning_report_processor.rb +37 -11
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/canvas_sync_spec.rb +2 -2
- data/spec/canvas_sync/jobs/report_checker_spec.rb +3 -2
- data/spec/canvas_sync/jobs/report_processor_job_spec.rb +1 -1
- data/spec/canvas_sync/jobs/report_starter_spec.rb +1 -1
- data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +3 -3
- data/spec/canvas_sync/jobs/sync_terms_job_spec.rb +3 -2
- data/spec/canvas_sync/jobs/sync_users_job_spec.rb +1 -1
- data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +7 -0
- metadata +5 -16
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -4391
- data/spec/dummy/log/test.log +0 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +0 -3
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +0 -4
data/spec/dummy/log/test.log
DELETED
Binary file
|
@@ -1,3 +0,0 @@
|
|
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
|
@@ -1,4 +0,0 @@
|
|
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
|