google-cloud-spanner-v1 0.15.0 → 0.15.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: 4a41aa7c1be607a9d1d9cdd94b7ec008bd9dba0bb91b19235de763ada7594152
|
|
4
|
+
data.tar.gz: cfd75b59052c263fa2b61db0daf58013d15aa9141c2c04458d5c0725f1010a4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea090a23517f7a887866f70058a7e555fcfab780d4825eb2fb31d712671efbcd3ce7f0ad5dce4a6be41121dc090d99679f6324b6c33eb07e80a929941e9591e3
|
|
7
|
+
data.tar.gz: 741dfacef017873251227deb65e2330540498c1a3ca0de28bf111310f4fb311b6338d8b75fde3a0a6c78dcecd8772c1e5251cacb982a0e7b5c4ac4a7272a4ea0
|
|
@@ -195,7 +195,7 @@ module Google
|
|
|
195
195
|
credentials = @config.credentials
|
|
196
196
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
197
197
|
# but only if the default endpoint does not have a region prefix.
|
|
198
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
198
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
199
199
|
!@config.endpoint.split(".").first.include?("-")
|
|
200
200
|
credentials ||= Credentials.default scope: @config.scope,
|
|
201
201
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -2082,7 +2082,9 @@ module Google
|
|
|
2082
2082
|
class Configuration
|
|
2083
2083
|
extend ::Gapic::Config
|
|
2084
2084
|
|
|
2085
|
-
|
|
2085
|
+
DEFAULT_ENDPOINT = "spanner.googleapis.com"
|
|
2086
|
+
|
|
2087
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
2086
2088
|
config_attr :credentials, nil do |value|
|
|
2087
2089
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
2088
2090
|
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-spanner-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.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
|