google-cloud-datastore 1.5.3 → 1.5.4
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/google/cloud/datastore/v1/datastore_client.rb +8 -2
- data/lib/google/cloud/datastore/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60e59bd622bd925c14e52574b7d13f908af6d0c64b92e1403d198ad8d8a594a1
|
4
|
+
data.tar.gz: 5b34a868f6f109e2fa7897b053a081ac4b296393d474a2616d3c3731a47b1a33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf17f1be411eece5fe4d0b90e0eaed3852e1ae9e9a409ec506bb73c10398381c9a212a0691c236f3ac7b3ff18c5e5d356722e2e7e46b4e66cda724bd77e59495
|
7
|
+
data.tar.gz: 426156677bfc95c39a29798376c8d4b97f9f8ce9ac2b959a78e6edcd10298199c6937f54579a52950330ac0f1565793dcc8ede82f0617f63fc83d1592c583dbb
|
data/CHANGELOG.md
CHANGED
@@ -91,6 +91,10 @@ module Google
|
|
91
91
|
# The default timeout, in seconds, for calls made through this client.
|
92
92
|
# @param metadata [Hash]
|
93
93
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
94
|
+
# @param service_address [String]
|
95
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
96
|
+
# @param service_port [Integer]
|
97
|
+
# Override for the service port, or `nil` to leave as the default.
|
94
98
|
# @param exception_transformer [Proc]
|
95
99
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
96
100
|
# custom error handling.
|
@@ -100,6 +104,8 @@ module Google
|
|
100
104
|
client_config: {},
|
101
105
|
timeout: DEFAULT_TIMEOUT,
|
102
106
|
metadata: nil,
|
107
|
+
service_address: nil,
|
108
|
+
service_port: nil,
|
103
109
|
exception_transformer: nil,
|
104
110
|
lib_name: nil,
|
105
111
|
lib_version: ""
|
@@ -153,8 +159,8 @@ module Google
|
|
153
159
|
end
|
154
160
|
|
155
161
|
# Allow overriding the service path/port in subclasses.
|
156
|
-
service_path = self.class::SERVICE_ADDRESS
|
157
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
162
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
163
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
158
164
|
interceptors = self.class::GRPC_INTERCEPTORS
|
159
165
|
@datastore_stub = Google::Gax::Grpc.create_stub(
|
160
166
|
service_path,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.7'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.7'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: google-protobuf
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|