bearcat 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/bearcat/client.rb +2 -0
- data/lib/bearcat/client/progresses.rb +10 -0
- data/lib/bearcat/client/quizzes.rb +8 -0
- data/lib/bearcat/version.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0857221e4d0ad037b8ff726dbb24110994f4bf6b
|
4
|
+
data.tar.gz: d2d95e0503296a927e082c7d71e0ca43a8b961c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2951d3c1ced27bd655e0aa22e334540f75faf0773ecb4508381a20d3098027cdeb1191d56170501fa9d91686236812a752fee354272c0440fd7c76916eb0dda5
|
7
|
+
data.tar.gz: 1dcfb8372c50727e46d98f6f17c04d10b04495535faf916c04913a17f905827be4080e52ad4681856f5b0459fef9b09fd34a9084fc41cae1fdbe6b4d52b68b6f
|
data/lib/bearcat/client.rb
CHANGED
@@ -44,6 +44,7 @@ module Bearcat
|
|
44
44
|
require 'bearcat/client/rubric'
|
45
45
|
require 'bearcat/client/rubric_assessment'
|
46
46
|
require 'bearcat/client/rubric_association'
|
47
|
+
require 'bearcat/client/progresses'
|
47
48
|
|
48
49
|
include Assignments
|
49
50
|
include Accounts
|
@@ -84,6 +85,7 @@ module Bearcat
|
|
84
85
|
include Rubric
|
85
86
|
include RubricAssessment
|
86
87
|
include RubricAssociation
|
88
|
+
include Progresses
|
87
89
|
|
88
90
|
# Override Footrest request for ApiArray support
|
89
91
|
def request(method, &block)
|
@@ -29,6 +29,14 @@ module Bearcat
|
|
29
29
|
def create_quiz(course, params={})
|
30
30
|
post("/api/v1/courses/#{course}/quizzes", params)
|
31
31
|
end
|
32
|
+
|
33
|
+
def create_quiz_report(course, quiz, params={})
|
34
|
+
post("/api/v1/courses/#{course}/quizzes/#{quiz}/reports", params)
|
35
|
+
end
|
36
|
+
|
37
|
+
def get_quiz_report(course, quiz, report, params)
|
38
|
+
get("/api/v1/courses/#{course}/quizzes/#{quiz}/reports/#{report}", params)
|
39
|
+
end
|
32
40
|
end
|
33
41
|
end
|
34
42
|
end
|
data/lib/bearcat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bearcat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
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: 2020-
|
11
|
+
date: 2020-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- lib/bearcat/client/outcome_groups.rb
|
165
165
|
- lib/bearcat/client/outcomes.rb
|
166
166
|
- lib/bearcat/client/pages.rb
|
167
|
+
- lib/bearcat/client/progresses.rb
|
167
168
|
- lib/bearcat/client/quizzes.rb
|
168
169
|
- lib/bearcat/client/reports.rb
|
169
170
|
- lib/bearcat/client/roles.rb
|
@@ -362,10 +363,10 @@ files:
|
|
362
363
|
- spec/fixtures/user_page_views.json
|
363
364
|
- spec/fixtures/user_profile.json
|
364
365
|
- spec/helper.rb
|
365
|
-
homepage:
|
366
|
+
homepage:
|
366
367
|
licenses: []
|
367
368
|
metadata: {}
|
368
|
-
post_install_message:
|
369
|
+
post_install_message:
|
369
370
|
rdoc_options: []
|
370
371
|
require_paths:
|
371
372
|
- lib
|
@@ -380,8 +381,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
380
381
|
- !ruby/object:Gem::Version
|
381
382
|
version: '0'
|
382
383
|
requirements: []
|
383
|
-
|
384
|
-
|
384
|
+
rubyforge_project:
|
385
|
+
rubygems_version: 2.4.5.1
|
386
|
+
signing_key:
|
385
387
|
specification_version: 4
|
386
388
|
summary: Canvas API
|
387
389
|
test_files:
|