bearcat 1.0.0 → 1.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. checksums.yaml +7 -0
  2. data/bearcat.gemspec +15 -5
  3. data/lib/badgrcat/api_array.rb +25 -0
  4. data/lib/badgrcat/client/methods.rb +54 -0
  5. data/lib/badgrcat/client.rb +53 -0
  6. data/lib/badgrcat/version.rb +3 -0
  7. data/lib/bearcat/api_array.rb +132 -65
  8. data/lib/bearcat/client/account_reports.rb +6 -14
  9. data/lib/bearcat/client/accounts.rb +18 -6
  10. data/lib/bearcat/client/analytics.rb +12 -0
  11. data/lib/bearcat/client/assignment_groups.rb +15 -0
  12. data/lib/bearcat/client/assignments.rb +17 -9
  13. data/lib/bearcat/client/blueprint_courses.rb +25 -0
  14. data/lib/bearcat/client/calendar_events.rb +9 -17
  15. data/lib/bearcat/client/canvas_files.rb +0 -2
  16. data/lib/bearcat/client/conferences.rb +3 -8
  17. data/lib/bearcat/client/content_exports.rb +39 -0
  18. data/lib/bearcat/client/content_migrations.rb +54 -0
  19. data/lib/bearcat/client/conversations.rb +3 -8
  20. data/lib/bearcat/client/courses.rb +25 -14
  21. data/lib/bearcat/client/custom_gradebook_columns.rb +21 -0
  22. data/lib/bearcat/client/discussions.rb +10 -4
  23. data/lib/bearcat/client/enrollments.rb +9 -25
  24. data/lib/bearcat/client/external_tools.rb +18 -0
  25. data/lib/bearcat/client/file_helper.rb +36 -30
  26. data/lib/bearcat/client/files.rb +9 -0
  27. data/lib/bearcat/client/folders.rb +24 -0
  28. data/lib/bearcat/client/graph_ql.rb +17 -0
  29. data/lib/bearcat/client/group_categories.rb +18 -0
  30. data/lib/bearcat/client/group_memberships.rb +14 -0
  31. data/lib/bearcat/client/groups.rb +10 -2
  32. data/lib/bearcat/client/learning_outcomes.rb +17 -0
  33. data/lib/bearcat/client/logins.rb +20 -0
  34. data/lib/bearcat/client/module_items.rb +18 -0
  35. data/lib/bearcat/client/modules.rb +12 -7
  36. data/lib/bearcat/client/o_auth2.rb +18 -9
  37. data/lib/bearcat/client/outcome_groups.rb +2 -4
  38. data/lib/bearcat/client/outcome_imports.rb +48 -0
  39. data/lib/bearcat/client/outcomes.rb +4 -7
  40. data/lib/bearcat/client/pages.rb +15 -0
  41. data/lib/bearcat/client/progresses.rb +9 -0
  42. data/lib/bearcat/client/quizzes.rb +13 -9
  43. data/lib/bearcat/client/reports.rb +37 -17
  44. data/lib/bearcat/client/roles.rb +15 -0
  45. data/lib/bearcat/client/rubric.rb +17 -0
  46. data/lib/bearcat/client/rubric_assessment.rb +13 -0
  47. data/lib/bearcat/client/rubric_association.rb +13 -0
  48. data/lib/bearcat/client/search.rb +9 -0
  49. data/lib/bearcat/client/sections.rb +10 -17
  50. data/lib/bearcat/client/sis_imports.rb +6 -12
  51. data/lib/bearcat/client/submissions.rb +53 -21
  52. data/lib/bearcat/client/tabs.rb +12 -0
  53. data/lib/bearcat/client/users.rb +32 -13
  54. data/lib/bearcat/client.rb +111 -45
  55. data/lib/bearcat/client_module.rb +103 -0
  56. data/lib/bearcat/rate_limiting/increment_bucket.lua +33 -0
  57. data/lib/bearcat/rate_limiting/redis_script.rb +164 -0
  58. data/lib/bearcat/rate_limiting.rb +69 -0
  59. data/lib/bearcat/redis_connection.rb +106 -0
  60. data/lib/bearcat/spec_helpers.rb +125 -0
  61. data/lib/bearcat/version.rb +1 -1
  62. data/lib/bearcat.rb +49 -0
  63. data/lib/catalogcat/api_array.rb +22 -0
  64. data/lib/catalogcat/client/catalogs.rb +21 -0
  65. data/lib/catalogcat/client/certificates.rb +17 -0
  66. data/lib/catalogcat/client/courses.rb +25 -0
  67. data/lib/catalogcat/client/email_domain_sets.rb +17 -0
  68. data/lib/catalogcat/client/enrollments.rb +25 -0
  69. data/lib/catalogcat/client/orders.rb +13 -0
  70. data/lib/catalogcat/client/user_registrations.rb +9 -0
  71. data/lib/catalogcat/client.rb +26 -0
  72. data/lib/catalogcat/version.rb +3 -0
  73. data/lib/catalogcat.rb +14 -0
  74. data/spec/bearcat/api_array_spec.rb +112 -0
  75. data/spec/bearcat/client/accounts_spec.rb +71 -1
  76. data/spec/bearcat/client/analytics_spec.rb +22 -0
  77. data/spec/bearcat/client/assignment_groups_spec.rb +47 -0
  78. data/spec/bearcat/client/assignments_spec.rb +43 -0
  79. data/spec/bearcat/client/blueprint_courses_spec.rb +43 -0
  80. data/spec/bearcat/client/canvas_files_spec.rb +1 -2
  81. data/spec/bearcat/client/content_exports_spec.rb +68 -0
  82. data/spec/bearcat/client/content_migrations_spec.rb +94 -0
  83. data/spec/bearcat/client/courses_spec.rb +81 -2
  84. data/spec/bearcat/client/custom_gradebook_columns_spec.rb +66 -0
  85. data/spec/bearcat/client/discussions_spec.rb +73 -0
  86. data/spec/bearcat/client/enrollments_spec.rb +10 -0
  87. data/spec/bearcat/client/external_tools_spec.rb +106 -0
  88. data/spec/bearcat/client/files_spec.rb +15 -0
  89. data/spec/bearcat/client/folders_spec.rb +18 -0
  90. data/spec/bearcat/client/graph_ql_spec.rb +35 -0
  91. data/spec/bearcat/client/group_categories_spec.rb +45 -0
  92. data/spec/bearcat/client/group_membership_spec.rb +14 -0
  93. data/spec/bearcat/client/group_memberships_spec.rb +36 -0
  94. data/spec/bearcat/client/groups_spec.rb +46 -0
  95. data/spec/bearcat/client/learning_outcomes_spec.rb +25 -0
  96. data/spec/bearcat/client/module_items_spec.rb +60 -0
  97. data/spec/bearcat/client/modules_spec.rb +38 -1
  98. data/spec/bearcat/client/o_auth2_spec.rb +3 -3
  99. data/spec/bearcat/client/pages_spec.rb +17 -0
  100. data/spec/bearcat/client/quizzes_spec.rb +41 -4
  101. data/spec/bearcat/client/reports_spec.rb +40 -1
  102. data/spec/bearcat/client/roles_spec.rb +24 -0
  103. data/spec/bearcat/client/rubric_assessment_spec.rb +47 -0
  104. data/spec/bearcat/client/rubric_association_spec.rb +39 -0
  105. data/spec/bearcat/client/rubric_spec.rb +45 -0
  106. data/spec/bearcat/client/search_spec.rb +16 -0
  107. data/spec/bearcat/client/sections_spec.rb +12 -0
  108. data/spec/bearcat/client/submissions_spec.rb +47 -2
  109. data/spec/bearcat/client/users_spec.rb +43 -0
  110. data/spec/bearcat/client_spec.rb +1 -4
  111. data/spec/bearcat/rate_limiting_spec.rb +62 -0
  112. data/spec/bearcat/stub_bearcat_spec.rb +15 -0
  113. data/spec/fixtures/access_token.json +3 -0
  114. data/spec/fixtures/account_admin_create.json +14 -0
  115. data/spec/fixtures/account_admin_delete.json +15 -0
  116. data/spec/fixtures/account_admins.json +54 -0
  117. data/spec/fixtures/account_courses.json +48 -0
  118. data/spec/fixtures/account_grading_standards.json +20 -0
  119. data/spec/fixtures/account_groups.json +42 -0
  120. data/spec/fixtures/account_role.json +34 -0
  121. data/spec/fixtures/account_roles.json +35 -0
  122. data/spec/fixtures/account_sis_imports.json +39 -0
  123. data/spec/fixtures/account_sub_accounts.json +17 -0
  124. data/spec/fixtures/accounts.json +13 -0
  125. data/spec/fixtures/assignment.json +32 -0
  126. data/spec/fixtures/assignment_group.json +7 -0
  127. data/spec/fixtures/assignment_groups.json +16 -0
  128. data/spec/fixtures/blueprint_migration.json +12 -0
  129. data/spec/fixtures/blueprint_subscriptions.json +5 -0
  130. data/spec/fixtures/blueprint_template.json +7 -0
  131. data/spec/fixtures/blueprint_update_assocations_success.json +3 -0
  132. data/spec/fixtures/communication_channels.json +10 -0
  133. data/spec/fixtures/content_export.json +9 -0
  134. data/spec/fixtures/content_migration_files/content_migration.json +13 -0
  135. data/spec/fixtures/course_copy.json +18 -0
  136. data/spec/fixtures/course_files.json +38 -0
  137. data/spec/fixtures/course_folder.json +21 -0
  138. data/spec/fixtures/course_folders.json +44 -0
  139. data/spec/fixtures/course_grading_standards.json +20 -0
  140. data/spec/fixtures/course_settings.json +33 -0
  141. data/spec/fixtures/create_course_discussion.json +44 -0
  142. data/spec/fixtures/created_group.json +37 -0
  143. data/spec/fixtures/created_group_category.json +15 -0
  144. data/spec/fixtures/created_group_membership.json +8 -0
  145. data/spec/fixtures/created_module.json +13 -0
  146. data/spec/fixtures/custom_gradebook_columns/column_data.json +4 -0
  147. data/spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json +7 -0
  148. data/spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json +16 -0
  149. data/spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json +14 -0
  150. data/spec/fixtures/dashboard.json +6 -0
  151. data/spec/fixtures/delete_course.json +3 -0
  152. data/spec/fixtures/delete_group_category.json +3 -0
  153. data/spec/fixtures/deleted_group.json +37 -0
  154. data/spec/fixtures/department_level_participation.json +73 -0
  155. data/spec/fixtures/department_level_statistics.json +10 -0
  156. data/spec/fixtures/discussion_entries.json +21 -0
  157. data/spec/fixtures/discussion_entry_replies.json +21 -0
  158. data/spec/fixtures/discussion_topic.json +49 -0
  159. data/spec/fixtures/discussion_topics.json +51 -0
  160. data/spec/fixtures/edited_group.json +129 -0
  161. data/spec/fixtures/edited_group_category.json +15 -0
  162. data/spec/fixtures/enrollment_terms.json +1 -1
  163. data/spec/fixtures/external_tool.json +55 -0
  164. data/spec/fixtures/external_tools.json +57 -0
  165. data/spec/fixtures/file.csv +5 -0
  166. data/spec/fixtures/gradebook_history.json +52 -0
  167. data/spec/fixtures/graph_ql_scores.json +33 -0
  168. data/spec/fixtures/group.json +15 -0
  169. data/spec/fixtures/group_categories.json +28 -0
  170. data/spec/fixtures/group_category.json +13 -0
  171. data/spec/fixtures/group_category_groups.json +20 -0
  172. data/spec/fixtures/group_membership.json +7 -0
  173. data/spec/fixtures/learning_outcome.json +32 -0
  174. data/spec/fixtures/merge_user.json +8 -0
  175. data/spec/fixtures/module.json +15 -0
  176. data/spec/fixtures/module_item.json +15 -0
  177. data/spec/fixtures/module_items.json +47 -0
  178. data/spec/fixtures/ok.json +3 -0
  179. data/spec/fixtures/outcome_result.json +13 -0
  180. data/spec/fixtures/pages.json +40 -0
  181. data/spec/fixtures/progress.json +13 -0
  182. data/spec/fixtures/quizzes/course_quiz_questions.json +59 -0
  183. data/spec/fixtures/quizzes/quiz_assignment_override.json +31 -0
  184. data/spec/fixtures/reactivate_enrollment.json +20 -0
  185. data/spec/fixtures/rubric.json +13 -0
  186. data/spec/fixtures/rubric_assessment.json +32 -0
  187. data/spec/fixtures/rubric_association.json +13 -0
  188. data/spec/fixtures/search_find_recipients.json +10 -0
  189. data/spec/fixtures/update_section.json +1 -1
  190. data/spec/fixtures/user_details.json +16 -0
  191. data/spec/fixtures/user_logins.json +9 -0
  192. data/spec/helper.rb +2 -0
  193. metadata +336 -43
metadata CHANGED
@@ -1,223 +1,416 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.5.24
6
5
  platform: ruby
7
6
  authors:
8
- - Nathan Mills, Jake Sorce
9
- autorequire:
7
+ - Instructure CustomDev
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-10-01 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.0.0
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.0.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '2.6'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '2.6'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: webmock
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: pry
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sidekiq
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '7.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: '7.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: activesupport
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
92
109
  - !ruby/object:Gem::Version
93
110
  version: '0'
94
111
  - !ruby/object:Gem::Dependency
95
112
  name: footrest
96
113
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
114
  requirements:
99
- - - ! '>='
115
+ - - ">="
100
116
  - !ruby/object:Gem::Version
101
117
  version: 0.2.2
102
118
  type: :runtime
103
119
  prerelease: false
104
120
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
121
  requirements:
107
- - - ! '>='
122
+ - - ">="
108
123
  - !ruby/object:Gem::Version
109
124
  version: 0.2.2
125
+ - !ruby/object:Gem::Dependency
126
+ name: connection_pool
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 2.2.0
132
+ - - "<"
133
+ - !ruby/object:Gem::Version
134
+ version: '3.0'
135
+ type: :runtime
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: 2.2.0
142
+ - - "<"
143
+ - !ruby/object:Gem::Version
144
+ version: '3.0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: ffi
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: 1.16.3
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: 1.16.3
110
159
  description: Ruby interface for interacting with the canvas API
111
160
  email:
112
- - nathanm@instructure.com, jake@instructure.com
161
+ - pseng@instructure.com
113
162
  executables: []
114
163
  extensions: []
115
164
  extra_rdoc_files: []
116
165
  files:
117
166
  - Rakefile
118
167
  - bearcat.gemspec
168
+ - lib/badgrcat/api_array.rb
169
+ - lib/badgrcat/client.rb
170
+ - lib/badgrcat/client/methods.rb
171
+ - lib/badgrcat/version.rb
172
+ - lib/bearcat.rb
119
173
  - lib/bearcat/api_array.rb
174
+ - lib/bearcat/client.rb
120
175
  - lib/bearcat/client/account_reports.rb
121
176
  - lib/bearcat/client/accounts.rb
177
+ - lib/bearcat/client/analytics.rb
178
+ - lib/bearcat/client/assignment_groups.rb
122
179
  - lib/bearcat/client/assignments.rb
180
+ - lib/bearcat/client/blueprint_courses.rb
123
181
  - lib/bearcat/client/calendar_events.rb
124
182
  - lib/bearcat/client/canvas_files.rb
125
183
  - lib/bearcat/client/conferences.rb
184
+ - lib/bearcat/client/content_exports.rb
185
+ - lib/bearcat/client/content_migrations.rb
126
186
  - lib/bearcat/client/conversations.rb
127
187
  - lib/bearcat/client/courses.rb
188
+ - lib/bearcat/client/custom_gradebook_columns.rb
128
189
  - lib/bearcat/client/discussions.rb
129
190
  - lib/bearcat/client/enrollments.rb
191
+ - lib/bearcat/client/external_tools.rb
130
192
  - lib/bearcat/client/file_helper.rb
193
+ - lib/bearcat/client/files.rb
194
+ - lib/bearcat/client/folders.rb
195
+ - lib/bearcat/client/graph_ql.rb
196
+ - lib/bearcat/client/group_categories.rb
197
+ - lib/bearcat/client/group_memberships.rb
131
198
  - lib/bearcat/client/groups.rb
199
+ - lib/bearcat/client/learning_outcomes.rb
200
+ - lib/bearcat/client/logins.rb
201
+ - lib/bearcat/client/module_items.rb
132
202
  - lib/bearcat/client/modules.rb
133
203
  - lib/bearcat/client/o_auth2.rb
134
204
  - lib/bearcat/client/outcome_groups.rb
205
+ - lib/bearcat/client/outcome_imports.rb
135
206
  - lib/bearcat/client/outcomes.rb
207
+ - lib/bearcat/client/pages.rb
208
+ - lib/bearcat/client/progresses.rb
136
209
  - lib/bearcat/client/quizzes.rb
137
210
  - lib/bearcat/client/reports.rb
211
+ - lib/bearcat/client/roles.rb
212
+ - lib/bearcat/client/rubric.rb
213
+ - lib/bearcat/client/rubric_assessment.rb
214
+ - lib/bearcat/client/rubric_association.rb
215
+ - lib/bearcat/client/search.rb
138
216
  - lib/bearcat/client/sections.rb
139
217
  - lib/bearcat/client/sis_imports.rb
140
218
  - lib/bearcat/client/submissions.rb
219
+ - lib/bearcat/client/tabs.rb
141
220
  - lib/bearcat/client/users.rb
142
- - lib/bearcat/client.rb
221
+ - lib/bearcat/client_module.rb
222
+ - lib/bearcat/rate_limiting.rb
223
+ - lib/bearcat/rate_limiting/increment_bucket.lua
224
+ - lib/bearcat/rate_limiting/redis_script.rb
225
+ - lib/bearcat/redis_connection.rb
226
+ - lib/bearcat/spec_helpers.rb
143
227
  - lib/bearcat/version.rb
144
- - lib/bearcat.rb
228
+ - lib/catalogcat.rb
229
+ - lib/catalogcat/api_array.rb
230
+ - lib/catalogcat/client.rb
231
+ - lib/catalogcat/client/catalogs.rb
232
+ - lib/catalogcat/client/certificates.rb
233
+ - lib/catalogcat/client/courses.rb
234
+ - lib/catalogcat/client/email_domain_sets.rb
235
+ - lib/catalogcat/client/enrollments.rb
236
+ - lib/catalogcat/client/orders.rb
237
+ - lib/catalogcat/client/user_registrations.rb
238
+ - lib/catalogcat/version.rb
239
+ - spec/bearcat/api_array_spec.rb
145
240
  - spec/bearcat/client/accounts_spec.rb
241
+ - spec/bearcat/client/analytics_spec.rb
242
+ - spec/bearcat/client/assignment_groups_spec.rb
146
243
  - spec/bearcat/client/assignments_spec.rb
244
+ - spec/bearcat/client/blueprint_courses_spec.rb
147
245
  - spec/bearcat/client/calendar_events_spec.rb
148
246
  - spec/bearcat/client/canvas_files_spec.rb
149
247
  - spec/bearcat/client/conferences_spec.rb
248
+ - spec/bearcat/client/content_exports_spec.rb
249
+ - spec/bearcat/client/content_migrations_spec.rb
150
250
  - spec/bearcat/client/conversations_spec.rb
151
251
  - spec/bearcat/client/courses_spec.rb
252
+ - spec/bearcat/client/custom_gradebook_columns_spec.rb
152
253
  - spec/bearcat/client/discussions_spec.rb
153
254
  - spec/bearcat/client/enrollments_spec.rb
255
+ - spec/bearcat/client/external_tools_spec.rb
256
+ - spec/bearcat/client/files_spec.rb
257
+ - spec/bearcat/client/folders_spec.rb
258
+ - spec/bearcat/client/graph_ql_spec.rb
259
+ - spec/bearcat/client/group_categories_spec.rb
260
+ - spec/bearcat/client/group_membership_spec.rb
261
+ - spec/bearcat/client/group_memberships_spec.rb
154
262
  - spec/bearcat/client/groups_spec.rb
263
+ - spec/bearcat/client/learning_outcomes_spec.rb
264
+ - spec/bearcat/client/module_items_spec.rb
155
265
  - spec/bearcat/client/modules_spec.rb
156
266
  - spec/bearcat/client/o_auth2_spec.rb
157
267
  - spec/bearcat/client/outcome_groups_spec.rb
158
268
  - spec/bearcat/client/outcomes_spec.rb
269
+ - spec/bearcat/client/pages_spec.rb
159
270
  - spec/bearcat/client/quizzes_spec.rb
160
271
  - spec/bearcat/client/reports_spec.rb
272
+ - spec/bearcat/client/roles_spec.rb
273
+ - spec/bearcat/client/rubric_assessment_spec.rb
274
+ - spec/bearcat/client/rubric_association_spec.rb
275
+ - spec/bearcat/client/rubric_spec.rb
276
+ - spec/bearcat/client/search_spec.rb
161
277
  - spec/bearcat/client/sections_spec.rb
162
278
  - spec/bearcat/client/submissions_spec.rb
163
279
  - spec/bearcat/client/users_spec.rb
164
280
  - spec/bearcat/client_spec.rb
281
+ - spec/bearcat/rate_limiting_spec.rb
282
+ - spec/bearcat/stub_bearcat_spec.rb
165
283
  - spec/bearcat_spec.rb
284
+ - spec/fixtures/access_token.json
285
+ - spec/fixtures/account_admin_create.json
286
+ - spec/fixtures/account_admin_delete.json
287
+ - spec/fixtures/account_admins.json
288
+ - spec/fixtures/account_courses.json
289
+ - spec/fixtures/account_grading_standards.json
290
+ - spec/fixtures/account_groups.json
166
291
  - spec/fixtures/account_reports.json
167
292
  - spec/fixtures/account_reports_index.json
168
293
  - spec/fixtures/account_reports_result_success.json
169
294
  - spec/fixtures/account_reports_start_result.json
295
+ - spec/fixtures/account_role.json
296
+ - spec/fixtures/account_roles.json
297
+ - spec/fixtures/account_sis_imports.json
298
+ - spec/fixtures/account_sub_accounts.json
170
299
  - spec/fixtures/account_user.json
171
300
  - spec/fixtures/account_users.json
301
+ - spec/fixtures/accounts.json
172
302
  - spec/fixtures/add_custom_user_data.json
173
303
  - spec/fixtures/add_user.json
304
+ - spec/fixtures/assignment.json
305
+ - spec/fixtures/assignment_group.json
306
+ - spec/fixtures/assignment_groups.json
174
307
  - spec/fixtures/assignment_section_override.json
175
308
  - spec/fixtures/assignments.json
176
309
  - spec/fixtures/bearcat.jpg
310
+ - spec/fixtures/blueprint_migration.json
311
+ - spec/fixtures/blueprint_subscriptions.json
312
+ - spec/fixtures/blueprint_template.json
313
+ - spec/fixtures/blueprint_update_assocations_success.json
177
314
  - spec/fixtures/calendar_event.json
178
315
  - spec/fixtures/calendar_events.json
179
316
  - spec/fixtures/canvas_files/declare_file.json
180
317
  - spec/fixtures/canvas_files/upload_success.json
181
318
  - spec/fixtures/cc.imscc
319
+ - spec/fixtures/communication_channels.json
182
320
  - spec/fixtures/conclude_enrollment.json
321
+ - spec/fixtures/content_export.json
322
+ - spec/fixtures/content_migration_files/content_migration.json
183
323
  - spec/fixtures/content_migration_files/response.json
184
324
  - spec/fixtures/content_migration_files/upload_success.json
185
325
  - spec/fixtures/conversation.json
186
326
  - spec/fixtures/course.json
187
327
  - spec/fixtures/course_conferences.json
328
+ - spec/fixtures/course_copy.json
188
329
  - spec/fixtures/course_enrollments.json
330
+ - spec/fixtures/course_files.json
331
+ - spec/fixtures/course_folder.json
332
+ - spec/fixtures/course_folders.json
333
+ - spec/fixtures/course_grading_standards.json
189
334
  - spec/fixtures/course_groups.json
190
335
  - spec/fixtures/course_sections.json
336
+ - spec/fixtures/course_settings.json
191
337
  - spec/fixtures/course_students.json
338
+ - spec/fixtures/create_course_discussion.json
192
339
  - spec/fixtures/create_group_discussion.json
193
340
  - spec/fixtures/create_outcome_in_group.json
194
341
  - spec/fixtures/create_section.json
195
342
  - spec/fixtures/created_assignment.json
196
343
  - spec/fixtures/created_course.json
344
+ - spec/fixtures/created_group.json
345
+ - spec/fixtures/created_group_category.json
346
+ - spec/fixtures/created_group_membership.json
347
+ - spec/fixtures/created_module.json
197
348
  - spec/fixtures/custom_data.json
198
349
  - spec/fixtures/custom_food_data.json
350
+ - spec/fixtures/custom_gradebook_columns/column_data.json
351
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
352
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
353
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
354
+ - spec/fixtures/dashboard.json
355
+ - spec/fixtures/delete_course.json
199
356
  - spec/fixtures/delete_custom_data_scope.json
357
+ - spec/fixtures/delete_group_category.json
200
358
  - spec/fixtures/delete_section.json
201
359
  - spec/fixtures/deleted_conversation.json
360
+ - spec/fixtures/deleted_group.json
361
+ - spec/fixtures/department_level_participation.json
362
+ - spec/fixtures/department_level_statistics.json
363
+ - spec/fixtures/discussion_entries.json
364
+ - spec/fixtures/discussion_entry_replies.json
365
+ - spec/fixtures/discussion_topic.json
366
+ - spec/fixtures/discussion_topics.json
367
+ - spec/fixtures/edited_group.json
368
+ - spec/fixtures/edited_group_category.json
202
369
  - spec/fixtures/enroll_student.json
203
370
  - spec/fixtures/enrollment_terms.json
371
+ - spec/fixtures/external_tool.json
372
+ - spec/fixtures/external_tools.json
373
+ - spec/fixtures/file.csv
374
+ - spec/fixtures/gradebook_history.json
375
+ - spec/fixtures/graph_ql_scores.json
376
+ - spec/fixtures/group.json
377
+ - spec/fixtures/group_categories.json
378
+ - spec/fixtures/group_category.json
379
+ - spec/fixtures/group_category_groups.json
204
380
  - spec/fixtures/group_conferences.json
381
+ - spec/fixtures/group_membership.json
382
+ - spec/fixtures/learning_outcome.json
205
383
  - spec/fixtures/link_unlink_outcome.json
384
+ - spec/fixtures/merge_user.json
385
+ - spec/fixtures/module.json
386
+ - spec/fixtures/module_item.json
206
387
  - spec/fixtures/module_item_sequence.json
388
+ - spec/fixtures/module_items.json
207
389
  - spec/fixtures/modules.json
208
390
  - spec/fixtures/no_custom_data.json
391
+ - spec/fixtures/ok.json
209
392
  - spec/fixtures/outcome_group_import.json
210
393
  - spec/fixtures/outcome_groups.json
394
+ - spec/fixtures/outcome_result.json
211
395
  - spec/fixtures/outcome_subgroup.json
212
396
  - spec/fixtures/outcome_subgroups.json
213
397
  - spec/fixtures/outcomes.json
214
398
  - spec/fixtures/paged_body.json
399
+ - spec/fixtures/pages.json
400
+ - spec/fixtures/progress.json
215
401
  - spec/fixtures/quizzes/course_quiz.json
402
+ - spec/fixtures/quizzes/course_quiz_questions.json
216
403
  - spec/fixtures/quizzes/course_quizzes.json
404
+ - spec/fixtures/quizzes/quiz_assignment_override.json
217
405
  - spec/fixtures/quizzes/quiz_extension.json
406
+ - spec/fixtures/reactivate_enrollment.json
218
407
  - spec/fixtures/report_history.json
219
408
  - spec/fixtures/report_list.json
220
409
  - spec/fixtures/report_status.json
410
+ - spec/fixtures/rubric.json
411
+ - spec/fixtures/rubric_assessment.json
412
+ - spec/fixtures/rubric_association.json
413
+ - spec/fixtures/search_find_recipients.json
221
414
  - spec/fixtures/section.json
222
415
  - spec/fixtures/section_enrollments.json
223
416
  - spec/fixtures/single_account.json
@@ -228,111 +421,210 @@ files:
228
421
  - spec/fixtures/update_section.json
229
422
  - spec/fixtures/updated_course.json
230
423
  - spec/fixtures/user_avatars.json
424
+ - spec/fixtures/user_details.json
231
425
  - spec/fixtures/user_enrollments.json
426
+ - spec/fixtures/user_logins.json
232
427
  - spec/fixtures/user_page_views.json
233
428
  - spec/fixtures/user_profile.json
234
429
  - spec/helper.rb
235
- homepage:
430
+ homepage:
236
431
  licenses: []
237
- post_install_message:
432
+ metadata: {}
433
+ post_install_message:
238
434
  rdoc_options: []
239
435
  require_paths:
240
436
  - lib
241
437
  required_ruby_version: !ruby/object:Gem::Requirement
242
- none: false
243
438
  requirements:
244
- - - ! '>='
439
+ - - ">="
245
440
  - !ruby/object:Gem::Version
246
441
  version: '0'
247
442
  required_rubygems_version: !ruby/object:Gem::Requirement
248
- none: false
249
443
  requirements:
250
- - - ! '>='
444
+ - - ">="
251
445
  - !ruby/object:Gem::Version
252
446
  version: '0'
253
447
  requirements: []
254
- rubyforge_project:
255
- rubygems_version: 1.8.23
256
- signing_key:
257
- specification_version: 3
448
+ rubygems_version: 3.4.10
449
+ signing_key:
450
+ specification_version: 4
258
451
  summary: Canvas API
259
452
  test_files:
453
+ - spec/bearcat/api_array_spec.rb
260
454
  - spec/bearcat/client/accounts_spec.rb
455
+ - spec/bearcat/client/analytics_spec.rb
456
+ - spec/bearcat/client/assignment_groups_spec.rb
261
457
  - spec/bearcat/client/assignments_spec.rb
458
+ - spec/bearcat/client/blueprint_courses_spec.rb
262
459
  - spec/bearcat/client/calendar_events_spec.rb
263
460
  - spec/bearcat/client/canvas_files_spec.rb
264
461
  - spec/bearcat/client/conferences_spec.rb
462
+ - spec/bearcat/client/content_exports_spec.rb
463
+ - spec/bearcat/client/content_migrations_spec.rb
265
464
  - spec/bearcat/client/conversations_spec.rb
266
465
  - spec/bearcat/client/courses_spec.rb
466
+ - spec/bearcat/client/custom_gradebook_columns_spec.rb
267
467
  - spec/bearcat/client/discussions_spec.rb
268
468
  - spec/bearcat/client/enrollments_spec.rb
469
+ - spec/bearcat/client/external_tools_spec.rb
470
+ - spec/bearcat/client/files_spec.rb
471
+ - spec/bearcat/client/folders_spec.rb
472
+ - spec/bearcat/client/graph_ql_spec.rb
473
+ - spec/bearcat/client/group_categories_spec.rb
474
+ - spec/bearcat/client/group_membership_spec.rb
475
+ - spec/bearcat/client/group_memberships_spec.rb
269
476
  - spec/bearcat/client/groups_spec.rb
477
+ - spec/bearcat/client/learning_outcomes_spec.rb
478
+ - spec/bearcat/client/module_items_spec.rb
270
479
  - spec/bearcat/client/modules_spec.rb
271
480
  - spec/bearcat/client/o_auth2_spec.rb
272
481
  - spec/bearcat/client/outcome_groups_spec.rb
273
482
  - spec/bearcat/client/outcomes_spec.rb
483
+ - spec/bearcat/client/pages_spec.rb
274
484
  - spec/bearcat/client/quizzes_spec.rb
275
485
  - spec/bearcat/client/reports_spec.rb
486
+ - spec/bearcat/client/roles_spec.rb
487
+ - spec/bearcat/client/rubric_assessment_spec.rb
488
+ - spec/bearcat/client/rubric_association_spec.rb
489
+ - spec/bearcat/client/rubric_spec.rb
490
+ - spec/bearcat/client/search_spec.rb
276
491
  - spec/bearcat/client/sections_spec.rb
277
492
  - spec/bearcat/client/submissions_spec.rb
278
493
  - spec/bearcat/client/users_spec.rb
279
494
  - spec/bearcat/client_spec.rb
495
+ - spec/bearcat/rate_limiting_spec.rb
496
+ - spec/bearcat/stub_bearcat_spec.rb
280
497
  - spec/bearcat_spec.rb
498
+ - spec/fixtures/access_token.json
499
+ - spec/fixtures/account_admin_create.json
500
+ - spec/fixtures/account_admin_delete.json
501
+ - spec/fixtures/account_admins.json
502
+ - spec/fixtures/account_courses.json
503
+ - spec/fixtures/account_grading_standards.json
504
+ - spec/fixtures/account_groups.json
281
505
  - spec/fixtures/account_reports.json
282
506
  - spec/fixtures/account_reports_index.json
283
507
  - spec/fixtures/account_reports_result_success.json
284
508
  - spec/fixtures/account_reports_start_result.json
509
+ - spec/fixtures/account_role.json
510
+ - spec/fixtures/account_roles.json
511
+ - spec/fixtures/account_sis_imports.json
512
+ - spec/fixtures/account_sub_accounts.json
285
513
  - spec/fixtures/account_user.json
286
514
  - spec/fixtures/account_users.json
515
+ - spec/fixtures/accounts.json
287
516
  - spec/fixtures/add_custom_user_data.json
288
517
  - spec/fixtures/add_user.json
518
+ - spec/fixtures/assignment.json
519
+ - spec/fixtures/assignment_group.json
520
+ - spec/fixtures/assignment_groups.json
289
521
  - spec/fixtures/assignment_section_override.json
290
522
  - spec/fixtures/assignments.json
291
523
  - spec/fixtures/bearcat.jpg
524
+ - spec/fixtures/blueprint_migration.json
525
+ - spec/fixtures/blueprint_subscriptions.json
526
+ - spec/fixtures/blueprint_template.json
527
+ - spec/fixtures/blueprint_update_assocations_success.json
292
528
  - spec/fixtures/calendar_event.json
293
529
  - spec/fixtures/calendar_events.json
294
530
  - spec/fixtures/canvas_files/declare_file.json
295
531
  - spec/fixtures/canvas_files/upload_success.json
296
532
  - spec/fixtures/cc.imscc
533
+ - spec/fixtures/communication_channels.json
297
534
  - spec/fixtures/conclude_enrollment.json
535
+ - spec/fixtures/content_export.json
536
+ - spec/fixtures/content_migration_files/content_migration.json
298
537
  - spec/fixtures/content_migration_files/response.json
299
538
  - spec/fixtures/content_migration_files/upload_success.json
300
539
  - spec/fixtures/conversation.json
301
540
  - spec/fixtures/course.json
302
541
  - spec/fixtures/course_conferences.json
542
+ - spec/fixtures/course_copy.json
303
543
  - spec/fixtures/course_enrollments.json
544
+ - spec/fixtures/course_files.json
545
+ - spec/fixtures/course_folder.json
546
+ - spec/fixtures/course_folders.json
547
+ - spec/fixtures/course_grading_standards.json
304
548
  - spec/fixtures/course_groups.json
305
549
  - spec/fixtures/course_sections.json
550
+ - spec/fixtures/course_settings.json
306
551
  - spec/fixtures/course_students.json
552
+ - spec/fixtures/create_course_discussion.json
307
553
  - spec/fixtures/create_group_discussion.json
308
554
  - spec/fixtures/create_outcome_in_group.json
309
555
  - spec/fixtures/create_section.json
310
556
  - spec/fixtures/created_assignment.json
311
557
  - spec/fixtures/created_course.json
558
+ - spec/fixtures/created_group.json
559
+ - spec/fixtures/created_group_category.json
560
+ - spec/fixtures/created_group_membership.json
561
+ - spec/fixtures/created_module.json
312
562
  - spec/fixtures/custom_data.json
313
563
  - spec/fixtures/custom_food_data.json
564
+ - spec/fixtures/custom_gradebook_columns/column_data.json
565
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
566
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
567
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
568
+ - spec/fixtures/dashboard.json
569
+ - spec/fixtures/delete_course.json
314
570
  - spec/fixtures/delete_custom_data_scope.json
571
+ - spec/fixtures/delete_group_category.json
315
572
  - spec/fixtures/delete_section.json
316
573
  - spec/fixtures/deleted_conversation.json
574
+ - spec/fixtures/deleted_group.json
575
+ - spec/fixtures/department_level_participation.json
576
+ - spec/fixtures/department_level_statistics.json
577
+ - spec/fixtures/discussion_entries.json
578
+ - spec/fixtures/discussion_entry_replies.json
579
+ - spec/fixtures/discussion_topic.json
580
+ - spec/fixtures/discussion_topics.json
581
+ - spec/fixtures/edited_group.json
582
+ - spec/fixtures/edited_group_category.json
317
583
  - spec/fixtures/enroll_student.json
318
584
  - spec/fixtures/enrollment_terms.json
585
+ - spec/fixtures/external_tool.json
586
+ - spec/fixtures/external_tools.json
587
+ - spec/fixtures/file.csv
588
+ - spec/fixtures/gradebook_history.json
589
+ - spec/fixtures/graph_ql_scores.json
590
+ - spec/fixtures/group.json
591
+ - spec/fixtures/group_categories.json
592
+ - spec/fixtures/group_category.json
593
+ - spec/fixtures/group_category_groups.json
319
594
  - spec/fixtures/group_conferences.json
595
+ - spec/fixtures/group_membership.json
596
+ - spec/fixtures/learning_outcome.json
320
597
  - spec/fixtures/link_unlink_outcome.json
598
+ - spec/fixtures/merge_user.json
599
+ - spec/fixtures/module.json
600
+ - spec/fixtures/module_item.json
321
601
  - spec/fixtures/module_item_sequence.json
602
+ - spec/fixtures/module_items.json
322
603
  - spec/fixtures/modules.json
323
604
  - spec/fixtures/no_custom_data.json
605
+ - spec/fixtures/ok.json
324
606
  - spec/fixtures/outcome_group_import.json
325
607
  - spec/fixtures/outcome_groups.json
608
+ - spec/fixtures/outcome_result.json
326
609
  - spec/fixtures/outcome_subgroup.json
327
610
  - spec/fixtures/outcome_subgroups.json
328
611
  - spec/fixtures/outcomes.json
329
612
  - spec/fixtures/paged_body.json
613
+ - spec/fixtures/pages.json
614
+ - spec/fixtures/progress.json
330
615
  - spec/fixtures/quizzes/course_quiz.json
616
+ - spec/fixtures/quizzes/course_quiz_questions.json
331
617
  - spec/fixtures/quizzes/course_quizzes.json
618
+ - spec/fixtures/quizzes/quiz_assignment_override.json
332
619
  - spec/fixtures/quizzes/quiz_extension.json
620
+ - spec/fixtures/reactivate_enrollment.json
333
621
  - spec/fixtures/report_history.json
334
622
  - spec/fixtures/report_list.json
335
623
  - spec/fixtures/report_status.json
624
+ - spec/fixtures/rubric.json
625
+ - spec/fixtures/rubric_assessment.json
626
+ - spec/fixtures/rubric_association.json
627
+ - spec/fixtures/search_find_recipients.json
336
628
  - spec/fixtures/section.json
337
629
  - spec/fixtures/section_enrollments.json
338
630
  - spec/fixtures/single_account.json
@@ -343,8 +635,9 @@ test_files:
343
635
  - spec/fixtures/update_section.json
344
636
  - spec/fixtures/updated_course.json
345
637
  - spec/fixtures/user_avatars.json
638
+ - spec/fixtures/user_details.json
346
639
  - spec/fixtures/user_enrollments.json
640
+ - spec/fixtures/user_logins.json
347
641
  - spec/fixtures/user_page_views.json
348
642
  - spec/fixtures/user_profile.json
349
643
  - spec/helper.rb
350
- has_rdoc: