gapic-common 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gapic/common/version.rb +1 -1
- data/lib/gapic/config.rb +1 -1
- data/lib/gapic/operation.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a01e3ff5af64e4b311f48d6022fc719720ae2cc98f4d1596445d4739b6169ac
|
|
4
|
+
data.tar.gz: dda8e261142a8ee78281e4e972d4dc80fc638cdfb57e7e2ec748fb6db2e0b1bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebd7192024fa4bf307fc906c67cef4b598cb9054c8b8983a87bf5349db047e8c2d0c4de8d09e9bda3fca27b7128b24e4183936880e6b8c77f385419ab5f68f33
|
|
7
|
+
data.tar.gz: 4128a5daf1da71de8df0bf5cbb714d79322102fddcb99d091141aa7ac3da62c201093402ef3cd54a2fa6f981e95d80d76bdfd47f75fc7dc989fce7ed3de04686
|
data/CHANGELOG.md
CHANGED
data/lib/gapic/common/version.rb
CHANGED
data/lib/gapic/config.rb
CHANGED
|
@@ -88,7 +88,7 @@ module Gapic
|
|
|
88
88
|
valid_value ||= begin
|
|
89
89
|
# Allow nil if parent config has the getter method.
|
|
90
90
|
parent = instance_variable_get :@parent_config if instance_variable_defined? :@parent_config
|
|
91
|
-
parent&.respond_to?
|
|
91
|
+
parent&.respond_to? name_setter
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
raise ArgumentError unless valid_value
|
data/lib/gapic/operation.rb
CHANGED
|
@@ -84,6 +84,7 @@ module Gapic
|
|
|
84
84
|
# @param metadata_type [Class] The class type to be unpacked from the metadata. If not provided the class type
|
|
85
85
|
# will be looked up. Optional.
|
|
86
86
|
# @param options [Gapic::CallOptions] call options for this operation
|
|
87
|
+
#
|
|
87
88
|
def initialize grpc_op, client, result_type: nil, metadata_type: nil, options: {}
|
|
88
89
|
@grpc_op = grpc_op
|
|
89
90
|
@client = client
|
|
@@ -229,7 +230,6 @@ module Gapic
|
|
|
229
230
|
else
|
|
230
231
|
@options.to_h
|
|
231
232
|
end
|
|
232
|
-
|
|
233
233
|
options = Gapic::CallOptions.new(**options)
|
|
234
234
|
gax_op = @client.get_operation({ name: @grpc_op.name }, options)
|
|
235
235
|
@grpc_op = gax_op.grpc_op
|
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.2.
|
|
4
|
+
version: 0.2.1
|
|
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-
|
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
- !ruby/object:Gem::Version
|
|
269
269
|
version: '0'
|
|
270
270
|
requirements: []
|
|
271
|
-
rubygems_version: 3.
|
|
271
|
+
rubygems_version: 3.0.3
|
|
272
272
|
signing_key:
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: Common code for GAPIC-generated API clients
|