canvas_sync 0.19.7 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a91046910171e14d4e61f217cf11695c23e084f609f81d76c3f562330972fcc
4
- data.tar.gz: a59ac92faa47b5bbe31302671d5adffd27be8d2dcc97943a7f0f646528ebc80f
3
+ metadata.gz: 6d62d3319fd41f63dfadc619b59f28949b9e418f4017c0ca395ba98f62cea3a5
4
+ data.tar.gz: 789f76fc7c75a901a93e841fe1d883c635af40e1772191e30682e1837d92ca7e
5
5
  SHA512:
6
- metadata.gz: 9bc14eea54a310ff8b80862e769d85c65d5e65ed4bb9cb6dc643bc030298be00035c8198290783e6e7180a5cd196a8fbb2fa2a53d3870185f8f602f6d85c189a
7
- data.tar.gz: '05790ba2ad8a85f5e2db91f61f0ed5171787f76390dd65d6e9fbaff8eb4f88fa8103b3566da6c3a705a60bcaf92aa5a2269e75af0bafecca38d8e7a3c6ae60fe'
6
+ metadata.gz: 373e4d1f08b87e585620625aa0fd15fd153fbd277b8ee81f195333a0fbc7e9e2b24aa558d63e06b9b71bbe9cbffa2f7f10f3a5b7c7a82f33566b515762356cc2
7
+ data.tar.gz: 856f8387e65df480460780a881d20764fce8dc7c78878940ba46f6b58cf6012be83cbb824c3cc5dd1c995b798a41b35492d9ab77c9194332a0748ace9dbca608
@@ -1,10 +1,20 @@
1
+ begin
2
+ require "panda_pal"
3
+ require "panda_pal/concerns/ability_helper"
4
+ rescue LoadError
5
+ end
6
+
1
7
  module CanvasSync::Concerns
2
8
  module AbilityHelper
3
9
  extend ActiveSupport::Concern
4
- include PandaPal::Concerns::AbilityHelper if defined?(PandaPal::Concerns::AbilityHelper)
5
10
 
6
- # @abstract Implemented by PandaPal
7
- def panda_pal_session; end
11
+ if defined?(PandaPal::Concerns::AbilityHelper)
12
+ include PandaPal::Concerns::AbilityHelper
13
+ else
14
+ def panda_pal_session
15
+ raise "This feature was moved to PandaPal as of CanvasSync 0.20.0/PandaPal 5.9.9. You should update to PandaPal >= 5.9.9."
16
+ end
17
+ end
8
18
 
9
19
  # Middle Domain
10
20
 
@@ -0,0 +1,11 @@
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
@@ -102,15 +102,24 @@ module CanvasSync
102
102
  options = { validate: false, on_duplicate_key_update: update_conditions }.merge(import_args)
103
103
  options.delete(:on_duplicate_key_update) if options.key?(:on_duplicate_key_ignore)
104
104
 
105
- result = klass.import(columns, rows, options)
106
-
107
- global_updates = {
108
- canvas_synced_at: DateTime.now,
109
- canvas_sync_batch_id: JobBatches::Batch.current_context[:sync_batch_id],
105
+ result = nil
106
+ callback_env = {
107
+ batch: rows,
108
+ import_result: nil,
109
+ import_options: options,
110
110
  }
111
- global_updates.slice!(*klass.column_names.map(&:to_sym))
112
- if global_updates.present? && result.ids.present?
113
- klass.where(id: result.ids).update_all(global_updates)
111
+ ClassCallbackExecutor.run_if_defined(klass, :sync_batch_import, env: callback_env) do
112
+ result = klass.import(columns, rows, options)
113
+ callback_env[:import_result] = result
114
+
115
+ global_updates = {
116
+ canvas_synced_at: DateTime.now,
117
+ canvas_sync_batch_id: JobBatches::Batch.current_context[:sync_batch_id],
118
+ }
119
+ global_updates.slice!(*klass.column_names.map(&:to_sym))
120
+ if global_updates.present? && result.ids.present?
121
+ klass.where(id: result.ids).update_all(global_updates)
122
+ end
114
123
  end
115
124
 
116
125
  result
@@ -100,6 +100,7 @@ module CanvasSync
100
100
 
101
101
  included do
102
102
  define_model_callbacks :sync_import
103
+ define_model_callbacks :sync_batch_import
103
104
 
104
105
  col_names = column_names rescue []
105
106
 
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.19.7".freeze
2
+ VERSION = "0.20.1".freeze
3
3
  end
@@ -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.19.7
4
+ version: 0.20.1
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-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -388,7 +388,7 @@ dependencies:
388
388
  - - ">="
389
389
  - !ruby/object:Gem::Version
390
390
  version: '0'
391
- description:
391
+ description:
392
392
  email:
393
393
  - pseng@instructure.com
394
394
  executables: []
@@ -415,6 +415,7 @@ files:
415
415
  - lib/canvas_sync/concerns/account/ancestry.rb
416
416
  - lib/canvas_sync/concerns/account/base.rb
417
417
  - lib/canvas_sync/concerns/api_syncable.rb
418
+ - lib/canvas_sync/concerns/auto_relations.rb
418
419
  - lib/canvas_sync/concerns/legacy_columns.rb
419
420
  - lib/canvas_sync/concerns/role/base.rb
420
421
  - lib/canvas_sync/concerns/sync_mapping.rb
@@ -750,6 +751,8 @@ files:
750
751
  - spec/support/fixtures/reports/groups.csv
751
752
  - spec/support/fixtures/reports/learning_outcomes.csv
752
753
  - spec/support/fixtures/reports/provisioning_csv
754
+ - spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
755
+ - spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
753
756
  - spec/support/fixtures/reports/rubric_assessments.csv
754
757
  - spec/support/fixtures/reports/rubric_associations.csv
755
758
  - spec/support/fixtures/reports/rubrics.csv
@@ -761,7 +764,7 @@ files:
761
764
  homepage: https://instructure.com
762
765
  licenses: []
763
766
  metadata: {}
764
- post_install_message:
767
+ post_install_message:
765
768
  rdoc_options: []
766
769
  require_paths:
767
770
  - lib
@@ -776,210 +779,212 @@ required_rubygems_version: !ruby/object:Gem::Requirement
776
779
  - !ruby/object:Gem::Version
777
780
  version: '0'
778
781
  requirements: []
779
- rubygems_version: 3.4.10
780
- signing_key:
782
+ rubygems_version: 3.1.6
783
+ signing_key:
781
784
  specification_version: 4
782
785
  summary: Gem for generating Canvas models and migrations and syncing data from Canvas
783
786
  test_files:
784
- - spec/canvas_sync/canvas_sync_spec.rb
785
- - spec/canvas_sync/jobs/canvas_process_waiter_spec.rb
786
- - spec/canvas_sync/jobs/job_spec.rb
787
- - spec/canvas_sync/jobs/report_checker_spec.rb
788
- - spec/canvas_sync/jobs/report_processor_job_spec.rb
789
- - spec/canvas_sync/jobs/report_starter_spec.rb
790
- - spec/canvas_sync/jobs/sync_admins_job_spec.rb
791
- - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
792
- - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
793
- - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
794
- - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
795
- - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
796
- - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
797
- - spec/canvas_sync/jobs/sync_roles_job_spec.rb
798
- - spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
799
- - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
800
- - spec/canvas_sync/jobs/sync_terms_job_spec.rb
801
- - spec/canvas_sync/misc_helper_spec.rb
802
- - spec/canvas_sync/models/accounts_spec.rb
787
+ - spec/canvas_sync/services/module_event_spec.rb
788
+ - spec/canvas_sync/services/module_item_event_spec.rb
803
789
  - spec/canvas_sync/models/admins_spec.rb
804
- - spec/canvas_sync/models/assignment_group_spec.rb
805
790
  - spec/canvas_sync/models/assignment_spec.rb
806
- - spec/canvas_sync/models/context_module_item_spec.rb
807
791
  - spec/canvas_sync/models/context_module_spec.rb
808
- - spec/canvas_sync/models/course_spec.rb
809
- - spec/canvas_sync/models/enrollment_spec.rb
810
792
  - spec/canvas_sync/models/group_membership_spec.rb
811
- - spec/canvas_sync/models/group_spec.rb
793
+ - spec/canvas_sync/models/context_module_item_spec.rb
812
794
  - spec/canvas_sync/models/roles_spec.rb
795
+ - spec/canvas_sync/models/accounts_spec.rb
813
796
  - spec/canvas_sync/models/section_spec.rb
797
+ - spec/canvas_sync/models/group_spec.rb
814
798
  - spec/canvas_sync/models/submission_spec.rb
815
799
  - spec/canvas_sync/models/term_spec.rb
800
+ - spec/canvas_sync/models/enrollment_spec.rb
801
+ - spec/canvas_sync/models/course_spec.rb
816
802
  - spec/canvas_sync/models/user_spec.rb
817
- - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
818
- - spec/canvas_sync/processors/assignments_processor_spec.rb
803
+ - spec/canvas_sync/models/assignment_group_spec.rb
804
+ - spec/canvas_sync/misc_helper_spec.rb
805
+ - spec/canvas_sync/jobs/sync_context_module_items_job_spec.rb
806
+ - spec/canvas_sync/jobs/sync_terms_job_spec.rb
807
+ - spec/canvas_sync/jobs/sync_context_modules_job_spec.rb
808
+ - spec/canvas_sync/jobs/sync_assignments_job_spec.rb
809
+ - spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb
810
+ - spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb
811
+ - spec/canvas_sync/jobs/sync_admins_job_spec.rb
812
+ - spec/canvas_sync/jobs/report_starter_spec.rb
813
+ - spec/canvas_sync/jobs/sync_content_migrations_job_spec.rb
814
+ - spec/canvas_sync/jobs/job_spec.rb
815
+ - spec/canvas_sync/jobs/report_processor_job_spec.rb
816
+ - spec/canvas_sync/jobs/canvas_process_waiter_spec.rb
817
+ - spec/canvas_sync/jobs/sync_submissions_job_spec.rb
818
+ - spec/canvas_sync/jobs/report_checker_spec.rb
819
+ - spec/canvas_sync/jobs/sync_roles_job_spec.rb
820
+ - spec/canvas_sync/jobs/sync_simple_table_job_spec.rb
821
+ - spec/canvas_sync/canvas_sync_spec.rb
822
+ - spec/canvas_sync/processors/provisioning_report_processor_spec.rb
819
823
  - spec/canvas_sync/processors/content_migrations_processor_spec.rb
820
- - spec/canvas_sync/processors/context_module_items_processor_spec.rb
821
- - spec/canvas_sync/processors/context_modules_processor_spec.rb
824
+ - spec/canvas_sync/processors/assignments_processor_spec.rb
822
825
  - spec/canvas_sync/processors/normal_processor_spec.rb
823
- - spec/canvas_sync/processors/provisioning_report_processor_spec.rb
824
- - spec/canvas_sync/processors/rubric_assessments_spec.rb
825
- - spec/canvas_sync/processors/rubric_associations_spec.rb
826
826
  - spec/canvas_sync/processors/rubrics_processor_spec.rb
827
+ - spec/canvas_sync/processors/context_modules_processor_spec.rb
828
+ - spec/canvas_sync/processors/assignment_groups_processor_spec.rb
829
+ - spec/canvas_sync/processors/rubric_associations_spec.rb
827
830
  - spec/canvas_sync/processors/submissions_processor_spec.rb
828
- - spec/canvas_sync/services/module_event_spec.rb
829
- - spec/canvas_sync/services/module_item_event_spec.rb
830
- - spec/dummy/README.rdoc
831
+ - spec/canvas_sync/processors/context_module_items_processor_spec.rb
832
+ - spec/canvas_sync/processors/rubric_assessments_spec.rb
833
+ - spec/job_batching/integration_helper.rb
834
+ - spec/job_batching/pool_spec.rb
835
+ - spec/job_batching/integration/integration.rb
836
+ - spec/job_batching/integration/workflow.rb
837
+ - spec/job_batching/integration/fail_then_succeed.rb
838
+ - spec/job_batching/integration/nested.rb
839
+ - spec/job_batching/integration/simple.rb
840
+ - spec/job_batching/active_job_spec.rb
841
+ - spec/job_batching/status_spec.rb
842
+ - spec/job_batching/callback_spec.rb
843
+ - spec/job_batching/sidekiq_spec.rb
844
+ - spec/job_batching/support/base_job.rb
845
+ - spec/job_batching/support/sample_callback.rb
846
+ - spec/job_batching/batch_spec.rb
847
+ - spec/job_batching/flow_spec.rb
848
+ - spec/job_batching/context_hash_spec.rb
849
+ - spec/spec_helper.rb
850
+ - spec/support/fake_canvas.rb
851
+ - spec/support/fixtures/reports/submissions.csv
852
+ - spec/support/fixtures/reports/assignments.csv
853
+ - spec/support/fixtures/reports/user_observers.csv
854
+ - spec/support/fixtures/reports/xlist.csv
855
+ - spec/support/fixtures/reports/sections.csv
856
+ - spec/support/fixtures/reports/context_modules.csv
857
+ - spec/support/fixtures/reports/users.csv
858
+ - spec/support/fixtures/reports/grading_period_groups.csv
859
+ - spec/support/fixtures/reports/learning_outcomes.csv
860
+ - spec/support/fixtures/reports/groups.csv
861
+ - spec/support/fixtures/reports/courses.csv
862
+ - spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv
863
+ - spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv
864
+ - spec/support/fixtures/reports/rubric_associations.csv
865
+ - spec/support/fixtures/reports/assignment_groups.csv
866
+ - spec/support/fixtures/reports/group_memberships.csv
867
+ - spec/support/fixtures/reports/rubric_assessments.csv
868
+ - spec/support/fixtures/reports/enrollments.csv
869
+ - spec/support/fixtures/reports/course_nicknames.csv
870
+ - spec/support/fixtures/reports/provisioning_csv
871
+ - spec/support/fixtures/reports/grading_periods.csv
872
+ - spec/support/fixtures/reports/rubrics.csv
873
+ - spec/support/fixtures/reports/content_migrations.csv
874
+ - spec/support/fixtures/reports/context_module_items.csv
875
+ - spec/support/fixtures/canvas_responses/module.json
876
+ - spec/support/fixtures/canvas_responses/terms.json
877
+ - spec/support/fixtures/canvas_responses/admins.json
878
+ - spec/support/fixtures/canvas_responses/roles.json
879
+ - spec/support/fixtures/canvas_responses/module_item.json
880
+ - spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
881
+ - spec/dummy/db/migrate/20240510101100_create_rubric_assessments.rb
882
+ - spec/dummy/db/migrate/20190702203630_create_assignment_groups.rb
883
+ - spec/dummy/db/migrate/20190702203627_create_submissions.rb
884
+ - spec/dummy/db/migrate/20190702203624_create_enrollments.rb
885
+ - spec/dummy/db/migrate/20190702203621_create_courses.rb
886
+ - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
887
+ - spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
888
+ - spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
889
+ - spec/dummy/db/migrate/20220926221926_create_users.rb
890
+ - spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
891
+ - spec/dummy/db/migrate/20190702203631_create_context_modules.rb
892
+ - spec/dummy/db/migrate/20240408223326_create_course_nicknames.rb
893
+ - spec/dummy/db/migrate/20240509105100_create_rubrics.rb
894
+ - spec/dummy/db/migrate/20240510094100_create_rubric_associations.rb
895
+ - spec/dummy/db/migrate/20190702203632_create_context_module_items.rb
896
+ - spec/dummy/db/migrate/20190927204545_create_roles.rb
897
+ - spec/dummy/db/migrate/20190702203622_create_accounts.rb
898
+ - spec/dummy/db/migrate/20190702203626_create_assignments.rb
899
+ - spec/dummy/db/migrate/20200415171620_create_groups.rb
900
+ - spec/dummy/db/migrate/20190927204546_create_admins.rb
901
+ - spec/dummy/db/migrate/20190702203625_create_sections.rb
902
+ - spec/dummy/db/migrate/20210907233329_create_user_observers.rb
903
+ - spec/dummy/db/migrate/20190702203623_create_terms.rb
904
+ - spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
905
+ - spec/dummy/db/schema.rb
831
906
  - spec/dummy/Rakefile
832
- - spec/dummy/app/models/account.rb
833
- - spec/dummy/app/models/admin.rb
834
- - spec/dummy/app/models/application_record.rb
835
- - spec/dummy/app/models/assignment.rb
836
- - spec/dummy/app/models/assignment_group.rb
837
- - spec/dummy/app/models/content_migration.rb
838
- - spec/dummy/app/models/context_module.rb
839
- - spec/dummy/app/models/context_module_item.rb
840
- - spec/dummy/app/models/course.rb
841
- - spec/dummy/app/models/course_nickname.rb
842
- - spec/dummy/app/models/enrollment.rb
843
- - spec/dummy/app/models/grading_period.rb
844
- - spec/dummy/app/models/grading_period_group.rb
845
- - spec/dummy/app/models/group.rb
846
- - spec/dummy/app/models/group_membership.rb
847
- - spec/dummy/app/models/learning_outcome.rb
848
- - spec/dummy/app/models/pseudonym.rb
849
- - spec/dummy/app/models/role.rb
850
- - spec/dummy/app/models/rubric.rb
851
- - spec/dummy/app/models/rubric_assessment.rb
852
- - spec/dummy/app/models/rubric_association.rb
853
- - spec/dummy/app/models/section.rb
854
- - spec/dummy/app/models/submission.rb
855
- - spec/dummy/app/models/term.rb
856
- - spec/dummy/app/models/user.rb
857
- - spec/dummy/app/models/user_observer.rb
858
- - spec/dummy/app/services/live_events/assignment_created_event.rb
859
- - spec/dummy/app/services/live_events/assignment_event.rb
860
- - spec/dummy/app/services/live_events/assignment_updated_event.rb
907
+ - spec/dummy/app/services/live_events/submission_event.rb
908
+ - spec/dummy/app/services/live_events/module_created_event.rb
909
+ - spec/dummy/app/services/live_events/module_item_created_event.rb
910
+ - spec/dummy/app/services/live_events/user_created_event.rb
861
911
  - spec/dummy/app/services/live_events/base_event.rb
862
- - spec/dummy/app/services/live_events/course_created_event.rb
863
- - spec/dummy/app/services/live_events/course_event.rb
864
912
  - spec/dummy/app/services/live_events/course_section_created_event.rb
865
- - spec/dummy/app/services/live_events/course_section_event.rb
866
- - spec/dummy/app/services/live_events/course_section_updated_event.rb
913
+ - spec/dummy/app/services/live_events/user_updated_event.rb
867
914
  - spec/dummy/app/services/live_events/course_updated_event.rb
915
+ - spec/dummy/app/services/live_events/submission_created_event.rb
916
+ - spec/dummy/app/services/live_events/syllabus_event.rb
917
+ - spec/dummy/app/services/live_events/module_updated_event.rb
918
+ - spec/dummy/app/services/live_events/course_event.rb
868
919
  - spec/dummy/app/services/live_events/enrollment_created_event.rb
920
+ - spec/dummy/app/services/live_events/grade_event.rb
921
+ - spec/dummy/app/services/live_events/course_section_updated_event.rb
922
+ - spec/dummy/app/services/live_events/course_created_event.rb
869
923
  - spec/dummy/app/services/live_events/enrollment_event.rb
870
- - spec/dummy/app/services/live_events/enrollment_updated_event.rb
924
+ - spec/dummy/app/services/live_events/assignment_updated_event.rb
925
+ - spec/dummy/app/services/live_events/syllabus_updated_event.rb
871
926
  - spec/dummy/app/services/live_events/grade_changed_event.rb
872
- - spec/dummy/app/services/live_events/grade_event.rb
873
- - spec/dummy/app/services/live_events/module_created_event.rb
927
+ - spec/dummy/app/services/live_events/module_item_updated_event.rb
874
928
  - spec/dummy/app/services/live_events/module_event.rb
875
- - spec/dummy/app/services/live_events/module_item_created_event.rb
929
+ - spec/dummy/app/services/live_events/course_section_event.rb
930
+ - spec/dummy/app/services/live_events/assignment_created_event.rb
931
+ - spec/dummy/app/services/live_events/enrollment_updated_event.rb
932
+ - spec/dummy/app/services/live_events/assignment_event.rb
876
933
  - spec/dummy/app/services/live_events/module_item_event.rb
877
- - spec/dummy/app/services/live_events/module_item_updated_event.rb
878
- - spec/dummy/app/services/live_events/module_updated_event.rb
879
- - spec/dummy/app/services/live_events/submission_created_event.rb
880
- - spec/dummy/app/services/live_events/submission_event.rb
881
934
  - spec/dummy/app/services/live_events/submission_updated_event.rb
882
- - spec/dummy/app/services/live_events/syllabus_event.rb
883
- - spec/dummy/app/services/live_events/syllabus_updated_event.rb
884
- - spec/dummy/app/services/live_events/user_created_event.rb
885
935
  - spec/dummy/app/services/live_events/user_event.rb
886
- - spec/dummy/app/services/live_events/user_updated_event.rb
887
- - spec/dummy/bin/rails
936
+ - spec/dummy/app/models/course_nickname.rb
937
+ - spec/dummy/app/models/user.rb
938
+ - spec/dummy/app/models/submission.rb
939
+ - spec/dummy/app/models/group_membership.rb
940
+ - spec/dummy/app/models/enrollment.rb
941
+ - spec/dummy/app/models/rubric.rb
942
+ - spec/dummy/app/models/rubric_association.rb
943
+ - spec/dummy/app/models/role.rb
944
+ - spec/dummy/app/models/account.rb
945
+ - spec/dummy/app/models/application_record.rb
946
+ - spec/dummy/app/models/admin.rb
947
+ - spec/dummy/app/models/rubric_assessment.rb
948
+ - spec/dummy/app/models/learning_outcome.rb
949
+ - spec/dummy/app/models/grading_period.rb
950
+ - spec/dummy/app/models/context_module.rb
951
+ - spec/dummy/app/models/context_module_item.rb
952
+ - spec/dummy/app/models/course.rb
953
+ - spec/dummy/app/models/section.rb
954
+ - spec/dummy/app/models/grading_period_group.rb
955
+ - spec/dummy/app/models/user_observer.rb
956
+ - spec/dummy/app/models/assignment_group.rb
957
+ - spec/dummy/app/models/assignment.rb
958
+ - spec/dummy/app/models/term.rb
959
+ - spec/dummy/app/models/pseudonym.rb
960
+ - spec/dummy/app/models/group.rb
961
+ - spec/dummy/app/models/content_migration.rb
962
+ - spec/dummy/config/secrets.yml
888
963
  - spec/dummy/config/application.rb
889
- - spec/dummy/config/boot.rb
890
- - spec/dummy/config/database.yml
891
- - spec/dummy/config/environment.rb
892
- - spec/dummy/config/environments/development.rb
893
- - spec/dummy/config/environments/test.rb
894
- - spec/dummy/config/initializers/assets.rb
895
964
  - spec/dummy/config/initializers/session_store.rb
896
965
  - spec/dummy/config/initializers/wrap_parameters.rb
966
+ - spec/dummy/config/initializers/assets.rb
967
+ - spec/dummy/config/environments/development.rb
968
+ - spec/dummy/config/environments/test.rb
969
+ - spec/dummy/config/database.yml
970
+ - spec/dummy/config/boot.rb
897
971
  - spec/dummy/config/routes.rb
898
- - spec/dummy/config/secrets.yml
972
+ - spec/dummy/config/environment.rb
973
+ - spec/dummy/README.rdoc
899
974
  - spec/dummy/config.ru
900
- - spec/dummy/db/migrate/20190702203621_create_courses.rb
901
- - spec/dummy/db/migrate/20190702203622_create_accounts.rb
902
- - spec/dummy/db/migrate/20190702203623_create_terms.rb
903
- - spec/dummy/db/migrate/20190702203624_create_enrollments.rb
904
- - spec/dummy/db/migrate/20190702203625_create_sections.rb
905
- - spec/dummy/db/migrate/20190702203626_create_assignments.rb
906
- - spec/dummy/db/migrate/20190702203627_create_submissions.rb
907
- - spec/dummy/db/migrate/20190702203630_create_assignment_groups.rb
908
- - spec/dummy/db/migrate/20190702203631_create_context_modules.rb
909
- - spec/dummy/db/migrate/20190702203632_create_context_module_items.rb
910
- - spec/dummy/db/migrate/20190927204545_create_roles.rb
911
- - spec/dummy/db/migrate/20190927204546_create_admins.rb
912
- - spec/dummy/db/migrate/20200415171620_create_groups.rb
913
- - spec/dummy/db/migrate/20200416214248_create_group_memberships.rb
914
- - spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb
915
- - spec/dummy/db/migrate/20210907233329_create_user_observers.rb
916
- - spec/dummy/db/migrate/20210907233330_create_grading_periods.rb
917
- - spec/dummy/db/migrate/20211001184920_create_grading_period_groups.rb
918
- - spec/dummy/db/migrate/20220308072643_create_content_migrations.rb
919
- - spec/dummy/db/migrate/20220712210559_create_learning_outcomes.rb
920
- - spec/dummy/db/migrate/20220926221926_create_users.rb
921
- - spec/dummy/db/migrate/20240408223326_create_course_nicknames.rb
922
- - spec/dummy/db/migrate/20240509105100_create_rubrics.rb
923
- - spec/dummy/db/migrate/20240510094100_create_rubric_associations.rb
924
- - spec/dummy/db/migrate/20240510101100_create_rubric_assessments.rb
925
- - spec/dummy/db/schema.rb
975
+ - spec/dummy/bin/rails
926
976
  - spec/factories/account_factory.rb
927
- - spec/factories/admin_factory.rb
977
+ - spec/factories/term_factory.rb
978
+ - spec/factories/enrollment_factory.rb
928
979
  - spec/factories/assignment_factory.rb
929
980
  - spec/factories/assignment_group_factory.rb
930
- - spec/factories/context_module_factory.rb
931
- - spec/factories/context_module_item_factory.rb
932
- - spec/factories/course_factory.rb
933
- - spec/factories/enrollment_factory.rb
981
+ - spec/factories/role_factory.rb
982
+ - spec/factories/admin_factory.rb
934
983
  - spec/factories/group_factory.rb
935
984
  - spec/factories/group_membership_factory.rb
936
- - spec/factories/role_factory.rb
937
985
  - spec/factories/section_factory.rb
986
+ - spec/factories/context_module_item_factory.rb
987
+ - spec/factories/course_factory.rb
938
988
  - spec/factories/submission_factory.rb
939
- - spec/factories/term_factory.rb
940
989
  - spec/factories/user_factory.rb
941
- - spec/job_batching/active_job_spec.rb
942
- - spec/job_batching/batch_spec.rb
943
- - spec/job_batching/callback_spec.rb
944
- - spec/job_batching/context_hash_spec.rb
945
- - spec/job_batching/flow_spec.rb
946
- - spec/job_batching/integration/fail_then_succeed.rb
947
- - spec/job_batching/integration/integration.rb
948
- - spec/job_batching/integration/nested.rb
949
- - spec/job_batching/integration/simple.rb
950
- - spec/job_batching/integration/workflow.rb
951
- - spec/job_batching/integration_helper.rb
952
- - spec/job_batching/pool_spec.rb
953
- - spec/job_batching/sidekiq_spec.rb
954
- - spec/job_batching/status_spec.rb
955
- - spec/job_batching/support/base_job.rb
956
- - spec/job_batching/support/sample_callback.rb
957
- - spec/spec_helper.rb
958
- - spec/support/fake_canvas.rb
959
- - spec/support/fixtures/canvas_responses/admins.json
960
- - spec/support/fixtures/canvas_responses/module.json
961
- - spec/support/fixtures/canvas_responses/module_item.json
962
- - spec/support/fixtures/canvas_responses/roles.json
963
- - spec/support/fixtures/canvas_responses/terms.json
964
- - spec/support/fixtures/reports/assignment_groups.csv
965
- - spec/support/fixtures/reports/assignments.csv
966
- - spec/support/fixtures/reports/content_migrations.csv
967
- - spec/support/fixtures/reports/context_module_items.csv
968
- - spec/support/fixtures/reports/context_modules.csv
969
- - spec/support/fixtures/reports/course_nicknames.csv
970
- - spec/support/fixtures/reports/courses.csv
971
- - spec/support/fixtures/reports/enrollments.csv
972
- - spec/support/fixtures/reports/grading_period_groups.csv
973
- - spec/support/fixtures/reports/grading_periods.csv
974
- - spec/support/fixtures/reports/group_memberships.csv
975
- - spec/support/fixtures/reports/groups.csv
976
- - spec/support/fixtures/reports/learning_outcomes.csv
977
- - spec/support/fixtures/reports/provisioning_csv
978
- - spec/support/fixtures/reports/rubric_assessments.csv
979
- - spec/support/fixtures/reports/rubric_associations.csv
980
- - spec/support/fixtures/reports/rubrics.csv
981
- - spec/support/fixtures/reports/sections.csv
982
- - spec/support/fixtures/reports/submissions.csv
983
- - spec/support/fixtures/reports/user_observers.csv
984
- - spec/support/fixtures/reports/users.csv
985
- - spec/support/fixtures/reports/xlist.csv
990
+ - spec/factories/context_module_factory.rb