istox 0.1.157.11.t2 → 0.1.157.11.t3

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: 0b060ee3ff5a5d08de37ec1bfc82c3323e0043e057cb85538dd0da9825620ebd
4
- data.tar.gz: ccd3ae5ac920b3852b4346547d3e7163c363ff9cfcb9c883a7b65091e0c5747e
3
+ metadata.gz: 4282ef0f35cbc41d434a4091c8d2290d07b7c02b9f0c1203e4bb353404661847
4
+ data.tar.gz: 7f4facd50bc4565d655bdb9992a75be5efd3f02352e8230dd6c46ace27990bea
5
5
  SHA512:
6
- metadata.gz: 86238a996b1b09379df6c5e3d0301397daa4add5e75690c888d631358c824cab0c939812377d6777e92b526d7f88ad65108dbd286a7918bdd559fc087624a98e
7
- data.tar.gz: 10132f756ee02e38e7b2a08950b4b8f23bc1c7f713d34e11cfebd5d154f8b3aa3374e578df07b2f57edaf28aafbb18d49ffb6334e4c800e7caf9da271fd17380
6
+ metadata.gz: 9af15c57ca57403f096db70bb01ea88d110044611d51f73f40ee3c18fc5793e265b63295a5fbe7315976ed3a8e16327edcbd348c341d69c71fadf8ecea684151
7
+ data.tar.gz: 7167181aa5194f62989970c4a656928fd8de6532bd2002965c4c7e6a4172cdb577e6b66e240f19238a9a716300e59294dec74ad8687ef689feaa7e7d2e97af0b
@@ -83,9 +83,9 @@ module Istox
83
83
  log.info 'Reinitiating to grpc host at ' + host_url
84
84
  t1 = Time.now
85
85
  grpc_options = { hostname: host_url }
86
- if ENV.fetch('USE_SSL_CHANNEL', false)
87
- log.info 'Use SSL connection...'
88
- grpc_options[:channel_credentials] = GRPC::Core::ChannelCredentials.new()
86
+ if ENV.fetch('GRPC_SSL_CERTIFICATE', false)
87
+ log.info '[INFO] Using SSL connection...'
88
+ grpc_options[:ssl_certificate] = ENV['GRPC_SSL_CERTIFICATE']
89
89
  end
90
90
  @@services[get_key(host_type, service)] = ::Gruf::Client.new(service: service, options: grpc_options, client_options: client_options)
91
91
  log.info "Time taken for reinitiating grpc host: #{Time.now - t1} seconds"
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.157.11.t2'.freeze
2
+ VERSION = '0.1.157.11.t3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.157.11.t2
4
+ version: 0.1.157.11.t3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-26 00:00:00.000000000 Z
11
+ date: 2021-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print