gapic-common 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gapic/common/version.rb +1 -1
- data/lib/gapic/grpc/service_stub.rb +3 -2
- 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: 8d577e52554064fdda97228a6570313d8df9cc3d830ca75b0b43bfd1412a1222
|
4
|
+
data.tar.gz: 9ec865b1b777f308449320d2813745738af835c5289df0d4783739dac0310f4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71599558c7d1e83abfe002213b24c7089179e52c2e68214002293c0d936ca38283fd4f38e790a3c0ec4c77e228ed1e0083d1ca871c1eaaa43ae33cad7a00ff90
|
7
|
+
data.tar.gz: d148bf75ff9afed66dd27fd206db1aaaf9627f7ecfd87d0db0abd0090b984e3318e476aa95e719aa580b3dbac7772c5b6856914d66699b54c1dbf2821e37e019
|
data/CHANGELOG.md
CHANGED
data/lib/gapic/common/version.rb
CHANGED
@@ -58,10 +58,11 @@ module Gapic
|
|
58
58
|
channel_args = Hash channel_args
|
59
59
|
interceptors = Array interceptors
|
60
60
|
|
61
|
-
@grpc_stub =
|
61
|
+
@grpc_stub = case credentials
|
62
|
+
when GRPC::Core::Channel
|
62
63
|
grpc_stub_class.new endpoint, nil, channel_override: credentials,
|
63
64
|
interceptors: interceptors
|
64
|
-
|
65
|
+
when GRPC::Core::ChannelCredentials, Symbol
|
65
66
|
grpc_stub_class.new endpoint, credentials, channel_args: channel_args,
|
66
67
|
interceptors: interceptors
|
67
68
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gapic-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google API Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|