bearcat 1.4.10 → 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/bearcat/client/pages.rb +8 -1
- data/lib/bearcat/version.rb +1 -1
- metadata +163 -162
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 65992dcbb43af93a7a7f34bdf322bd82dd7ee45c
|
4
|
+
data.tar.gz: 3bf3d5f3e0849977b01b64df3c544519c2da928c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2936b59a7848832d98927f55e16abcce88f975a48319acaa2d8888ac5fe0ddb3e824f2eb1b638c44e0adeb0e5269eb6dd1304b0866feefca1714ce4c2c58565e
|
7
|
+
data.tar.gz: 1f176cce865ed38077e99e8a4960a09953d9c62bc0dbf7e0353caf8d1fc281152764ffbe05321ad13c01986b148c7f5154c20dee1096ab44ec444692cbb360c8
|
data/lib/bearcat/client/pages.rb
CHANGED
@@ -17,7 +17,14 @@ module Bearcat
|
|
17
17
|
def show_group_page(group, url, params={})
|
18
18
|
get("/api/v1/groups/#{group}/pages/#{url}", params)
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
|
+
def add_course_page(course, params={})
|
22
|
+
post("api/v1/courses/#{course}/pages", params)
|
23
|
+
end
|
24
|
+
|
25
|
+
def add_group_page(group, params={})
|
26
|
+
post("/api/v1/groups/#{group}/pages", params)
|
27
|
+
end
|
21
28
|
end
|
22
29
|
end
|
23
30
|
end
|
data/lib/bearcat/version.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills, Jake Sorce
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -365,10 +365,10 @@ files:
|
|
365
365
|
- spec/fixtures/user_page_views.json
|
366
366
|
- spec/fixtures/user_profile.json
|
367
367
|
- spec/helper.rb
|
368
|
-
homepage:
|
368
|
+
homepage:
|
369
369
|
licenses: []
|
370
370
|
metadata: {}
|
371
|
-
post_install_message:
|
371
|
+
post_install_message:
|
372
372
|
rdoc_options: []
|
373
373
|
require_paths:
|
374
374
|
- lib
|
@@ -383,194 +383,195 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
383
383
|
- !ruby/object:Gem::Version
|
384
384
|
version: '0'
|
385
385
|
requirements: []
|
386
|
-
|
387
|
-
|
386
|
+
rubyforge_project:
|
387
|
+
rubygems_version: 2.4.5.1
|
388
|
+
signing_key:
|
388
389
|
specification_version: 4
|
389
390
|
summary: Canvas API
|
390
391
|
test_files:
|
391
392
|
- spec/bearcat_spec.rb
|
392
|
-
- spec/helper.rb
|
393
393
|
- spec/bearcat/client_spec.rb
|
394
|
+
- spec/bearcat/group_memberships_spec.rb
|
394
395
|
- spec/bearcat/api_array_spec.rb
|
395
|
-
- spec/bearcat/client/
|
396
|
-
- spec/bearcat/client/
|
397
|
-
- spec/bearcat/client/outcomes_spec.rb
|
398
|
-
- spec/bearcat/client/submissions_spec.rb
|
399
|
-
- spec/bearcat/client/sections_spec.rb
|
400
|
-
- spec/bearcat/client/blueprint_courses_spec.rb
|
401
|
-
- spec/bearcat/client/outcome_groups_spec.rb
|
402
|
-
- spec/bearcat/client/quizzes_spec.rb
|
396
|
+
- spec/bearcat/client/canvas_files_spec.rb
|
397
|
+
- spec/bearcat/client/folders_spec.rb
|
403
398
|
- spec/bearcat/client/conferences_spec.rb
|
404
|
-
- spec/bearcat/client/
|
405
|
-
- spec/bearcat/client/
|
406
|
-
- spec/bearcat/client/
|
407
|
-
- spec/bearcat/client/content_migrations_spec.rb
|
399
|
+
- spec/bearcat/client/conversations_spec.rb
|
400
|
+
- spec/bearcat/client/outcome_groups_spec.rb
|
401
|
+
- spec/bearcat/client/assignment_groups_spec.rb
|
408
402
|
- spec/bearcat/client/assignments_spec.rb
|
409
|
-
- spec/bearcat/client/group_membership_spec.rb
|
410
|
-
- spec/bearcat/client/analytics_spec.rb
|
411
|
-
- spec/bearcat/client/module_items_spec.rb
|
412
|
-
- spec/bearcat/client/modules_spec.rb
|
413
403
|
- spec/bearcat/client/rubric_association_spec.rb
|
404
|
+
- spec/bearcat/client/o_auth2_spec.rb
|
405
|
+
- spec/bearcat/client/search_spec.rb
|
406
|
+
- spec/bearcat/client/calendar_events_spec.rb
|
407
|
+
- spec/bearcat/client/pages_spec.rb
|
408
|
+
- spec/bearcat/client/modules_spec.rb
|
409
|
+
- spec/bearcat/client/discussions_spec.rb
|
410
|
+
- spec/bearcat/client/files_spec.rb
|
414
411
|
- spec/bearcat/client/roles_spec.rb
|
412
|
+
- spec/bearcat/client/graph_ql_spec.rb
|
413
|
+
- spec/bearcat/client/group_categories_spec.rb
|
415
414
|
- spec/bearcat/client/rubric_assessment_spec.rb
|
416
|
-
- spec/bearcat/client/
|
415
|
+
- spec/bearcat/client/blueprint_courses_spec.rb
|
416
|
+
- spec/bearcat/client/submissions_spec.rb
|
417
|
+
- spec/bearcat/client/module_items_spec.rb
|
418
|
+
- spec/bearcat/client/content_migrations_spec.rb
|
419
|
+
- spec/bearcat/client/custom_gradebook_columns_spec.rb
|
420
|
+
- spec/bearcat/client/enrollments_spec.rb
|
421
|
+
- spec/bearcat/client/analytics_spec.rb
|
422
|
+
- spec/bearcat/client/content_exports_spec.rb
|
423
|
+
- spec/bearcat/client/external_tools_spec.rb
|
417
424
|
- spec/bearcat/client/rubric_spec.rb
|
418
|
-
- spec/bearcat/client/files_spec.rb
|
419
425
|
- spec/bearcat/client/accounts_spec.rb
|
420
|
-
- spec/bearcat/client/
|
421
|
-
- spec/bearcat/client/pages_spec.rb
|
422
|
-
- spec/bearcat/client/content_exports_spec.rb
|
423
|
-
- spec/bearcat/client/graph_ql_spec.rb
|
424
|
-
- spec/bearcat/client/o_auth2_spec.rb
|
426
|
+
- spec/bearcat/client/outcomes_spec.rb
|
425
427
|
- spec/bearcat/client/courses_spec.rb
|
426
|
-
- spec/bearcat/client/
|
427
|
-
- spec/bearcat/client/enrollments_spec.rb
|
428
|
-
- spec/bearcat/client/conversations_spec.rb
|
428
|
+
- spec/bearcat/client/reports_spec.rb
|
429
429
|
- spec/bearcat/client/users_spec.rb
|
430
|
-
- spec/bearcat/client/
|
431
|
-
- spec/bearcat/client/
|
432
|
-
- spec/bearcat/client/
|
433
|
-
- spec/bearcat/
|
434
|
-
- spec/
|
435
|
-
- spec/fixtures/
|
430
|
+
- spec/bearcat/client/sections_spec.rb
|
431
|
+
- spec/bearcat/client/group_membership_spec.rb
|
432
|
+
- spec/bearcat/client/groups_spec.rb
|
433
|
+
- spec/bearcat/client/quizzes_spec.rb
|
434
|
+
- spec/helper.rb
|
435
|
+
- spec/fixtures/account_grading_standards.json
|
436
|
+
- spec/fixtures/add_custom_user_data.json
|
436
437
|
- spec/fixtures/assignment_group.json
|
437
|
-
- spec/fixtures/
|
438
|
-
- spec/fixtures/
|
439
|
-
- spec/fixtures/
|
440
|
-
- spec/fixtures/
|
441
|
-
- spec/fixtures/
|
438
|
+
- spec/fixtures/account_groups.json
|
439
|
+
- spec/fixtures/update_outcome.json
|
440
|
+
- spec/fixtures/section_enrollments.json
|
441
|
+
- spec/fixtures/outcome_groups.json
|
442
|
+
- spec/fixtures/assignments.json
|
443
|
+
- spec/fixtures/course_files.json
|
444
|
+
- spec/fixtures/assignment_section_override.json
|
445
|
+
- spec/fixtures/delete_course.json
|
442
446
|
- spec/fixtures/course_folder.json
|
443
|
-
- spec/fixtures/
|
444
|
-
- spec/fixtures/outcome_group_import.json
|
445
|
-
- spec/fixtures/edited_group_category.json
|
446
|
-
- spec/fixtures/course_copy.json
|
447
|
-
- spec/fixtures/single_account.json
|
448
|
-
- spec/fixtures/module.json
|
449
|
-
- spec/fixtures/blueprint_update_assocations_success.json
|
450
|
-
- spec/fixtures/account_admin_create.json
|
451
|
-
- spec/fixtures/cc.imscc
|
452
|
-
- spec/fixtures/discussion_topics.json
|
447
|
+
- spec/fixtures/ok.json
|
453
448
|
- spec/fixtures/account_sub_accounts.json
|
454
|
-
- spec/fixtures/
|
455
|
-
- spec/fixtures/
|
456
|
-
- spec/fixtures/
|
457
|
-
- spec/fixtures/
|
458
|
-
- spec/fixtures/
|
459
|
-
- spec/fixtures/submissions/submission.json
|
460
|
-
- spec/fixtures/create_course_discussion.json
|
461
|
-
- spec/fixtures/conversation.json
|
462
|
-
- spec/fixtures/communication_channels.json
|
449
|
+
- spec/fixtures/course_sections.json
|
450
|
+
- spec/fixtures/merge_user.json
|
451
|
+
- spec/fixtures/bearcat.jpg
|
452
|
+
- spec/fixtures/create_group_discussion.json
|
453
|
+
- spec/fixtures/course_enrollments.json
|
463
454
|
- spec/fixtures/account_users.json
|
464
|
-
- spec/fixtures/
|
465
|
-
- spec/fixtures/
|
466
|
-
- spec/fixtures/
|
467
|
-
- spec/fixtures/
|
455
|
+
- spec/fixtures/no_custom_data.json
|
456
|
+
- spec/fixtures/communication_channels.json
|
457
|
+
- spec/fixtures/edited_group_category.json
|
458
|
+
- spec/fixtures/rubric_assessment.json
|
459
|
+
- spec/fixtures/paged_body.json
|
460
|
+
- spec/fixtures/canvas_files/upload_success.json
|
461
|
+
- spec/fixtures/canvas_files/declare_file.json
|
462
|
+
- spec/fixtures/account_reports.json
|
463
|
+
- spec/fixtures/outcomes.json
|
464
|
+
- spec/fixtures/search_find_recipients.json
|
468
465
|
- spec/fixtures/content_migration_files/upload_success.json
|
469
|
-
- spec/fixtures/content_migration_files/response.json
|
470
466
|
- spec/fixtures/content_migration_files/content_migration.json
|
471
|
-
- spec/fixtures/
|
467
|
+
- spec/fixtures/content_migration_files/response.json
|
468
|
+
- spec/fixtures/created_assignment.json
|
469
|
+
- spec/fixtures/course_conferences.json
|
470
|
+
- spec/fixtures/create_outcome_in_group.json
|
471
|
+
- spec/fixtures/delete_custom_data_scope.json
|
472
|
+
- spec/fixtures/created_group_category.json
|
473
|
+
- spec/fixtures/created_course.json
|
474
|
+
- spec/fixtures/assignment_groups.json
|
475
|
+
- spec/fixtures/section.json
|
476
|
+
- spec/fixtures/create_section.json
|
477
|
+
- spec/fixtures/user_page_views.json
|
478
|
+
- spec/fixtures/account_admin_create.json
|
479
|
+
- spec/fixtures/assignment.json
|
480
|
+
- spec/fixtures/calendar_event.json
|
481
|
+
- spec/fixtures/blueprint_subscriptions.json
|
482
|
+
- spec/fixtures/blueprint_update_assocations_success.json
|
483
|
+
- spec/fixtures/course.json
|
484
|
+
- spec/fixtures/rubric_association.json
|
485
|
+
- spec/fixtures/external_tools.json
|
486
|
+
- spec/fixtures/conversation.json
|
487
|
+
- spec/fixtures/external_tool.json
|
488
|
+
- spec/fixtures/course_students.json
|
489
|
+
- spec/fixtures/updated_course.json
|
490
|
+
- spec/fixtures/discussion_topics.json
|
491
|
+
- spec/fixtures/user_enrollments.json
|
492
|
+
- spec/fixtures/account_roles.json
|
493
|
+
- spec/fixtures/add_user.json
|
494
|
+
- spec/fixtures/discussion_entry_replies.json
|
495
|
+
- spec/fixtures/report_history.json
|
472
496
|
- spec/fixtures/gradebook_history.json
|
473
|
-
- spec/fixtures/
|
474
|
-
- spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
|
475
|
-
- spec/fixtures/custom_gradebook_columns/column_data.json
|
476
|
-
- spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
|
497
|
+
- spec/fixtures/account_sis_imports.json
|
477
498
|
- spec/fixtures/update_section.json
|
499
|
+
- spec/fixtures/conclude_enrollment.json
|
500
|
+
- spec/fixtures/start_report.json
|
501
|
+
- spec/fixtures/custom_data.json
|
502
|
+
- spec/fixtures/rubric.json
|
503
|
+
- spec/fixtures/account_role.json
|
504
|
+
- spec/fixtures/update_outcome_group.json
|
505
|
+
- spec/fixtures/module_item.json
|
506
|
+
- spec/fixtures/report_status.json
|
507
|
+
- spec/fixtures/enroll_student.json
|
508
|
+
- spec/fixtures/group_category.json
|
509
|
+
- spec/fixtures/delete_group_category.json
|
510
|
+
- spec/fixtures/dashboard.json
|
511
|
+
- spec/fixtures/edited_group.json
|
512
|
+
- spec/fixtures/department_level_participation.json
|
513
|
+
- spec/fixtures/outcome_result.json
|
514
|
+
- spec/fixtures/file.csv
|
515
|
+
- spec/fixtures/course_copy.json
|
478
516
|
- spec/fixtures/user_logins.json
|
479
|
-
- spec/fixtures/
|
480
|
-
- spec/fixtures/
|
481
|
-
- spec/fixtures/
|
517
|
+
- spec/fixtures/module_item_sequence.json
|
518
|
+
- spec/fixtures/enrollment_terms.json
|
519
|
+
- spec/fixtures/blueprint_migration.json
|
520
|
+
- spec/fixtures/cc.imscc
|
521
|
+
- spec/fixtures/user_profile.json
|
522
|
+
- spec/fixtures/create_course_discussion.json
|
523
|
+
- spec/fixtures/custom_food_data.json
|
524
|
+
- spec/fixtures/created_module.json
|
482
525
|
- spec/fixtures/course_groups.json
|
483
|
-
- spec/fixtures/
|
484
|
-
- spec/fixtures/
|
485
|
-
- spec/fixtures/
|
486
|
-
- spec/fixtures/
|
487
|
-
- spec/fixtures/
|
526
|
+
- spec/fixtures/reactivate_enrollment.json
|
527
|
+
- spec/fixtures/blueprint_template.json
|
528
|
+
- spec/fixtures/account_courses.json
|
529
|
+
- spec/fixtures/calendar_events.json
|
530
|
+
- spec/fixtures/submissions/submission.json
|
488
531
|
- spec/fixtures/link_unlink_outcome.json
|
489
|
-
- spec/fixtures/
|
490
|
-
- spec/fixtures/ok.json
|
491
|
-
- spec/fixtures/add_custom_user_data.json
|
492
|
-
- spec/fixtures/report_status.json
|
493
|
-
- spec/fixtures/account_role.json
|
494
|
-
- spec/fixtures/account_roles.json
|
495
|
-
- spec/fixtures/user_enrollments.json
|
496
|
-
- spec/fixtures/course_enrollments.json
|
532
|
+
- spec/fixtures/account_reports_index.json
|
497
533
|
- spec/fixtures/module_items.json
|
498
|
-
- spec/fixtures/
|
499
|
-
- spec/fixtures/
|
500
|
-
- spec/fixtures/
|
501
|
-
- spec/fixtures/
|
502
|
-
- spec/fixtures/user_profile.json
|
503
|
-
- spec/fixtures/external_tools.json
|
504
|
-
- spec/fixtures/create_section.json
|
505
|
-
- spec/fixtures/assignment_groups.json
|
506
|
-
- spec/fixtures/outcome_subgroups.json
|
507
|
-
- spec/fixtures/updated_course.json
|
508
|
-
- spec/fixtures/account_sis_imports.json
|
509
|
-
- spec/fixtures/account_admins.json
|
510
|
-
- spec/fixtures/department_level_statistics.json
|
534
|
+
- spec/fixtures/access_token.json
|
535
|
+
- spec/fixtures/progress.json
|
536
|
+
- spec/fixtures/module.json
|
537
|
+
- spec/fixtures/group_categories.json
|
511
538
|
- spec/fixtures/course_folders.json
|
539
|
+
- spec/fixtures/department_level_statistics.json
|
512
540
|
- spec/fixtures/account_admin_delete.json
|
513
|
-
- spec/fixtures/
|
514
|
-
- spec/fixtures/
|
515
|
-
- spec/fixtures/
|
516
|
-
- spec/fixtures/
|
517
|
-
- spec/fixtures/
|
518
|
-
- spec/fixtures/
|
519
|
-
- spec/fixtures/
|
520
|
-
- spec/fixtures/
|
521
|
-
- spec/fixtures/
|
522
|
-
- spec/fixtures/
|
523
|
-
- spec/fixtures/
|
524
|
-
- spec/fixtures/
|
525
|
-
- spec/fixtures/
|
541
|
+
- spec/fixtures/account_reports_result_success.json
|
542
|
+
- spec/fixtures/deleted_conversation.json
|
543
|
+
- spec/fixtures/user_details.json
|
544
|
+
- spec/fixtures/outcome_group_import.json
|
545
|
+
- spec/fixtures/modules.json
|
546
|
+
- spec/fixtures/group.json
|
547
|
+
- spec/fixtures/outcome_subgroup.json
|
548
|
+
- spec/fixtures/outcome_subgroups.json
|
549
|
+
- spec/fixtures/delete_section.json
|
550
|
+
- spec/fixtures/account_user.json
|
551
|
+
- spec/fixtures/accounts.json
|
552
|
+
- spec/fixtures/account_admins.json
|
553
|
+
- spec/fixtures/report_list.json
|
554
|
+
- spec/fixtures/group_membership.json
|
526
555
|
- spec/fixtures/quizzes/course_quizzes.json
|
527
556
|
- spec/fixtures/quizzes/course_quiz_questions.json
|
528
|
-
- spec/fixtures/
|
529
|
-
- spec/fixtures/
|
530
|
-
- spec/fixtures/
|
531
|
-
- spec/fixtures/
|
557
|
+
- spec/fixtures/quizzes/quiz_assignment_override.json
|
558
|
+
- spec/fixtures/quizzes/quiz_extension.json
|
559
|
+
- spec/fixtures/quizzes/course_quiz.json
|
560
|
+
- spec/fixtures/content_export.json
|
561
|
+
- spec/fixtures/created_group.json
|
562
|
+
- spec/fixtures/pages.json
|
563
|
+
- spec/fixtures/discussion_entries.json
|
564
|
+
- spec/fixtures/single_account.json
|
565
|
+
- spec/fixtures/group_category_groups.json
|
532
566
|
- spec/fixtures/created_group_membership.json
|
533
|
-
- spec/fixtures/
|
534
|
-
- spec/fixtures/
|
535
|
-
- spec/fixtures/
|
536
|
-
- spec/fixtures/
|
537
|
-
- spec/fixtures/
|
538
|
-
- spec/fixtures/
|
539
|
-
- spec/fixtures/
|
540
|
-
- spec/fixtures/
|
541
|
-
- spec/fixtures/blueprint_template.json
|
542
|
-
- spec/fixtures/delete_section.json
|
543
|
-
- spec/fixtures/update_outcome_group.json
|
567
|
+
- spec/fixtures/user_avatars.json
|
568
|
+
- spec/fixtures/graph_ql_scores.json
|
569
|
+
- spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
|
570
|
+
- spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
|
571
|
+
- spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
|
572
|
+
- spec/fixtures/custom_gradebook_columns/column_data.json
|
573
|
+
- spec/fixtures/account_reports_start_result.json
|
574
|
+
- spec/fixtures/course_grading_standards.json
|
544
575
|
- spec/fixtures/group_conferences.json
|
545
|
-
- spec/fixtures/created_group.json
|
546
|
-
- spec/fixtures/outcome_groups.json
|
547
|
-
- spec/fixtures/progress.json
|
548
|
-
- spec/fixtures/delete_course.json
|
549
|
-
- spec/fixtures/canvas_files/upload_success.json
|
550
|
-
- spec/fixtures/canvas_files/declare_file.json
|
551
|
-
- spec/fixtures/account_grading_standards.json
|
552
|
-
- spec/fixtures/course_sections.json
|
553
|
-
- spec/fixtures/course_conferences.json
|
554
|
-
- spec/fixtures/user_details.json
|
555
|
-
- spec/fixtures/module_item_sequence.json
|
556
|
-
- spec/fixtures/custom_food_data.json
|
557
|
-
- spec/fixtures/update_outcome.json
|
558
576
|
- spec/fixtures/discussion_topic.json
|
559
|
-
- spec/fixtures/
|
560
|
-
- spec/fixtures/assignment_section_override.json
|
561
|
-
- spec/fixtures/account_reports_result_success.json
|
562
|
-
- spec/fixtures/rubric_assessment.json
|
563
|
-
- spec/fixtures/calendar_events.json
|
564
|
-
- spec/fixtures/deleted_conversation.json
|
565
|
-
- spec/fixtures/created_assignment.json
|
566
|
-
- spec/fixtures/start_report.json
|
567
|
-
- spec/fixtures/conclude_enrollment.json
|
568
|
-
- spec/fixtures/custom_data.json
|
569
|
-
- spec/fixtures/created_course.json
|
570
|
-
- spec/fixtures/account_groups.json
|
571
|
-
- spec/fixtures/modules.json
|
572
|
-
- spec/fixtures/course_students.json
|
573
|
-
- spec/fixtures/access_token.json
|
574
|
-
- spec/fixtures/delete_group_category.json
|
575
|
-
- spec/fixtures/module_item.json
|
576
|
-
- spec/fixtures/account_courses.json
|
577
|
+
- spec/fixtures/deleted_group.json
|