canvas_sync 0.15.1 → 0.16.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/db/migrate/20170915210836_create_canvas_sync_job_log.rb +12 -31
  3. data/db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb +4 -13
  4. data/db/migrate/20190916154829_add_fork_count_to_canvas_sync_job_logs.rb +3 -11
  5. data/lib/canvas_sync.rb +11 -27
  6. data/lib/canvas_sync/concerns/api_syncable.rb +27 -0
  7. data/lib/canvas_sync/concerns/legacy_columns.rb +5 -4
  8. data/lib/canvas_sync/generators/templates/migrations/create_submissions.rb +1 -0
  9. data/lib/canvas_sync/generators/templates/models/account.rb +3 -0
  10. data/lib/canvas_sync/generators/templates/models/submission.rb +1 -0
  11. data/lib/canvas_sync/importers/bulk_importer.rb +7 -4
  12. data/lib/canvas_sync/job.rb +8 -2
  13. data/lib/canvas_sync/job_chain.rb +46 -1
  14. data/lib/canvas_sync/jobs/fork_gather.rb +27 -12
  15. data/lib/canvas_sync/jobs/report_starter.rb +1 -1
  16. data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +5 -5
  17. data/lib/canvas_sync/jobs/sync_simple_table_job.rb +4 -4
  18. data/lib/canvas_sync/misc_helper.rb +15 -0
  19. data/lib/canvas_sync/processors/assignment_groups_processor.rb +3 -2
  20. data/lib/canvas_sync/processors/assignments_processor.rb +3 -2
  21. data/lib/canvas_sync/processors/context_module_items_processor.rb +3 -2
  22. data/lib/canvas_sync/processors/context_modules_processor.rb +3 -2
  23. data/lib/canvas_sync/processors/model_mappings.yml +3 -0
  24. data/lib/canvas_sync/processors/normal_processor.rb +2 -1
  25. data/lib/canvas_sync/processors/provisioning_report_processor.rb +10 -2
  26. data/lib/canvas_sync/processors/submissions_processor.rb +3 -2
  27. data/lib/canvas_sync/version.rb +1 -1
  28. data/spec/canvas_sync/jobs/fork_gather_spec.rb +9 -9
  29. data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +2 -2
  30. data/spec/canvas_sync/jobs/sync_simple_table_job_spec.rb +1 -1
  31. data/spec/dummy/app/models/account.rb +3 -0
  32. data/spec/dummy/app/models/pseudonym.rb +14 -0
  33. data/spec/dummy/app/models/submission.rb +1 -0
  34. data/spec/dummy/app/models/user.rb +1 -0
  35. data/spec/dummy/db/migrate/20190702203627_create_submissions.rb +1 -0
  36. data/spec/dummy/db/migrate/20201016181346_create_pseudonyms.rb +24 -0
  37. data/spec/dummy/db/schema.rb +17 -4
  38. data/spec/dummy/db/test.sqlite3 +0 -0
  39. data/spec/dummy/log/development.log +1248 -0
  40. data/spec/dummy/log/test.log +43258 -0
  41. data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +3 -0
  42. data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +4 -0
  43. data/spec/support/fixtures/reports/submissions.csv +3 -3
  44. metadata +22 -8

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.