bearcat 1.4.7 → 1.4.8

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
  SHA256:
3
- metadata.gz: 26f3da3100ee0be6de377cacd161d35963655f84c582e5b17131839f85b7c988
4
- data.tar.gz: b2cf09c1bac28e424b95847f8192f5caaee3b2fdd5c081e533faad1d26e3b3e1
3
+ metadata.gz: 9b90ec8e90ea31d17bebe5b08edbb4af296b201af79c052250c2655dedf734e6
4
+ data.tar.gz: db220f338bdcd6ad166fed415080eb7f65367c6db99e13781ad3b1cc1335be2e
5
5
  SHA512:
6
- metadata.gz: ba140921ff97107a1b0990c6e00f05fd0eae8880068dd14f29eb278df9cba896dd39b295d9ca7c7e17ff0efd62113190537d3620f4a02706cfe23929d1c87e14
7
- data.tar.gz: 035ff67542b1546d7f279c6438cc36680a76a4818f878285361f7d94acb543c5bd5b76a5cdddc90c9b4d2ae09997bf1db7bc93b4bf0edc6ea7b440296a5f2bf5
6
+ metadata.gz: 6c3ada3e912c59d97757232c5451cc5ffc5fc1f289d3009d8a1e71cc24e556d0529b43742778b94ded2a73294a7bae7043dd302720e82f755cdbd2e5e930c10f
7
+ data.tar.gz: 6cbe47361dbfcb48cefc96353cf2cd34fc5e6974cbbaa673dc04b4363ed0d14669b3ed6c02b567a5266e08fdb1ede99402a498c7630b0a0ba38f2976cb96a40c
@@ -0,0 +1,15 @@
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module Tabs
4
+
5
+ def get_tabs(course, params={})
6
+ get("/api/v1/courses/#{course}/tabs", params)
7
+ end
8
+
9
+ def update_tab(id, course, params={})
10
+ put("/api/v1/courses/#{course}/tabs/#{id}", params)
11
+ end
12
+
13
+ end
14
+ end
15
+ end
@@ -45,6 +45,7 @@ module Bearcat
45
45
  require 'bearcat/client/rubric_assessment'
46
46
  require 'bearcat/client/rubric_association'
47
47
  require 'bearcat/client/progresses'
48
+ require 'bearcat/client/tabs'
48
49
 
49
50
  include Assignments
50
51
  include Accounts
@@ -86,6 +87,7 @@ module Bearcat
86
87
  include RubricAssessment
87
88
  include RubricAssociation
88
89
  include Progresses
90
+ include Tabs
89
91
 
90
92
  # Override Footrest request for ApiArray support
91
93
  def request(method, &block)
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.4.7' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.4.8' 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.7
4
+ version: 1.4.8
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: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -174,6 +174,7 @@ files:
174
174
  - lib/bearcat/client/search.rb
175
175
  - lib/bearcat/client/sections.rb
176
176
  - lib/bearcat/client/submissions.rb
177
+ - lib/bearcat/client/tabs.rb
177
178
  - lib/bearcat/client/users.rb
178
179
  - lib/bearcat/spec_helpers.rb
179
180
  - lib/bearcat/version.rb