bearcat 1.2.12 → 1.2.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cecd449bbde0aee78b3aff9f809a73789598d2c1
|
4
|
+
data.tar.gz: 8dbc536c5a732deccbe9f5b3b355e97f92da9f50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11317f4044fb795976c56190eb74af1b5d28a675745822b5f7bbac2ef9256798df395b421a1c2bae3d30a20a6a97a35c7c49c7b1db1c118c0ff7ea054ff5e1f0
|
7
|
+
data.tar.gz: 636050ce0b7518f855d79b87c3b2ad1919947763c751d8e0e576c07a6f01ea54b823f2cb7d752a12b85a7ab10cea88def23723e5775884900c9a7ed3c05af304
|
data/lib/bearcat/version.rb
CHANGED
@@ -21,6 +21,14 @@ describe Bearcat::Client::Groups do
|
|
21
21
|
groups.last['id'].should == 3
|
22
22
|
end
|
23
23
|
|
24
|
+
it "returns group category groups" do
|
25
|
+
stub_get(@client, "/api/v1/group_categories/1/groups").to_return(json_response("group_category_groups.json"))
|
26
|
+
groups = @client.category_groups(1)
|
27
|
+
groups.count.should == 1
|
28
|
+
groups.first['name'].should == 'test group in category'
|
29
|
+
groups.first['id'].should == 94
|
30
|
+
end
|
31
|
+
|
24
32
|
it "returns a single group" do
|
25
33
|
stub_get(@client, "/api/v1/groups/3").to_return(json_response("group.json"))
|
26
34
|
group = @client.group(3)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 94,
|
4
|
+
"name": "test group in category",
|
5
|
+
"max_membership": null,
|
6
|
+
"is_public": false,
|
7
|
+
"join_level": "invitation_only",
|
8
|
+
"group_category_id": 12,
|
9
|
+
"description": "A clone of a section with the same name",
|
10
|
+
"members_count": 13,
|
11
|
+
"storage_quota_mb": 50,
|
12
|
+
"context_type": "Course",
|
13
|
+
"course_id": 14,
|
14
|
+
"avatar_url": null,
|
15
|
+
"role": null,
|
16
|
+
"leader": null,
|
17
|
+
"has_submission": false,
|
18
|
+
"concluded": false
|
19
|
+
}
|
20
|
+
]
|
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.
|
4
|
+
version: 1.2.13
|
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-08-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -173,7 +173,6 @@ files:
|
|
173
173
|
- spec/fixtures/account_admins.json
|
174
174
|
- spec/fixtures/account_courses.json
|
175
175
|
- spec/fixtures/account_grading_standards.json
|
176
|
-
- spec/fixtures/account_groups.json
|
177
176
|
- spec/fixtures/account_reports.json
|
178
177
|
- spec/fixtures/account_reports_index.json
|
179
178
|
- spec/fixtures/account_reports_result_success.json
|
@@ -232,6 +231,7 @@ files:
|
|
232
231
|
- spec/fixtures/group.json
|
233
232
|
- spec/fixtures/group_categories.json
|
234
233
|
- spec/fixtures/group_category.json
|
234
|
+
- spec/fixtures/group_category_groups.json
|
235
235
|
- spec/fixtures/group_conferences.json
|
236
236
|
- spec/fixtures/link_unlink_outcome.json
|
237
237
|
- spec/fixtures/merge_user.json
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
version: '0'
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 2.4.
|
293
|
+
rubygems_version: 2.4.5
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: Canvas API
|
@@ -330,7 +330,6 @@ test_files:
|
|
330
330
|
- spec/fixtures/account_admins.json
|
331
331
|
- spec/fixtures/account_courses.json
|
332
332
|
- spec/fixtures/account_grading_standards.json
|
333
|
-
- spec/fixtures/account_groups.json
|
334
333
|
- spec/fixtures/account_reports.json
|
335
334
|
- spec/fixtures/account_reports_index.json
|
336
335
|
- spec/fixtures/account_reports_result_success.json
|
@@ -389,6 +388,7 @@ test_files:
|
|
389
388
|
- spec/fixtures/group.json
|
390
389
|
- spec/fixtures/group_categories.json
|
391
390
|
- spec/fixtures/group_category.json
|
391
|
+
- spec/fixtures/group_category_groups.json
|
392
392
|
- spec/fixtures/group_conferences.json
|
393
393
|
- spec/fixtures/link_unlink_outcome.json
|
394
394
|
- spec/fixtures/merge_user.json
|
@@ -1,42 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id":2,
|
4
|
-
"name":"2010",
|
5
|
-
"max_membership":null,
|
6
|
-
"is_public":false,
|
7
|
-
"join_level":"invitation_only",
|
8
|
-
"group_category_id":2,
|
9
|
-
"description":null,
|
10
|
-
"members_count":0,
|
11
|
-
"storage_quota_mb":50,
|
12
|
-
"context_type":"Account",
|
13
|
-
"account_id":1,
|
14
|
-
"avatar_url":null,
|
15
|
-
"role":null,
|
16
|
-
"leader":null,
|
17
|
-
"sis_group_id":null,
|
18
|
-
"sis_import_id":null,
|
19
|
-
"has_submission":false,
|
20
|
-
"concluded":false
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"id":3,
|
24
|
-
"name":"2014",
|
25
|
-
"max_membership":null,
|
26
|
-
"is_public":false,
|
27
|
-
"join_level":"invitation_only",
|
28
|
-
"group_category_id":3,
|
29
|
-
"description":null,
|
30
|
-
"members_count":2,
|
31
|
-
"storage_quota_mb":50,
|
32
|
-
"context_type":"Account",
|
33
|
-
"account_id":1,
|
34
|
-
"avatar_url":null,
|
35
|
-
"role":null,
|
36
|
-
"leader":null,
|
37
|
-
"sis_group_id":null,
|
38
|
-
"sis_import_id":null,
|
39
|
-
"has_submission":false,
|
40
|
-
"concluded":false
|
41
|
-
}
|
42
|
-
]
|