aserto 0.20.2 → 0.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/aserto/auth_client.rb +3 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e916a9ac3365c314426fc9e8cc2ab563051b7577990e113d80f3770810d0af6d
4
- data.tar.gz: 69cf001c50f1e090fc108e10bf6342cefbc80bdb7f357d1b2541081347538ac5
3
+ metadata.gz: 8cd1fbe04f5ef1cc23eba3a78db1fd4476f9daca53af402611a16f74d69c8d5b
4
+ data.tar.gz: 40ec68f4f792946a19e18076ebbac3d4f3bbf00c5f876c6044d5875572eda9ec
5
5
  SHA512:
6
- metadata.gz: 98378b09ed4fceb6ad3baef6b92418fc030e32e218007591adfa6ae6792a77d4be3de685b760831e5d6fcb3381990bf37182519ca4dd607f8b7294e67ea0292b
7
- data.tar.gz: b044a93082d419936600ef467388208d2721a8e0c731d2df926db73c3412371abef0cd4f45a68b29fef0649a743f02fc3b06cd2e0845427196c35f808790485e
6
+ metadata.gz: facf115849a759091eac8a8f722c26f7f8a90d74a6fa158a6d3d63ef8225e1117d87015e4db7bf940a8d4c9561d198af6a27a1a40a603b95a7978663a9fea40c
7
+ data.tar.gz: 75d16d943d2fc2589009ea1aac863d45ef1ada1663acca38a5cd96abc73584f4843d958f7c3f2635a9e01223c7404146eb33927247151cbd49d2a425a234e5a5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.20.2
1
+ 0.20.3
@@ -47,8 +47,9 @@ module Aserto
47
47
  private
48
48
 
49
49
  def load_creds
50
- if File.file?(config.cert_path)
51
- GRPC::Core::ChannelCredentials.new(File.read(config.cert_path))
50
+ cert_path = config.cert_path
51
+ if cert_path && File.file?(cert_path)
52
+ GRPC::Core::ChannelCredentials.new(File.read(cert_path))
52
53
  else
53
54
  GRPC::Core::ChannelCredentials.new
54
55
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aserto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.2
4
+ version: 0.20.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aserto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aserto-authorizer