canvas_sync 0.22.5 → 0.22.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -0
  3. data/lib/canvas_sync/concerns/api_syncable.rb +9 -6
  4. data/lib/canvas_sync/concerns/sync_mapping.rb +11 -1
  5. data/lib/canvas_sync/generators/templates/migrations/create_enrollments.rb +1 -0
  6. data/lib/canvas_sync/generators/templates/models/course_progress.rb +8 -0
  7. data/lib/canvas_sync/importers/bulk_importer.rb +39 -69
  8. data/lib/canvas_sync/job.rb +0 -0
  9. data/lib/canvas_sync/job_batches/batch.rb +1 -1
  10. data/lib/canvas_sync/job_batches/chain_builder.rb +3 -24
  11. data/lib/canvas_sync/job_batches/jobs/managed_batch_job.rb +0 -4
  12. data/lib/canvas_sync/job_batches/status.rb +0 -1
  13. data/lib/canvas_sync/job_uniqueness/lock_context.rb +3 -15
  14. data/lib/canvas_sync/jobs/term_batches_job.rb +1 -4
  15. data/lib/canvas_sync/processors/model_mappings.yml +3 -0
  16. data/lib/canvas_sync/version.rb +1 -1
  17. data/spec/canvas_sync/canvas_sync_spec.rb +41 -59
  18. data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +4 -0
  19. data/spec/dummy/app/models/course_progress.rb +8 -0
  20. data/spec/dummy/app/models/learning_outcome_result.rb +0 -0
  21. data/spec/dummy/app/models/rubric.rb +0 -0
  22. data/spec/dummy/app/models/rubric_assessment.rb +0 -0
  23. data/spec/dummy/app/models/rubric_association.rb +0 -0
  24. data/spec/dummy/app/models/user.rb +0 -0
  25. data/spec/dummy/db/migrate/20190702203624_create_enrollments.rb +1 -0
  26. data/spec/dummy/db/migrate/20240408223326_create_course_nicknames.rb +0 -0
  27. data/spec/dummy/db/migrate/20240509105100_create_rubrics.rb +0 -0
  28. data/spec/dummy/db/schema.rb +1 -0
  29. metadata +196 -211
  30. data/lib/canvas_sync/concerns/auto_relations.rb +0 -11
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.22.5
4
+ version: 0.22.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: 7.1.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
26
+ version: 7.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -220,20 +220,6 @@ dependencies:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
- - !ruby/object:Gem::Dependency
224
- name: apartment
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - ">="
228
- - !ruby/object:Gem::Version
229
- version: '0'
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- version: '0'
237
223
  - !ruby/object:Gem::Dependency
238
224
  name: with_model
239
225
  requirement: !ruby/object:Gem::Requirement
@@ -266,14 +252,14 @@ dependencies:
266
252
  name: sidekiq
267
253
  requirement: !ruby/object:Gem::Requirement
268
254
  requirements:
269
- - - "<"
255
+ - - "~>"
270
256
  - !ruby/object:Gem::Version
271
257
  version: '7.0'
272
258
  type: :development
273
259
  prerelease: false
274
260
  version_requirements: !ruby/object:Gem::Requirement
275
261
  requirements:
276
- - - "<"
262
+ - - "~>"
277
263
  - !ruby/object:Gem::Version
278
264
  version: '7.0'
279
265
  - !ruby/object:Gem::Dependency
@@ -366,14 +352,14 @@ dependencies:
366
352
  requirements:
367
353
  - - ">="
368
354
  - !ruby/object:Gem::Version
369
- version: 1.5.8
355
+ version: 1.5.34
370
356
  type: :runtime
371
357
  prerelease: false
372
358
  version_requirements: !ruby/object:Gem::Requirement
373
359
  requirements:
374
360
  - - ">="
375
361
  - !ruby/object:Gem::Version
376
- version: 1.5.8
362
+ version: 1.5.34
377
363
  - !ruby/object:Gem::Dependency
378
364
  name: activerecord-import
379
365
  requirement: !ruby/object:Gem::Requirement
@@ -430,7 +416,7 @@ dependencies:
430
416
  - - ">="
431
417
  - !ruby/object:Gem::Version
432
418
  version: '0'
433
- description:
419
+ description:
434
420
  email:
435
421
  - pseng@instructure.com
436
422
  executables: []
@@ -458,7 +444,6 @@ files:
458
444
  - lib/canvas_sync/concerns/account/ancestry.rb
459
445
  - lib/canvas_sync/concerns/account/base.rb
460
446
  - lib/canvas_sync/concerns/api_syncable.rb
461
- - lib/canvas_sync/concerns/auto_relations.rb
462
447
  - lib/canvas_sync/concerns/legacy_columns.rb
463
448
  - lib/canvas_sync/concerns/live_event_sync.rb
464
449
  - lib/canvas_sync/concerns/role/base.rb
@@ -868,7 +853,7 @@ files:
868
853
  homepage: https://instructure.com
869
854
  licenses: []
870
855
  metadata: {}
871
- post_install_message:
856
+ post_install_message:
872
857
  rdoc_options: []
873
858
  require_paths:
874
859
  - lib
@@ -883,241 +868,241 @@ required_rubygems_version: !ruby/object:Gem::Requirement
883
868
  - !ruby/object:Gem::Version
884
869
  version: '0'
885
870
  requirements: []
886
- rubygems_version: 3.0.3.1
887
- signing_key:
871
+ rubygems_version: 3.5.16
872
+ signing_key:
888
873
  specification_version: 4
889
874
  summary: Gem for generating Canvas models and migrations and syncing data from Canvas
890
875
  test_files:
891
- - spec/spec_helper.rb
876
+ - spec/canvas_sync/canvas_sync_spec.rb
877
+ - spec/canvas_sync/jobs/canvas_process_waiter_spec.rb
878
+ - spec/canvas_sync/jobs/job_spec.rb
879
+ - spec/canvas_sync/jobs/report_checker_spec.rb
880
+ - spec/canvas_sync/jobs/report_processor_job_spec.rb
881
+ - spec/canvas_sync/jobs/report_starter_spec.rb
882
+ - spec/canvas_sync/jobs/sync_admins_job_spec.rb
883
+ - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
884
+ - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
885
+ - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
886
+ - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
887
+ - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
888
+ - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
889
+ - spec/canvas_sync/jobs/sync_roles_job_spec.rb
890
+ - spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
891
+ - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
892
+ - spec/canvas_sync/jobs/sync_terms_job_spec.rb
893
+ - spec/canvas_sync/live_events/live_event_sync_spec.rb
894
+ - spec/canvas_sync/live_events/live_events_controller_spec.rb
895
+ - spec/canvas_sync/live_events/process_event_job_spec.rb
896
+ - spec/canvas_sync/misc_helper_spec.rb
897
+ - spec/canvas_sync/models/accounts_spec.rb
898
+ - spec/canvas_sync/models/admins_spec.rb
899
+ - spec/canvas_sync/models/assignment_group_spec.rb
900
+ - spec/canvas_sync/models/assignment_spec.rb
901
+ - spec/canvas_sync/models/context_module_item_spec.rb
902
+ - spec/canvas_sync/models/context_module_spec.rb
903
+ - spec/canvas_sync/models/course_spec.rb
904
+ - spec/canvas_sync/models/enrollment_spec.rb
905
+ - spec/canvas_sync/models/group_membership_spec.rb
906
+ - spec/canvas_sync/models/group_spec.rb
907
+ - spec/canvas_sync/models/roles_spec.rb
908
+ - spec/canvas_sync/models/section_spec.rb
909
+ - spec/canvas_sync/models/submission_spec.rb
910
+ - spec/canvas_sync/models/term_spec.rb
911
+ - spec/canvas_sync/models/user_spec.rb
912
+ - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
913
+ - spec/canvas_sync/processors/assignments_processor_spec.rb
914
+ - spec/canvas_sync/processors/content_migrations_processor_spec.rb
915
+ - spec/canvas_sync/processors/context_module_items_processor_spec.rb
916
+ - spec/canvas_sync/processors/context_modules_processor_spec.rb
917
+ - spec/canvas_sync/processors/course_completion_report_processor_spec.rb
918
+ - spec/canvas_sync/processors/normal_processor_spec.rb
919
+ - spec/canvas_sync/processors/provisioning_report_processor_spec.rb
920
+ - spec/canvas_sync/processors/rubric_assessments_spec.rb
921
+ - spec/canvas_sync/processors/rubric_associations_spec.rb
922
+ - spec/canvas_sync/processors/rubrics_processor_spec.rb
923
+ - spec/canvas_sync/processors/submissions_processor_spec.rb
924
+ - spec/canvas_sync/services/module_event_spec.rb
925
+ - spec/canvas_sync/services/module_item_event_spec.rb
926
+ - spec/dummy/README.rdoc
927
+ - spec/dummy/Rakefile
928
+ - spec/dummy/app/models/account.rb
929
+ - spec/dummy/app/models/admin.rb
930
+ - spec/dummy/app/models/application_record.rb
931
+ - spec/dummy/app/models/assignment.rb
892
932
  - spec/dummy/app/models/assignment_group.rb
893
- - spec/dummy/app/models/learning_outcome_result.rb
933
+ - spec/dummy/app/models/content_migration.rb
894
934
  - spec/dummy/app/models/context_module.rb
895
- - spec/dummy/app/models/account.rb
896
- - spec/dummy/app/models/pseudonym.rb
897
- - spec/dummy/app/models/group_membership.rb
898
- - spec/dummy/app/models/grading_period.rb
935
+ - spec/dummy/app/models/context_module_item.rb
936
+ - spec/dummy/app/models/course.rb
937
+ - spec/dummy/app/models/course_nickname.rb
899
938
  - spec/dummy/app/models/course_progress.rb
900
- - spec/dummy/app/models/rubric_association.rb
901
- - spec/dummy/app/models/content_migration.rb
902
939
  - spec/dummy/app/models/enrollment.rb
903
- - spec/dummy/app/models/assignment.rb
940
+ - spec/dummy/app/models/grading_period.rb
941
+ - spec/dummy/app/models/grading_period_group.rb
904
942
  - spec/dummy/app/models/group.rb
905
- - spec/dummy/app/models/user_observer.rb
906
- - spec/dummy/app/models/admin.rb
907
- - spec/dummy/app/models/course_nickname.rb
908
- - spec/dummy/app/models/section.rb
943
+ - spec/dummy/app/models/group_membership.rb
909
944
  - spec/dummy/app/models/learning_outcome.rb
945
+ - spec/dummy/app/models/learning_outcome_result.rb
946
+ - spec/dummy/app/models/pseudonym.rb
910
947
  - spec/dummy/app/models/role.rb
911
- - spec/dummy/app/models/grading_period_group.rb
912
- - spec/dummy/app/models/term.rb
913
- - spec/dummy/app/models/submission.rb
914
- - spec/dummy/app/models/context_module_item.rb
915
- - spec/dummy/app/models/rubric_assessment.rb
916
- - spec/dummy/app/models/course.rb
917
- - spec/dummy/app/models/application_record.rb
918
948
  - spec/dummy/app/models/rubric.rb
949
+ - spec/dummy/app/models/rubric_assessment.rb
950
+ - spec/dummy/app/models/rubric_association.rb
951
+ - spec/dummy/app/models/section.rb
952
+ - spec/dummy/app/models/submission.rb
953
+ - spec/dummy/app/models/term.rb
919
954
  - spec/dummy/app/models/user.rb
920
- - spec/dummy/app/services/live_events/course_section_updated_event.rb
921
- - spec/dummy/app/services/live_events/submission_event.rb
922
- - spec/dummy/app/services/live_events/grade_event.rb
923
- - spec/dummy/app/services/live_events/module_item_event.rb
955
+ - spec/dummy/app/models/user_observer.rb
956
+ - spec/dummy/app/services/live_events/assignment_created_event.rb
957
+ - spec/dummy/app/services/live_events/assignment_event.rb
958
+ - spec/dummy/app/services/live_events/assignment_updated_event.rb
924
959
  - spec/dummy/app/services/live_events/base_event.rb
925
- - spec/dummy/app/services/live_events/grade_changed_event.rb
926
- - spec/dummy/app/services/live_events/user_updated_event.rb
927
- - spec/dummy/app/services/live_events/enrollment_event.rb
928
- - spec/dummy/app/services/live_events/module_item_updated_event.rb
929
960
  - spec/dummy/app/services/live_events/course_created_event.rb
930
- - spec/dummy/app/services/live_events/syllabus_updated_event.rb
931
961
  - spec/dummy/app/services/live_events/course_event.rb
932
- - spec/dummy/app/services/live_events/user_event.rb
933
- - spec/dummy/app/services/live_events/user_created_event.rb
934
- - spec/dummy/app/services/live_events/course_updated_event.rb
935
- - spec/dummy/app/services/live_events/module_item_created_event.rb
936
962
  - spec/dummy/app/services/live_events/course_section_created_event.rb
937
- - spec/dummy/app/services/live_events/syllabus_event.rb
938
- - spec/dummy/app/services/live_events/submission_updated_event.rb
939
963
  - spec/dummy/app/services/live_events/course_section_event.rb
940
- - spec/dummy/app/services/live_events/module_updated_event.rb
964
+ - spec/dummy/app/services/live_events/course_section_updated_event.rb
965
+ - spec/dummy/app/services/live_events/course_updated_event.rb
941
966
  - spec/dummy/app/services/live_events/enrollment_created_event.rb
942
- - spec/dummy/app/services/live_events/assignment_created_event.rb
943
- - spec/dummy/app/services/live_events/assignment_event.rb
944
- - spec/dummy/app/services/live_events/module_event.rb
967
+ - spec/dummy/app/services/live_events/enrollment_event.rb
945
968
  - spec/dummy/app/services/live_events/enrollment_updated_event.rb
946
- - spec/dummy/app/services/live_events/assignment_updated_event.rb
947
- - spec/dummy/app/services/live_events/submission_created_event.rb
969
+ - spec/dummy/app/services/live_events/grade_changed_event.rb
970
+ - spec/dummy/app/services/live_events/grade_event.rb
948
971
  - spec/dummy/app/services/live_events/module_created_event.rb
972
+ - spec/dummy/app/services/live_events/module_event.rb
973
+ - spec/dummy/app/services/live_events/module_item_created_event.rb
974
+ - spec/dummy/app/services/live_events/module_item_event.rb
975
+ - spec/dummy/app/services/live_events/module_item_updated_event.rb
976
+ - spec/dummy/app/services/live_events/module_updated_event.rb
977
+ - spec/dummy/app/services/live_events/submission_created_event.rb
978
+ - spec/dummy/app/services/live_events/submission_event.rb
979
+ - spec/dummy/app/services/live_events/submission_updated_event.rb
980
+ - spec/dummy/app/services/live_events/syllabus_event.rb
981
+ - spec/dummy/app/services/live_events/syllabus_updated_event.rb
982
+ - spec/dummy/app/services/live_events/user_created_event.rb
983
+ - spec/dummy/app/services/live_events/user_event.rb
984
+ - spec/dummy/app/services/live_events/user_updated_event.rb
949
985
  - spec/dummy/bin/rails
950
- - spec/dummy/config/secrets.yml
951
- - spec/dummy/config/routes.rb
952
- - spec/dummy/config/environments/development.rb
953
- - spec/dummy/config/environments/test.rb
954
- - spec/dummy/config/environment.rb
955
986
  - spec/dummy/config/application.rb
956
- - spec/dummy/config/database.yml
957
987
  - spec/dummy/config/boot.rb
988
+ - spec/dummy/config/database.yml
989
+ - spec/dummy/config/environment.rb
990
+ - spec/dummy/config/environments/development.rb
991
+ - spec/dummy/config/environments/test.rb
992
+ - spec/dummy/config/initializers/assets.rb
958
993
  - spec/dummy/config/initializers/session_store.rb
959
994
  - spec/dummy/config/initializers/wrap_parameters.rb
960
- - spec/dummy/config/initializers/assets.rb
995
+ - spec/dummy/config/routes.rb
996
+ - spec/dummy/config/secrets.yml
961
997
  - spec/dummy/config.ru
962
- - spec/dummy/Rakefile
963
- - spec/dummy/db/schema.rb
964
- - spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
965
- - spec/dummy/db/migrate/20190702203627_create_submissions.rb
998
+ - spec/dummy/db/migrate/20190702203621_create_courses.rb
999
+ - spec/dummy/db/migrate/20190702203622_create_accounts.rb
1000
+ - spec/dummy/db/migrate/20190702203623_create_terms.rb
966
1001
  - spec/dummy/db/migrate/20190702203624_create_enrollments.rb
1002
+ - spec/dummy/db/migrate/20190702203625_create_sections.rb
1003
+ - spec/dummy/db/migrate/20190702203626_create_assignments.rb
1004
+ - spec/dummy/db/migrate/20190702203627_create_submissions.rb
967
1005
  - spec/dummy/db/migrate/20190702203630_create_assignment_groups.rb
968
- - spec/dummy/db/migrate/20240828161300_create_course_progresses.rb
1006
+ - spec/dummy/db/migrate/20190702203631_create_context_modules.rb
969
1007
  - spec/dummy/db/migrate/20190702203632_create_context_module_items.rb
970
- - spec/dummy/db/migrate/20240408223326_create_course_nicknames.rb
971
- - spec/dummy/db/migrate/20190702203622_create_accounts.rb
1008
+ - spec/dummy/db/migrate/20190927204545_create_roles.rb
1009
+ - spec/dummy/db/migrate/20190927204546_create_admins.rb
1010
+ - spec/dummy/db/migrate/20200415171620_create_groups.rb
1011
+ - spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
1012
+ - spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
972
1013
  - spec/dummy/db/migrate/20210907233329_create_user_observers.rb
973
- - spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
974
1014
  - spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
975
- - spec/dummy/db/migrate/20240509105100_create_rubrics.rb
976
- - spec/dummy/db/migrate/20240523101010_create_learning_outcome_results.rb
977
- - spec/dummy/db/migrate/20240510094100_create_rubric_associations.rb
1015
+ - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
978
1016
  - spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
979
- - spec/dummy/db/migrate/20190702203621_create_courses.rb
980
- - spec/dummy/db/migrate/20190927204546_create_admins.rb
981
- - spec/dummy/db/migrate/20190702203623_create_terms.rb
982
- - spec/dummy/db/migrate/20190927204545_create_roles.rb
1017
+ - spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
983
1018
  - spec/dummy/db/migrate/20220926221926_create_users.rb
984
- - spec/dummy/db/migrate/20190702203625_create_sections.rb
985
- - spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
986
- - spec/dummy/db/migrate/20190702203626_create_assignments.rb
1019
+ - spec/dummy/db/migrate/20240408223326_create_course_nicknames.rb
1020
+ - spec/dummy/db/migrate/20240509105100_create_rubrics.rb
1021
+ - spec/dummy/db/migrate/20240510094100_create_rubric_associations.rb
987
1022
  - spec/dummy/db/migrate/20240510101100_create_rubric_assessments.rb
988
- - spec/dummy/db/migrate/20190702203631_create_context_modules.rb
989
- - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
990
- - spec/dummy/db/migrate/20200415171620_create_groups.rb
991
- - spec/dummy/README.rdoc
992
- - spec/canvas_sync/models/enrollment_spec.rb
993
- - spec/canvas_sync/models/admins_spec.rb
994
- - spec/canvas_sync/models/section_spec.rb
995
- - spec/canvas_sync/models/context_module_spec.rb
996
- - spec/canvas_sync/models/roles_spec.rb
997
- - spec/canvas_sync/models/term_spec.rb
998
- - spec/canvas_sync/models/assignment_spec.rb
999
- - spec/canvas_sync/models/submission_spec.rb
1000
- - spec/canvas_sync/models/context_module_item_spec.rb
1001
- - spec/canvas_sync/models/accounts_spec.rb
1002
- - spec/canvas_sync/models/assignment_group_spec.rb
1003
- - spec/canvas_sync/models/group_spec.rb
1004
- - spec/canvas_sync/models/group_membership_spec.rb
1005
- - spec/canvas_sync/models/user_spec.rb
1006
- - spec/canvas_sync/models/course_spec.rb
1007
- - spec/canvas_sync/misc_helper_spec.rb
1008
- - spec/canvas_sync/processors/context_module_items_processor_spec.rb
1009
- - spec/canvas_sync/processors/context_modules_processor_spec.rb
1010
- - spec/canvas_sync/processors/rubric_assessments_spec.rb
1011
- - spec/canvas_sync/processors/rubric_associations_spec.rb
1012
- - spec/canvas_sync/processors/normal_processor_spec.rb
1013
- - spec/canvas_sync/processors/provisioning_report_processor_spec.rb
1014
- - spec/canvas_sync/processors/course_completion_report_processor_spec.rb
1015
- - spec/canvas_sync/processors/content_migrations_processor_spec.rb
1016
- - spec/canvas_sync/processors/submissions_processor_spec.rb
1017
- - spec/canvas_sync/processors/assignments_processor_spec.rb
1018
- - spec/canvas_sync/processors/rubrics_processor_spec.rb
1019
- - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
1020
- - spec/canvas_sync/jobs/report_checker_spec.rb
1021
- - spec/canvas_sync/jobs/canvas_process_waiter_spec.rb
1022
- - spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
1023
- - spec/canvas_sync/jobs/job_spec.rb
1024
- - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
1025
- - spec/canvas_sync/jobs/report_starter_spec.rb
1026
- - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
1027
- - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
1028
- - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
1029
- - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
1030
- - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
1031
- - spec/canvas_sync/jobs/sync_admins_job_spec.rb
1032
- - spec/canvas_sync/jobs/sync_roles_job_spec.rb
1033
- - spec/canvas_sync/jobs/sync_terms_job_spec.rb
1034
- - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
1035
- - spec/canvas_sync/jobs/report_processor_job_spec.rb
1036
- - spec/canvas_sync/canvas_sync_spec.rb
1037
- - spec/canvas_sync/services/module_item_event_spec.rb
1038
- - spec/canvas_sync/services/module_event_spec.rb
1039
- - spec/canvas_sync/live_events/live_event_sync_spec.rb
1040
- - spec/canvas_sync/live_events/live_events_controller_spec.rb
1041
- - spec/canvas_sync/live_events/process_event_job_spec.rb
1042
- - spec/job_uniqueness/spec_helper.rb
1043
- - spec/job_uniqueness/lock_context_spec.rb
1044
- - spec/job_uniqueness/on_conflict_spec.rb
1045
- - spec/job_uniqueness/compat/sidekiq_spec.rb
1046
- - spec/job_uniqueness/compat/active_job_spec.rb
1047
- - spec/job_uniqueness/on_conflict/reschedule_spec.rb
1048
- - spec/job_uniqueness/on_conflict/raise_spec.rb
1049
- - spec/job_uniqueness/on_conflict/log_spec.rb
1050
- - spec/job_uniqueness/unique_job_common_spec.rb
1051
- - spec/job_uniqueness/support/test_worker.rb
1052
- - spec/job_uniqueness/support/lock_strategy.rb
1053
- - spec/job_uniqueness/support/on_conflict.rb
1054
- - spec/job_uniqueness/strategy/until_executed_spec.rb
1055
- - spec/job_uniqueness/strategy/until_and_while_executing_spec.rb
1056
- - spec/job_uniqueness/strategy/until_executing_spec.rb
1057
- - spec/job_uniqueness/strategy/until_expired_spec.rb
1058
- - spec/job_uniqueness/strategy/while_executing_spec.rb
1059
- - spec/job_uniqueness/strategy/base_spec.rb
1023
+ - spec/dummy/db/migrate/20240523101010_create_learning_outcome_results.rb
1024
+ - spec/dummy/db/migrate/20240828161300_create_course_progresses.rb
1025
+ - spec/dummy/db/schema.rb
1026
+ - spec/factories/account_factory.rb
1027
+ - spec/factories/admin_factory.rb
1028
+ - spec/factories/assignment_factory.rb
1029
+ - spec/factories/assignment_group_factory.rb
1030
+ - spec/factories/context_module_factory.rb
1031
+ - spec/factories/context_module_item_factory.rb
1032
+ - spec/factories/course_factory.rb
1033
+ - spec/factories/enrollment_factory.rb
1034
+ - spec/factories/group_factory.rb
1035
+ - spec/factories/group_membership_factory.rb
1036
+ - spec/factories/role_factory.rb
1037
+ - spec/factories/section_factory.rb
1038
+ - spec/factories/submission_factory.rb
1039
+ - spec/factories/term_factory.rb
1040
+ - spec/factories/user_factory.rb
1060
1041
  - spec/job_batching/batch_spec.rb
1061
- - spec/job_batching/pool_spec.rb
1062
- - spec/job_batching/context_hash_spec.rb
1063
- - spec/job_batching/compat/sidekiq_spec.rb
1042
+ - spec/job_batching/callback_spec.rb
1064
1043
  - spec/job_batching/compat/active_job_spec.rb
1044
+ - spec/job_batching/compat/sidekiq_spec.rb
1045
+ - spec/job_batching/context_hash_spec.rb
1046
+ - spec/job_batching/flow_spec.rb
1047
+ - spec/job_batching/integration/fail_then_succeed.rb
1048
+ - spec/job_batching/integration/integration.rb
1065
1049
  - spec/job_batching/integration/nested.rb
1066
- - spec/job_batching/integration/workflow.rb
1067
1050
  - spec/job_batching/integration/simple.rb
1068
- - spec/job_batching/integration/integration.rb
1069
- - spec/job_batching/integration/fail_then_succeed.rb
1051
+ - spec/job_batching/integration/workflow.rb
1070
1052
  - spec/job_batching/integration_helper.rb
1071
- - spec/job_batching/flow_spec.rb
1053
+ - spec/job_batching/pool_spec.rb
1072
1054
  - spec/job_batching/status_spec.rb
1073
1055
  - spec/job_batching/support/base_job.rb
1074
1056
  - spec/job_batching/support/sample_callback.rb
1075
- - spec/job_batching/callback_spec.rb
1057
+ - spec/job_uniqueness/compat/active_job_spec.rb
1058
+ - spec/job_uniqueness/compat/sidekiq_spec.rb
1059
+ - spec/job_uniqueness/lock_context_spec.rb
1060
+ - spec/job_uniqueness/on_conflict/log_spec.rb
1061
+ - spec/job_uniqueness/on_conflict/raise_spec.rb
1062
+ - spec/job_uniqueness/on_conflict/reschedule_spec.rb
1063
+ - spec/job_uniqueness/on_conflict_spec.rb
1064
+ - spec/job_uniqueness/spec_helper.rb
1065
+ - spec/job_uniqueness/strategy/base_spec.rb
1066
+ - spec/job_uniqueness/strategy/until_and_while_executing_spec.rb
1067
+ - spec/job_uniqueness/strategy/until_executed_spec.rb
1068
+ - spec/job_uniqueness/strategy/until_executing_spec.rb
1069
+ - spec/job_uniqueness/strategy/until_expired_spec.rb
1070
+ - spec/job_uniqueness/strategy/while_executing_spec.rb
1071
+ - spec/job_uniqueness/support/lock_strategy.rb
1072
+ - spec/job_uniqueness/support/on_conflict.rb
1073
+ - spec/job_uniqueness/support/test_worker.rb
1074
+ - spec/job_uniqueness/unique_job_common_spec.rb
1075
+ - spec/spec_helper.rb
1076
1076
  - spec/support/fake_canvas.rb
1077
- - spec/support/fixtures/canvas_responses/roles.json
1078
1077
  - spec/support/fixtures/canvas_responses/admins.json
1078
+ - spec/support/fixtures/canvas_responses/module.json
1079
1079
  - spec/support/fixtures/canvas_responses/module_item.json
1080
+ - spec/support/fixtures/canvas_responses/roles.json
1080
1081
  - spec/support/fixtures/canvas_responses/terms.json
1081
- - spec/support/fixtures/canvas_responses/module.json
1082
- - spec/support/fixtures/reports/groups.csv
1083
- - spec/support/fixtures/reports/grading_period_groups.csv
1084
- - spec/support/fixtures/reports/learning_outcomes.csv
1082
+ - spec/support/fixtures/reports/assignment_groups.csv
1083
+ - spec/support/fixtures/reports/assignments.csv
1084
+ - spec/support/fixtures/reports/content_migrations.csv
1085
1085
  - spec/support/fixtures/reports/context_module_items.csv
1086
1086
  - spec/support/fixtures/reports/context_modules.csv
1087
- - spec/support/fixtures/reports/group_memberships.csv
1088
- - spec/support/fixtures/reports/content_migrations.csv
1089
- - spec/support/fixtures/reports/users.csv
1090
- - spec/support/fixtures/reports/submissions.csv
1091
- - spec/support/fixtures/reports/course_progresses_conflict.csv
1092
1087
  - spec/support/fixtures/reports/course_nicknames.csv
1088
+ - spec/support/fixtures/reports/course_progresses.csv
1089
+ - spec/support/fixtures/reports/course_progresses_conflict.csv
1090
+ - spec/support/fixtures/reports/courses.csv
1093
1091
  - spec/support/fixtures/reports/enrollments.csv
1094
- - spec/support/fixtures/reports/sections.csv
1095
- - spec/support/fixtures/reports/assignments.csv
1092
+ - spec/support/fixtures/reports/grading_period_groups.csv
1096
1093
  - spec/support/fixtures/reports/grading_periods.csv
1097
- - spec/support/fixtures/reports/courses.csv
1098
- - spec/support/fixtures/reports/rubric_associations.csv
1099
- - spec/support/fixtures/reports/xlist.csv
1094
+ - spec/support/fixtures/reports/group_memberships.csv
1095
+ - spec/support/fixtures/reports/groups.csv
1096
+ - spec/support/fixtures/reports/learning_outcome_results.csv
1097
+ - spec/support/fixtures/reports/learning_outcomes.csv
1100
1098
  - spec/support/fixtures/reports/provisioning_csv
1101
- - spec/support/fixtures/reports/user_observers.csv
1102
- - spec/support/fixtures/reports/rubrics.csv
1103
- - spec/support/fixtures/reports/assignment_groups.csv
1104
- - spec/support/fixtures/reports/course_progresses.csv
1105
- - spec/support/fixtures/reports/rubric_assessments.csv
1106
- - spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
1107
1099
  - spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
1108
- - spec/support/fixtures/reports/learning_outcome_results.csv
1109
- - spec/factories/course_factory.rb
1110
- - spec/factories/admin_factory.rb
1111
- - spec/factories/group_membership_factory.rb
1112
- - spec/factories/user_factory.rb
1113
- - spec/factories/role_factory.rb
1114
- - spec/factories/assignment_factory.rb
1115
- - spec/factories/term_factory.rb
1116
- - spec/factories/group_factory.rb
1117
- - spec/factories/section_factory.rb
1118
- - spec/factories/enrollment_factory.rb
1119
- - spec/factories/context_module_factory.rb
1120
- - spec/factories/context_module_item_factory.rb
1121
- - spec/factories/submission_factory.rb
1122
- - spec/factories/assignment_group_factory.rb
1123
- - spec/factories/account_factory.rb
1100
+ - spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
1101
+ - spec/support/fixtures/reports/rubric_assessments.csv
1102
+ - spec/support/fixtures/reports/rubric_associations.csv
1103
+ - spec/support/fixtures/reports/rubrics.csv
1104
+ - spec/support/fixtures/reports/sections.csv
1105
+ - spec/support/fixtures/reports/submissions.csv
1106
+ - spec/support/fixtures/reports/user_observers.csv
1107
+ - spec/support/fixtures/reports/users.csv
1108
+ - spec/support/fixtures/reports/xlist.csv
@@ -1,11 +0,0 @@
1
- module CanvasSync::Concerns
2
- module AutoRelations
3
- extend ActiveSupport::Concern
4
-
5
- # CanvasSync::Record.define_feature self, default: true
6
-
7
- included do
8
-
9
- end
10
- end
11
- end