lms-api 1.22.0 → 1.23.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.
@@ -85,6 +85,7 @@ module LMS
85
85
  "RESET_COURSE",
86
86
  "GET_EFFECTIVE_DUE_DATES",
87
87
  "COURSES_PERMISSIONS",
88
+ "GET_BULK_USER_PROGRESS",
88
89
  "GET_COURSE_COPY_STATUS",
89
90
  "COPY_COURSE_CONTENT",
90
91
  "LIST_CUSTOM_GRADEBOOK_COLUMNS",
@@ -126,6 +127,8 @@ module LMS
126
127
  "REJECT_COURSE_INVITATION",
127
128
  "RE_ACTIVATE_ENROLLMENT",
128
129
  "ADDS_LAST_ATTENDED_DATE_TO_STUDENT_ENROLLMENT_IN_COURSE",
130
+ "CREATE_EPUB_EXPORT",
131
+ "SHOW_EPUB_EXPORT",
129
132
  "LIST_EXTERNAL_TOOLS_COURSES",
130
133
  "GET_SESSIONLESS_LAUNCH_URL_FOR_EXTERNAL_TOOL_COURSES",
131
134
  "GET_SINGLE_EXTERNAL_TOOL_COURSES",
@@ -285,12 +288,12 @@ module LMS
285
288
  "CREATE_RUBRICASSOCIATION",
286
289
  "UPDATE_RUBRICASSOCIATION",
287
290
  "DELETE_RUBRICASSOCIATION",
288
- "RETRIEVE_ASSIGNMENTS_ENABLED_FOR_GRADE_EXPORT_TO_SIS_COURSES",
289
- "DISABLE_ASSIGNMENTS_CURRENTLY_ENABLED_FOR_GRADE_EXPORT_TO_SIS",
290
291
  "CREATE_SCORE",
291
292
  "LIST_COURSE_SECTIONS",
292
293
  "CREATE_COURSE_SECTION",
293
294
  "GET_SECTION_INFORMATION_COURSES",
295
+ "RETRIEVE_ASSIGNMENTS_ENABLED_FOR_GRADE_EXPORT_TO_SIS_COURSES",
296
+ "DISABLE_ASSIGNMENTS_CURRENTLY_ENABLED_FOR_GRADE_EXPORT_TO_SIS",
294
297
  "EDIT_SUBMISSION_COMMENT",
295
298
  "DELETE_SUBMISSION_COMMENT",
296
299
  "SUBMISSION_COMMENTS_UPLOAD_FILE",
@@ -298,21 +301,25 @@ module LMS
298
301
  "LIST_ASSIGNMENT_SUBMISSIONS_COURSES",
299
302
  "LIST_SUBMISSIONS_FOR_MULTIPLE_ASSIGNMENTS_COURSES",
300
303
  "GET_SINGLE_SUBMISSION_COURSES",
304
+ "GET_SINGLE_SUBMISSION_BY_ANONYMOUS_ID_COURSES",
301
305
  "UPLOAD_FILE_COURSES",
302
306
  "GRADE_OR_COMMENT_ON_SUBMISSION_COURSES",
307
+ "GRADE_OR_COMMENT_ON_SUBMISSION_BY_ANONYMOUS_ID_COURSES",
303
308
  "LIST_GRADEABLE_STUDENTS",
304
309
  "LIST_MULTIPLE_ASSIGNMENTS_GRADEABLE_STUDENTS",
305
310
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_SUBMISSIONS",
306
311
  "GRADE_OR_COMMENT_ON_MULTIPLE_SUBMISSIONS_COURSES_ASSIGNMENTS",
307
312
  "MARK_SUBMISSION_AS_READ_COURSES",
308
313
  "MARK_SUBMISSION_AS_UNREAD_COURSES",
314
+ "GET_RUBRIC_COMMENTS_READ_STATE_COURSES",
315
+ "MARK_RUBRIC_COMMENTS_AS_READ_COURSES",
316
+ "GET_DOCUMENT_ANNOTATIONS_READ_STATE_COURSES",
317
+ "MARK_DOCUMENT_ANNOTATIONS_AS_READ_COURSES",
309
318
  "SUBMISSION_SUMMARY_COURSES",
310
319
  "LIST_AVAILABLE_TABS_FOR_COURSE_OR_GROUP_COURSES",
311
320
  "UPDATE_TAB_FOR_COURSE",
312
321
  "GET_COURSE_NICKNAME",
313
322
  "SET_COURSE_NICKNAME",
314
- "REMOVE_COURSE_NICKNAME",
315
- "CREATE_EPUB_EXPORT",
316
- "SHOW_EPUB_EXPORT"
323
+ "REMOVE_COURSE_NICKNAME"
317
324
  ].freeze
318
325
  end
data/lib/lms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module LMS
2
- VERSION = "1.22.0".freeze
2
+ VERSION = "1.23.0".freeze
3
3
  end
@@ -16,8 +16,12 @@ namespace :canvas do
16
16
  client_app_path = File.expand_path(File.join(current_path, "../../../atomic-canvas/src/constants"))
17
17
  server_app_path = File.expand_path(File.join(current_path, "../../../atomic-lti"))
18
18
  elixir_app_path = File.expand_path(File.join(current_path, "../../../catalyst"))
19
+ go_app_path = File.expand_path(File.join(current_path, "../../../canvasapi"))
19
20
  rb_graphql_app_path = File.expand_path(File.join(current_path, "../../../lms_graphql_api"))
20
21
  project_root = File.expand_path(File.join(current_path, "../../"))
21
- CanvasApi::Builder.build(project_root, client_app_path, server_app_path, elixir_app_path, rb_graphql_app_path)
22
+ CanvasApi::Builder.build(project_root, client_app_path, server_app_path, elixir_app_path, rb_graphql_app_path, go_app_path)
23
+
24
+ # Format the go code
25
+ `gofmt -s -w #{go_app_path}`
22
26
  end
23
27
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lms-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atomic Jolt
8
8
  - Jamis Buck
9
9
  - Justin Ball
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-12 00:00:00.000000000 Z
13
+ date: 2021-12-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -109,6 +109,8 @@ files:
109
109
  - Rakefile
110
110
  - lib/canvas_api.rb
111
111
  - lib/canvas_api/builder.rb
112
+ - lib/canvas_api/go_helpers.rb
113
+ - lib/canvas_api/helpers.rb
112
114
  - lib/canvas_api/js_graphql_helpers.rb
113
115
  - lib/canvas_api/js_helpers.rb
114
116
  - lib/canvas_api/rb_graphql_helpers.rb
@@ -122,6 +124,8 @@ files:
122
124
  - lib/canvas_api/templates/ex_default_action.erb
123
125
  - lib/canvas_api/templates/ex_url.erb
124
126
  - lib/canvas_api/templates/ex_urls.erb
127
+ - lib/canvas_api/templates/go_action.erb
128
+ - lib/canvas_api/templates/go_struct.erb
125
129
  - lib/canvas_api/templates/js_graphql_model.erb
126
130
  - lib/canvas_api/templates/js_graphql_mutation.erb
127
131
  - lib/canvas_api/templates/js_graphql_mutations.erb
@@ -153,7 +157,7 @@ homepage: https://github.com/atomicjolt/lms_api
153
157
  licenses:
154
158
  - MIT
155
159
  metadata: {}
156
- post_install_message:
160
+ post_install_message:
157
161
  rdoc_options: []
158
162
  require_paths:
159
163
  - lib
@@ -168,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
172
  - !ruby/object:Gem::Version
169
173
  version: '0'
170
174
  requirements: []
171
- rubygems_version: 3.1.4
172
- signing_key:
175
+ rubygems_version: 3.1.6
176
+ signing_key:
173
177
  specification_version: 4
174
178
  summary: Wrapper for the Instructure Canvas API
175
179
  test_files: []