canvas_sync 0.15.1 → 0.16.1
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.rb +4 -0
- data/lib/canvas_sync/generators/templates/migrations/create_submissions.rb +1 -0
- data/lib/canvas_sync/generators/templates/models/account.rb +3 -0
- data/lib/canvas_sync/generators/templates/models/submission.rb +1 -0
- data/lib/canvas_sync/processors/model_mappings.yml +3 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/db/migrate/20190702203627_create_submissions.rb +1 -0
- data/spec/dummy/db/schema.rb +1 -0
- 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
- data/spec/support/fixtures/reports/submissions.csv +3 -3
- metadata +13 -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
|
@@ -1,3 +1,3 @@
|
|
1
|
-
"canvas user id","sis user id","user name","canvas course id","sis course id","course name","assignment id","assignment name","submission date","graded date","score","points possible","submission id","workflow state","excused"
|
2
|
-
1,1,userName,1,1,courseName,1,assignmentName,2017-09-21 18:28:15 UTC,2017-09-21 19:36:23 UTC,5,10,1,graded,true
|
3
|
-
1,1,userName,1,1,courseName,2,assignment2Name,2017-09-21 18:28:15 UTC,2017-09-21 19:36:23 UTC,5,10,2,submitted,false
|
1
|
+
"canvas user id","sis user id","user name","canvas course id","sis course id","course name","assignment id","assignment name","submission date","graded date","score","points possible","submission id","workflow state","excused","due at"
|
2
|
+
1,1,userName,1,1,courseName,1,assignmentName,2017-09-21 18:28:15 UTC,2017-09-21 19:36:23 UTC,5,10,1,graded,true,2017-09-27 18:28:15 UTC
|
3
|
+
1,1,userName,1,1,courseName,2,assignment2Name,2017-09-21 18:28:15 UTC,2017-09-21 19:36:23 UTC,5,10,2,submitted,false,2017-09-28 18:28:15 UTC
|
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.
|
4
|
+
version: 0.16.1
|
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-
|
11
|
+
date: 2020-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -521,6 +521,9 @@ files:
|
|
521
521
|
- spec/dummy/db/migrate/20200415171620_create_groups.rb
|
522
522
|
- spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
|
523
523
|
- spec/dummy/db/schema.rb
|
524
|
+
- spec/dummy/db/test.sqlite3
|
525
|
+
- spec/dummy/log/development.log
|
526
|
+
- spec/dummy/log/test.log
|
524
527
|
- spec/factories/account_factory.rb
|
525
528
|
- spec/factories/admin_factory.rb
|
526
529
|
- spec/factories/assignment_factory.rb
|
@@ -552,6 +555,8 @@ files:
|
|
552
555
|
- spec/support/fixtures/reports/group_memberships.csv
|
553
556
|
- spec/support/fixtures/reports/groups.csv
|
554
557
|
- spec/support/fixtures/reports/provisioning_csv
|
558
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
559
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
555
560
|
- spec/support/fixtures/reports/sections.csv
|
556
561
|
- spec/support/fixtures/reports/submissions.csv
|
557
562
|
- spec/support/fixtures/reports/users.csv
|
@@ -574,8 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
574
579
|
- !ruby/object:Gem::Version
|
575
580
|
version: '0'
|
576
581
|
requirements: []
|
577
|
-
|
578
|
-
rubygems_version: 2.6.11
|
582
|
+
rubygems_version: 3.1.2
|
579
583
|
signing_key:
|
580
584
|
specification_version: 4
|
581
585
|
summary: Gem for generating Canvas models and migrations and syncing data from Canvas
|
@@ -696,6 +700,9 @@ test_files:
|
|
696
700
|
- spec/dummy/db/migrate/20200415171620_create_groups.rb
|
697
701
|
- spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
|
698
702
|
- spec/dummy/db/schema.rb
|
703
|
+
- spec/dummy/db/test.sqlite3
|
704
|
+
- spec/dummy/log/development.log
|
705
|
+
- spec/dummy/log/test.log
|
699
706
|
- spec/factories/account_factory.rb
|
700
707
|
- spec/factories/admin_factory.rb
|
701
708
|
- spec/factories/assignment_factory.rb
|
@@ -727,6 +734,8 @@ test_files:
|
|
727
734
|
- spec/support/fixtures/reports/group_memberships.csv
|
728
735
|
- spec/support/fixtures/reports/groups.csv
|
729
736
|
- spec/support/fixtures/reports/provisioning_csv
|
737
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
|
738
|
+
- spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
|
730
739
|
- spec/support/fixtures/reports/sections.csv
|
731
740
|
- spec/support/fixtures/reports/submissions.csv
|
732
741
|
- spec/support/fixtures/reports/users.csv
|