canvas_sync 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/canvas_sync/jobs/report_starter.rb +11 -0
- data/lib/canvas_sync/jobs/sync_assignment_groups_job.rb +2 -8
- data/lib/canvas_sync/jobs/sync_assignments_job.rb +2 -8
- data/lib/canvas_sync/jobs/sync_context_module_items_job.rb +2 -8
- data/lib/canvas_sync/jobs/sync_context_modules_job.rb +2 -8
- data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +6 -4
- data/lib/canvas_sync/jobs/sync_submissions_job.rb +1 -5
- data/lib/canvas_sync/jobs/sync_users_job.rb +5 -7
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb +1 -1
- data/spec/canvas_sync/jobs/sync_assignments_job_spec.rb +2 -2
- data/spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb +2 -2
- data/spec/canvas_sync/jobs/sync_context_modules_job_spec.rb +2 -2
- data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +17 -11
- data/spec/canvas_sync/jobs/sync_submissions_job_spec.rb +1 -1
- data/spec/canvas_sync/jobs/sync_users_job_spec.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +4188 -0
- data/spec/dummy/log/test.log +71696 -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 +15 -4
@@ -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.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nate Collings
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -487,6 +487,7 @@ files:
|
|
487
487
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
488
488
|
- spec/dummy/config/routes.rb
|
489
489
|
- spec/dummy/config/secrets.yml
|
490
|
+
- spec/dummy/db/development.sqlite3
|
490
491
|
- spec/dummy/db/migrate/20190702203620_create_users.rb
|
491
492
|
- spec/dummy/db/migrate/20190702203621_create_courses.rb
|
492
493
|
- spec/dummy/db/migrate/20190702203622_create_accounts.rb
|
@@ -501,6 +502,9 @@ files:
|
|
501
502
|
- spec/dummy/db/migrate/20190702203631_create_context_modules.rb
|
502
503
|
- spec/dummy/db/migrate/20190702203632_create_context_module_items.rb
|
503
504
|
- spec/dummy/db/schema.rb
|
505
|
+
- spec/dummy/db/test.sqlite3
|
506
|
+
- spec/dummy/log/development.log
|
507
|
+
- spec/dummy/log/test.log
|
504
508
|
- spec/factories/account_factory.rb
|
505
509
|
- spec/factories/admin_factory.rb
|
506
510
|
- spec/factories/assignment_factory.rb
|
@@ -528,6 +532,8 @@ files:
|
|
528
532
|
- spec/support/fixtures/reports/courses.csv
|
529
533
|
- spec/support/fixtures/reports/enrollments.csv
|
530
534
|
- spec/support/fixtures/reports/provisioning_csv
|
535
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
536
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
531
537
|
- spec/support/fixtures/reports/sections.csv
|
532
538
|
- spec/support/fixtures/reports/submissions.csv
|
533
539
|
- spec/support/fixtures/reports/users.csv
|
@@ -550,8 +556,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
550
556
|
- !ruby/object:Gem::Version
|
551
557
|
version: '0'
|
552
558
|
requirements: []
|
553
|
-
|
554
|
-
rubygems_version: 2.5.2.1
|
559
|
+
rubygems_version: 3.0.3
|
555
560
|
signing_key:
|
556
561
|
specification_version: 4
|
557
562
|
summary: Gem for generating Canvas models and migrations and syncing data from Canvas
|
@@ -652,6 +657,7 @@ test_files:
|
|
652
657
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
653
658
|
- spec/dummy/config/routes.rb
|
654
659
|
- spec/dummy/config/secrets.yml
|
660
|
+
- spec/dummy/db/development.sqlite3
|
655
661
|
- spec/dummy/db/migrate/20190702203620_create_users.rb
|
656
662
|
- spec/dummy/db/migrate/20190702203621_create_courses.rb
|
657
663
|
- spec/dummy/db/migrate/20190702203622_create_accounts.rb
|
@@ -666,6 +672,9 @@ test_files:
|
|
666
672
|
- spec/dummy/db/migrate/20190702203631_create_context_modules.rb
|
667
673
|
- spec/dummy/db/migrate/20190702203632_create_context_module_items.rb
|
668
674
|
- spec/dummy/db/schema.rb
|
675
|
+
- spec/dummy/db/test.sqlite3
|
676
|
+
- spec/dummy/log/development.log
|
677
|
+
- spec/dummy/log/test.log
|
669
678
|
- spec/factories/account_factory.rb
|
670
679
|
- spec/factories/admin_factory.rb
|
671
680
|
- spec/factories/assignment_factory.rb
|
@@ -693,6 +702,8 @@ test_files:
|
|
693
702
|
- spec/support/fixtures/reports/courses.csv
|
694
703
|
- spec/support/fixtures/reports/enrollments.csv
|
695
704
|
- spec/support/fixtures/reports/provisioning_csv
|
705
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
706
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
696
707
|
- spec/support/fixtures/reports/sections.csv
|
697
708
|
- spec/support/fixtures/reports/submissions.csv
|
698
709
|
- spec/support/fixtures/reports/users.csv
|