canvas_sync 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +79 -0
- data/lib/canvas_sync.rb +45 -0
- data/lib/canvas_sync/importers/bulk_importer.rb +12 -7
- data/lib/canvas_sync/jobs/sync_simple_table_job.rb +41 -0
- data/lib/canvas_sync/processors/normal_processor.rb +26 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/canvas_sync_spec.rb +77 -0
- data/spec/canvas_sync/jobs/sync_simple_table_job_spec.rb +57 -0
- data/spec/canvas_sync/processors/normal_processor_spec.rb +27 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +903 -3843
- data/spec/dummy/log/test.log +34545 -64333
- metadata +9 -5
- data/spec/dummy/db/development.sqlite3 +0 -0
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.8.0
|
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-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -392,6 +392,7 @@ files:
|
|
392
392
|
- lib/canvas_sync/jobs/sync_context_modules_job.rb
|
393
393
|
- lib/canvas_sync/jobs/sync_provisioning_report_job.rb
|
394
394
|
- lib/canvas_sync/jobs/sync_roles_job.rb
|
395
|
+
- lib/canvas_sync/jobs/sync_simple_table_job.rb
|
395
396
|
- lib/canvas_sync/jobs/sync_submissions_job.rb
|
396
397
|
- lib/canvas_sync/jobs/sync_terms_job.rb
|
397
398
|
- lib/canvas_sync/jobs/sync_users_job.rb
|
@@ -400,6 +401,7 @@ files:
|
|
400
401
|
- lib/canvas_sync/processors/context_module_items_processor.rb
|
401
402
|
- lib/canvas_sync/processors/context_modules_processor.rb
|
402
403
|
- lib/canvas_sync/processors/model_mappings.yml
|
404
|
+
- lib/canvas_sync/processors/normal_processor.rb
|
403
405
|
- lib/canvas_sync/processors/provisioning_report_processor.rb
|
404
406
|
- lib/canvas_sync/processors/report_processor.rb
|
405
407
|
- lib/canvas_sync/processors/submissions_processor.rb
|
@@ -417,6 +419,7 @@ files:
|
|
417
419
|
- spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
|
418
420
|
- spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
|
419
421
|
- spec/canvas_sync/jobs/sync_roles_job_spec.rb
|
422
|
+
- spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
|
420
423
|
- spec/canvas_sync/jobs/sync_submissions_job_spec.rb
|
421
424
|
- spec/canvas_sync/jobs/sync_terms_job_spec.rb
|
422
425
|
- spec/canvas_sync/jobs/sync_users_job_spec.rb
|
@@ -437,6 +440,7 @@ files:
|
|
437
440
|
- spec/canvas_sync/processors/assignments_processor_spec.rb
|
438
441
|
- spec/canvas_sync/processors/context_module_items_processor_spec.rb
|
439
442
|
- spec/canvas_sync/processors/context_modules_processor_spec.rb
|
443
|
+
- spec/canvas_sync/processors/normal_processor_spec.rb
|
440
444
|
- spec/canvas_sync/processors/provisioning_report_processor_spec.rb
|
441
445
|
- spec/canvas_sync/processors/submissions_processor_spec.rb
|
442
446
|
- spec/canvas_sync/services/module_event_spec.rb
|
@@ -499,7 +503,6 @@ files:
|
|
499
503
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
500
504
|
- spec/dummy/config/routes.rb
|
501
505
|
- spec/dummy/config/secrets.yml
|
502
|
-
- spec/dummy/db/development.sqlite3
|
503
506
|
- spec/dummy/db/migrate/20170905192509_create_enrollments.rb
|
504
507
|
- spec/dummy/db/migrate/20170906193506_create_terms.rb
|
505
508
|
- spec/dummy/db/migrate/20170914181345_create_courses.rb
|
@@ -569,7 +572,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
569
572
|
version: '0'
|
570
573
|
requirements: []
|
571
574
|
rubyforge_project:
|
572
|
-
rubygems_version: 2.
|
575
|
+
rubygems_version: 2.6.12
|
573
576
|
signing_key:
|
574
577
|
specification_version: 4
|
575
578
|
summary: Gem for generating Canvas models and migrations and syncing data from Canvas
|
@@ -586,6 +589,7 @@ test_files:
|
|
586
589
|
- spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
|
587
590
|
- spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
|
588
591
|
- spec/canvas_sync/jobs/sync_roles_job_spec.rb
|
592
|
+
- spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
|
589
593
|
- spec/canvas_sync/jobs/sync_submissions_job_spec.rb
|
590
594
|
- spec/canvas_sync/jobs/sync_terms_job_spec.rb
|
591
595
|
- spec/canvas_sync/jobs/sync_users_job_spec.rb
|
@@ -606,6 +610,7 @@ test_files:
|
|
606
610
|
- spec/canvas_sync/processors/assignments_processor_spec.rb
|
607
611
|
- spec/canvas_sync/processors/context_module_items_processor_spec.rb
|
608
612
|
- spec/canvas_sync/processors/context_modules_processor_spec.rb
|
613
|
+
- spec/canvas_sync/processors/normal_processor_spec.rb
|
609
614
|
- spec/canvas_sync/processors/provisioning_report_processor_spec.rb
|
610
615
|
- spec/canvas_sync/processors/submissions_processor_spec.rb
|
611
616
|
- spec/canvas_sync/services/module_event_spec.rb
|
@@ -668,7 +673,6 @@ test_files:
|
|
668
673
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
669
674
|
- spec/dummy/config/routes.rb
|
670
675
|
- spec/dummy/config/secrets.yml
|
671
|
-
- spec/dummy/db/development.sqlite3
|
672
676
|
- spec/dummy/db/migrate/20170905192509_create_enrollments.rb
|
673
677
|
- spec/dummy/db/migrate/20170906193506_create_terms.rb
|
674
678
|
- spec/dummy/db/migrate/20170914181345_create_courses.rb
|
Binary file
|