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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38ee5cd7d5c58d59744397ca7dfd52f2dcad5505
4
- data.tar.gz: 5bc9a57ae0e231478b3b4c41e54c8b798b9930cc
3
+ metadata.gz: a4bddcc3297345aebef09ee9da78db5455115d08
4
+ data.tar.gz: 2628c35a3a5a2bdcc77b0c7fc3e8bbe8ed654363
5
5
  SHA512:
6
- metadata.gz: bc065e2f16a173c663a780900c732b007659ef26528d16ad938f816fddc580076f12255f8680ef1e5dadbc8adf445c6ffccde044264a9ff768254ac6a60ee909
7
- data.tar.gz: 48530d73bb1727e971972f12713a0180318ec57f9ad63d30ae56be7a06bcc570ba7310311f8c7bf47df02b3117770e60705879c55cff56b1cd2716eb2d4a231c
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/datastore_services_pb"
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 ||= Google::Datastore::V1::Datastore::Stub.new(
49
- host, creds, timeout: timeout)
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
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Datastore
19
- VERSION = "0.20.0"
19
+ VERSION = "0.20.1"
20
20
  end
21
21
  end
22
22
  end
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.0
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-08-27 00:00:00.000000000 Z
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