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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 705d3efa90423cf35311ad8c77ce438ff4d88ea5
4
- data.tar.gz: 42521f3b5cd101176d9aa54e0b49161fc977d871
3
+ metadata.gz: 5463120a1e84356de76b630e0059373352cee3f8
4
+ data.tar.gz: dea1ccafcbcb354ae3cb50897db92dd930626d60
5
5
  SHA512:
6
- metadata.gz: a960b009043806c01594652c5d02ef073bc48e7a6b5060ac8cff768805ca05241bafe94351374e501357825d9a599c109db01aa4114503b83b164194881fc471
7
- data.tar.gz: 5eefd2baa6bdbac5dfc3b887266c2d667249a37e3e66ee200bca7bcef96018eeff442bf701351460eeab5f5017f90a21a7709712ae95e35b14910134bf6d0e3a
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
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.3.32' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.3.33' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -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, {"rubric_assessment[user_id]" => "22"})
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, {"rubric_assessment[user_id]" => "22"})
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.32
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-26 00:00:00.000000000 Z
11
+ date: 2019-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake