google-cloud-pubsub-v1 0.17.0 → 0.17.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd3c7b32618d3a23f51ee541e5649aff661ce345e36ec38fcb22a55a1cd34067
|
|
4
|
+
data.tar.gz: 5e939b24ae8fbf8594762c0759b314ee8e96318d831d007b3fa0bbedcdd59623
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9167115411b9a99af65a9dd39c41290c0794bf4f901cee30b15ff12a4639408059b3e401295ee9b12efb275cc784b55d527c4c1b1068cfa5e924440873451918
|
|
7
|
+
data.tar.gz: 69b7f9fe37f66c148bb8ed5825b9df5f08533b273976b62b0e85530865c78f07f36b2ab67bf36d3759a4be98ac63116b3a6186f0fce618625ca30e4b80910244
|
|
@@ -170,7 +170,7 @@ module Google
|
|
|
170
170
|
credentials = @config.credentials
|
|
171
171
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
172
172
|
# but only if the default endpoint does not have a region prefix.
|
|
173
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
173
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
174
174
|
!@config.endpoint.split(".").first.include?("-")
|
|
175
175
|
credentials ||= Credentials.default scope: @config.scope,
|
|
176
176
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1134,7 +1134,9 @@ module Google
|
|
|
1134
1134
|
class Configuration
|
|
1135
1135
|
extend ::Gapic::Config
|
|
1136
1136
|
|
|
1137
|
-
|
|
1137
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
|
1138
|
+
|
|
1139
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1138
1140
|
config_attr :credentials, nil do |value|
|
|
1139
1141
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1140
1142
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -174,7 +174,7 @@ module Google
|
|
|
174
174
|
credentials = @config.credentials
|
|
175
175
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
176
176
|
# but only if the default endpoint does not have a region prefix.
|
|
177
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
177
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
178
178
|
!@config.endpoint.split(".").first.include?("-")
|
|
179
179
|
credentials ||= Credentials.default scope: @config.scope,
|
|
180
180
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1217,7 +1217,9 @@ module Google
|
|
|
1217
1217
|
class Configuration
|
|
1218
1218
|
extend ::Gapic::Config
|
|
1219
1219
|
|
|
1220
|
-
|
|
1220
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
|
1221
|
+
|
|
1222
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1221
1223
|
config_attr :credentials, nil do |value|
|
|
1222
1224
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1223
1225
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -206,7 +206,7 @@ module Google
|
|
|
206
206
|
credentials = @config.credentials
|
|
207
207
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
208
208
|
# but only if the default endpoint does not have a region prefix.
|
|
209
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
209
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
210
210
|
!@config.endpoint.split(".").first.include?("-")
|
|
211
211
|
credentials ||= Credentials.default scope: @config.scope,
|
|
212
212
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -1968,7 +1968,9 @@ module Google
|
|
|
1968
1968
|
class Configuration
|
|
1969
1969
|
extend ::Gapic::Config
|
|
1970
1970
|
|
|
1971
|
-
|
|
1971
|
+
DEFAULT_ENDPOINT = "pubsub.googleapis.com"
|
|
1972
|
+
|
|
1973
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1972
1974
|
config_attr :credentials, nil do |value|
|
|
1973
1975
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1974
1976
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-pubsub-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.17.
|
|
4
|
+
version: 0.17.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.19.
|
|
19
|
+
version: 0.19.1
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.a
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.19.
|
|
29
|
+
version: 0.19.1
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|