google-cloud-spanner-v1 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30438e86d9937b1847c3145b66b88154ac70f57ea0d2d750800748b5c3090042
4
- data.tar.gz: d0de090595946594d5cba9ce815acca9a7c30f0117b124c9ffcec3f2c1da7919
3
+ metadata.gz: 4a41aa7c1be607a9d1d9cdd94b7ec008bd9dba0bb91b19235de763ada7594152
4
+ data.tar.gz: cfd75b59052c263fa2b61db0daf58013d15aa9141c2c04458d5c0725f1010a4a
5
5
  SHA512:
6
- metadata.gz: c800f492b41c98f89b68c0a718733104058f751792ca6bb033b9604eeb51f52f1b38e61f98d37965bc712ba8873b6cae1ada6f85243cd7272f9443b593b2c548
7
- data.tar.gz: 3eb946723a93715cce59fc608b62c9cc1a5dfea56819dbb2e1cf93b519eeeba9f9b867eed8784a64f364004b029dbc6415e4a4c76b31d1159012051d9b962b64
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 == Client.configure.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
- config_attr :endpoint, "spanner.googleapis.com", ::String
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Spanner
23
23
  module V1
24
- VERSION = "0.15.0"
24
+ VERSION = "0.15.1"
25
25
  end
26
26
  end
27
27
  end
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.0
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-05-31 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a