google-cloud-datastore 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/datastore/service.rb +7 -3
- data/lib/google/cloud/datastore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4bddcc3297345aebef09ee9da78db5455115d08
|
4
|
+
data.tar.gz: 2628c35a3a5a2bdcc77b0c7fc3e8bbe8ed654363
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c48dbe7686219d007b4222d032aeea6aac9fc86dd84bc5184a9e109862c9a3e617b6e4d1257d730de04b17e3a376a09701f7331e1200f53936b9c71162983b6d
|
7
|
+
data.tar.gz: 806a531e980a912e677bd576987927dfddea753a5aeefdeb0f6b5b78b2ad47ea375a4e38d009cfa59502655547d5c58ce26fe5b068c3f7c3ee213064886427a4
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
require "google/cloud/datastore/credentials"
|
17
|
-
require "google/datastore/v1/
|
17
|
+
require "google/datastore/v1/datastore_pb"
|
18
18
|
require "google/cloud/core/grpc_backoff"
|
19
19
|
|
20
20
|
module Google
|
@@ -45,8 +45,12 @@ module Google
|
|
45
45
|
|
46
46
|
def datastore
|
47
47
|
return mocked_datastore if mocked_datastore
|
48
|
-
@datastore ||=
|
49
|
-
|
48
|
+
@datastore ||= begin
|
49
|
+
require "google/datastore/v1/datastore_services_pb"
|
50
|
+
|
51
|
+
Google::Datastore::V1::Datastore::Stub.new(
|
52
|
+
host, creds, timeout: timeout)
|
53
|
+
end
|
50
54
|
end
|
51
55
|
attr_accessor :mocked_datastore
|
52
56
|
|
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: 0.20.
|
4
|
+
version: 0.20.1
|
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: 2016-
|
12
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|