bearcat 1.4.4 → 1.4.5

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
- SHA1:
3
- metadata.gz: 0857221e4d0ad037b8ff726dbb24110994f4bf6b
4
- data.tar.gz: d2d95e0503296a927e082c7d71e0ca43a8b961c0
2
+ SHA256:
3
+ metadata.gz: 2c176a06e4394ae9d9b06de7598aa0df7fd2749b03c184ba0a385d10b1145dcf
4
+ data.tar.gz: 2d60de0bfef518cf0b15bee2a513b8bb1efa96c8d2bfb20055f6f059dfccff20
5
5
  SHA512:
6
- metadata.gz: 2951d3c1ced27bd655e0aa22e334540f75faf0773ecb4508381a20d3098027cdeb1191d56170501fa9d91686236812a752fee354272c0440fd7c76916eb0dda5
7
- data.tar.gz: 1dcfb8372c50727e46d98f6f17c04d10b04495535faf916c04913a17f905827be4080e52ad4681856f5b0459fef9b09fd34a9084fc41cae1fdbe6b4d52b68b6f
6
+ metadata.gz: 70a551cdcde8d17ac8b80013f3822634b0f787b64bc701d2affdeedb8b4b8e30e1266dec2c5d8c698ffc268299560c154edef99378b139ca9da8d429f40fe520
7
+ data.tar.gz: ec15f66f28ca2e30e76779e666615bae48040267b385c5df34fe23e0ee4bed923e18054e2799479dbf36369d75d9c39d85efda648a70fd4338aa1151b4596527
@@ -2,6 +2,10 @@ module Bearcat
2
2
  class Client < Footrest::Client
3
3
  module Folders
4
4
 
5
+ def get_courose_folder(course, folder, params = {})
6
+ get("/api/v1/courses/#{course}/folders/#{folder}", params)
7
+ end
8
+
5
9
  def list_course_folders(course, params = {})
6
10
  get("/api/v1/courses/#{course}/folders", params)
7
11
  end
@@ -9,6 +13,30 @@ module Bearcat
9
13
  def create_course_folder(course, params = {})
10
14
  post("/api/v1/courses/#{course}/folders", params)
11
15
  end
16
+
17
+ def get_user_folder(user, folder, params)
18
+ get("/api/v1/users/#{user}/folders/#{folder}", params)
19
+ end
20
+
21
+ def list_user_folders(user, params = {})
22
+ get("/api/v1/users/#{user}/folders", params)
23
+ end
24
+
25
+ def create_user_folder(user, params = {})
26
+ post("/api/v1/users/#{user}/folders", params)
27
+ end
28
+
29
+ def get_group_folder(group, folder, params)
30
+ get("/api/v1/groups/#{group}/folders/#{folder}", params)
31
+ end
32
+
33
+ def list_group_folders(group, params = {})
34
+ get("/api/v1/groups/#{group}/folders", params)
35
+ end
36
+
37
+ def create_group_folder(group, params = {})
38
+ post("/api/v1/groups/#{group}/folders", params)
39
+ end
12
40
  end
13
41
  end
14
42
  end
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.4.4' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.4.5' unless defined?(Bearcat::VERSION)
3
3
  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.4.4
4
+ version: 1.4.5
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-10-20 00:00:00.000000000 Z
11
+ date: 2021-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -363,10 +363,10 @@ files:
363
363
  - spec/fixtures/user_page_views.json
364
364
  - spec/fixtures/user_profile.json
365
365
  - spec/helper.rb
366
- homepage:
366
+ homepage:
367
367
  licenses: []
368
368
  metadata: {}
369
- post_install_message:
369
+ post_install_message:
370
370
  rdoc_options: []
371
371
  require_paths:
372
372
  - lib
@@ -381,9 +381,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
381
381
  - !ruby/object:Gem::Version
382
382
  version: '0'
383
383
  requirements: []
384
- rubyforge_project:
385
- rubygems_version: 2.4.5.1
386
- signing_key:
384
+ rubygems_version: 3.1.2
385
+ signing_key:
387
386
  specification_version: 4
388
387
  summary: Canvas API
389
388
  test_files: