bearcat 1.3.32 → 1.3.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/client/assignment_groups.rb +1 -1
- data/lib/bearcat/version.rb +1 -1
- data/spec/bearcat/client/rubric_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5463120a1e84356de76b630e0059373352cee3f8
|
4
|
+
data.tar.gz: dea1ccafcbcb354ae3cb50897db92dd930626d60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27eb02527f71eed03af92fcd64a88841e922b75ac8072196e85e5b2f3447728ad896ff2630224220f546a43326f98bfbae561a73d68c23aced2834bd91f7a4be
|
7
|
+
data.tar.gz: 8748b8f4ccd775eb4bfafe69ec0a0be6ae1a006eaa0bd518bd7e76b321477224e221839ce9b204da513365683a50758e1dfd657edd64bddfd5e494d4e18a6d84
|
@@ -19,7 +19,7 @@ module Bearcat
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def delete_assignment_group(course, assignment_group_id, params={})
|
22
|
-
delete("/api/v1/courses/#{course}/assignment_groups/#{assignment_group_id}")
|
22
|
+
delete("/api/v1/courses/#{course}/assignment_groups/#{assignment_group_id}", params)
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|
data/lib/bearcat/version.rb
CHANGED
@@ -17,7 +17,7 @@ describe Bearcat::Client::Rubric do
|
|
17
17
|
it "creates a rubric" do
|
18
18
|
stub_post(@client, "/api/v1/courses/72/rubrics").
|
19
19
|
with(:body => {"rubric_assessment"=>{"user_id"=>"22"}}).to_return(json_response("rubric.json"))
|
20
|
-
rubric = @client.create_course_rubric(72, {
|
20
|
+
rubric = @client.create_course_rubric(72, {rubric_assessment: {user_id: "22"}})
|
21
21
|
rubric['id'].should == 1
|
22
22
|
rubric['title'].should == 'Rubric title'
|
23
23
|
rubric['context_type'].should == 'Course'
|
@@ -27,7 +27,7 @@ describe Bearcat::Client::Rubric do
|
|
27
27
|
it "updates a rubric" do
|
28
28
|
stub_put(@client, "/api/v1/courses/72/rubrics/1")
|
29
29
|
.with(:body => {"rubric_assessment"=>{"user_id"=>"22"}}).to_return(json_response("rubric.json"))
|
30
|
-
rubric = @client.update_course_rubric(72, 1, {
|
30
|
+
rubric = @client.update_course_rubric(72, 1, {rubric_assessment: {user_id: "22"}})
|
31
31
|
rubric['id'].should == 1
|
32
32
|
rubric['title'].should == 'Rubric title'
|
33
33
|
rubric['context_type'].should == 'Course'
|
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.3.
|
4
|
+
version: 1.3.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Mills, Jake Sorce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03
|
11
|
+
date: 2019-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|