bearcat 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2MzYWE1MWFiYWJiNGU5Yzg5YmRmMDQyYzM3MTM4Mzc2ZmY0YjRkZA==
4
+ MWVlNDE3NTk1MWJlOWYyYmQwYjBlNmE0OGQyZTY4ZGYzYTI5ZWM0Nw==
5
5
  data.tar.gz: !binary |-
6
- YWU4Y2VlOTRiY2JkZjRjNTgwM2Y3NTljMDgyYzQyM2U2NTdjMzNmZg==
6
+ ZGE4MjliYTZjOWZkNGRlNGZkYWMxZDgzZjkxYzcyNjczOTU2MzI4MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjJmYjg4Zjg0MGMzMTUzNzA1NWMyY2ZlMTQzOWJjNzQ3ZDZiNDMxMWViMWJj
10
- M2EyYzJiYTA5NDk4ODk4YTYzYmUwZWQ3MGM5NzczYmNmMDFmNGI1N2VjOWNh
11
- OGIyZTg2ODhhMGQwYTBkYWYwODk3ZTcxOWIwY2E3ZDRhMDY2ZGY=
9
+ MzE0NmQ1NmZiYzkwNTFkOTkyMmU5MTBkODBmM2RlMjQyNzNhMzJlYWM2NTI0
10
+ YTc4NmYwODhjYTcwYjRlMGFiYTcyMTM1MGJmNTM2MDY5NGFmOTdhZGNmMGRk
11
+ ZjAzZTgyODY1ZTU5OWQzMjZhOGNiZDUzNGNiYzQzNDkxZjVmODg=
12
12
  data.tar.gz: !binary |-
13
- MWM2N2FiNTFmZTlmOTZlOTQwOTU1NWJlODU5NDQwODNlZDY2NzMyMGUyMDQw
14
- YTRhYjI2NmZkOWM4NzM0YTk5MTZjNzA5YzAzMzdmYjZhN2ExMjczZjBjOWQ2
15
- ZWJlZWEwNzFjM2U1YjI0ZDljYmM1NDAyYzUyZWZhMzNkZDNkOTc=
13
+ NzcwNWM0NmYyMWVmMzhkMGFmMzI3NzkzMjZmYmFmNzA1N2ViOTI1YTRhZDQ3
14
+ MDcwYjZhZjcwNmYwMjg0Nzg1NmJlYjA3NzkzMjc1MTM5MjNlYzMyZjNmOTc0
15
+ MGFkYWVkNmExYTg3MTFhNmVhMWMwN2FlNjMyZTE5NjQ0NzQyODk=
@@ -7,7 +7,7 @@ module Bearcat
7
7
  end
8
8
 
9
9
  def create_course_discussion(course_id, params= {})
10
- post("/api/v1/course/#{course_id}/discussion_topics", params)
10
+ post("/api/v1/courses/#{course_id}/discussion_topics", params)
11
11
  end
12
12
 
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.2.6' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.2.7' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -14,7 +14,7 @@ describe Bearcat::Client::Discussions do
14
14
 
15
15
  it 'creates a new course discussion' do
16
16
  title = "This is a course discussion"
17
- stub_post(@client, "/api/v1/course/2/discussion_topics").with(body: {"title" => title}).to_return(json_response("create_course_discussion.json"))
17
+ stub_post(@client, "/api/v1/courses/2/discussion_topics").with(body: {"title" => title}).to_return(json_response("create_course_discussion.json"))
18
18
  discussion = @client.create_course_discussion(2, {'title' => title})
19
19
  discussion['title'].should == 'This is a course discussion'
20
20
  end
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.2.6
4
+ version: 1.2.7
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: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake