bearcat 1.4.8 → 1.4.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b90ec8e90ea31d17bebe5b08edbb4af296b201af79c052250c2655dedf734e6
4
- data.tar.gz: db220f338bdcd6ad166fed415080eb7f65367c6db99e13781ad3b1cc1335be2e
3
+ metadata.gz: 29d44295c93c7eb13d7acf83e253608348e36da68fcba2b0d5c20e24cf88865b
4
+ data.tar.gz: 9606edfa90070ccc346f522d1706cc054a31209170ccc7349486ef1c55a66ee7
5
5
  SHA512:
6
- metadata.gz: 6c3ada3e912c59d97757232c5451cc5ffc5fc1f289d3009d8a1e71cc24e556d0529b43742778b94ded2a73294a7bae7043dd302720e82f755cdbd2e5e930c10f
7
- data.tar.gz: 6cbe47361dbfcb48cefc96353cf2cd34fc5e6974cbbaa673dc04b4363ed0d14669b3ed6c02b567a5266e08fdb1ede99402a498c7630b0a0ba38f2976cb96a40c
6
+ metadata.gz: 86f25e018a97f17dafa030706effa894291c21df682d83c54c40f181dca2202f10aa3fff762ae2bab14c6bf75a50221bd7c325dbf278a1030caa082799fdcf9f
7
+ data.tar.gz: 4fa13cb93bd6d6c537685f2d8d1894c6411165d1bc17ec9e7b13cc18eb648f67bcde8637c9477a733cbb5ebff047197f14bca74211b136ed28b0103c265d4ad3
data/bearcat.gemspec CHANGED
@@ -26,5 +26,7 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_dependency "activesupport"
28
28
  gem.add_dependency "footrest", ">= 0.2.2"
29
+ # gem.add_dependency "faraday_middleware"
30
+ # gem.add_dependency "logging", ">= 2.2.2"
29
31
  gem.add_dependency "paul_walker", "~> 0.1.1"
30
32
  end
@@ -1,40 +1,43 @@
1
- module FileHelper
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module FileHelper
4
+ def file_params(file_path)
5
+ {
6
+ size: File.open(file_path).size,
7
+ name: File.basename(file_path)
8
+ }
9
+ end
2
10
 
3
- def file_params(file_path)
4
- {
5
- size: File.open(file_path).size,
6
- name: File.basename(file_path)
7
- }
8
- end
9
-
10
- def declare_file(api_path, params)
11
- post(api_path, params)
12
- end
11
+ def declare_file(api_path, params)
12
+ post(api_path, params)
13
+ end
13
14
 
14
- def post_file(url, params, file_path)
15
- params['Filename'] = File.basename(file_path)
16
- params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
17
- response = upload_connection.post(url, params)
18
- if [201, 302, 303].include? response.status #success if it is a redirect or 201
19
- response.headers['Location']
20
- else
21
- raise 'FailedFileUpload'
22
- end
23
- end
15
+ def post_file(url, params, file_path)
16
+ params['Filename'] = File.basename(file_path)
17
+ params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
18
+ response = upload_connection.post(url, params)
19
+ if [201, 302, 303].include? response.status #success if it is a redirect or 201
20
+ response.headers['Location']
21
+ else
22
+ raise 'FailedFileUpload'
23
+ end
24
+ end
24
25
 
25
- def confirm_file_upload(url)
26
- uri = URI(url)
27
- query = uri.query
28
- query.blank? ? get(uri.path) : get(uri.path, CGI::parse(query))
29
- end
26
+ def confirm_file_upload(url)
27
+ uri = URI(url)
28
+ query = uri.query
29
+ query.blank? ? get(uri.path) : get(uri.path, CGI::parse(query))
30
+ end
30
31
 
31
- def upload_connection
32
- Faraday.new do |f|
33
- f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i
34
- f.options[:timeout] = ENV.fetch('FARADAY_TIMEOUT', 60).to_i
35
- f.request :multipart
36
- f.request :url_encoded
37
- f.adapter :net_http
32
+ def upload_connection
33
+ Faraday.new do |f|
34
+ f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i
35
+ f.options[:timeout] = ENV.fetch('FARADAY_TIMEOUT', 60).to_i
36
+ f.request :multipart
37
+ f.request :url_encoded
38
+ f.adapter :net_http
39
+ end
40
+ end
38
41
  end
39
42
  end
40
43
  end
@@ -0,0 +1,48 @@
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module OutcomeImports
4
+
5
+ def import_outcomes(file_path, params={})
6
+ params = params.with_indifferent_access
7
+ params['attachment'] = Faraday::UploadIO.new(file_path, 'text/csv')
8
+ url = "api/v1/#{outcome_import_context_slug(params)}"
9
+ url += "group/#{params[:group]}/" if params[:group].present?
10
+ params.delete(:group)
11
+ post(url, params)
12
+ end
13
+
14
+ def outcome_import_status(id, params={})
15
+ params = params.with_indifferent_access
16
+ get("api/v1/#{outcome_import_context_slug(params)}#{id}", params)
17
+ end
18
+
19
+ def outcome_import_created_group_ids(id, params={})
20
+ params = params.with_indifferent_access
21
+ get("api/v1/#{outcome_import_context_slug(params)}#{id}/created_group_ids", params)
22
+ end
23
+
24
+ protected
25
+
26
+ def outcome_import_context_slug(params)
27
+ context_hash = params.select { |k, _| k == "account" || k == "course" }
28
+
29
+ if context_hash.keys.count > 1
30
+ raise ArgumentError, "cannot have account and course in params"
31
+ elsif context_hash.empty?
32
+ "accounts/self/outcome_imports/"
33
+ else
34
+ context_hash_key = context_hash.keys.first
35
+ case context_hash_key
36
+ when 'account'
37
+ params.delete(:account)
38
+ "accounts/#{context_hash[context_hash_key]}/outcome_imports/"
39
+ when 'course'
40
+ params.delete(:course)
41
+ "courses/#{context_hash[context_hash_key]}/outcome_imports/"
42
+ end
43
+ end
44
+ end
45
+
46
+ end
47
+ end
48
+ end
@@ -1,93 +1,24 @@
1
1
  require 'active_support/core_ext/hash'
2
+ require 'faraday_middleware'
2
3
  require 'footrest/client'
3
4
  require 'paul_walker'
4
5
 
5
6
  module Bearcat
6
7
  class Client < Footrest::Client
7
8
  require 'bearcat/api_array'
8
- require 'bearcat/client/file_helper'
9
- require 'bearcat/client/assignments'
10
- require 'bearcat/client/blueprint_courses'
11
- require 'bearcat/client/courses'
12
- require 'bearcat/client/enrollments'
13
- require 'bearcat/client/outcome_groups'
14
- require 'bearcat/client/outcomes'
15
- require 'bearcat/client/sections'
16
- require 'bearcat/client/o_auth2'
17
- require 'bearcat/client/groups'
18
- require 'bearcat/client/group_categories'
19
- require 'bearcat/client/group_memberships'
20
- require 'bearcat/client/conferences'
21
- require 'bearcat/client/users'
22
- require 'bearcat/client/reports'
23
- require 'bearcat/client/accounts'
24
- require 'bearcat/client/submissions'
25
- require 'bearcat/client/conversations'
26
- require 'bearcat/client/modules'
27
- require 'bearcat/client/canvas_files'
28
- require 'bearcat/client/calendar_events'
29
- require 'bearcat/client/discussions'
30
- require 'bearcat/client/search'
31
- require 'bearcat/client/quizzes'
32
- require 'bearcat/client/assignment_groups'
33
- require 'bearcat/client/pages'
34
- require 'bearcat/client/files'
35
- require 'bearcat/client/folders'
36
- require 'bearcat/client/graph_ql'
37
- require 'bearcat/client/analytics'
38
- require 'bearcat/client/module_items'
39
- require 'bearcat/client/content_migrations'
40
- require 'bearcat/client/content_exports'
41
- require 'bearcat/client/custom_gradebook_columns'
42
- require 'bearcat/client/external_tools'
43
- require 'bearcat/client/roles'
44
- require 'bearcat/client/rubric'
45
- require 'bearcat/client/rubric_assessment'
46
- require 'bearcat/client/rubric_association'
47
- require 'bearcat/client/progresses'
48
- require 'bearcat/client/tabs'
49
9
 
50
- include Assignments
51
- include Accounts
52
- include Analytics
53
- include BlueprintCourses
54
- include Courses
55
- include Enrollments
56
- include OutcomeGroups
57
- include Outcomes
58
- include Sections
59
- include OAuth2
60
- include Groups
61
- include GroupCategories
62
- include GroupMemberships
63
- include Conferences
64
- include Users
65
- include Reports
66
- include Submissions
67
- include Conversations
68
- include Modules
69
- include CanvasFiles
70
- include CalendarEvents
71
- include Discussions
72
- include FileHelper
73
- include Search
74
- include Quizzes
75
- include AssignmentGroups
76
- include Pages
77
- include Files
78
- include Folders
79
- include GraphQL
80
- include ModuleItems
81
- include ContentMigrations
82
- include ContentExports
83
- include CustomGradebookColumns
84
- include ExternalTools
85
- include Roles
86
- include Rubric
87
- include RubricAssessment
88
- include RubricAssociation
89
- include Progresses
90
- include Tabs
10
+ Dir[File.join(__dir__, 'client', '*.rb')].each do |mod|
11
+ mname = File.basename(mod, '.*').camelize
12
+ mname = 'GraphQL' if mname == 'GraphQl'
13
+ require mod
14
+ include "Bearcat::Client::#{mname}".constantize
15
+ end
16
+
17
+ def set_connection(config)
18
+ super
19
+ # connection.builder.delete(Faraday::Request::Multipart)
20
+ # connection.builder.insert(0, FaradayMiddleware::EncodeJson)
21
+ end
91
22
 
92
23
  # Override Footrest request for ApiArray support
93
24
  def request(method, &block)
@@ -7,13 +7,15 @@ require 'bearcat'
7
7
  # - `config.include Bearcat::SpecHelpers`
8
8
  # This helper requires `gem 'method_source'` in your test group
9
9
  module Bearcat::SpecHelpers
10
+ extend ActiveSupport::Concern
11
+
10
12
  SOURCE_REGEX = /(?<method>get|post|delete|put)\((?<quote>\\?('|"))(?<url>.*)\k<quote>/
11
13
 
12
14
  # Helper method to Stub Bearcat requests.
13
15
  # Automagically parses the Bearcat method source to determine the correct URL to stub.
14
16
  # Accepts optional keyword parameters to interpolate specific values into the URL.
15
17
  # Returns a mostly-normal Webmock stub (:to_return has been overridden to allow :body to be set to a Hash)
16
- def stub_bearcat(endpoint, prefix: nil, **kwargs)
18
+ def stub_bearcat(endpoint, prefix: nil, method: :auto, **kwargs)
17
19
  url = case endpoint
18
20
  when Symbol
19
21
  ruby_method = Bearcat::Client.instance_method(endpoint)
@@ -43,16 +45,26 @@ module Bearcat::SpecHelpers
43
45
  end
44
46
 
45
47
  url = Regexp.escape(resolve_prefix(prefix)) + url
46
- stub = stub_request(match[:method].to_sym, Regexp.new(url))
48
+ stub = stub_request(method == :auto ? (match ? match[:method].to_sym : :get) : method, Regexp.new(url))
47
49
 
48
50
  # Override the to_return method to accept a Hash as body:
49
- stub.define_singleton_method(:to_return, ->(*resps) {
50
- resps.map do |resp|
51
- resp[:headers] ||= {}
52
- resp[:headers]["Content-Type"] ||= "application/json"
53
- resp[:body] = resp[:body].to_json
51
+ stub.define_singleton_method(:to_return, ->(*resps, &blk) {
52
+ if blk
53
+ super do |*args|
54
+ resp = blk.call(*args)
55
+ resp[:headers] ||= {}
56
+ resp[:headers]["Content-Type"] ||= "application/json"
57
+ resp[:body] = resp[:body].to_json
58
+ resp
59
+ end
60
+ else
61
+ resps.map do |resp|
62
+ resp[:headers] ||= {}
63
+ resp[:headers]["Content-Type"] ||= "application/json"
64
+ resp[:body] = resp[:body].to_json
65
+ end
66
+ super(*resps)
54
67
  end
55
- super(*resps)
56
68
  })
57
69
 
58
70
  stub
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.4.8' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.4.9' unless defined?(Bearcat::VERSION)
3
3
  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.4.8
4
+ version: 1.4.9
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: 2021-09-21 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -162,6 +162,7 @@ files:
162
162
  - lib/bearcat/client/modules.rb
163
163
  - lib/bearcat/client/o_auth2.rb
164
164
  - lib/bearcat/client/outcome_groups.rb
165
+ - lib/bearcat/client/outcome_imports.rb
165
166
  - lib/bearcat/client/outcomes.rb
166
167
  - lib/bearcat/client/pages.rb
167
168
  - lib/bearcat/client/progresses.rb
@@ -364,10 +365,10 @@ files:
364
365
  - spec/fixtures/user_page_views.json
365
366
  - spec/fixtures/user_profile.json
366
367
  - spec/helper.rb
367
- homepage:
368
+ homepage:
368
369
  licenses: []
369
370
  metadata: {}
370
- post_install_message:
371
+ post_install_message:
371
372
  rdoc_options: []
372
373
  require_paths:
373
374
  - lib
@@ -382,194 +383,194 @@ required_rubygems_version: !ruby/object:Gem::Requirement
382
383
  - !ruby/object:Gem::Version
383
384
  version: '0'
384
385
  requirements: []
385
- rubygems_version: 3.1.2
386
- signing_key:
386
+ rubygems_version: 3.0.3
387
+ signing_key:
387
388
  specification_version: 4
388
389
  summary: Canvas API
389
390
  test_files:
390
391
  - spec/bearcat_spec.rb
392
+ - spec/helper.rb
391
393
  - spec/bearcat/client_spec.rb
392
- - spec/bearcat/group_memberships_spec.rb
393
394
  - spec/bearcat/api_array_spec.rb
394
- - spec/bearcat/client/canvas_files_spec.rb
395
- - spec/bearcat/client/folders_spec.rb
396
- - spec/bearcat/client/conferences_spec.rb
397
- - spec/bearcat/client/conversations_spec.rb
395
+ - spec/bearcat/client/external_tools_spec.rb
396
+ - spec/bearcat/client/groups_spec.rb
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
398
401
  - spec/bearcat/client/outcome_groups_spec.rb
399
- - spec/bearcat/client/assignment_groups_spec.rb
400
- - spec/bearcat/client/assignments_spec.rb
401
- - spec/bearcat/client/rubric_association_spec.rb
402
- - spec/bearcat/client/o_auth2_spec.rb
402
+ - spec/bearcat/client/quizzes_spec.rb
403
+ - spec/bearcat/client/conferences_spec.rb
403
404
  - spec/bearcat/client/search_spec.rb
404
- - spec/bearcat/client/calendar_events_spec.rb
405
- - spec/bearcat/client/pages_spec.rb
406
- - spec/bearcat/client/modules_spec.rb
407
- - spec/bearcat/client/discussions_spec.rb
408
- - spec/bearcat/client/files_spec.rb
409
- - spec/bearcat/client/roles_spec.rb
410
- - spec/bearcat/client/graph_ql_spec.rb
405
+ - spec/bearcat/client/reports_spec.rb
411
406
  - spec/bearcat/client/group_categories_spec.rb
412
- - spec/bearcat/client/rubric_assessment_spec.rb
413
- - spec/bearcat/client/blueprint_courses_spec.rb
414
- - spec/bearcat/client/submissions_spec.rb
415
- - spec/bearcat/client/module_items_spec.rb
416
407
  - spec/bearcat/client/content_migrations_spec.rb
417
- - spec/bearcat/client/custom_gradebook_columns_spec.rb
418
- - spec/bearcat/client/enrollments_spec.rb
408
+ - spec/bearcat/client/assignments_spec.rb
409
+ - spec/bearcat/client/group_membership_spec.rb
419
410
  - spec/bearcat/client/analytics_spec.rb
420
- - spec/bearcat/client/content_exports_spec.rb
421
- - spec/bearcat/client/external_tools_spec.rb
411
+ - spec/bearcat/client/module_items_spec.rb
412
+ - spec/bearcat/client/modules_spec.rb
413
+ - spec/bearcat/client/rubric_association_spec.rb
414
+ - spec/bearcat/client/roles_spec.rb
415
+ - spec/bearcat/client/rubric_assessment_spec.rb
416
+ - spec/bearcat/client/folders_spec.rb
422
417
  - spec/bearcat/client/rubric_spec.rb
418
+ - spec/bearcat/client/files_spec.rb
423
419
  - spec/bearcat/client/accounts_spec.rb
424
- - spec/bearcat/client/outcomes_spec.rb
420
+ - spec/bearcat/client/canvas_files_spec.rb
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
425
425
  - spec/bearcat/client/courses_spec.rb
426
- - spec/bearcat/client/reports_spec.rb
426
+ - spec/bearcat/client/custom_gradebook_columns_spec.rb
427
+ - spec/bearcat/client/enrollments_spec.rb
428
+ - spec/bearcat/client/conversations_spec.rb
427
429
  - spec/bearcat/client/users_spec.rb
428
- - spec/bearcat/client/sections_spec.rb
429
- - spec/bearcat/client/group_membership_spec.rb
430
- - spec/bearcat/client/groups_spec.rb
431
- - spec/bearcat/client/quizzes_spec.rb
432
- - spec/helper.rb
433
- - spec/fixtures/account_grading_standards.json
434
- - spec/fixtures/add_custom_user_data.json
430
+ - spec/bearcat/client/calendar_events_spec.rb
431
+ - spec/bearcat/client/assignment_groups_spec.rb
432
+ - spec/bearcat/client/discussions_spec.rb
433
+ - spec/bearcat/group_memberships_spec.rb
434
+ - spec/fixtures/add_user.json
435
+ - spec/fixtures/calendar_event.json
435
436
  - spec/fixtures/assignment_group.json
436
- - spec/fixtures/account_groups.json
437
- - spec/fixtures/update_outcome.json
438
- - spec/fixtures/section_enrollments.json
439
- - spec/fixtures/outcome_groups.json
440
- - spec/fixtures/assignments.json
441
- - spec/fixtures/course_files.json
442
- - spec/fixtures/assignment_section_override.json
443
- - spec/fixtures/delete_course.json
437
+ - spec/fixtures/outcome_result.json
438
+ - spec/fixtures/pages.json
439
+ - spec/fixtures/course_grading_standards.json
440
+ - spec/fixtures/user_avatars.json
441
+ - spec/fixtures/account_user.json
444
442
  - spec/fixtures/course_folder.json
445
- - spec/fixtures/ok.json
446
- - spec/fixtures/account_sub_accounts.json
447
- - spec/fixtures/course_sections.json
448
- - spec/fixtures/merge_user.json
449
- - spec/fixtures/bearcat.jpg
450
- - spec/fixtures/create_group_discussion.json
451
- - spec/fixtures/course_enrollments.json
452
- - spec/fixtures/account_users.json
453
- - spec/fixtures/no_custom_data.json
454
- - spec/fixtures/communication_channels.json
443
+ - spec/fixtures/rubric_association.json
444
+ - spec/fixtures/outcome_group_import.json
455
445
  - spec/fixtures/edited_group_category.json
456
- - spec/fixtures/rubric_assessment.json
457
- - spec/fixtures/paged_body.json
458
- - spec/fixtures/canvas_files/upload_success.json
459
- - spec/fixtures/canvas_files/declare_file.json
460
- - spec/fixtures/account_reports.json
461
- - spec/fixtures/outcomes.json
462
- - spec/fixtures/search_find_recipients.json
463
- - spec/fixtures/content_migration_files/upload_success.json
464
- - spec/fixtures/content_migration_files/content_migration.json
465
- - spec/fixtures/content_migration_files/response.json
466
- - spec/fixtures/created_assignment.json
467
- - spec/fixtures/course_conferences.json
468
- - spec/fixtures/create_outcome_in_group.json
469
- - spec/fixtures/delete_custom_data_scope.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
453
+ - spec/fixtures/account_sub_accounts.json
470
454
  - spec/fixtures/created_group_category.json
471
- - spec/fixtures/created_course.json
472
- - spec/fixtures/assignment_groups.json
473
- - spec/fixtures/section.json
474
- - spec/fixtures/create_section.json
475
455
  - spec/fixtures/user_page_views.json
476
- - spec/fixtures/account_admin_create.json
477
- - spec/fixtures/assignment.json
478
- - spec/fixtures/calendar_event.json
479
- - spec/fixtures/blueprint_subscriptions.json
480
- - spec/fixtures/blueprint_update_assocations_success.json
481
- - spec/fixtures/course.json
482
- - spec/fixtures/rubric_association.json
483
- - spec/fixtures/external_tools.json
456
+ - spec/fixtures/delete_custom_data_scope.json
457
+ - spec/fixtures/file.csv
458
+ - spec/fixtures/dashboard.json
459
+ - spec/fixtures/submissions/submission.json
460
+ - spec/fixtures/create_course_discussion.json
484
461
  - spec/fixtures/conversation.json
485
- - spec/fixtures/external_tool.json
486
- - spec/fixtures/course_students.json
487
- - spec/fixtures/updated_course.json
488
- - spec/fixtures/discussion_topics.json
489
- - spec/fixtures/user_enrollments.json
490
- - spec/fixtures/account_roles.json
491
- - spec/fixtures/add_user.json
492
- - spec/fixtures/discussion_entry_replies.json
493
- - spec/fixtures/report_history.json
462
+ - spec/fixtures/communication_channels.json
463
+ - spec/fixtures/account_users.json
464
+ - spec/fixtures/accounts.json
465
+ - spec/fixtures/deleted_group.json
466
+ - spec/fixtures/course_files.json
467
+ - spec/fixtures/group_membership.json
468
+ - spec/fixtures/content_migration_files/upload_success.json
469
+ - spec/fixtures/content_migration_files/response.json
470
+ - spec/fixtures/content_migration_files/content_migration.json
471
+ - spec/fixtures/outcome_subgroup.json
494
472
  - spec/fixtures/gradebook_history.json
495
- - spec/fixtures/account_sis_imports.json
473
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
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
496
477
  - spec/fixtures/update_section.json
497
- - spec/fixtures/conclude_enrollment.json
498
- - spec/fixtures/start_report.json
499
- - spec/fixtures/custom_data.json
500
- - spec/fixtures/rubric.json
501
- - spec/fixtures/account_role.json
502
- - spec/fixtures/update_outcome_group.json
503
- - spec/fixtures/module_item.json
504
- - spec/fixtures/report_status.json
505
- - spec/fixtures/enroll_student.json
506
- - spec/fixtures/group_category.json
507
- - spec/fixtures/delete_group_category.json
508
- - spec/fixtures/dashboard.json
509
- - spec/fixtures/edited_group.json
510
- - spec/fixtures/department_level_participation.json
511
- - spec/fixtures/outcome_result.json
512
- - spec/fixtures/file.csv
513
- - spec/fixtures/course_copy.json
514
478
  - spec/fixtures/user_logins.json
515
- - spec/fixtures/module_item_sequence.json
516
- - spec/fixtures/enrollment_terms.json
517
- - spec/fixtures/blueprint_migration.json
518
- - spec/fixtures/cc.imscc
519
- - spec/fixtures/user_profile.json
520
- - spec/fixtures/create_course_discussion.json
521
- - spec/fixtures/custom_food_data.json
522
- - spec/fixtures/created_module.json
479
+ - spec/fixtures/paged_body.json
480
+ - spec/fixtures/outcomes.json
481
+ - spec/fixtures/discussion_entry_replies.json
523
482
  - spec/fixtures/course_groups.json
524
- - spec/fixtures/reactivate_enrollment.json
525
- - spec/fixtures/blueprint_template.json
526
- - spec/fixtures/account_courses.json
527
- - spec/fixtures/calendar_events.json
528
- - spec/fixtures/submissions/submission.json
483
+ - spec/fixtures/account_reports_start_result.json
484
+ - spec/fixtures/no_custom_data.json
485
+ - spec/fixtures/bearcat.jpg
486
+ - spec/fixtures/report_list.json
487
+ - spec/fixtures/graph_ql_scores.json
529
488
  - spec/fixtures/link_unlink_outcome.json
530
- - spec/fixtures/account_reports_index.json
489
+ - spec/fixtures/group_category_groups.json
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
531
497
  - spec/fixtures/module_items.json
532
- - spec/fixtures/access_token.json
533
- - spec/fixtures/progress.json
534
- - spec/fixtures/module.json
535
- - spec/fixtures/group_categories.json
536
- - spec/fixtures/course_folders.json
537
- - spec/fixtures/department_level_statistics.json
538
- - spec/fixtures/account_admin_delete.json
539
- - spec/fixtures/account_reports_result_success.json
540
- - spec/fixtures/deleted_conversation.json
541
- - spec/fixtures/user_details.json
542
- - spec/fixtures/outcome_group_import.json
543
- - spec/fixtures/modules.json
544
- - spec/fixtures/group.json
545
- - spec/fixtures/outcome_subgroup.json
498
+ - spec/fixtures/department_level_participation.json
499
+ - spec/fixtures/group_category.json
500
+ - spec/fixtures/section_enrollments.json
501
+ - spec/fixtures/create_group_discussion.json
502
+ - spec/fixtures/user_profile.json
503
+ - spec/fixtures/external_tools.json
504
+ - spec/fixtures/create_section.json
505
+ - spec/fixtures/assignment_groups.json
546
506
  - spec/fixtures/outcome_subgroups.json
547
- - spec/fixtures/delete_section.json
548
- - spec/fixtures/account_user.json
549
- - spec/fixtures/accounts.json
507
+ - spec/fixtures/updated_course.json
508
+ - spec/fixtures/account_sis_imports.json
550
509
  - spec/fixtures/account_admins.json
551
- - spec/fixtures/report_list.json
552
- - spec/fixtures/group_membership.json
553
- - spec/fixtures/quizzes/course_quizzes.json
554
- - spec/fixtures/quizzes/course_quiz_questions.json
555
- - spec/fixtures/quizzes/quiz_assignment_override.json
556
- - spec/fixtures/quizzes/quiz_extension.json
557
- - spec/fixtures/quizzes/course_quiz.json
510
+ - spec/fixtures/department_level_statistics.json
511
+ - spec/fixtures/course_folders.json
512
+ - spec/fixtures/account_admin_delete.json
558
513
  - spec/fixtures/content_export.json
559
- - spec/fixtures/created_group.json
560
- - spec/fixtures/pages.json
514
+ - spec/fixtures/enroll_student.json
515
+ - spec/fixtures/external_tool.json
561
516
  - spec/fixtures/discussion_entries.json
562
- - spec/fixtures/single_account.json
563
- - spec/fixtures/group_category_groups.json
517
+ - spec/fixtures/assignment.json
518
+ - spec/fixtures/report_history.json
519
+ - spec/fixtures/edited_group.json
520
+ - spec/fixtures/account_reports_index.json
521
+ - spec/fixtures/created_module.json
522
+ - spec/fixtures/account_reports.json
523
+ - spec/fixtures/quizzes/quiz_extension.json
524
+ - spec/fixtures/quizzes/quiz_assignment_override.json
525
+ - spec/fixtures/quizzes/course_quiz.json
526
+ - spec/fixtures/quizzes/course_quizzes.json
527
+ - spec/fixtures/quizzes/course_quiz_questions.json
528
+ - spec/fixtures/course.json
529
+ - spec/fixtures/search_find_recipients.json
530
+ - spec/fixtures/reactivate_enrollment.json
531
+ - spec/fixtures/enrollment_terms.json
564
532
  - spec/fixtures/created_group_membership.json
565
- - spec/fixtures/user_avatars.json
566
- - spec/fixtures/graph_ql_scores.json
567
- - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
568
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
569
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
570
- - spec/fixtures/custom_gradebook_columns/column_data.json
571
- - spec/fixtures/account_reports_start_result.json
572
- - spec/fixtures/course_grading_standards.json
533
+ - spec/fixtures/rubric.json
534
+ - spec/fixtures/merge_user.json
535
+ - spec/fixtures/section.json
536
+ - spec/fixtures/blueprint_migration.json
537
+ - spec/fixtures/blueprint_subscriptions.json
538
+ - spec/fixtures/create_outcome_in_group.json
539
+ - spec/fixtures/assignments.json
540
+ - spec/fixtures/group_categories.json
541
+ - spec/fixtures/blueprint_template.json
542
+ - spec/fixtures/delete_section.json
543
+ - spec/fixtures/update_outcome_group.json
573
544
  - 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
574
558
  - spec/fixtures/discussion_topic.json
575
- - spec/fixtures/deleted_group.json
559
+ - spec/fixtures/group.json
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