bearcat 1.5.28 → 1.5.29

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: be5f900048edb3be390f3c36ad38c23da1605bdc164cffc2056f0f16f959de8e
4
- data.tar.gz: cc1e4b0fa57bf2ce326f278ab0f855cdebd7f4a1d943f661aaf61a766eee5e13
3
+ metadata.gz: 54fa926a7e7360746861b93d221113f639cda551d8a562c2c726727356bb8efd
4
+ data.tar.gz: 307c85063c02cf501e34c83707f92b30a060480ee84dcb841aab70dc8bad05ec
5
5
  SHA512:
6
- metadata.gz: 7f51b3b96e155b3684aa019cfe75f30fff3e84947cbe13bac43a7277a9ed5d13ceafbb5ff7bd3fb4ed16ab07814343fb435c4e92e4ac17173ee3e9aa26fc108e
7
- data.tar.gz: b24a814fefd13793b6931621019397db41588b45604f16cfcb2c7305a79b0d3847351f64c21e4425ceb936f8fa6d7568895491c1ae54e3463c00ee56152e8871
6
+ metadata.gz: 42efb018808e63b32a8f3c43756d2f3565b11e480c423e10a627573ecd54fa7da4c046338d66a3830fd21b9559ca31c380ddb60aacda0574c75de960344fcc03
7
+ data.tar.gz: d652d5fa3e96067f12807701df68843940cc7f82b0af528497dbed228799c74c947493758c121752752cb795d2bcc64e596277aa73ccbd53d0fd893a09950180
@@ -29,8 +29,12 @@ module Badgrcat
29
29
  tok_params = {
30
30
  scope: config[:scope],
31
31
  client_id: config[:client_id],
32
+ client_secret: config[:client_secret],
33
+ grant_type: config[:grant_type],
32
34
  }
33
35
 
36
+ tok_params.reject! { |_k, v| v.nil? }
37
+
34
38
  if @refresh_token
35
39
  tok_params.merge!({
36
40
  grant_type: "refresh_token",
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.28' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.29' 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.5.28
4
+ version: 1.5.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-02 00:00:00.000000000 Z
11
+ date: 2024-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake