gapic-common 0.20.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/lib/gapic/common/version.rb +1 -1
- data/lib/gapic/config.rb +2 -2
- data/lib/gapic/grpc/service_stub/channel.rb +0 -2
- data/lib/gapic/grpc/service_stub.rb +24 -9
- data/lib/gapic/paged_enumerable.rb +1 -1
- data/lib/gapic/rest/client_stub.rb +25 -8
- data/lib/gapic/universe_domain_concerns.rb +84 -0
- metadata +25 -184
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6143272a78f1ebc1b6510a51e3c9c4f649b4095bf0ff97d9148cdaa50a7d508
|
4
|
+
data.tar.gz: ac0b0d305c54b0db5a12efa4fd829076f807e1e33e8dcf81e329f78e6dfc73e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b5d9797b9a635235ab8804a1435c02f9e96214fc0b0d5f8c660a0f9d89d3d67f0fae9300ec489a38800a08c00e8297360b9e680bc3c3e72f42f0083e511981c
|
7
|
+
data.tar.gz: 313c2bea43584fe99d48a38bacb816c56625e4cf1b704565e6b69beed3e9a509fe176a2f81c8ccebc684f1d8a083774a531c72524fba77fe9958f0dd66a8ca26
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.22.0 (2024-07-17)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Support for google-protobuf 4.x
|
8
|
+
* Requires at least Ruby 3.0
|
9
|
+
|
10
|
+
### 0.21.2 (2024-07-02)
|
11
|
+
|
12
|
+
#### Bug Fixes
|
13
|
+
|
14
|
+
* Start requiring ostruct in generated test helper files ([#1065](https://github.com/googleapis/gapic-generator-ruby/issues/1065))
|
15
|
+
|
16
|
+
### 0.21.1 (2023-12-14)
|
17
|
+
|
18
|
+
#### Bug Fixes
|
19
|
+
|
20
|
+
* add missing module import for universe_domain_concerns ([#1016](https://github.com/googleapis/gapic-generator-ruby/issues/1016))
|
21
|
+
|
22
|
+
### 0.21.0 (2023-12-13)
|
23
|
+
|
24
|
+
#### Features
|
25
|
+
|
26
|
+
* Drop support for Ruby 2.6 ([#1009](https://github.com/googleapis/gapic-generator-ruby/issues/1009))
|
27
|
+
* Honor universe domain in stubs ([#1008](https://github.com/googleapis/gapic-generator-ruby/issues/1008))
|
28
|
+
|
3
29
|
### 0.20.0 (2023-08-31)
|
4
30
|
|
5
31
|
#### Features
|
data/lib/gapic/common/version.rb
CHANGED
data/lib/gapic/config.rb
CHANGED
@@ -50,7 +50,7 @@ module Gapic
|
|
50
50
|
#
|
51
51
|
def config_attr name, default, *valid_values, &validator
|
52
52
|
name = String(name).to_sym
|
53
|
-
name_setter = "#{name}="
|
53
|
+
name_setter = :"#{name}="
|
54
54
|
raise NameError, "invalid config name #{name}" if name !~ /^[a-zA-Z]\w*$/ || name == :parent_config
|
55
55
|
raise NameError, "method #{name} already exists" if method_defined? name
|
56
56
|
raise NameError, "method #{name_setter} already exists" if method_defined? name_setter
|
@@ -58,7 +58,7 @@ module Gapic
|
|
58
58
|
raise ArgumentError, "validation must be provided" if validator.nil? && valid_values.empty?
|
59
59
|
validator ||= ->(value) { valid_values.any? { |v| v === value } }
|
60
60
|
|
61
|
-
name_ivar = "@#{name}"
|
61
|
+
name_ivar = :"@#{name}"
|
62
62
|
|
63
63
|
create_getter name_ivar, name, default
|
64
64
|
create_setter name_ivar, name_setter, default, validator
|
@@ -17,7 +17,7 @@ require "googleauth"
|
|
17
17
|
require "gapic/grpc/service_stub/rpc_call"
|
18
18
|
require "gapic/grpc/service_stub/channel"
|
19
19
|
require "gapic/grpc/service_stub/channel_pool"
|
20
|
-
|
20
|
+
require "gapic/universe_domain_concerns"
|
21
21
|
|
22
22
|
module Gapic
|
23
23
|
##
|
@@ -31,6 +31,8 @@ module Gapic
|
|
31
31
|
# @return [Gapic::ServiceStub::ChannelPool] The instance of the ChannelPool class.
|
32
32
|
#
|
33
33
|
class ServiceStub
|
34
|
+
include UniverseDomainConcerns
|
35
|
+
|
34
36
|
attr_reader :grpc_stub
|
35
37
|
attr_reader :channel_pool
|
36
38
|
|
@@ -38,7 +40,12 @@ module Gapic
|
|
38
40
|
# Creates a Gapic gRPC stub object.
|
39
41
|
#
|
40
42
|
# @param grpc_stub_class [Class] gRPC stub class to create a new instance of.
|
41
|
-
# @param endpoint [String] The endpoint of the API.
|
43
|
+
# @param endpoint [String] The endpoint of the API. Overrides any endpoint_template.
|
44
|
+
# @param endpoint_template [String] The endpoint of the API, where the
|
45
|
+
# universe domain component of the hostname is marked by the string in
|
46
|
+
# the constant {UniverseDomainConcerns::ENDPOINT_SUBSTITUTION}.
|
47
|
+
# @param universe_domain [String] The universe domain in which calls should
|
48
|
+
# be made. Defaults to `googleapis.com`.
|
42
49
|
# @param credentials [Google::Auth::Credentials, Signet::OAuth2::Client, String, Hash, Proc,
|
43
50
|
# ::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] Provides the means for authenticating requests made by
|
44
51
|
# the client. This parameter can be many types:
|
@@ -58,24 +65,32 @@ module Gapic
|
|
58
65
|
# @param channel_pool_config [::Gapic::ServiceStub:ChannelPool::Configuration] The configuration for channel
|
59
66
|
# pool. This argument will raise error when `credentials` is provided as a `::GRPC::Core::Channel`.
|
60
67
|
#
|
61
|
-
def initialize grpc_stub_class,
|
62
|
-
|
68
|
+
def initialize grpc_stub_class,
|
69
|
+
credentials:,
|
70
|
+
endpoint: nil,
|
71
|
+
endpoint_template: nil,
|
72
|
+
universe_domain: nil,
|
73
|
+
channel_args: nil,
|
74
|
+
interceptors: nil,
|
75
|
+
channel_pool_config: nil
|
63
76
|
raise ArgumentError, "grpc_stub_class is required" if grpc_stub_class.nil?
|
64
|
-
|
65
|
-
|
77
|
+
|
78
|
+
setup_universe_domain universe_domain: universe_domain,
|
79
|
+
endpoint: endpoint,
|
80
|
+
endpoint_template: endpoint_template,
|
81
|
+
credentials: credentials
|
66
82
|
|
67
83
|
@channel_pool = nil
|
68
84
|
@grpc_stub = nil
|
69
85
|
channel_args = Hash channel_args
|
70
86
|
interceptors = Array interceptors
|
71
87
|
|
72
|
-
|
73
88
|
if channel_pool_config && channel_pool_config.channel_count > 1
|
74
|
-
create_channel_pool grpc_stub_class, endpoint: endpoint, credentials: credentials,
|
89
|
+
create_channel_pool grpc_stub_class, endpoint: self.endpoint, credentials: self.credentials,
|
75
90
|
channel_args: channel_args, interceptors: interceptors,
|
76
91
|
channel_pool_config: channel_pool_config
|
77
92
|
else
|
78
|
-
create_grpc_stub grpc_stub_class, endpoint: endpoint, credentials: credentials,
|
93
|
+
create_grpc_stub grpc_stub_class, endpoint: self.endpoint, credentials: self.credentials,
|
79
94
|
channel_args: channel_args, interceptors: interceptors
|
80
95
|
end
|
81
96
|
end
|
@@ -14,6 +14,7 @@
|
|
14
14
|
|
15
15
|
require "googleauth"
|
16
16
|
require "gapic/rest/faraday_middleware"
|
17
|
+
require "gapic/universe_domain_concerns"
|
17
18
|
require "faraday/retry"
|
18
19
|
|
19
20
|
module Gapic
|
@@ -26,9 +27,16 @@ module Gapic
|
|
26
27
|
# - store credentials and add auth information to the request
|
27
28
|
#
|
28
29
|
class ClientStub
|
30
|
+
include UniverseDomainConcerns
|
31
|
+
|
29
32
|
##
|
30
33
|
# Initializes with an endpoint and credentials
|
31
|
-
# @param endpoint [String]
|
34
|
+
# @param endpoint [String] The endpoint of the API. Overrides any endpoint_template.
|
35
|
+
# @param endpoint_template [String] The endpoint of the API, where the
|
36
|
+
# universe domain component of the hostname is marked by the string in
|
37
|
+
# the constant {UniverseDomainConcerns::ENDPOINT_SUBSTITUTION}.
|
38
|
+
# @param universe_domain [String] The universe domain in which calls
|
39
|
+
# should be made. Defaults to `googleapis.com`.
|
32
40
|
# @param credentials [Google::Auth::Credentials]
|
33
41
|
# Credentials to send with calls in form of a googleauth credentials object.
|
34
42
|
# (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
|
@@ -42,19 +50,28 @@ module Gapic
|
|
42
50
|
#
|
43
51
|
# @yield [Faraday::Connection]
|
44
52
|
#
|
45
|
-
def initialize
|
46
|
-
|
47
|
-
|
48
|
-
|
53
|
+
def initialize credentials:,
|
54
|
+
endpoint: nil,
|
55
|
+
endpoint_template: nil,
|
56
|
+
universe_domain: nil,
|
57
|
+
numeric_enums: false,
|
58
|
+
raise_faraday_errors: true
|
59
|
+
setup_universe_domain universe_domain: universe_domain,
|
60
|
+
endpoint: endpoint,
|
61
|
+
endpoint_template: endpoint_template,
|
62
|
+
credentials: credentials
|
63
|
+
|
64
|
+
endpoint_url = self.endpoint
|
65
|
+
endpoint_url = "https://#{endpoint_url}" unless /^https?:/.match? endpoint_url
|
66
|
+
endpoint_url = endpoint_url.sub %r{/$}, ""
|
49
67
|
|
50
|
-
@credentials = credentials
|
51
68
|
@numeric_enums = numeric_enums
|
52
69
|
|
53
70
|
@raise_faraday_errors = raise_faraday_errors
|
54
71
|
|
55
|
-
@connection = Faraday.new url:
|
72
|
+
@connection = Faraday.new url: endpoint_url do |conn|
|
56
73
|
conn.headers = { "Content-Type" => "application/json" }
|
57
|
-
conn.request :google_authorization,
|
74
|
+
conn.request :google_authorization, self.credentials unless self.credentials.is_a? ::Symbol
|
58
75
|
conn.request :retry
|
59
76
|
conn.response :raise_error
|
60
77
|
conn.adapter :net_http
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# Copyright 2023 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require "gapic/common/error"
|
16
|
+
|
17
|
+
module Gapic
|
18
|
+
##
|
19
|
+
# A mixin module that provides methods for obtaining the effective universe
|
20
|
+
# domain, endpoint, and credentials for a stub. This is included in
|
21
|
+
# Grpc::ServiceStub and Rest::ClientStub.
|
22
|
+
#
|
23
|
+
module UniverseDomainConcerns
|
24
|
+
##
|
25
|
+
# A substitution string for the universe domain in an endpoint template
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
ENDPOINT_SUBSTITUTION = "$UNIVERSE_DOMAIN$".freeze
|
29
|
+
|
30
|
+
##
|
31
|
+
# The effective endpoint
|
32
|
+
# @return [String]
|
33
|
+
#
|
34
|
+
attr_reader :endpoint
|
35
|
+
|
36
|
+
##
|
37
|
+
# The effective universe domain
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
attr_reader :universe_domain
|
41
|
+
|
42
|
+
##
|
43
|
+
# The effective credentials
|
44
|
+
#
|
45
|
+
# @return [Google::Auth::Credentials, Signet::OAuth2::Client, Proc,
|
46
|
+
# ::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials]
|
47
|
+
#
|
48
|
+
attr_reader :credentials
|
49
|
+
|
50
|
+
protected
|
51
|
+
|
52
|
+
##
|
53
|
+
# @private
|
54
|
+
# Called from the stub constructor to populate the data.
|
55
|
+
#
|
56
|
+
def setup_universe_domain universe_domain: nil,
|
57
|
+
endpoint: nil,
|
58
|
+
endpoint_template: nil,
|
59
|
+
credentials: nil
|
60
|
+
raise ArgumentError, "endpoint or endpoint_template is required" if endpoint.nil? && endpoint_template.nil?
|
61
|
+
raise ArgumentError, "credentials is required" if credentials.nil?
|
62
|
+
|
63
|
+
# TODO: The env logic should live in google-cloud-env
|
64
|
+
universe_domain ||= ENV["GOOGLE_CLOUD_UNIVERSE_DOMAIN"] || "googleapis.com"
|
65
|
+
endpoint ||= endpoint_template.sub ENDPOINT_SUBSTITUTION, universe_domain
|
66
|
+
|
67
|
+
if credentials.respond_to?(:universe_domain) && credentials.universe_domain != universe_domain
|
68
|
+
raise UniverseDomainMismatch,
|
69
|
+
"Universe domain is #{universe_domain} but credentials are in #{credentials.universe_domain}"
|
70
|
+
end
|
71
|
+
|
72
|
+
@universe_domain = universe_domain
|
73
|
+
@endpoint = endpoint
|
74
|
+
@credentials = credentials
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
##
|
79
|
+
# Raised when the configured universe domain does not match the universe
|
80
|
+
# domain of the credentials.
|
81
|
+
#
|
82
|
+
class UniverseDomainMismatch < ::Gapic::Common::Error
|
83
|
+
end
|
84
|
+
end
|
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.
|
4
|
+
version: 0.22.0
|
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:
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -52,240 +52,80 @@ dependencies:
|
|
52
52
|
version: 3.a
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: googleapis-common-protos
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 1.3.12
|
60
|
-
- - "<"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 2.a
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 1.3.12
|
70
|
-
- - "<"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 2.a
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: googleapis-common-protos-types
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 1.3.1
|
80
|
-
- - "<"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 2.a
|
83
|
-
type: :runtime
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.3.1
|
90
|
-
- - "<"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 2.a
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: googleauth
|
95
55
|
requirement: !ruby/object:Gem::Requirement
|
96
56
|
requirements:
|
97
57
|
- - "~>"
|
98
58
|
- !ruby/object:Gem::Version
|
99
|
-
version: '1.
|
59
|
+
version: '1.6'
|
100
60
|
type: :runtime
|
101
61
|
prerelease: false
|
102
62
|
version_requirements: !ruby/object:Gem::Requirement
|
103
63
|
requirements:
|
104
64
|
- - "~>"
|
105
65
|
- !ruby/object:Gem::Version
|
106
|
-
version: '1.
|
66
|
+
version: '1.6'
|
107
67
|
- !ruby/object:Gem::Dependency
|
108
|
-
name:
|
68
|
+
name: googleapis-common-protos-types
|
109
69
|
requirement: !ruby/object:Gem::Requirement
|
110
70
|
requirements:
|
111
71
|
- - "~>"
|
112
72
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
73
|
+
version: '1.15'
|
114
74
|
type: :runtime
|
115
75
|
prerelease: false
|
116
76
|
version_requirements: !ruby/object:Gem::Requirement
|
117
77
|
requirements:
|
118
78
|
- - "~>"
|
119
79
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
80
|
+
version: '1.15'
|
121
81
|
- !ruby/object:Gem::Dependency
|
122
|
-
name:
|
82
|
+
name: googleauth
|
123
83
|
requirement: !ruby/object:Gem::Requirement
|
124
84
|
requirements:
|
125
85
|
- - "~>"
|
126
86
|
- !ruby/object:Gem::Version
|
127
|
-
version: '1.
|
87
|
+
version: '1.11'
|
128
88
|
type: :runtime
|
129
89
|
prerelease: false
|
130
90
|
version_requirements: !ruby/object:Gem::Requirement
|
131
91
|
requirements:
|
132
92
|
- - "~>"
|
133
93
|
- !ruby/object:Gem::Version
|
134
|
-
version: '1.
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: concurrent-ruby
|
137
|
-
requirement: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - "~>"
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: 1.2.2
|
142
|
-
type: :development
|
143
|
-
prerelease: false
|
144
|
-
version_requirements: !ruby/object:Gem::Requirement
|
145
|
-
requirements:
|
146
|
-
- - "~>"
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: 1.2.2
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
name: google-cloud-core
|
151
|
-
requirement: !ruby/object:Gem::Requirement
|
152
|
-
requirements:
|
153
|
-
- - "~>"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: '1.5'
|
156
|
-
type: :development
|
157
|
-
prerelease: false
|
158
|
-
version_requirements: !ruby/object:Gem::Requirement
|
159
|
-
requirements:
|
160
|
-
- - "~>"
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '1.5'
|
163
|
-
- !ruby/object:Gem::Dependency
|
164
|
-
name: google-style
|
165
|
-
requirement: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: 1.26.0
|
170
|
-
type: :development
|
171
|
-
prerelease: false
|
172
|
-
version_requirements: !ruby/object:Gem::Requirement
|
173
|
-
requirements:
|
174
|
-
- - "~>"
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
version: 1.26.0
|
177
|
-
- !ruby/object:Gem::Dependency
|
178
|
-
name: minitest
|
179
|
-
requirement: !ruby/object:Gem::Requirement
|
180
|
-
requirements:
|
181
|
-
- - "~>"
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version: '5.16'
|
184
|
-
type: :development
|
185
|
-
prerelease: false
|
186
|
-
version_requirements: !ruby/object:Gem::Requirement
|
187
|
-
requirements:
|
188
|
-
- - "~>"
|
189
|
-
- !ruby/object:Gem::Version
|
190
|
-
version: '5.16'
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: minitest-autotest
|
193
|
-
requirement: !ruby/object:Gem::Requirement
|
194
|
-
requirements:
|
195
|
-
- - "~>"
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '1.0'
|
198
|
-
type: :development
|
199
|
-
prerelease: false
|
200
|
-
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
requirements:
|
202
|
-
- - "~>"
|
203
|
-
- !ruby/object:Gem::Version
|
204
|
-
version: '1.0'
|
94
|
+
version: '1.11'
|
205
95
|
- !ruby/object:Gem::Dependency
|
206
|
-
name:
|
207
|
-
requirement: !ruby/object:Gem::Requirement
|
208
|
-
requirements:
|
209
|
-
- - "~>"
|
210
|
-
- !ruby/object:Gem::Version
|
211
|
-
version: '1.1'
|
212
|
-
type: :development
|
213
|
-
prerelease: false
|
214
|
-
version_requirements: !ruby/object:Gem::Requirement
|
215
|
-
requirements:
|
216
|
-
- - "~>"
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
version: '1.1'
|
219
|
-
- !ruby/object:Gem::Dependency
|
220
|
-
name: minitest-rg
|
221
|
-
requirement: !ruby/object:Gem::Requirement
|
222
|
-
requirements:
|
223
|
-
- - "~>"
|
224
|
-
- !ruby/object:Gem::Version
|
225
|
-
version: '5.2'
|
226
|
-
type: :development
|
227
|
-
prerelease: false
|
228
|
-
version_requirements: !ruby/object:Gem::Requirement
|
229
|
-
requirements:
|
230
|
-
- - "~>"
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
version: '5.2'
|
233
|
-
- !ruby/object:Gem::Dependency
|
234
|
-
name: pry
|
96
|
+
name: google-protobuf
|
235
97
|
requirement: !ruby/object:Gem::Requirement
|
236
98
|
requirements:
|
237
99
|
- - ">="
|
238
100
|
- !ruby/object:Gem::Version
|
239
|
-
version: '
|
240
|
-
|
241
|
-
prerelease: false
|
242
|
-
version_requirements: !ruby/object:Gem::Requirement
|
243
|
-
requirements:
|
244
|
-
- - ">="
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
version: '0.14'
|
247
|
-
- !ruby/object:Gem::Dependency
|
248
|
-
name: rake
|
249
|
-
requirement: !ruby/object:Gem::Requirement
|
250
|
-
requirements:
|
251
|
-
- - ">="
|
101
|
+
version: '3.25'
|
102
|
+
- - "<"
|
252
103
|
- !ruby/object:Gem::Version
|
253
|
-
version:
|
254
|
-
type: :
|
104
|
+
version: 5.a
|
105
|
+
type: :runtime
|
255
106
|
prerelease: false
|
256
107
|
version_requirements: !ruby/object:Gem::Requirement
|
257
108
|
requirements:
|
258
109
|
- - ">="
|
259
110
|
- !ruby/object:Gem::Version
|
260
|
-
version: '
|
261
|
-
-
|
262
|
-
name: redcarpet
|
263
|
-
requirement: !ruby/object:Gem::Requirement
|
264
|
-
requirements:
|
265
|
-
- - "~>"
|
266
|
-
- !ruby/object:Gem::Version
|
267
|
-
version: '3.0'
|
268
|
-
type: :development
|
269
|
-
prerelease: false
|
270
|
-
version_requirements: !ruby/object:Gem::Requirement
|
271
|
-
requirements:
|
272
|
-
- - "~>"
|
111
|
+
version: '3.25'
|
112
|
+
- - "<"
|
273
113
|
- !ruby/object:Gem::Version
|
274
|
-
version:
|
114
|
+
version: 5.a
|
275
115
|
- !ruby/object:Gem::Dependency
|
276
|
-
name:
|
116
|
+
name: grpc
|
277
117
|
requirement: !ruby/object:Gem::Requirement
|
278
118
|
requirements:
|
279
119
|
- - "~>"
|
280
120
|
- !ruby/object:Gem::Version
|
281
|
-
version: '
|
282
|
-
type: :
|
121
|
+
version: '1.65'
|
122
|
+
type: :runtime
|
283
123
|
prerelease: false
|
284
124
|
version_requirements: !ruby/object:Gem::Requirement
|
285
125
|
requirements:
|
286
126
|
- - "~>"
|
287
127
|
- !ruby/object:Gem::Version
|
288
|
-
version: '
|
128
|
+
version: '1.65'
|
289
129
|
description:
|
290
130
|
email:
|
291
131
|
- googleapis-packages@google.com
|
@@ -336,6 +176,7 @@ files:
|
|
336
176
|
- lib/gapic/rest/threaded_enumerator.rb
|
337
177
|
- lib/gapic/rest/transport_operation.rb
|
338
178
|
- lib/gapic/stream_input.rb
|
179
|
+
- lib/gapic/universe_domain_concerns.rb
|
339
180
|
homepage: https://github.com/googleapis/gapic-generator-ruby
|
340
181
|
licenses:
|
341
182
|
- Apache-2.0
|
@@ -348,14 +189,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
348
189
|
requirements:
|
349
190
|
- - ">="
|
350
191
|
- !ruby/object:Gem::Version
|
351
|
-
version: '
|
192
|
+
version: '3.0'
|
352
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
353
194
|
requirements:
|
354
195
|
- - ">="
|
355
196
|
- !ruby/object:Gem::Version
|
356
197
|
version: '0'
|
357
198
|
requirements: []
|
358
|
-
rubygems_version: 3.
|
199
|
+
rubygems_version: 3.5.6
|
359
200
|
signing_key:
|
360
201
|
specification_version: 4
|
361
202
|
summary: Common code for GAPIC-generated API clients
|