bearcat 1.6.8 → 1.6.10
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.
- checksums.yaml +4 -4
- data/Rakefile +0 -0
- data/lib/badgrcat/api_array.rb +0 -0
- data/lib/badgrcat/version.rb +0 -0
- data/lib/bearcat/client/account_reports.rb +0 -0
- data/lib/bearcat/client/accounts.rb +9 -0
- data/lib/bearcat/client/analytics.rb +0 -0
- data/lib/bearcat/client/assignment_groups.rb +0 -0
- data/lib/bearcat/client/assignments.rb +0 -0
- data/lib/bearcat/client/blueprint_courses.rb +0 -0
- data/lib/bearcat/client/calendar_events.rb +0 -0
- data/lib/bearcat/client/canvas_files.rb +0 -0
- data/lib/bearcat/client/conferences.rb +0 -0
- data/lib/bearcat/client/content_exports.rb +0 -0
- data/lib/bearcat/client/content_migrations.rb +0 -0
- data/lib/bearcat/client/conversations.rb +0 -0
- data/lib/bearcat/client/custom_gradebook_columns.rb +0 -0
- data/lib/bearcat/client/discussions.rb +0 -0
- data/lib/bearcat/client/enrollments.rb +0 -0
- data/lib/bearcat/client/external_tools.rb +0 -0
- data/lib/bearcat/client/file_helper.rb +0 -0
- data/lib/bearcat/client/files.rb +0 -0
- data/lib/bearcat/client/folders.rb +0 -0
- data/lib/bearcat/client/group_categories.rb +0 -0
- data/lib/bearcat/client/group_memberships.rb +0 -0
- data/lib/bearcat/client/groups.rb +0 -0
- data/lib/bearcat/client/learning_outcomes.rb +0 -0
- data/lib/bearcat/client/logins.rb +0 -0
- data/lib/bearcat/client/module_items.rb +0 -0
- data/lib/bearcat/client/modules.rb +0 -0
- data/lib/bearcat/client/new_quizzes.rb +45 -0
- data/lib/bearcat/client/o_auth2.rb +0 -0
- data/lib/bearcat/client/outcome_groups.rb +0 -0
- data/lib/bearcat/client/outcome_imports.rb +0 -0
- data/lib/bearcat/client/outcomes.rb +0 -0
- data/lib/bearcat/client/pages.rb +2 -0
- data/lib/bearcat/client/progresses.rb +0 -0
- data/lib/bearcat/client/quizzes.rb +0 -0
- data/lib/bearcat/client/roles.rb +0 -0
- data/lib/bearcat/client/rubric.rb +0 -0
- data/lib/bearcat/client/rubric_assessment.rb +0 -0
- data/lib/bearcat/client/rubric_association.rb +0 -0
- data/lib/bearcat/client/search.rb +0 -0
- data/lib/bearcat/client/sections.rb +0 -0
- data/lib/bearcat/client/sis_imports.rb +0 -0
- data/lib/bearcat/client/tabs.rb +0 -0
- data/lib/bearcat/client_module.rb +0 -0
- data/lib/bearcat/rate_limiting/increment_bucket.lua +0 -0
- data/lib/bearcat/rate_limiting/redis_script.rb +0 -0
- data/lib/bearcat/rate_limiting.rb +0 -0
- data/lib/bearcat/version.rb +1 -1
- data/lib/catalogcat/api_array.rb +0 -0
- data/lib/catalogcat/client/catalogs.rb +0 -0
- data/lib/catalogcat/client/certificates.rb +0 -0
- data/lib/catalogcat/client/courses.rb +0 -0
- data/lib/catalogcat/client/email_domain_sets.rb +0 -0
- data/lib/catalogcat/client/enrollments.rb +0 -0
- data/lib/catalogcat/client/orders.rb +0 -0
- data/lib/catalogcat/client/user_registrations.rb +0 -0
- data/lib/catalogcat/client.rb +0 -0
- data/lib/catalogcat/version.rb +0 -0
- data/lib/catalogcat.rb +0 -0
- data/spec/bearcat/api_array_spec.rb +0 -0
- data/spec/bearcat/client/accounts_spec.rb +29 -0
- data/spec/bearcat/client/analytics_spec.rb +0 -0
- data/spec/bearcat/client/assignment_groups_spec.rb +0 -0
- data/spec/bearcat/client/assignments_spec.rb +0 -0
- data/spec/bearcat/client/blueprint_courses_spec.rb +0 -0
- data/spec/bearcat/client/calendar_events_spec.rb +0 -0
- data/spec/bearcat/client/canvas_files_spec.rb +0 -0
- data/spec/bearcat/client/conferences_spec.rb +0 -0
- data/spec/bearcat/client/content_exports_spec.rb +0 -0
- data/spec/bearcat/client/content_migrations_spec.rb +0 -0
- data/spec/bearcat/client/conversations_spec.rb +0 -0
- data/spec/bearcat/client/courses_spec.rb +0 -0
- data/spec/bearcat/client/custom_gradebook_columns_spec.rb +0 -0
- data/spec/bearcat/client/discussions_spec.rb +0 -0
- data/spec/bearcat/client/enrollments_spec.rb +0 -0
- data/spec/bearcat/client/external_tools_spec.rb +0 -0
- data/spec/bearcat/client/files_spec.rb +0 -0
- data/spec/bearcat/client/folders_spec.rb +0 -0
- data/spec/bearcat/client/graph_ql_spec.rb +0 -0
- data/spec/bearcat/client/group_categories_spec.rb +0 -0
- data/spec/bearcat/client/group_membership_spec.rb +0 -0
- data/spec/bearcat/client/group_memberships_spec.rb +0 -0
- data/spec/bearcat/client/groups_spec.rb +0 -0
- data/spec/bearcat/client/learning_outcomes_spec.rb +0 -0
- data/spec/bearcat/client/module_items_spec.rb +0 -0
- data/spec/bearcat/client/modules_spec.rb +0 -0
- data/spec/bearcat/client/new_quizzes_spec.rb +146 -0
- data/spec/bearcat/client/o_auth2_spec.rb +0 -0
- data/spec/bearcat/client/outcome_groups_spec.rb +0 -0
- data/spec/bearcat/client/outcomes_spec.rb +0 -0
- data/spec/bearcat/client/pages_spec.rb +14 -0
- data/spec/bearcat/client/quizzes_spec.rb +0 -0
- data/spec/bearcat/client/roles_spec.rb +0 -0
- data/spec/bearcat/client/rubric_assessment_spec.rb +0 -0
- data/spec/bearcat/client/rubric_association_spec.rb +0 -0
- data/spec/bearcat/client/rubric_spec.rb +0 -0
- data/spec/bearcat/client/search_spec.rb +0 -0
- data/spec/bearcat/client/sections_spec.rb +0 -0
- data/spec/bearcat/client/submissions_spec.rb +0 -0
- data/spec/bearcat/client/users_spec.rb +0 -0
- data/spec/bearcat/rate_limiting_spec.rb +0 -0
- data/spec/bearcat/stub_bearcat_spec.rb +0 -0
- data/spec/bearcat_spec.rb +0 -0
- data/spec/fixtures/access_token.json +0 -0
- data/spec/fixtures/account_admin_create.json +0 -0
- data/spec/fixtures/account_admin_delete.json +0 -0
- data/spec/fixtures/account_admins.json +0 -0
- data/spec/fixtures/account_courses.json +0 -0
- data/spec/fixtures/account_grading_standards.json +0 -0
- data/spec/fixtures/account_groups.json +0 -0
- data/spec/fixtures/account_reports.json +0 -0
- data/spec/fixtures/account_reports_index.json +0 -0
- data/spec/fixtures/account_reports_result_success.json +0 -0
- data/spec/fixtures/account_reports_start_result.json +0 -0
- data/spec/fixtures/account_role.json +0 -0
- data/spec/fixtures/account_roles.json +0 -0
- data/spec/fixtures/account_sis_imports.json +0 -0
- data/spec/fixtures/account_sub_accounts.json +0 -0
- data/spec/fixtures/account_user.json +0 -0
- data/spec/fixtures/account_users.json +0 -0
- data/spec/fixtures/accounts.json +0 -0
- data/spec/fixtures/add_custom_user_data.json +0 -0
- data/spec/fixtures/add_user.json +0 -0
- data/spec/fixtures/assignment.json +0 -0
- data/spec/fixtures/assignment_group.json +0 -0
- data/spec/fixtures/assignment_groups.json +0 -0
- data/spec/fixtures/assignment_section_override.json +0 -0
- data/spec/fixtures/assignments.json +0 -0
- data/spec/fixtures/bearcat.jpg +0 -0
- data/spec/fixtures/blueprint_migration.json +0 -0
- data/spec/fixtures/blueprint_subscriptions.json +0 -0
- data/spec/fixtures/blueprint_template.json +0 -0
- data/spec/fixtures/blueprint_update_assocations_success.json +0 -0
- data/spec/fixtures/calendar_event.json +0 -0
- data/spec/fixtures/calendar_events.json +0 -0
- data/spec/fixtures/canvas_files/declare_file.json +0 -0
- data/spec/fixtures/canvas_files/upload_success.json +0 -0
- data/spec/fixtures/cc.imscc +0 -0
- data/spec/fixtures/communication_channels.json +0 -0
- data/spec/fixtures/conclude_enrollment.json +0 -0
- data/spec/fixtures/content_export.json +0 -0
- data/spec/fixtures/content_migration_files/content_migration.json +0 -0
- data/spec/fixtures/content_migration_files/response.json +0 -0
- data/spec/fixtures/content_migration_files/upload_success.json +0 -0
- data/spec/fixtures/conversation.json +0 -0
- data/spec/fixtures/course.json +0 -0
- data/spec/fixtures/course_conferences.json +0 -0
- data/spec/fixtures/course_copy.json +0 -0
- data/spec/fixtures/course_enrollments.json +0 -0
- data/spec/fixtures/course_files.json +0 -0
- data/spec/fixtures/course_folder.json +0 -0
- data/spec/fixtures/course_folders.json +0 -0
- data/spec/fixtures/course_grading_standards.json +0 -0
- data/spec/fixtures/course_groups.json +0 -0
- data/spec/fixtures/course_sections.json +0 -0
- data/spec/fixtures/course_settings.json +0 -0
- data/spec/fixtures/course_students.json +0 -0
- data/spec/fixtures/create_course_discussion.json +0 -0
- data/spec/fixtures/create_group_discussion.json +0 -0
- data/spec/fixtures/create_outcome_in_group.json +0 -0
- data/spec/fixtures/create_section.json +0 -0
- data/spec/fixtures/created_assignment.json +0 -0
- data/spec/fixtures/created_course.json +0 -0
- data/spec/fixtures/created_group.json +0 -0
- data/spec/fixtures/created_group_category.json +0 -0
- data/spec/fixtures/created_group_membership.json +0 -0
- data/spec/fixtures/created_module.json +0 -0
- data/spec/fixtures/created_sub_account.json +15 -0
- data/spec/fixtures/custom_data.json +0 -0
- data/spec/fixtures/custom_food_data.json +0 -0
- data/spec/fixtures/custom_gradebook_columns/column_data.json +0 -0
- data/spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json +0 -0
- data/spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json +0 -0
- data/spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json +0 -0
- data/spec/fixtures/dashboard.json +0 -0
- data/spec/fixtures/delete_course.json +0 -0
- data/spec/fixtures/delete_custom_data_scope.json +0 -0
- data/spec/fixtures/delete_group_category.json +0 -0
- data/spec/fixtures/delete_section.json +0 -0
- data/spec/fixtures/deleted_conversation.json +0 -0
- data/spec/fixtures/deleted_group.json +0 -0
- data/spec/fixtures/deleted_page.json +13 -0
- data/spec/fixtures/deleted_sub_account.json +15 -0
- data/spec/fixtures/department_level_participation.json +0 -0
- data/spec/fixtures/department_level_statistics.json +0 -0
- data/spec/fixtures/discussion_entries.json +0 -0
- data/spec/fixtures/discussion_entry_replies.json +0 -0
- data/spec/fixtures/discussion_topic.json +0 -0
- data/spec/fixtures/discussion_topics.json +0 -0
- data/spec/fixtures/edited_group.json +0 -0
- data/spec/fixtures/edited_group_category.json +0 -0
- data/spec/fixtures/enroll_student.json +0 -0
- data/spec/fixtures/enrollment_terms.json +0 -0
- data/spec/fixtures/external_tool.json +0 -0
- data/spec/fixtures/external_tools.json +0 -0
- data/spec/fixtures/file.csv +0 -0
- data/spec/fixtures/gradebook_history.json +0 -0
- data/spec/fixtures/graph_ql_scores.json +0 -0
- data/spec/fixtures/group.json +0 -0
- data/spec/fixtures/group_categories.json +0 -0
- data/spec/fixtures/group_category.json +0 -0
- data/spec/fixtures/group_category_groups.json +0 -0
- data/spec/fixtures/group_conferences.json +0 -0
- data/spec/fixtures/group_membership.json +0 -0
- data/spec/fixtures/learning_outcome.json +0 -0
- data/spec/fixtures/link_unlink_outcome.json +0 -0
- data/spec/fixtures/merge_user.json +0 -0
- data/spec/fixtures/module.json +0 -0
- data/spec/fixtures/module_item.json +0 -0
- data/spec/fixtures/module_item_sequence.json +0 -0
- data/spec/fixtures/module_items.json +0 -0
- data/spec/fixtures/modules.json +0 -0
- data/spec/fixtures/new_quizzes/course_new_quiz.json +27 -0
- data/spec/fixtures/new_quizzes/course_new_quizzes.json +56 -0
- data/spec/fixtures/new_quizzes/new_quiz_item.json +35 -0
- data/spec/fixtures/new_quizzes/new_quiz_items.json +72 -0
- data/spec/fixtures/new_quizzes/new_quiz_report.json +14 -0
- data/spec/fixtures/new_quizzes/new_quiz_reports.json +26 -0
- data/spec/fixtures/new_quizzes/new_quiz_submission.json +12 -0
- data/spec/fixtures/new_quizzes/new_quiz_submissions.json +26 -0
- data/spec/fixtures/no_custom_data.json +0 -0
- data/spec/fixtures/ok.json +0 -0
- data/spec/fixtures/outcome_group_import.json +0 -0
- data/spec/fixtures/outcome_groups.json +0 -0
- data/spec/fixtures/outcome_result.json +0 -0
- data/spec/fixtures/outcome_subgroup.json +0 -0
- data/spec/fixtures/outcome_subgroups.json +0 -0
- data/spec/fixtures/outcomes.json +0 -0
- data/spec/fixtures/paged_body.json +0 -0
- data/spec/fixtures/pages.json +0 -0
- data/spec/fixtures/progress.json +0 -0
- data/spec/fixtures/quizzes/course_quiz.json +0 -0
- data/spec/fixtures/quizzes/course_quiz_questions.json +0 -0
- data/spec/fixtures/quizzes/course_quizzes.json +0 -0
- data/spec/fixtures/quizzes/quiz_assignment_override.json +0 -0
- data/spec/fixtures/quizzes/quiz_extension.json +0 -0
- data/spec/fixtures/reactivate_enrollment.json +0 -0
- data/spec/fixtures/report_history.json +0 -0
- data/spec/fixtures/report_list.json +0 -0
- data/spec/fixtures/report_status.json +0 -0
- data/spec/fixtures/rubric.json +0 -0
- data/spec/fixtures/rubric_assessment.json +0 -0
- data/spec/fixtures/rubric_association.json +0 -0
- data/spec/fixtures/search_find_recipients.json +0 -0
- data/spec/fixtures/section.json +0 -0
- data/spec/fixtures/section_enrollments.json +0 -0
- data/spec/fixtures/single_account.json +0 -0
- data/spec/fixtures/start_report.json +0 -0
- data/spec/fixtures/sub_account.json +15 -0
- data/spec/fixtures/submissions/submission.json +0 -0
- data/spec/fixtures/update_outcome.json +0 -0
- data/spec/fixtures/update_outcome_group.json +0 -0
- data/spec/fixtures/update_section.json +0 -0
- data/spec/fixtures/updated_course.json +0 -0
- data/spec/fixtures/updated_page.json +19 -0
- data/spec/fixtures/updated_sub_account.json +15 -0
- data/spec/fixtures/user_avatars.json +0 -0
- data/spec/fixtures/user_details.json +0 -0
- data/spec/fixtures/user_enrollments.json +0 -0
- data/spec/fixtures/user_logins.json +0 -0
- data/spec/fixtures/user_page_views.json +0 -0
- data/spec/fixtures/user_profile.json +0 -0
- data/spec/helper.rb +4 -0
- metadata +33 -3
- data/lib/bearcat/rate_limiting/functions.lua +0 -11
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"created_at": "2015-05-20T19:07:44Z",
|
|
3
|
+
"editing_roles": "teachers",
|
|
4
|
+
"title": "Updated Page Title",
|
|
5
|
+
"updated_at": "2015-05-21T10:00:00Z",
|
|
6
|
+
"url": "instruction-test",
|
|
7
|
+
"page_id": 1,
|
|
8
|
+
"last_edited_by": {
|
|
9
|
+
"id": 1,
|
|
10
|
+
"display_name": "ctanner@instructure.com",
|
|
11
|
+
"avatar_image_url": "https://canvas.instructure.com/images/messages/avatar-50.png",
|
|
12
|
+
"html_url": "http://localhost:3000/courses/1/users/1"
|
|
13
|
+
},
|
|
14
|
+
"published": true,
|
|
15
|
+
"hide_from_students": false,
|
|
16
|
+
"front_page": false,
|
|
17
|
+
"html_url": "http://localhost:3000/courses/1/pages/instruction-test",
|
|
18
|
+
"locked_for_user": false
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": 2,
|
|
3
|
+
"name": "Renamed Sub-Account",
|
|
4
|
+
"workflow_state": "active",
|
|
5
|
+
"parent_account_id": 1,
|
|
6
|
+
"root_account_id": 1,
|
|
7
|
+
"uuid": "rd7NGVGl7f7913DzKCxFUKh17qMTQRZEJ0k4WW3R",
|
|
8
|
+
"default_storage_quota_mb": "5000",
|
|
9
|
+
"default_user_storage_quota_mb": "50",
|
|
10
|
+
"default_group_storage_quota_mb": "50",
|
|
11
|
+
"default_time_zone": "America/Denver",
|
|
12
|
+
"sis_account_id": null,
|
|
13
|
+
"sis_import_id": null,
|
|
14
|
+
"integration_id": null
|
|
15
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/helper.rb
CHANGED
|
@@ -24,6 +24,10 @@ def stub_put(client, url)
|
|
|
24
24
|
stub_request(:put, "#{client.config[:prefix]}#{url}")
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
def stub_patch(client, url)
|
|
28
|
+
stub_request(:patch, "#{client.config[:prefix]}#{url}")
|
|
29
|
+
end
|
|
30
|
+
|
|
27
31
|
def stub_delete(client, url)
|
|
28
32
|
stub_request(:delete, "#{client.config[:prefix]}#{url}")
|
|
29
33
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bearcat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Instructure CustomDev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -215,6 +215,7 @@ files:
|
|
|
215
215
|
- lib/bearcat/client/logins.rb
|
|
216
216
|
- lib/bearcat/client/module_items.rb
|
|
217
217
|
- lib/bearcat/client/modules.rb
|
|
218
|
+
- lib/bearcat/client/new_quizzes.rb
|
|
218
219
|
- lib/bearcat/client/o_auth2.rb
|
|
219
220
|
- lib/bearcat/client/outcome_groups.rb
|
|
220
221
|
- lib/bearcat/client/outcome_imports.rb
|
|
@@ -236,7 +237,6 @@ files:
|
|
|
236
237
|
- lib/bearcat/client_module.rb
|
|
237
238
|
- lib/bearcat/misc_exceptions/conflict.rb
|
|
238
239
|
- lib/bearcat/rate_limiting.rb
|
|
239
|
-
- lib/bearcat/rate_limiting/functions.lua
|
|
240
240
|
- lib/bearcat/rate_limiting/increment_bucket.lua
|
|
241
241
|
- lib/bearcat/rate_limiting/redis_script.rb
|
|
242
242
|
- lib/bearcat/spec_helpers.rb
|
|
@@ -279,6 +279,7 @@ files:
|
|
|
279
279
|
- spec/bearcat/client/learning_outcomes_spec.rb
|
|
280
280
|
- spec/bearcat/client/module_items_spec.rb
|
|
281
281
|
- spec/bearcat/client/modules_spec.rb
|
|
282
|
+
- spec/bearcat/client/new_quizzes_spec.rb
|
|
282
283
|
- spec/bearcat/client/o_auth2_spec.rb
|
|
283
284
|
- spec/bearcat/client/outcome_groups_spec.rb
|
|
284
285
|
- spec/bearcat/client/outcomes_spec.rb
|
|
@@ -361,6 +362,7 @@ files:
|
|
|
361
362
|
- spec/fixtures/created_group_category.json
|
|
362
363
|
- spec/fixtures/created_group_membership.json
|
|
363
364
|
- spec/fixtures/created_module.json
|
|
365
|
+
- spec/fixtures/created_sub_account.json
|
|
364
366
|
- spec/fixtures/custom_data.json
|
|
365
367
|
- spec/fixtures/custom_food_data.json
|
|
366
368
|
- spec/fixtures/custom_gradebook_columns/column_data.json
|
|
@@ -374,6 +376,8 @@ files:
|
|
|
374
376
|
- spec/fixtures/delete_section.json
|
|
375
377
|
- spec/fixtures/deleted_conversation.json
|
|
376
378
|
- spec/fixtures/deleted_group.json
|
|
379
|
+
- spec/fixtures/deleted_page.json
|
|
380
|
+
- spec/fixtures/deleted_sub_account.json
|
|
377
381
|
- spec/fixtures/department_level_participation.json
|
|
378
382
|
- spec/fixtures/department_level_statistics.json
|
|
379
383
|
- spec/fixtures/discussion_entries.json
|
|
@@ -403,6 +407,14 @@ files:
|
|
|
403
407
|
- spec/fixtures/module_item_sequence.json
|
|
404
408
|
- spec/fixtures/module_items.json
|
|
405
409
|
- spec/fixtures/modules.json
|
|
410
|
+
- spec/fixtures/new_quizzes/course_new_quiz.json
|
|
411
|
+
- spec/fixtures/new_quizzes/course_new_quizzes.json
|
|
412
|
+
- spec/fixtures/new_quizzes/new_quiz_item.json
|
|
413
|
+
- spec/fixtures/new_quizzes/new_quiz_items.json
|
|
414
|
+
- spec/fixtures/new_quizzes/new_quiz_report.json
|
|
415
|
+
- spec/fixtures/new_quizzes/new_quiz_reports.json
|
|
416
|
+
- spec/fixtures/new_quizzes/new_quiz_submission.json
|
|
417
|
+
- spec/fixtures/new_quizzes/new_quiz_submissions.json
|
|
406
418
|
- spec/fixtures/no_custom_data.json
|
|
407
419
|
- spec/fixtures/ok.json
|
|
408
420
|
- spec/fixtures/outcome_group_import.json
|
|
@@ -431,11 +443,14 @@ files:
|
|
|
431
443
|
- spec/fixtures/section_enrollments.json
|
|
432
444
|
- spec/fixtures/single_account.json
|
|
433
445
|
- spec/fixtures/start_report.json
|
|
446
|
+
- spec/fixtures/sub_account.json
|
|
434
447
|
- spec/fixtures/submissions/submission.json
|
|
435
448
|
- spec/fixtures/update_outcome.json
|
|
436
449
|
- spec/fixtures/update_outcome_group.json
|
|
437
450
|
- spec/fixtures/update_section.json
|
|
438
451
|
- spec/fixtures/updated_course.json
|
|
452
|
+
- spec/fixtures/updated_page.json
|
|
453
|
+
- spec/fixtures/updated_sub_account.json
|
|
439
454
|
- spec/fixtures/user_avatars.json
|
|
440
455
|
- spec/fixtures/user_details.json
|
|
441
456
|
- spec/fixtures/user_enrollments.json
|
|
@@ -473,6 +488,7 @@ test_files:
|
|
|
473
488
|
- spec/bearcat/stub_bearcat_spec.rb
|
|
474
489
|
- spec/bearcat/client/canvas_files_spec.rb
|
|
475
490
|
- spec/bearcat/client/folders_spec.rb
|
|
491
|
+
- spec/bearcat/client/new_quizzes_spec.rb
|
|
476
492
|
- spec/bearcat/client/conferences_spec.rb
|
|
477
493
|
- spec/bearcat/client/conversations_spec.rb
|
|
478
494
|
- spec/bearcat/client/outcome_groups_spec.rb
|
|
@@ -520,6 +536,7 @@ test_files:
|
|
|
520
536
|
- spec/fixtures/section_enrollments.json
|
|
521
537
|
- spec/fixtures/outcome_groups.json
|
|
522
538
|
- spec/fixtures/assignments.json
|
|
539
|
+
- spec/fixtures/deleted_page.json
|
|
523
540
|
- spec/fixtures/course_files.json
|
|
524
541
|
- spec/fixtures/assignment_section_override.json
|
|
525
542
|
- spec/fixtures/delete_course.json
|
|
@@ -545,6 +562,7 @@ test_files:
|
|
|
545
562
|
- spec/fixtures/content_migration_files/upload_success.json
|
|
546
563
|
- spec/fixtures/content_migration_files/content_migration.json
|
|
547
564
|
- spec/fixtures/content_migration_files/response.json
|
|
565
|
+
- spec/fixtures/updated_page.json
|
|
548
566
|
- spec/fixtures/created_assignment.json
|
|
549
567
|
- spec/fixtures/course_conferences.json
|
|
550
568
|
- spec/fixtures/create_outcome_in_group.json
|
|
@@ -568,6 +586,7 @@ test_files:
|
|
|
568
586
|
- spec/fixtures/course_students.json
|
|
569
587
|
- spec/fixtures/updated_course.json
|
|
570
588
|
- spec/fixtures/discussion_topics.json
|
|
589
|
+
- spec/fixtures/created_sub_account.json
|
|
571
590
|
- spec/fixtures/user_enrollments.json
|
|
572
591
|
- spec/fixtures/account_roles.json
|
|
573
592
|
- spec/fixtures/add_user.json
|
|
@@ -584,6 +603,14 @@ test_files:
|
|
|
584
603
|
- spec/fixtures/update_outcome_group.json
|
|
585
604
|
- spec/fixtures/module_item.json
|
|
586
605
|
- spec/fixtures/report_status.json
|
|
606
|
+
- spec/fixtures/new_quizzes/course_new_quizzes.json
|
|
607
|
+
- spec/fixtures/new_quizzes/new_quiz_submission.json
|
|
608
|
+
- spec/fixtures/new_quizzes/new_quiz_items.json
|
|
609
|
+
- spec/fixtures/new_quizzes/new_quiz_report.json
|
|
610
|
+
- spec/fixtures/new_quizzes/new_quiz_submissions.json
|
|
611
|
+
- spec/fixtures/new_quizzes/new_quiz_reports.json
|
|
612
|
+
- spec/fixtures/new_quizzes/new_quiz_item.json
|
|
613
|
+
- spec/fixtures/new_quizzes/course_new_quiz.json
|
|
587
614
|
- spec/fixtures/enroll_student.json
|
|
588
615
|
- spec/fixtures/group_category.json
|
|
589
616
|
- spec/fixtures/delete_group_category.json
|
|
@@ -615,6 +642,7 @@ test_files:
|
|
|
615
642
|
- spec/fixtures/access_token.json
|
|
616
643
|
- spec/fixtures/progress.json
|
|
617
644
|
- spec/fixtures/module.json
|
|
645
|
+
- spec/fixtures/deleted_sub_account.json
|
|
618
646
|
- spec/fixtures/group_categories.json
|
|
619
647
|
- spec/fixtures/course_folders.json
|
|
620
648
|
- spec/fixtures/department_level_statistics.json
|
|
@@ -627,6 +655,7 @@ test_files:
|
|
|
627
655
|
- spec/fixtures/modules.json
|
|
628
656
|
- spec/fixtures/group.json
|
|
629
657
|
- spec/fixtures/outcome_subgroup.json
|
|
658
|
+
- spec/fixtures/sub_account.json
|
|
630
659
|
- spec/fixtures/outcome_subgroups.json
|
|
631
660
|
- spec/fixtures/delete_section.json
|
|
632
661
|
- spec/fixtures/account_user.json
|
|
@@ -639,6 +668,7 @@ test_files:
|
|
|
639
668
|
- spec/fixtures/quizzes/quiz_assignment_override.json
|
|
640
669
|
- spec/fixtures/quizzes/quiz_extension.json
|
|
641
670
|
- spec/fixtures/quizzes/course_quiz.json
|
|
671
|
+
- spec/fixtures/updated_sub_account.json
|
|
642
672
|
- spec/fixtures/content_export.json
|
|
643
673
|
- spec/fixtures/created_group.json
|
|
644
674
|
- spec/fixtures/pages.json
|
|
@@ -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)
|