canvas_sync 0.17.27 → 0.17.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -483,12 +483,6 @@ RSpec.describe CanvasSync::JobBatches::Batch do
483
483
  r.sadd('KEY', 5)
484
484
  end
485
485
  end
486
-
487
- it 'works with 0 arity' do
488
- proxy.multi do
489
- proxy.sadd('KEY', 5)
490
- end
491
- end
492
486
  end
493
487
  end
494
488
  end
@@ -0,0 +1,3 @@
1
+ canvas_migration_id,canvas_context_id,canvas_context_type,workflow_state,migration_settings,started_at,finished_at,progress,canvas_source_course_id,migration_type,canvas_child_subscription_id,canvas_root_account_id
2
+ 101,1250,Course,imported,,2022-02-18 10:10:40,2022-02-18 10:11:40,100,1200,course_copy_importer,,1
3
+ 102,1251,Course,imported,,2022-02-18 10:10:40,2022-02-18 10:11:40,100,1120,master_course_import,3,1
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.27
4
+ version: 0.17.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -381,6 +381,7 @@ files:
381
381
  - lib/canvas_sync/generators/templates/migrations/create_admins.rb
382
382
  - lib/canvas_sync/generators/templates/migrations/create_assignment_groups.rb
383
383
  - lib/canvas_sync/generators/templates/migrations/create_assignments.rb
384
+ - lib/canvas_sync/generators/templates/migrations/create_content_migrations.rb
384
385
  - lib/canvas_sync/generators/templates/migrations/create_context_module_items.rb
385
386
  - lib/canvas_sync/generators/templates/migrations/create_context_modules.rb
386
387
  - lib/canvas_sync/generators/templates/migrations/create_courses.rb
@@ -400,6 +401,7 @@ files:
400
401
  - lib/canvas_sync/generators/templates/models/admin.rb
401
402
  - lib/canvas_sync/generators/templates/models/assignment.rb
402
403
  - lib/canvas_sync/generators/templates/models/assignment_group.rb
404
+ - lib/canvas_sync/generators/templates/models/content_migration.rb
403
405
  - lib/canvas_sync/generators/templates/models/context_module.rb
404
406
  - lib/canvas_sync/generators/templates/models/context_module_item.rb
405
407
  - lib/canvas_sync/generators/templates/models/course.rb
@@ -469,6 +471,7 @@ files:
469
471
  - lib/canvas_sync/jobs/sync_admins_job.rb
470
472
  - lib/canvas_sync/jobs/sync_assignment_groups_job.rb
471
473
  - lib/canvas_sync/jobs/sync_assignments_job.rb
474
+ - lib/canvas_sync/jobs/sync_content_migrations_job.rb
472
475
  - lib/canvas_sync/jobs/sync_context_module_items_job.rb
473
476
  - lib/canvas_sync/jobs/sync_context_modules_job.rb
474
477
  - lib/canvas_sync/jobs/sync_provisioning_report_job.rb
@@ -480,6 +483,7 @@ files:
480
483
  - lib/canvas_sync/misc_helper.rb
481
484
  - lib/canvas_sync/processors/assignment_groups_processor.rb
482
485
  - lib/canvas_sync/processors/assignments_processor.rb
486
+ - lib/canvas_sync/processors/content_migrations_processor.rb
483
487
  - lib/canvas_sync/processors/context_module_items_processor.rb
484
488
  - lib/canvas_sync/processors/context_modules_processor.rb
485
489
  - lib/canvas_sync/processors/model_mappings.yml
@@ -498,6 +502,7 @@ files:
498
502
  - spec/canvas_sync/jobs/sync_admins_job_spec.rb
499
503
  - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
500
504
  - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
505
+ - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
501
506
  - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
502
507
  - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
503
508
  - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
@@ -522,6 +527,7 @@ files:
522
527
  - spec/canvas_sync/models/user_spec.rb
523
528
  - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
524
529
  - spec/canvas_sync/processors/assignments_processor_spec.rb
530
+ - spec/canvas_sync/processors/content_migrations_processor_spec.rb
525
531
  - spec/canvas_sync/processors/context_module_items_processor_spec.rb
526
532
  - spec/canvas_sync/processors/context_modules_processor_spec.rb
527
533
  - spec/canvas_sync/processors/normal_processor_spec.rb
@@ -536,6 +542,7 @@ files:
536
542
  - spec/dummy/app/models/application_record.rb
537
543
  - spec/dummy/app/models/assignment.rb
538
544
  - spec/dummy/app/models/assignment_group.rb
545
+ - spec/dummy/app/models/content_migration.rb
539
546
  - spec/dummy/app/models/context_module.rb
540
547
  - spec/dummy/app/models/context_module_item.rb
541
548
  - spec/dummy/app/models/course.rb
@@ -612,6 +619,7 @@ files:
612
619
  - spec/dummy/db/migrate/20210907233329_create_user_observers.rb
613
620
  - spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
614
621
  - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
622
+ - spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
615
623
  - spec/dummy/db/schema.rb
616
624
  - spec/dummy/log/development.log
617
625
  - spec/dummy/log/test.log
@@ -654,6 +662,7 @@ files:
654
662
  - spec/support/fixtures/canvas_responses/terms.json
655
663
  - spec/support/fixtures/reports/assignment_groups.csv
656
664
  - spec/support/fixtures/reports/assignments.csv
665
+ - spec/support/fixtures/reports/content_migrations.csv
657
666
  - spec/support/fixtures/reports/context_module_items.csv
658
667
  - spec/support/fixtures/reports/context_modules.csv
659
668
  - spec/support/fixtures/reports/courses.csv
@@ -701,6 +710,7 @@ test_files:
701
710
  - spec/canvas_sync/jobs/sync_admins_job_spec.rb
702
711
  - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
703
712
  - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
713
+ - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
704
714
  - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
705
715
  - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
706
716
  - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
@@ -725,6 +735,7 @@ test_files:
725
735
  - spec/canvas_sync/models/user_spec.rb
726
736
  - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
727
737
  - spec/canvas_sync/processors/assignments_processor_spec.rb
738
+ - spec/canvas_sync/processors/content_migrations_processor_spec.rb
728
739
  - spec/canvas_sync/processors/context_module_items_processor_spec.rb
729
740
  - spec/canvas_sync/processors/context_modules_processor_spec.rb
730
741
  - spec/canvas_sync/processors/normal_processor_spec.rb
@@ -739,6 +750,7 @@ test_files:
739
750
  - spec/dummy/app/models/application_record.rb
740
751
  - spec/dummy/app/models/assignment.rb
741
752
  - spec/dummy/app/models/assignment_group.rb
753
+ - spec/dummy/app/models/content_migration.rb
742
754
  - spec/dummy/app/models/context_module.rb
743
755
  - spec/dummy/app/models/context_module_item.rb
744
756
  - spec/dummy/app/models/course.rb
@@ -815,6 +827,7 @@ test_files:
815
827
  - spec/dummy/db/migrate/20210907233329_create_user_observers.rb
816
828
  - spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
817
829
  - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
830
+ - spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
818
831
  - spec/dummy/db/schema.rb
819
832
  - spec/dummy/log/development.log
820
833
  - spec/dummy/log/test.log
@@ -857,6 +870,7 @@ test_files:
857
870
  - spec/support/fixtures/canvas_responses/terms.json
858
871
  - spec/support/fixtures/reports/assignment_groups.csv
859
872
  - spec/support/fixtures/reports/assignments.csv
873
+ - spec/support/fixtures/reports/content_migrations.csv
860
874
  - spec/support/fixtures/reports/context_module_items.csv
861
875
  - spec/support/fixtures/reports/context_modules.csv
862
876
  - spec/support/fixtures/reports/courses.csv