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 +4 -4
- data/lib/istox/helpers/grpc_client.rb +3 -3
- data/lib/istox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4282ef0f35cbc41d434a4091c8d2290d07b7c02b9f0c1203e4bb353404661847
|
4
|
+
data.tar.gz: 7f4facd50bc4565d655bdb9992a75be5efd3f02352e8230dd6c46ace27990bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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('
|
87
|
-
log.info '
|
88
|
-
grpc_options[:
|
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"
|
data/lib/istox/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazing_print
|