boxr 0.22.0 → 0.23.0

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: f81fca6ac793e46eb0f19c162e0d64d99dd227c9
4
- data.tar.gz: 6c3de3cc84f0189799cece2582ce59aae0ee09dd
3
+ metadata.gz: 12a683d59b2a28f2bead44733b4a39834be418a4
4
+ data.tar.gz: cdf7ab395940d8713a847ae5e115d01d28cb0fab
5
5
  SHA512:
6
- metadata.gz: 5473112cd30336361310e50e230d09a6fe414d63d0a84052e17df85d42b8ce216b117a995b4838f5fda36a3b56410c104ccbfe86744edf1ee2569d3878972e50
7
- data.tar.gz: 88be3dbc6f94304946d6f3d2bc95cb6329f01d07e7a30a479aee183b1fbddf9749819428e2858db105f4fae14a278d44e48be27d39b9681db419756cc3a5c3fb
6
+ metadata.gz: b77316e7581e836e65f478d454c22dd06edc528a12fef55313e3e9fa051eb2e8ac6550265d3e9dbc2b45245751301f25dafa9c34c1ca3b1cc35bc9471bab8dab
7
+ data.tar.gz: 6c37b203431428cf062d6c09d4cf4d431bf1fa284ce8107a08d96d8351d7b3c7f894ab1b22fd38031ea72185f25bad86c8aa88620578971ecdbfa38bf61aaeb4
data/lib/boxr/auth.rb CHANGED
@@ -24,11 +24,11 @@ module Boxr
24
24
  auth_post(uri, body)
25
25
  end
26
26
 
27
- def self.get_enterprise_token(private_key, enterprise_id=ENV['BOX_ENTERPRISE_ID'], client_id=ENV['BOX_CLIENT_ID'])
27
+ def self.get_enterprise_token(private_key, enterprise_id: ENV['BOX_ENTERPRISE_ID'], client_id: ENV['BOX_CLIENT_ID'])
28
28
  jwt_auth_post(private_key, client_id, enterprise_id, "enterprise")
29
29
  end
30
30
 
31
- def self.get_user_token(private_key, user_id, client_id=ENV['BOX_CLIENT_ID'])
31
+ def self.get_user_token(private_key, user_id, client_id: ENV['BOX_CLIENT_ID'])
32
32
  jwt_auth_post(private_key, client_id, user_id, "user")
33
33
  end
34
34
 
data/lib/boxr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Boxr
2
- VERSION = "0.22.0"
2
+ VERSION = "0.23.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Burnette