bearcat 1.6.13 → 1.7.0

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: 3209a4c8434438ba5a3775cbb6990ff9d49ea1e27c9b3865b7ec54342150ca43
4
- data.tar.gz: fabd83efba0a301af3f2305cb9115f2281a401998b63bd4b39f448c194e635b2
3
+ metadata.gz: ff6d6d1426d021f6c2e7146de2884ecd9eb721b5529e56e49e25e82332dc3ddf
4
+ data.tar.gz: c59d392750a2b15b877c47efd96c317ce65299089aab856fa0944a0da5601cfe
5
5
  SHA512:
6
- metadata.gz: e319cdea0e2c148d579c17f0f5ad1f3eb739dea68a0e7961270a96ec0a5cae41517cb77f68450283584e9d402802097c20f1eeeec7f8130a77597db8126d79b6
7
- data.tar.gz: 4e265b8b6c8b039e4ad6f41c277f6b96efc6ef4704126d291a45274b6567d32cc83bc939b6722d4a64d95c7fdfe5f3220f797be10d9200a65ceb88ea7569935b
6
+ metadata.gz: 359e37b3e095419a8d74276b06dfeb2b41e5c68b5a19e4bd8c846abb5442e0dd0453738ceac3f121dd81099ee75b89c9ce8b3c01126f6e5327c5ef661d1743b2
7
+ data.tar.gz: 8f15f81e9d1ac4392104c4b8d3e65936ccfe4eeff9cf39ae77407086a8418eb82513ee984fc923e7a50b4169a8ee63c5795c4fa3768575119e8986a0d1264887
data/bearcat.gemspec CHANGED
@@ -26,14 +26,16 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_development_dependency "rake"
28
28
  gem.add_development_dependency "bundler", ">= 1.0.0"
29
- gem.add_development_dependency "rspec", "~> 2.6"
29
+ gem.add_development_dependency "rspec", "~> 3.13"
30
30
  gem.add_development_dependency "webmock"
31
31
  gem.add_development_dependency 'pry'
32
32
  gem.add_development_dependency 'sidekiq', "< 7.0"
33
33
  gem.add_development_dependency "ffi", "~> 1.16.3"
34
+ gem.add_development_dependency "appraisal", "~> 2.5"
34
35
 
35
36
  gem.add_dependency "activesupport"
36
- gem.add_dependency "faraday", "> 1.0", "< 2.0"
37
- gem.add_dependency "footrest", ">= 0.2.2"
37
+ gem.add_dependency "faraday", ">= 1.0", "< 3"
38
+ gem.add_dependency "faraday-multipart", "~> 1.0"
39
+ gem.add_dependency "footrest", ">= 0.6.1"
38
40
  gem.add_dependency "rediconn", "~> 0.1.0"
39
41
  end
@@ -1,4 +1,5 @@
1
1
  require 'active_support/core_ext/module'
2
+ require 'cgi' # for CGI.parse; no longer loaded transitively by activesupport 8
2
3
 
3
4
  module Bearcat
4
5
  class ApiArray
@@ -14,7 +14,7 @@ module Bearcat
14
14
 
15
15
  def post_file(url, params, file_path)
16
16
  params['Filename'] = File.basename(file_path)
17
- params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
17
+ params['file'] = upload_io(file_path, params['content-type'])
18
18
  response = upload_connection.post(url, params)
19
19
  if [201, 302, 303].include? response.status #success if it is a redirect or 201
20
20
  response.headers['Location']
@@ -4,7 +4,7 @@ module Bearcat
4
4
 
5
5
  def import_outcomes(file_path, params={})
6
6
  params = params.with_indifferent_access
7
- params['attachment'] = Faraday::UploadIO.new(file_path, 'text/csv')
7
+ params['attachment'] = upload_io(file_path, 'text/csv')
8
8
  url = "api/v1/#{outcome_import_context_slug(params)}"
9
9
  url += "group/#{params[:group]}/" if params[:group].present?
10
10
  params.delete(:group)
@@ -2,7 +2,7 @@ module Bearcat
2
2
  class Client < Footrest::Client
3
3
  module SisImports
4
4
  def import_sis_data(account, file, options = {}, content_type: nil)
5
- options['attachment'] = Faraday::UploadIO.new(file, content_type || "application/zip")
5
+ options['attachment'] = upload_io(file, content_type || "application/zip")
6
6
  post("/api/v1/accounts/#{account}/sis_imports", options)
7
7
  end
8
8
 
@@ -1,4 +1,6 @@
1
1
  require 'active_support/core_ext/hash'
2
+ require 'faraday'
3
+ require 'faraday/multipart'
2
4
  require 'footrest/client'
3
5
  require_relative 'rate_limiting'
4
6
  require_relative 'client_module'
@@ -75,6 +77,18 @@ module Bearcat
75
77
  connection.builder.delete(Faraday::Request::UrlEncoded)
76
78
  end
77
79
 
80
+ # Builds a multipart file part for uploads, bridging Faraday 1.x and 2.x.
81
+ # Faraday 2.x dropped Faraday::UploadIO in favor of
82
+ # Faraday::Multipart::FilePart (from the faraday-multipart gem). Both accept
83
+ # the same (path_or_io, content_type) signature.
84
+ def upload_io(path_or_io, content_type)
85
+ if defined?(Faraday::Multipart::FilePart)
86
+ Faraday::Multipart::FilePart.new(path_or_io, content_type)
87
+ else
88
+ Faraday::UploadIO.new(path_or_io, content_type)
89
+ end
90
+ end
91
+
78
92
  def self.cache_on_self(key, &block)
79
93
  @cache ||= {}
80
94
  if Rails.env.development? || Rails.env.test?
@@ -0,0 +1,11 @@
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)
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.6.13' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.7.0' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -28,24 +28,24 @@ describe Bearcat::ApiArray do
28
28
  end
29
29
 
30
30
  it 'gets a page of results' do
31
- expect(request).to receive(:url).with('https://fake.com', 'page' => '2')
31
+ expect(request).to receive(:url).with('https://fake.com', { 'page' => '2' })
32
32
  api_array.send(:get_page, 'https://fake.com?page=2', {})
33
33
  end
34
34
 
35
35
  it 'merges additonal params to the url query' do
36
- expect(request).to receive(:url).with('https://fake.com', 'test' => 'param', 'page' => 2)
37
- api_array.send(:get_page, 'https://fake.com?test=param', 'page' => 2)
36
+ expect(request).to receive(:url).with('https://fake.com', { 'test' => 'param', 'page' => 2 })
37
+ api_array.send(:get_page, 'https://fake.com?test=param', { 'page' => 2 })
38
38
  end
39
39
 
40
40
  it 'handles array parameters' do
41
- expect(request).to receive(:url).with('https://fake.com', 'test' => ['param'], 'second' => ['param'])
42
- api_array.send(:get_page, 'https://fake.com?test%5B%5D=param', 'second' => ['param'])
41
+ expect(request).to receive(:url).with('https://fake.com', { 'test' => ['param'], 'second' => ['param'] })
42
+ api_array.send(:get_page, 'https://fake.com?test%5B%5D=param', { 'second' => ['param'] })
43
43
  end
44
44
 
45
45
  it 'sets the per_page parameter if not already set and @page_count has a value' do
46
46
  api_array.instance_variable_set('@page_count', 50)
47
47
 
48
- expect(request).to receive(:url).with('https://fake.com', 'per_page' => 50)
48
+ expect(request).to receive(:url).with('https://fake.com', { 'per_page' => 50 })
49
49
  api_array.send(:get_page, 'https://fake.com?', {})
50
50
  end
51
51
 
@@ -59,8 +59,8 @@ describe Bearcat::ApiArray do
59
59
  it 'does not set the per_page parameter if it is already set' do
60
60
  api_array.instance_variable_set('@page_count', 50)
61
61
 
62
- expect(request).to receive(:url).with('https://fake.com', 'per_page' => 10)
63
- api_array.send(:get_page, 'https://fake.com?', 'per_page' => 10)
62
+ expect(request).to receive(:url).with('https://fake.com', { 'per_page' => 10 })
63
+ api_array.send(:get_page, 'https://fake.com?', { 'per_page' => 10 })
64
64
  end
65
65
  end
66
66
 
data/spec/helper.rb CHANGED
@@ -8,6 +8,13 @@ require 'csv'
8
8
 
9
9
  WebMock.disable_net_connect!
10
10
 
11
+ RSpec.configure do |config|
12
+ # The suite mixes the older `should`/`stub` syntax with newer `expect`;
13
+ # enable both explicitly so RSpec 3 runs them without deprecation noise.
14
+ config.expect_with(:rspec) { |c| c.syntax = %i[should expect] }
15
+ config.mock_with(:rspec) { |c| c.syntax = %i[should expect] }
16
+ end
17
+
11
18
  def fixture(*file)
12
19
  File.new(File.join(File.expand_path("../fixtures", __FILE__), *file))
13
20
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.13
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-08-06 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -44,14 +43,14 @@ dependencies:
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '2.6'
46
+ version: '3.13'
48
47
  type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '2.6'
53
+ version: '3.13'
55
54
  - !ruby/object:Gem::Dependency
56
55
  name: webmock
57
56
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +107,20 @@ dependencies:
108
107
  - - "~>"
109
108
  - !ruby/object:Gem::Version
110
109
  version: 1.16.3
110
+ - !ruby/object:Gem::Dependency
111
+ name: appraisal
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '2.5'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '2.5'
111
124
  - !ruby/object:Gem::Dependency
112
125
  name: activesupport
113
126
  requirement: !ruby/object:Gem::Requirement
@@ -126,36 +139,50 @@ dependencies:
126
139
  name: faraday
127
140
  requirement: !ruby/object:Gem::Requirement
128
141
  requirements:
129
- - - ">"
142
+ - - ">="
130
143
  - !ruby/object:Gem::Version
131
144
  version: '1.0'
132
145
  - - "<"
133
146
  - !ruby/object:Gem::Version
134
- version: '2.0'
147
+ version: '3'
135
148
  type: :runtime
136
149
  prerelease: false
137
150
  version_requirements: !ruby/object:Gem::Requirement
138
151
  requirements:
139
- - - ">"
152
+ - - ">="
140
153
  - !ruby/object:Gem::Version
141
154
  version: '1.0'
142
155
  - - "<"
143
156
  - !ruby/object:Gem::Version
144
- version: '2.0'
157
+ version: '3'
158
+ - !ruby/object:Gem::Dependency
159
+ name: faraday-multipart
160
+ requirement: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '1.0'
165
+ type: :runtime
166
+ prerelease: false
167
+ version_requirements: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.0'
145
172
  - !ruby/object:Gem::Dependency
146
173
  name: footrest
147
174
  requirement: !ruby/object:Gem::Requirement
148
175
  requirements:
149
176
  - - ">="
150
177
  - !ruby/object:Gem::Version
151
- version: 0.2.2
178
+ version: 0.6.1
152
179
  type: :runtime
153
180
  prerelease: false
154
181
  version_requirements: !ruby/object:Gem::Requirement
155
182
  requirements:
156
183
  - - ">="
157
184
  - !ruby/object:Gem::Version
158
- version: 0.2.2
185
+ version: 0.6.1
159
186
  - !ruby/object:Gem::Dependency
160
187
  name: rediconn
161
188
  requirement: !ruby/object:Gem::Requirement
@@ -237,6 +264,7 @@ files:
237
264
  - lib/bearcat/client_module.rb
238
265
  - lib/bearcat/misc_exceptions/conflict.rb
239
266
  - lib/bearcat/rate_limiting.rb
267
+ - lib/bearcat/rate_limiting/functions.lua
240
268
  - lib/bearcat/rate_limiting/increment_bucket.lua
241
269
  - lib/bearcat/rate_limiting/redis_script.rb
242
270
  - lib/bearcat/spec_helpers.rb
@@ -472,10 +500,8 @@ files:
472
500
  - spec/fixtures/user_page_views.json
473
501
  - spec/fixtures/user_profile.json
474
502
  - spec/helper.rb
475
- homepage:
476
503
  licenses: []
477
504
  metadata: {}
478
- post_install_message:
479
505
  rdoc_options: []
480
506
  require_paths:
481
507
  - lib
@@ -490,228 +516,227 @@ required_rubygems_version: !ruby/object:Gem::Requirement
490
516
  - !ruby/object:Gem::Version
491
517
  version: '0'
492
518
  requirements: []
493
- rubygems_version: 3.1.6
494
- signing_key:
519
+ rubygems_version: 3.6.9
495
520
  specification_version: 4
496
521
  summary: Canvas API
497
522
  test_files:
498
- - spec/bearcat_spec.rb
499
- - spec/bearcat/client_spec.rb
523
+ - spec/badgrcat/client_spec.rb
500
524
  - spec/bearcat/api_array_spec.rb
501
- - spec/bearcat/rate_limiting_spec.rb
502
- - spec/bearcat/stub_bearcat_spec.rb
503
- - spec/bearcat/client/canvas_files_spec.rb
504
- - spec/bearcat/client/folders_spec.rb
505
- - spec/bearcat/client/new_quizzes_spec.rb
506
- - spec/bearcat/client/conferences_spec.rb
507
- - spec/bearcat/client/conversations_spec.rb
508
- - spec/bearcat/client/outcome_groups_spec.rb
525
+ - spec/bearcat/client/accounts_spec.rb
526
+ - spec/bearcat/client/analytics_spec.rb
509
527
  - spec/bearcat/client/assignment_groups_spec.rb
510
528
  - spec/bearcat/client/assignments_spec.rb
511
- - spec/bearcat/client/rubric_association_spec.rb
512
- - spec/bearcat/client/o_auth2_spec.rb
513
- - spec/bearcat/client/search_spec.rb
514
- - spec/bearcat/client/calendar_events_spec.rb
515
- - spec/bearcat/client/group_memberships_spec.rb
516
- - spec/bearcat/client/pages_spec.rb
517
- - spec/bearcat/client/modules_spec.rb
518
- - spec/bearcat/client/discussions_spec.rb
519
- - spec/bearcat/client/files_spec.rb
520
- - spec/bearcat/client/roles_spec.rb
521
- - spec/bearcat/client/graph_ql_spec.rb
522
- - spec/bearcat/client/group_categories_spec.rb
523
- - spec/bearcat/client/rubric_assessment_spec.rb
524
529
  - spec/bearcat/client/blueprint_courses_spec.rb
525
- - spec/bearcat/client/submissions_spec.rb
526
- - spec/bearcat/client/module_items_spec.rb
530
+ - spec/bearcat/client/calendar_events_spec.rb
531
+ - spec/bearcat/client/canvas_files_spec.rb
532
+ - spec/bearcat/client/conferences_spec.rb
533
+ - spec/bearcat/client/content_exports_spec.rb
527
534
  - spec/bearcat/client/content_migrations_spec.rb
535
+ - spec/bearcat/client/conversations_spec.rb
536
+ - spec/bearcat/client/courses_spec.rb
528
537
  - spec/bearcat/client/custom_gradebook_columns_spec.rb
538
+ - spec/bearcat/client/discussions_spec.rb
529
539
  - spec/bearcat/client/enrollments_spec.rb
530
- - spec/bearcat/client/analytics_spec.rb
531
- - spec/bearcat/client/content_exports_spec.rb
532
540
  - spec/bearcat/client/external_tools_spec.rb
533
- - spec/bearcat/client/rubric_spec.rb
534
- - spec/bearcat/client/accounts_spec.rb
541
+ - spec/bearcat/client/files_spec.rb
542
+ - spec/bearcat/client/folders_spec.rb
543
+ - spec/bearcat/client/graph_ql_spec.rb
544
+ - spec/bearcat/client/group_categories_spec.rb
545
+ - spec/bearcat/client/group_membership_spec.rb
546
+ - spec/bearcat/client/group_memberships_spec.rb
547
+ - spec/bearcat/client/groups_spec.rb
535
548
  - spec/bearcat/client/learning_outcomes_spec.rb
549
+ - spec/bearcat/client/module_items_spec.rb
550
+ - spec/bearcat/client/modules_spec.rb
551
+ - spec/bearcat/client/new_quizzes_spec.rb
552
+ - spec/bearcat/client/o_auth2_spec.rb
553
+ - spec/bearcat/client/outcome_groups_spec.rb
536
554
  - spec/bearcat/client/outcomes_spec.rb
537
- - spec/bearcat/client/courses_spec.rb
555
+ - spec/bearcat/client/pages_spec.rb
556
+ - spec/bearcat/client/quizzes_spec.rb
538
557
  - spec/bearcat/client/reports_spec.rb
539
- - spec/bearcat/client/users_spec.rb
558
+ - spec/bearcat/client/roles_spec.rb
559
+ - spec/bearcat/client/rubric_assessment_spec.rb
560
+ - spec/bearcat/client/rubric_association_spec.rb
561
+ - spec/bearcat/client/rubric_spec.rb
562
+ - spec/bearcat/client/search_spec.rb
540
563
  - spec/bearcat/client/sections_spec.rb
541
- - spec/bearcat/client/group_membership_spec.rb
542
- - spec/bearcat/client/groups_spec.rb
543
- - spec/bearcat/client/quizzes_spec.rb
544
- - spec/helper.rb
545
- - spec/badgrcat/client_spec.rb
564
+ - spec/bearcat/client/submissions_spec.rb
565
+ - spec/bearcat/client/users_spec.rb
566
+ - spec/bearcat/client_spec.rb
567
+ - spec/bearcat/rate_limiting_spec.rb
568
+ - spec/bearcat/stub_bearcat_spec.rb
569
+ - spec/bearcat_spec.rb
570
+ - spec/fixtures/access_token.json
571
+ - spec/fixtures/account_admin_create.json
572
+ - spec/fixtures/account_admin_delete.json
573
+ - spec/fixtures/account_admins.json
574
+ - spec/fixtures/account_courses.json
546
575
  - spec/fixtures/account_grading_standards.json
576
+ - spec/fixtures/account_groups.json
577
+ - spec/fixtures/account_reports.json
578
+ - spec/fixtures/account_reports_index.json
579
+ - spec/fixtures/account_reports_result_success.json
580
+ - spec/fixtures/account_reports_start_result.json
581
+ - spec/fixtures/account_role.json
582
+ - spec/fixtures/account_roles.json
583
+ - spec/fixtures/account_sis_imports.json
584
+ - spec/fixtures/account_sub_accounts.json
585
+ - spec/fixtures/account_user.json
586
+ - spec/fixtures/account_users.json
587
+ - spec/fixtures/accounts.json
547
588
  - spec/fixtures/add_custom_user_data.json
589
+ - spec/fixtures/add_user.json
590
+ - spec/fixtures/assignment.json
548
591
  - spec/fixtures/assignment_group.json
549
- - spec/fixtures/account_groups.json
550
- - spec/fixtures/update_outcome.json
551
- - spec/fixtures/section_enrollments.json
552
- - spec/fixtures/outcome_groups.json
553
- - spec/fixtures/assignments.json
554
- - spec/fixtures/deleted_page.json
555
- - spec/fixtures/course_files.json
592
+ - spec/fixtures/assignment_groups.json
556
593
  - spec/fixtures/assignment_section_override.json
557
- - spec/fixtures/delete_course.json
558
- - spec/fixtures/course_folder.json
559
- - spec/fixtures/ok.json
560
- - spec/fixtures/account_sub_accounts.json
561
- - spec/fixtures/course_sections.json
562
- - spec/fixtures/merge_user.json
594
+ - spec/fixtures/assignments.json
563
595
  - spec/fixtures/bearcat.jpg
564
- - spec/fixtures/create_group_discussion.json
565
- - spec/fixtures/course_enrollments.json
566
- - spec/fixtures/account_users.json
567
- - spec/fixtures/no_custom_data.json
568
- - spec/fixtures/communication_channels.json
569
- - spec/fixtures/edited_group_category.json
570
- - spec/fixtures/rubric_assessment.json
571
- - spec/fixtures/paged_body.json
572
- - spec/fixtures/canvas_files/upload_success.json
596
+ - spec/fixtures/blueprint_migration.json
597
+ - spec/fixtures/blueprint_subscriptions.json
598
+ - spec/fixtures/blueprint_template.json
599
+ - spec/fixtures/blueprint_update_assocations_success.json
600
+ - spec/fixtures/calendar_event.json
601
+ - spec/fixtures/calendar_events.json
573
602
  - spec/fixtures/canvas_files/declare_file.json
574
- - spec/fixtures/account_reports.json
575
- - spec/fixtures/outcomes.json
576
- - spec/fixtures/search_find_recipients.json
577
- - spec/fixtures/content_migration_files/upload_success.json
603
+ - spec/fixtures/canvas_files/upload_success.json
604
+ - spec/fixtures/cc.imscc
605
+ - spec/fixtures/communication_channels.json
606
+ - spec/fixtures/conclude_enrollment.json
607
+ - spec/fixtures/content_export.json
578
608
  - spec/fixtures/content_migration_files/content_migration.json
579
609
  - spec/fixtures/content_migration_files/response.json
580
- - spec/fixtures/updated_page.json
581
- - spec/fixtures/created_assignment.json
610
+ - spec/fixtures/content_migration_files/upload_success.json
611
+ - spec/fixtures/conversation.json
612
+ - spec/fixtures/course.json
582
613
  - spec/fixtures/course_conferences.json
614
+ - spec/fixtures/course_copy.json
615
+ - spec/fixtures/course_enrollments.json
616
+ - spec/fixtures/course_files.json
617
+ - spec/fixtures/course_folder.json
618
+ - spec/fixtures/course_folders.json
619
+ - spec/fixtures/course_grading_standards.json
620
+ - spec/fixtures/course_groups.json
621
+ - spec/fixtures/course_sections.json
622
+ - spec/fixtures/course_settings.json
623
+ - spec/fixtures/course_students.json
624
+ - spec/fixtures/create_course_discussion.json
625
+ - spec/fixtures/create_group_discussion.json
583
626
  - spec/fixtures/create_outcome_in_group.json
584
- - spec/fixtures/delete_custom_data_scope.json
585
- - spec/fixtures/created_group_category.json
586
- - spec/fixtures/created_course.json
587
- - spec/fixtures/assignment_groups.json
588
- - spec/fixtures/section.json
589
627
  - spec/fixtures/create_section.json
590
- - spec/fixtures/user_page_views.json
591
- - spec/fixtures/account_admin_create.json
592
- - spec/fixtures/assignment.json
593
- - spec/fixtures/calendar_event.json
594
- - spec/fixtures/blueprint_subscriptions.json
595
- - spec/fixtures/blueprint_update_assocations_success.json
596
- - spec/fixtures/course.json
597
- - spec/fixtures/rubric_association.json
598
- - spec/fixtures/external_tools.json
599
- - spec/fixtures/conversation.json
600
- - spec/fixtures/external_tool.json
601
- - spec/fixtures/course_students.json
602
- - spec/fixtures/updated_course.json
603
- - spec/fixtures/discussion_topics.json
628
+ - spec/fixtures/created_assignment.json
629
+ - spec/fixtures/created_course.json
630
+ - spec/fixtures/created_group.json
631
+ - spec/fixtures/created_group_category.json
632
+ - spec/fixtures/created_group_membership.json
633
+ - spec/fixtures/created_module.json
604
634
  - spec/fixtures/created_sub_account.json
605
- - spec/fixtures/user_enrollments.json
606
- - spec/fixtures/account_roles.json
607
- - spec/fixtures/add_user.json
635
+ - spec/fixtures/custom_data.json
636
+ - spec/fixtures/custom_food_data.json
637
+ - spec/fixtures/custom_gradebook_columns/column_data.json
638
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
639
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
640
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
641
+ - spec/fixtures/dashboard.json
642
+ - spec/fixtures/delete_course.json
643
+ - spec/fixtures/delete_custom_data_scope.json
644
+ - spec/fixtures/delete_group_category.json
645
+ - spec/fixtures/delete_section.json
646
+ - spec/fixtures/deleted_conversation.json
647
+ - spec/fixtures/deleted_group.json
648
+ - spec/fixtures/deleted_page.json
649
+ - spec/fixtures/deleted_sub_account.json
650
+ - spec/fixtures/department_level_participation.json
651
+ - spec/fixtures/department_level_statistics.json
652
+ - spec/fixtures/discussion_entries.json
608
653
  - spec/fixtures/discussion_entry_replies.json
609
- - spec/fixtures/report_history.json
654
+ - spec/fixtures/discussion_topic.json
655
+ - spec/fixtures/discussion_topics.json
656
+ - spec/fixtures/edited_group.json
657
+ - spec/fixtures/edited_group_category.json
658
+ - spec/fixtures/enroll_student.json
659
+ - spec/fixtures/enrollment_terms.json
660
+ - spec/fixtures/external_tool.json
661
+ - spec/fixtures/external_tools.json
662
+ - spec/fixtures/file.csv
610
663
  - spec/fixtures/gradebook_history.json
611
- - spec/fixtures/account_sis_imports.json
612
- - spec/fixtures/update_section.json
613
- - spec/fixtures/conclude_enrollment.json
614
- - spec/fixtures/start_report.json
615
- - spec/fixtures/custom_data.json
616
- - spec/fixtures/rubric.json
617
- - spec/fixtures/account_role.json
618
- - spec/fixtures/update_outcome_group.json
664
+ - spec/fixtures/graph_ql_scores.json
665
+ - spec/fixtures/group.json
666
+ - spec/fixtures/group_categories.json
667
+ - spec/fixtures/group_category.json
668
+ - spec/fixtures/group_category_groups.json
669
+ - spec/fixtures/group_conferences.json
670
+ - spec/fixtures/group_membership.json
671
+ - spec/fixtures/learning_outcome.json
672
+ - spec/fixtures/link_unlink_outcome.json
673
+ - spec/fixtures/merge_user.json
674
+ - spec/fixtures/module.json
619
675
  - spec/fixtures/module_item.json
620
- - spec/fixtures/report_status.json
621
- - spec/fixtures/new_quizzes/new_quiz_item_fill_in_multiple_blanks.json
676
+ - spec/fixtures/module_item_sequence.json
677
+ - spec/fixtures/module_items.json
678
+ - spec/fixtures/modules.json
679
+ - spec/fixtures/new_quizzes/course_new_quiz.json
622
680
  - spec/fixtures/new_quizzes/course_new_quizzes.json
623
- - spec/fixtures/new_quizzes/new_quiz_submission.json
624
- - spec/fixtures/new_quizzes/new_quiz_item_stimulus.json
625
- - spec/fixtures/new_quizzes/new_quiz_items.json
626
- - spec/fixtures/new_quizzes/new_quiz_item_formula.json
627
- - spec/fixtures/new_quizzes/new_quiz_item_short_answer.json
628
- - spec/fixtures/new_quizzes/new_quiz_item_ordering.json
681
+ - spec/fixtures/new_quizzes/new_quiz_item.json
629
682
  - spec/fixtures/new_quizzes/new_quiz_item_categorization.json
630
- - spec/fixtures/new_quizzes/new_quiz_report.json
631
- - spec/fixtures/new_quizzes/new_quiz_item_true_false.json
632
- - spec/fixtures/new_quizzes/new_quiz_submissions.json
633
- - spec/fixtures/new_quizzes/new_quiz_reports.json
634
- - spec/fixtures/new_quizzes/new_quiz_item_matching.json
683
+ - spec/fixtures/new_quizzes/new_quiz_item_essay.json
684
+ - spec/fixtures/new_quizzes/new_quiz_item_file_upload.json
685
+ - spec/fixtures/new_quizzes/new_quiz_item_fill_in_multiple_blanks.json
686
+ - spec/fixtures/new_quizzes/new_quiz_item_formula.json
635
687
  - spec/fixtures/new_quizzes/new_quiz_item_hot_spot.json
688
+ - spec/fixtures/new_quizzes/new_quiz_item_matching.json
636
689
  - spec/fixtures/new_quizzes/new_quiz_item_multiple_answer.json
637
- - spec/fixtures/new_quizzes/new_quiz_item.json
638
690
  - spec/fixtures/new_quizzes/new_quiz_item_numeric.json
639
- - spec/fixtures/new_quizzes/new_quiz_item_essay.json
640
- - spec/fixtures/new_quizzes/new_quiz_item_file_upload.json
641
- - spec/fixtures/new_quizzes/course_new_quiz.json
642
- - spec/fixtures/enroll_student.json
643
- - spec/fixtures/group_category.json
644
- - spec/fixtures/delete_group_category.json
645
- - spec/fixtures/dashboard.json
646
- - spec/fixtures/edited_group.json
647
- - spec/fixtures/department_level_participation.json
648
- - spec/fixtures/outcome_result.json
649
- - spec/fixtures/file.csv
650
- - spec/fixtures/course_copy.json
651
- - spec/fixtures/user_logins.json
652
- - spec/fixtures/module_item_sequence.json
653
- - spec/fixtures/course_settings.json
654
- - spec/fixtures/enrollment_terms.json
655
- - spec/fixtures/blueprint_migration.json
656
- - spec/fixtures/cc.imscc
657
- - spec/fixtures/user_profile.json
658
- - spec/fixtures/create_course_discussion.json
659
- - spec/fixtures/custom_food_data.json
660
- - spec/fixtures/created_module.json
661
- - spec/fixtures/course_groups.json
662
- - spec/fixtures/reactivate_enrollment.json
663
- - spec/fixtures/blueprint_template.json
664
- - spec/fixtures/account_courses.json
665
- - spec/fixtures/calendar_events.json
666
- - spec/fixtures/submissions/submission.json
667
- - spec/fixtures/link_unlink_outcome.json
668
- - spec/fixtures/account_reports_index.json
669
- - spec/fixtures/module_items.json
670
- - spec/fixtures/access_token.json
671
- - spec/fixtures/progress.json
672
- - spec/fixtures/module.json
673
- - spec/fixtures/deleted_sub_account.json
674
- - spec/fixtures/group_categories.json
675
- - spec/fixtures/course_folders.json
676
- - spec/fixtures/department_level_statistics.json
677
- - spec/fixtures/account_admin_delete.json
678
- - spec/fixtures/account_reports_result_success.json
679
- - spec/fixtures/deleted_conversation.json
680
- - spec/fixtures/learning_outcome.json
681
- - spec/fixtures/user_details.json
691
+ - spec/fixtures/new_quizzes/new_quiz_item_ordering.json
692
+ - spec/fixtures/new_quizzes/new_quiz_item_short_answer.json
693
+ - spec/fixtures/new_quizzes/new_quiz_item_stimulus.json
694
+ - spec/fixtures/new_quizzes/new_quiz_item_true_false.json
695
+ - spec/fixtures/new_quizzes/new_quiz_items.json
696
+ - spec/fixtures/new_quizzes/new_quiz_report.json
697
+ - spec/fixtures/new_quizzes/new_quiz_reports.json
698
+ - spec/fixtures/new_quizzes/new_quiz_submission.json
699
+ - spec/fixtures/new_quizzes/new_quiz_submissions.json
700
+ - spec/fixtures/no_custom_data.json
701
+ - spec/fixtures/ok.json
682
702
  - spec/fixtures/outcome_group_import.json
683
- - spec/fixtures/modules.json
684
- - spec/fixtures/group.json
703
+ - spec/fixtures/outcome_groups.json
704
+ - spec/fixtures/outcome_result.json
685
705
  - spec/fixtures/outcome_subgroup.json
686
- - spec/fixtures/sub_account.json
687
706
  - spec/fixtures/outcome_subgroups.json
688
- - spec/fixtures/delete_section.json
689
- - spec/fixtures/account_user.json
690
- - spec/fixtures/accounts.json
691
- - spec/fixtures/account_admins.json
692
- - spec/fixtures/report_list.json
693
- - spec/fixtures/group_membership.json
694
- - spec/fixtures/quizzes/course_quizzes.json
707
+ - spec/fixtures/outcomes.json
708
+ - spec/fixtures/paged_body.json
709
+ - spec/fixtures/pages.json
710
+ - spec/fixtures/progress.json
711
+ - spec/fixtures/quizzes/course_quiz.json
695
712
  - spec/fixtures/quizzes/course_quiz_questions.json
713
+ - spec/fixtures/quizzes/course_quizzes.json
696
714
  - spec/fixtures/quizzes/quiz_assignment_override.json
697
715
  - spec/fixtures/quizzes/quiz_extension.json
698
- - spec/fixtures/quizzes/course_quiz.json
699
- - spec/fixtures/updated_sub_account.json
700
- - spec/fixtures/content_export.json
701
- - spec/fixtures/created_group.json
702
- - spec/fixtures/pages.json
703
- - spec/fixtures/discussion_entries.json
716
+ - spec/fixtures/reactivate_enrollment.json
717
+ - spec/fixtures/report_history.json
718
+ - spec/fixtures/report_list.json
719
+ - spec/fixtures/report_status.json
720
+ - spec/fixtures/rubric.json
721
+ - spec/fixtures/rubric_assessment.json
722
+ - spec/fixtures/rubric_association.json
723
+ - spec/fixtures/search_find_recipients.json
724
+ - spec/fixtures/section.json
725
+ - spec/fixtures/section_enrollments.json
704
726
  - spec/fixtures/single_account.json
705
- - spec/fixtures/group_category_groups.json
706
- - spec/fixtures/created_group_membership.json
727
+ - spec/fixtures/start_report.json
728
+ - spec/fixtures/sub_account.json
729
+ - spec/fixtures/submissions/submission.json
730
+ - spec/fixtures/update_outcome.json
731
+ - spec/fixtures/update_outcome_group.json
732
+ - spec/fixtures/update_section.json
733
+ - spec/fixtures/updated_course.json
734
+ - spec/fixtures/updated_page.json
735
+ - spec/fixtures/updated_sub_account.json
707
736
  - spec/fixtures/user_avatars.json
708
- - spec/fixtures/graph_ql_scores.json
709
- - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
710
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
711
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
712
- - spec/fixtures/custom_gradebook_columns/column_data.json
713
- - spec/fixtures/account_reports_start_result.json
714
- - spec/fixtures/course_grading_standards.json
715
- - spec/fixtures/group_conferences.json
716
- - spec/fixtures/discussion_topic.json
717
- - spec/fixtures/deleted_group.json
737
+ - spec/fixtures/user_details.json
738
+ - spec/fixtures/user_enrollments.json
739
+ - spec/fixtures/user_logins.json
740
+ - spec/fixtures/user_page_views.json
741
+ - spec/fixtures/user_profile.json
742
+ - spec/helper.rb