bearcat 1.5.34.2 → 1.5.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +0 -0
  3. data/lib/badgrcat/api_array.rb +0 -0
  4. data/lib/badgrcat/version.rb +0 -0
  5. data/lib/bearcat/api_array.rb +1 -1
  6. data/lib/bearcat/client/account_reports.rb +0 -0
  7. data/lib/bearcat/client/accounts.rb +0 -0
  8. data/lib/bearcat/client/analytics.rb +0 -0
  9. data/lib/bearcat/client/assignment_groups.rb +0 -0
  10. data/lib/bearcat/client/assignments.rb +0 -0
  11. data/lib/bearcat/client/blueprint_courses.rb +0 -0
  12. data/lib/bearcat/client/calendar_events.rb +0 -0
  13. data/lib/bearcat/client/canvas_files.rb +0 -0
  14. data/lib/bearcat/client/conferences.rb +0 -0
  15. data/lib/bearcat/client/content_exports.rb +0 -0
  16. data/lib/bearcat/client/content_migrations.rb +0 -0
  17. data/lib/bearcat/client/conversations.rb +0 -0
  18. data/lib/bearcat/client/custom_gradebook_columns.rb +0 -0
  19. data/lib/bearcat/client/discussions.rb +0 -0
  20. data/lib/bearcat/client/enrollments.rb +0 -0
  21. data/lib/bearcat/client/external_tools.rb +0 -0
  22. data/lib/bearcat/client/file_helper.rb +0 -0
  23. data/lib/bearcat/client/files.rb +0 -0
  24. data/lib/bearcat/client/folders.rb +0 -0
  25. data/lib/bearcat/client/group_categories.rb +0 -0
  26. data/lib/bearcat/client/group_memberships.rb +0 -0
  27. data/lib/bearcat/client/groups.rb +0 -0
  28. data/lib/bearcat/client/learning_outcomes.rb +0 -0
  29. data/lib/bearcat/client/logins.rb +0 -0
  30. data/lib/bearcat/client/module_items.rb +0 -0
  31. data/lib/bearcat/client/modules.rb +0 -0
  32. data/lib/bearcat/client/o_auth2.rb +0 -0
  33. data/lib/bearcat/client/outcome_groups.rb +0 -0
  34. data/lib/bearcat/client/outcome_imports.rb +0 -0
  35. data/lib/bearcat/client/outcomes.rb +0 -0
  36. data/lib/bearcat/client/pages.rb +0 -0
  37. data/lib/bearcat/client/progresses.rb +0 -0
  38. data/lib/bearcat/client/quizzes.rb +0 -0
  39. data/lib/bearcat/client/reports.rb +2 -9
  40. data/lib/bearcat/client/roles.rb +0 -0
  41. data/lib/bearcat/client/rubric.rb +0 -0
  42. data/lib/bearcat/client/rubric_assessment.rb +0 -0
  43. data/lib/bearcat/client/rubric_association.rb +0 -0
  44. data/lib/bearcat/client/search.rb +0 -0
  45. data/lib/bearcat/client/sections.rb +0 -0
  46. data/lib/bearcat/client/sis_imports.rb +0 -0
  47. data/lib/bearcat/client/tabs.rb +0 -0
  48. data/lib/bearcat/client_module.rb +0 -0
  49. data/lib/bearcat/rate_limiting/increment_bucket.lua +0 -0
  50. data/lib/bearcat/rate_limiting/redis_script.rb +0 -0
  51. data/lib/bearcat/rate_limiting.rb +0 -0
  52. data/lib/bearcat/version.rb +1 -1
  53. data/lib/bearcat.rb +12 -9
  54. data/lib/catalogcat/api_array.rb +0 -0
  55. data/lib/catalogcat/client/catalogs.rb +0 -0
  56. data/lib/catalogcat/client/certificates.rb +0 -0
  57. data/lib/catalogcat/client/courses.rb +0 -0
  58. data/lib/catalogcat/client/email_domain_sets.rb +0 -0
  59. data/lib/catalogcat/client/enrollments.rb +0 -0
  60. data/lib/catalogcat/client/orders.rb +0 -0
  61. data/lib/catalogcat/client/user_registrations.rb +0 -0
  62. data/lib/catalogcat/client.rb +0 -0
  63. data/lib/catalogcat/version.rb +0 -0
  64. data/lib/catalogcat.rb +0 -0
  65. data/spec/bearcat/api_array_spec.rb +0 -0
  66. data/spec/bearcat/client/accounts_spec.rb +0 -0
  67. data/spec/bearcat/client/analytics_spec.rb +0 -0
  68. data/spec/bearcat/client/assignment_groups_spec.rb +0 -0
  69. data/spec/bearcat/client/assignments_spec.rb +0 -0
  70. data/spec/bearcat/client/blueprint_courses_spec.rb +0 -0
  71. data/spec/bearcat/client/calendar_events_spec.rb +0 -0
  72. data/spec/bearcat/client/canvas_files_spec.rb +0 -0
  73. data/spec/bearcat/client/conferences_spec.rb +0 -0
  74. data/spec/bearcat/client/content_exports_spec.rb +0 -0
  75. data/spec/bearcat/client/content_migrations_spec.rb +0 -0
  76. data/spec/bearcat/client/conversations_spec.rb +0 -0
  77. data/spec/bearcat/client/courses_spec.rb +0 -0
  78. data/spec/bearcat/client/custom_gradebook_columns_spec.rb +0 -0
  79. data/spec/bearcat/client/discussions_spec.rb +0 -0
  80. data/spec/bearcat/client/enrollments_spec.rb +0 -0
  81. data/spec/bearcat/client/external_tools_spec.rb +0 -0
  82. data/spec/bearcat/client/files_spec.rb +0 -0
  83. data/spec/bearcat/client/folders_spec.rb +0 -0
  84. data/spec/bearcat/client/graph_ql_spec.rb +0 -0
  85. data/spec/bearcat/client/group_categories_spec.rb +0 -0
  86. data/spec/bearcat/client/group_membership_spec.rb +0 -0
  87. data/spec/bearcat/client/group_memberships_spec.rb +0 -0
  88. data/spec/bearcat/client/groups_spec.rb +0 -0
  89. data/spec/bearcat/client/learning_outcomes_spec.rb +0 -0
  90. data/spec/bearcat/client/module_items_spec.rb +0 -0
  91. data/spec/bearcat/client/modules_spec.rb +0 -0
  92. data/spec/bearcat/client/o_auth2_spec.rb +0 -0
  93. data/spec/bearcat/client/outcome_groups_spec.rb +0 -0
  94. data/spec/bearcat/client/outcomes_spec.rb +0 -0
  95. data/spec/bearcat/client/pages_spec.rb +0 -0
  96. data/spec/bearcat/client/quizzes_spec.rb +0 -0
  97. data/spec/bearcat/client/roles_spec.rb +0 -0
  98. data/spec/bearcat/client/rubric_assessment_spec.rb +0 -0
  99. data/spec/bearcat/client/rubric_association_spec.rb +0 -0
  100. data/spec/bearcat/client/rubric_spec.rb +0 -0
  101. data/spec/bearcat/client/search_spec.rb +0 -0
  102. data/spec/bearcat/client/sections_spec.rb +0 -0
  103. data/spec/bearcat/client/submissions_spec.rb +0 -0
  104. data/spec/bearcat/client/users_spec.rb +0 -0
  105. data/spec/bearcat/client_spec.rb +0 -0
  106. data/spec/bearcat/rate_limiting_spec.rb +0 -0
  107. data/spec/bearcat/stub_bearcat_spec.rb +0 -0
  108. data/spec/bearcat_spec.rb +0 -0
  109. data/spec/fixtures/access_token.json +0 -0
  110. data/spec/fixtures/account_admin_create.json +0 -0
  111. data/spec/fixtures/account_admin_delete.json +0 -0
  112. data/spec/fixtures/account_admins.json +0 -0
  113. data/spec/fixtures/account_courses.json +0 -0
  114. data/spec/fixtures/account_grading_standards.json +0 -0
  115. data/spec/fixtures/account_groups.json +0 -0
  116. data/spec/fixtures/account_reports.json +0 -0
  117. data/spec/fixtures/account_reports_index.json +0 -0
  118. data/spec/fixtures/account_reports_result_success.json +0 -0
  119. data/spec/fixtures/account_reports_start_result.json +0 -0
  120. data/spec/fixtures/account_role.json +0 -0
  121. data/spec/fixtures/account_roles.json +0 -0
  122. data/spec/fixtures/account_sis_imports.json +0 -0
  123. data/spec/fixtures/account_sub_accounts.json +0 -0
  124. data/spec/fixtures/account_user.json +0 -0
  125. data/spec/fixtures/account_users.json +0 -0
  126. data/spec/fixtures/accounts.json +0 -0
  127. data/spec/fixtures/add_custom_user_data.json +0 -0
  128. data/spec/fixtures/add_user.json +0 -0
  129. data/spec/fixtures/assignment.json +0 -0
  130. data/spec/fixtures/assignment_group.json +0 -0
  131. data/spec/fixtures/assignment_groups.json +0 -0
  132. data/spec/fixtures/assignment_section_override.json +0 -0
  133. data/spec/fixtures/assignments.json +0 -0
  134. data/spec/fixtures/bearcat.jpg +0 -0
  135. data/spec/fixtures/blueprint_migration.json +0 -0
  136. data/spec/fixtures/blueprint_subscriptions.json +0 -0
  137. data/spec/fixtures/blueprint_template.json +0 -0
  138. data/spec/fixtures/blueprint_update_assocations_success.json +0 -0
  139. data/spec/fixtures/calendar_event.json +0 -0
  140. data/spec/fixtures/calendar_events.json +0 -0
  141. data/spec/fixtures/canvas_files/declare_file.json +0 -0
  142. data/spec/fixtures/canvas_files/upload_success.json +0 -0
  143. data/spec/fixtures/cc.imscc +0 -0
  144. data/spec/fixtures/communication_channels.json +0 -0
  145. data/spec/fixtures/conclude_enrollment.json +0 -0
  146. data/spec/fixtures/content_export.json +0 -0
  147. data/spec/fixtures/content_migration_files/content_migration.json +0 -0
  148. data/spec/fixtures/content_migration_files/response.json +0 -0
  149. data/spec/fixtures/content_migration_files/upload_success.json +0 -0
  150. data/spec/fixtures/conversation.json +0 -0
  151. data/spec/fixtures/course.json +0 -0
  152. data/spec/fixtures/course_conferences.json +0 -0
  153. data/spec/fixtures/course_copy.json +0 -0
  154. data/spec/fixtures/course_enrollments.json +0 -0
  155. data/spec/fixtures/course_files.json +0 -0
  156. data/spec/fixtures/course_folder.json +0 -0
  157. data/spec/fixtures/course_folders.json +0 -0
  158. data/spec/fixtures/course_grading_standards.json +0 -0
  159. data/spec/fixtures/course_groups.json +0 -0
  160. data/spec/fixtures/course_sections.json +0 -0
  161. data/spec/fixtures/course_settings.json +0 -0
  162. data/spec/fixtures/course_students.json +0 -0
  163. data/spec/fixtures/create_course_discussion.json +0 -0
  164. data/spec/fixtures/create_group_discussion.json +0 -0
  165. data/spec/fixtures/create_outcome_in_group.json +0 -0
  166. data/spec/fixtures/create_section.json +0 -0
  167. data/spec/fixtures/created_assignment.json +0 -0
  168. data/spec/fixtures/created_course.json +0 -0
  169. data/spec/fixtures/created_group.json +0 -0
  170. data/spec/fixtures/created_group_category.json +0 -0
  171. data/spec/fixtures/created_group_membership.json +0 -0
  172. data/spec/fixtures/created_module.json +0 -0
  173. data/spec/fixtures/custom_data.json +0 -0
  174. data/spec/fixtures/custom_food_data.json +0 -0
  175. data/spec/fixtures/custom_gradebook_columns/column_data.json +0 -0
  176. data/spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json +0 -0
  177. data/spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json +0 -0
  178. data/spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json +0 -0
  179. data/spec/fixtures/dashboard.json +0 -0
  180. data/spec/fixtures/delete_course.json +0 -0
  181. data/spec/fixtures/delete_custom_data_scope.json +0 -0
  182. data/spec/fixtures/delete_group_category.json +0 -0
  183. data/spec/fixtures/delete_section.json +0 -0
  184. data/spec/fixtures/deleted_conversation.json +0 -0
  185. data/spec/fixtures/deleted_group.json +0 -0
  186. data/spec/fixtures/department_level_participation.json +0 -0
  187. data/spec/fixtures/department_level_statistics.json +0 -0
  188. data/spec/fixtures/discussion_entries.json +0 -0
  189. data/spec/fixtures/discussion_entry_replies.json +0 -0
  190. data/spec/fixtures/discussion_topic.json +0 -0
  191. data/spec/fixtures/discussion_topics.json +0 -0
  192. data/spec/fixtures/edited_group.json +0 -0
  193. data/spec/fixtures/edited_group_category.json +0 -0
  194. data/spec/fixtures/enroll_student.json +0 -0
  195. data/spec/fixtures/enrollment_terms.json +0 -0
  196. data/spec/fixtures/external_tool.json +0 -0
  197. data/spec/fixtures/external_tools.json +0 -0
  198. data/spec/fixtures/file.csv +0 -0
  199. data/spec/fixtures/gradebook_history.json +0 -0
  200. data/spec/fixtures/graph_ql_scores.json +0 -0
  201. data/spec/fixtures/group.json +0 -0
  202. data/spec/fixtures/group_categories.json +0 -0
  203. data/spec/fixtures/group_category.json +0 -0
  204. data/spec/fixtures/group_category_groups.json +0 -0
  205. data/spec/fixtures/group_conferences.json +0 -0
  206. data/spec/fixtures/group_membership.json +0 -0
  207. data/spec/fixtures/learning_outcome.json +0 -0
  208. data/spec/fixtures/link_unlink_outcome.json +0 -0
  209. data/spec/fixtures/merge_user.json +0 -0
  210. data/spec/fixtures/module.json +0 -0
  211. data/spec/fixtures/module_item.json +0 -0
  212. data/spec/fixtures/module_item_sequence.json +0 -0
  213. data/spec/fixtures/module_items.json +0 -0
  214. data/spec/fixtures/modules.json +0 -0
  215. data/spec/fixtures/no_custom_data.json +0 -0
  216. data/spec/fixtures/ok.json +0 -0
  217. data/spec/fixtures/outcome_group_import.json +0 -0
  218. data/spec/fixtures/outcome_groups.json +0 -0
  219. data/spec/fixtures/outcome_result.json +0 -0
  220. data/spec/fixtures/outcome_subgroup.json +0 -0
  221. data/spec/fixtures/outcome_subgroups.json +0 -0
  222. data/spec/fixtures/outcomes.json +0 -0
  223. data/spec/fixtures/paged_body.json +0 -0
  224. data/spec/fixtures/pages.json +0 -0
  225. data/spec/fixtures/progress.json +0 -0
  226. data/spec/fixtures/quizzes/course_quiz.json +0 -0
  227. data/spec/fixtures/quizzes/course_quiz_questions.json +0 -0
  228. data/spec/fixtures/quizzes/course_quizzes.json +0 -0
  229. data/spec/fixtures/quizzes/quiz_assignment_override.json +0 -0
  230. data/spec/fixtures/quizzes/quiz_extension.json +0 -0
  231. data/spec/fixtures/reactivate_enrollment.json +0 -0
  232. data/spec/fixtures/report_history.json +0 -0
  233. data/spec/fixtures/report_list.json +0 -0
  234. data/spec/fixtures/report_status.json +0 -0
  235. data/spec/fixtures/rubric.json +0 -0
  236. data/spec/fixtures/rubric_assessment.json +0 -0
  237. data/spec/fixtures/rubric_association.json +0 -0
  238. data/spec/fixtures/search_find_recipients.json +0 -0
  239. data/spec/fixtures/section.json +0 -0
  240. data/spec/fixtures/section_enrollments.json +0 -0
  241. data/spec/fixtures/single_account.json +0 -0
  242. data/spec/fixtures/start_report.json +0 -0
  243. data/spec/fixtures/submissions/submission.json +0 -0
  244. data/spec/fixtures/update_outcome.json +0 -0
  245. data/spec/fixtures/update_outcome_group.json +0 -0
  246. data/spec/fixtures/update_section.json +0 -0
  247. data/spec/fixtures/updated_course.json +0 -0
  248. data/spec/fixtures/user_avatars.json +0 -0
  249. data/spec/fixtures/user_details.json +0 -0
  250. data/spec/fixtures/user_enrollments.json +0 -0
  251. data/spec/fixtures/user_logins.json +0 -0
  252. data/spec/fixtures/user_page_views.json +0 -0
  253. data/spec/fixtures/user_profile.json +0 -0
  254. metadata +161 -159
  255. data/lib/bearcat/misc_exceptions/conflict.rb +0 -10
  256. data/lib/bearcat/rate_limiting/functions.lua +0 -11
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.34.2
4
+ version: 1.5.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rake
@@ -219,9 +220,7 @@ files:
219
220
  - lib/bearcat/client/tabs.rb
220
221
  - lib/bearcat/client/users.rb
221
222
  - lib/bearcat/client_module.rb
222
- - lib/bearcat/misc_exceptions/conflict.rb
223
223
  - lib/bearcat/rate_limiting.rb
224
- - lib/bearcat/rate_limiting/functions.lua
225
224
  - lib/bearcat/rate_limiting/increment_bucket.lua
226
225
  - lib/bearcat/rate_limiting/redis_script.rb
227
226
  - lib/bearcat/redis_connection.rb
@@ -429,8 +428,10 @@ files:
429
428
  - spec/fixtures/user_page_views.json
430
429
  - spec/fixtures/user_profile.json
431
430
  - spec/helper.rb
431
+ homepage:
432
432
  licenses: []
433
433
  metadata: {}
434
+ post_install_message:
434
435
  rdoc_options: []
435
436
  require_paths:
436
437
  - lib
@@ -445,198 +446,199 @@ required_rubygems_version: !ruby/object:Gem::Requirement
445
446
  - !ruby/object:Gem::Version
446
447
  version: '0'
447
448
  requirements: []
448
- rubygems_version: 3.6.9
449
+ rubygems_version: 3.1.6
450
+ signing_key:
449
451
  specification_version: 4
450
452
  summary: Canvas API
451
453
  test_files:
454
+ - spec/bearcat_spec.rb
455
+ - spec/bearcat/client_spec.rb
452
456
  - spec/bearcat/api_array_spec.rb
453
- - spec/bearcat/client/accounts_spec.rb
454
- - spec/bearcat/client/analytics_spec.rb
455
- - spec/bearcat/client/assignment_groups_spec.rb
456
- - spec/bearcat/client/assignments_spec.rb
457
- - spec/bearcat/client/blueprint_courses_spec.rb
458
- - spec/bearcat/client/calendar_events_spec.rb
457
+ - spec/bearcat/rate_limiting_spec.rb
458
+ - spec/bearcat/stub_bearcat_spec.rb
459
459
  - spec/bearcat/client/canvas_files_spec.rb
460
+ - spec/bearcat/client/folders_spec.rb
460
461
  - spec/bearcat/client/conferences_spec.rb
461
- - spec/bearcat/client/content_exports_spec.rb
462
- - spec/bearcat/client/content_migrations_spec.rb
463
462
  - spec/bearcat/client/conversations_spec.rb
464
- - spec/bearcat/client/courses_spec.rb
465
- - spec/bearcat/client/custom_gradebook_columns_spec.rb
463
+ - spec/bearcat/client/outcome_groups_spec.rb
464
+ - spec/bearcat/client/assignment_groups_spec.rb
465
+ - spec/bearcat/client/assignments_spec.rb
466
+ - spec/bearcat/client/rubric_association_spec.rb
467
+ - spec/bearcat/client/o_auth2_spec.rb
468
+ - spec/bearcat/client/search_spec.rb
469
+ - spec/bearcat/client/calendar_events_spec.rb
470
+ - spec/bearcat/client/group_memberships_spec.rb
471
+ - spec/bearcat/client/pages_spec.rb
472
+ - spec/bearcat/client/modules_spec.rb
466
473
  - spec/bearcat/client/discussions_spec.rb
467
- - spec/bearcat/client/enrollments_spec.rb
468
- - spec/bearcat/client/external_tools_spec.rb
469
474
  - spec/bearcat/client/files_spec.rb
470
- - spec/bearcat/client/folders_spec.rb
475
+ - spec/bearcat/client/roles_spec.rb
471
476
  - spec/bearcat/client/graph_ql_spec.rb
472
477
  - spec/bearcat/client/group_categories_spec.rb
473
- - spec/bearcat/client/group_membership_spec.rb
474
- - spec/bearcat/client/group_memberships_spec.rb
475
- - spec/bearcat/client/groups_spec.rb
476
- - spec/bearcat/client/learning_outcomes_spec.rb
478
+ - spec/bearcat/client/rubric_assessment_spec.rb
479
+ - spec/bearcat/client/blueprint_courses_spec.rb
480
+ - spec/bearcat/client/submissions_spec.rb
477
481
  - spec/bearcat/client/module_items_spec.rb
478
- - spec/bearcat/client/modules_spec.rb
479
- - spec/bearcat/client/o_auth2_spec.rb
480
- - spec/bearcat/client/outcome_groups_spec.rb
482
+ - spec/bearcat/client/content_migrations_spec.rb
483
+ - spec/bearcat/client/custom_gradebook_columns_spec.rb
484
+ - spec/bearcat/client/enrollments_spec.rb
485
+ - spec/bearcat/client/analytics_spec.rb
486
+ - spec/bearcat/client/content_exports_spec.rb
487
+ - spec/bearcat/client/external_tools_spec.rb
488
+ - spec/bearcat/client/rubric_spec.rb
489
+ - spec/bearcat/client/accounts_spec.rb
490
+ - spec/bearcat/client/learning_outcomes_spec.rb
481
491
  - spec/bearcat/client/outcomes_spec.rb
482
- - spec/bearcat/client/pages_spec.rb
483
- - spec/bearcat/client/quizzes_spec.rb
492
+ - spec/bearcat/client/courses_spec.rb
484
493
  - spec/bearcat/client/reports_spec.rb
485
- - spec/bearcat/client/roles_spec.rb
486
- - spec/bearcat/client/rubric_assessment_spec.rb
487
- - spec/bearcat/client/rubric_association_spec.rb
488
- - spec/bearcat/client/rubric_spec.rb
489
- - spec/bearcat/client/search_spec.rb
490
- - spec/bearcat/client/sections_spec.rb
491
- - spec/bearcat/client/submissions_spec.rb
492
494
  - spec/bearcat/client/users_spec.rb
493
- - spec/bearcat/client_spec.rb
494
- - spec/bearcat/rate_limiting_spec.rb
495
- - spec/bearcat/stub_bearcat_spec.rb
496
- - spec/bearcat_spec.rb
497
- - spec/fixtures/access_token.json
498
- - spec/fixtures/account_admin_create.json
499
- - spec/fixtures/account_admin_delete.json
500
- - spec/fixtures/account_admins.json
501
- - spec/fixtures/account_courses.json
495
+ - spec/bearcat/client/sections_spec.rb
496
+ - spec/bearcat/client/group_membership_spec.rb
497
+ - spec/bearcat/client/groups_spec.rb
498
+ - spec/bearcat/client/quizzes_spec.rb
499
+ - spec/helper.rb
502
500
  - spec/fixtures/account_grading_standards.json
503
- - spec/fixtures/account_groups.json
504
- - spec/fixtures/account_reports.json
505
- - spec/fixtures/account_reports_index.json
506
- - spec/fixtures/account_reports_result_success.json
507
- - spec/fixtures/account_reports_start_result.json
508
- - spec/fixtures/account_role.json
509
- - spec/fixtures/account_roles.json
510
- - spec/fixtures/account_sis_imports.json
511
- - spec/fixtures/account_sub_accounts.json
512
- - spec/fixtures/account_user.json
513
- - spec/fixtures/account_users.json
514
- - spec/fixtures/accounts.json
515
501
  - spec/fixtures/add_custom_user_data.json
516
- - spec/fixtures/add_user.json
517
- - spec/fixtures/assignment.json
518
502
  - spec/fixtures/assignment_group.json
519
- - spec/fixtures/assignment_groups.json
520
- - spec/fixtures/assignment_section_override.json
503
+ - spec/fixtures/account_groups.json
504
+ - spec/fixtures/update_outcome.json
505
+ - spec/fixtures/section_enrollments.json
506
+ - spec/fixtures/outcome_groups.json
521
507
  - spec/fixtures/assignments.json
508
+ - spec/fixtures/course_files.json
509
+ - spec/fixtures/assignment_section_override.json
510
+ - spec/fixtures/delete_course.json
511
+ - spec/fixtures/course_folder.json
512
+ - spec/fixtures/ok.json
513
+ - spec/fixtures/account_sub_accounts.json
514
+ - spec/fixtures/course_sections.json
515
+ - spec/fixtures/merge_user.json
522
516
  - spec/fixtures/bearcat.jpg
523
- - spec/fixtures/blueprint_migration.json
524
- - spec/fixtures/blueprint_subscriptions.json
525
- - spec/fixtures/blueprint_template.json
526
- - spec/fixtures/blueprint_update_assocations_success.json
527
- - spec/fixtures/calendar_event.json
528
- - spec/fixtures/calendar_events.json
529
- - spec/fixtures/canvas_files/declare_file.json
530
- - spec/fixtures/canvas_files/upload_success.json
531
- - spec/fixtures/cc.imscc
517
+ - spec/fixtures/create_group_discussion.json
518
+ - spec/fixtures/course_enrollments.json
519
+ - spec/fixtures/account_users.json
520
+ - spec/fixtures/no_custom_data.json
532
521
  - spec/fixtures/communication_channels.json
533
- - spec/fixtures/conclude_enrollment.json
534
- - spec/fixtures/content_export.json
522
+ - spec/fixtures/edited_group_category.json
523
+ - spec/fixtures/rubric_assessment.json
524
+ - spec/fixtures/paged_body.json
525
+ - spec/fixtures/canvas_files/upload_success.json
526
+ - spec/fixtures/canvas_files/declare_file.json
527
+ - spec/fixtures/account_reports.json
528
+ - spec/fixtures/outcomes.json
529
+ - spec/fixtures/search_find_recipients.json
530
+ - spec/fixtures/content_migration_files/upload_success.json
535
531
  - spec/fixtures/content_migration_files/content_migration.json
536
532
  - spec/fixtures/content_migration_files/response.json
537
- - spec/fixtures/content_migration_files/upload_success.json
538
- - spec/fixtures/conversation.json
539
- - spec/fixtures/course.json
533
+ - spec/fixtures/created_assignment.json
540
534
  - spec/fixtures/course_conferences.json
541
- - spec/fixtures/course_copy.json
542
- - spec/fixtures/course_enrollments.json
543
- - spec/fixtures/course_files.json
544
- - spec/fixtures/course_folder.json
545
- - spec/fixtures/course_folders.json
546
- - spec/fixtures/course_grading_standards.json
547
- - spec/fixtures/course_groups.json
548
- - spec/fixtures/course_sections.json
549
- - spec/fixtures/course_settings.json
550
- - spec/fixtures/course_students.json
551
- - spec/fixtures/create_course_discussion.json
552
- - spec/fixtures/create_group_discussion.json
553
535
  - spec/fixtures/create_outcome_in_group.json
554
- - spec/fixtures/create_section.json
555
- - spec/fixtures/created_assignment.json
556
- - spec/fixtures/created_course.json
557
- - spec/fixtures/created_group.json
536
+ - spec/fixtures/delete_custom_data_scope.json
558
537
  - spec/fixtures/created_group_category.json
559
- - spec/fixtures/created_group_membership.json
560
- - spec/fixtures/created_module.json
538
+ - spec/fixtures/created_course.json
539
+ - spec/fixtures/assignment_groups.json
540
+ - spec/fixtures/section.json
541
+ - spec/fixtures/create_section.json
542
+ - spec/fixtures/user_page_views.json
543
+ - spec/fixtures/account_admin_create.json
544
+ - spec/fixtures/assignment.json
545
+ - spec/fixtures/calendar_event.json
546
+ - spec/fixtures/blueprint_subscriptions.json
547
+ - spec/fixtures/blueprint_update_assocations_success.json
548
+ - spec/fixtures/course.json
549
+ - spec/fixtures/rubric_association.json
550
+ - spec/fixtures/external_tools.json
551
+ - spec/fixtures/conversation.json
552
+ - spec/fixtures/external_tool.json
553
+ - spec/fixtures/course_students.json
554
+ - spec/fixtures/updated_course.json
555
+ - spec/fixtures/discussion_topics.json
556
+ - spec/fixtures/user_enrollments.json
557
+ - spec/fixtures/account_roles.json
558
+ - spec/fixtures/add_user.json
559
+ - spec/fixtures/discussion_entry_replies.json
560
+ - spec/fixtures/report_history.json
561
+ - spec/fixtures/gradebook_history.json
562
+ - spec/fixtures/account_sis_imports.json
563
+ - spec/fixtures/update_section.json
564
+ - spec/fixtures/conclude_enrollment.json
565
+ - spec/fixtures/start_report.json
561
566
  - spec/fixtures/custom_data.json
562
- - spec/fixtures/custom_food_data.json
563
- - spec/fixtures/custom_gradebook_columns/column_data.json
564
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
565
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
566
- - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
567
- - spec/fixtures/dashboard.json
568
- - spec/fixtures/delete_course.json
569
- - spec/fixtures/delete_custom_data_scope.json
567
+ - spec/fixtures/rubric.json
568
+ - spec/fixtures/account_role.json
569
+ - spec/fixtures/update_outcome_group.json
570
+ - spec/fixtures/module_item.json
571
+ - spec/fixtures/report_status.json
572
+ - spec/fixtures/enroll_student.json
573
+ - spec/fixtures/group_category.json
570
574
  - spec/fixtures/delete_group_category.json
571
- - spec/fixtures/delete_section.json
572
- - spec/fixtures/deleted_conversation.json
573
- - spec/fixtures/deleted_group.json
574
- - spec/fixtures/department_level_participation.json
575
- - spec/fixtures/department_level_statistics.json
576
- - spec/fixtures/discussion_entries.json
577
- - spec/fixtures/discussion_entry_replies.json
578
- - spec/fixtures/discussion_topic.json
579
- - spec/fixtures/discussion_topics.json
575
+ - spec/fixtures/dashboard.json
580
576
  - spec/fixtures/edited_group.json
581
- - spec/fixtures/edited_group_category.json
582
- - spec/fixtures/enroll_student.json
583
- - spec/fixtures/enrollment_terms.json
584
- - spec/fixtures/external_tool.json
585
- - spec/fixtures/external_tools.json
577
+ - spec/fixtures/department_level_participation.json
578
+ - spec/fixtures/outcome_result.json
586
579
  - spec/fixtures/file.csv
587
- - spec/fixtures/gradebook_history.json
588
- - spec/fixtures/graph_ql_scores.json
589
- - spec/fixtures/group.json
590
- - spec/fixtures/group_categories.json
591
- - spec/fixtures/group_category.json
592
- - spec/fixtures/group_category_groups.json
593
- - spec/fixtures/group_conferences.json
594
- - spec/fixtures/group_membership.json
595
- - spec/fixtures/learning_outcome.json
596
- - spec/fixtures/link_unlink_outcome.json
597
- - spec/fixtures/merge_user.json
598
- - spec/fixtures/module.json
599
- - spec/fixtures/module_item.json
580
+ - spec/fixtures/course_copy.json
581
+ - spec/fixtures/user_logins.json
600
582
  - spec/fixtures/module_item_sequence.json
583
+ - spec/fixtures/course_settings.json
584
+ - spec/fixtures/enrollment_terms.json
585
+ - spec/fixtures/blueprint_migration.json
586
+ - spec/fixtures/cc.imscc
587
+ - spec/fixtures/user_profile.json
588
+ - spec/fixtures/create_course_discussion.json
589
+ - spec/fixtures/custom_food_data.json
590
+ - spec/fixtures/created_module.json
591
+ - spec/fixtures/course_groups.json
592
+ - spec/fixtures/reactivate_enrollment.json
593
+ - spec/fixtures/blueprint_template.json
594
+ - spec/fixtures/account_courses.json
595
+ - spec/fixtures/calendar_events.json
596
+ - spec/fixtures/submissions/submission.json
597
+ - spec/fixtures/link_unlink_outcome.json
598
+ - spec/fixtures/account_reports_index.json
601
599
  - spec/fixtures/module_items.json
602
- - spec/fixtures/modules.json
603
- - spec/fixtures/no_custom_data.json
604
- - spec/fixtures/ok.json
600
+ - spec/fixtures/access_token.json
601
+ - spec/fixtures/progress.json
602
+ - spec/fixtures/module.json
603
+ - spec/fixtures/group_categories.json
604
+ - spec/fixtures/course_folders.json
605
+ - spec/fixtures/department_level_statistics.json
606
+ - spec/fixtures/account_admin_delete.json
607
+ - spec/fixtures/account_reports_result_success.json
608
+ - spec/fixtures/deleted_conversation.json
609
+ - spec/fixtures/learning_outcome.json
610
+ - spec/fixtures/user_details.json
605
611
  - spec/fixtures/outcome_group_import.json
606
- - spec/fixtures/outcome_groups.json
607
- - spec/fixtures/outcome_result.json
612
+ - spec/fixtures/modules.json
613
+ - spec/fixtures/group.json
608
614
  - spec/fixtures/outcome_subgroup.json
609
615
  - spec/fixtures/outcome_subgroups.json
610
- - spec/fixtures/outcomes.json
611
- - spec/fixtures/paged_body.json
612
- - spec/fixtures/pages.json
613
- - spec/fixtures/progress.json
614
- - spec/fixtures/quizzes/course_quiz.json
615
- - spec/fixtures/quizzes/course_quiz_questions.json
616
+ - spec/fixtures/delete_section.json
617
+ - spec/fixtures/account_user.json
618
+ - spec/fixtures/accounts.json
619
+ - spec/fixtures/account_admins.json
620
+ - spec/fixtures/report_list.json
621
+ - spec/fixtures/group_membership.json
616
622
  - spec/fixtures/quizzes/course_quizzes.json
623
+ - spec/fixtures/quizzes/course_quiz_questions.json
617
624
  - spec/fixtures/quizzes/quiz_assignment_override.json
618
625
  - spec/fixtures/quizzes/quiz_extension.json
619
- - spec/fixtures/reactivate_enrollment.json
620
- - spec/fixtures/report_history.json
621
- - spec/fixtures/report_list.json
622
- - spec/fixtures/report_status.json
623
- - spec/fixtures/rubric.json
624
- - spec/fixtures/rubric_assessment.json
625
- - spec/fixtures/rubric_association.json
626
- - spec/fixtures/search_find_recipients.json
627
- - spec/fixtures/section.json
628
- - spec/fixtures/section_enrollments.json
626
+ - spec/fixtures/quizzes/course_quiz.json
627
+ - spec/fixtures/content_export.json
628
+ - spec/fixtures/created_group.json
629
+ - spec/fixtures/pages.json
630
+ - spec/fixtures/discussion_entries.json
629
631
  - spec/fixtures/single_account.json
630
- - spec/fixtures/start_report.json
631
- - spec/fixtures/submissions/submission.json
632
- - spec/fixtures/update_outcome.json
633
- - spec/fixtures/update_outcome_group.json
634
- - spec/fixtures/update_section.json
635
- - spec/fixtures/updated_course.json
632
+ - spec/fixtures/group_category_groups.json
633
+ - spec/fixtures/created_group_membership.json
636
634
  - spec/fixtures/user_avatars.json
637
- - spec/fixtures/user_details.json
638
- - spec/fixtures/user_enrollments.json
639
- - spec/fixtures/user_logins.json
640
- - spec/fixtures/user_page_views.json
641
- - spec/fixtures/user_profile.json
642
- - spec/helper.rb
635
+ - spec/fixtures/graph_ql_scores.json
636
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
637
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
638
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
639
+ - spec/fixtures/custom_gradebook_columns/column_data.json
640
+ - spec/fixtures/account_reports_start_result.json
641
+ - spec/fixtures/course_grading_standards.json
642
+ - spec/fixtures/group_conferences.json
643
+ - spec/fixtures/discussion_topic.json
644
+ - spec/fixtures/deleted_group.json
@@ -1,10 +0,0 @@
1
- module Bearcat
2
- module MiscExceptions
3
- # This exception is not part of the Footrest::HttpError module
4
- class Conflict < Footrest::HttpError::BadRequest
5
- def self.===(exception)
6
- exception.status == 409
7
- end
8
- end
9
- end
10
- end
@@ -1,11 +0,0 @@
1
- #!lua name=bearcat_rate_limiting
2
-
3
- local function checkin_time(keys, args)
4
- local return_time = args[1]
5
- local true_remaining = args[2]
6
-
7
- local hash = keys[1]
8
- return redis.call('HGET', hash, '_last_modified_')
9
- end
10
-
11
- redis.register_function('my_hset', my_hset)