google-cloud-datastore 1.5.2 → 1.5.3

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: 264365e0f5bcb539fbcb7400f635ce7846da49d69d40ebd0dd4bd01e8337f82a
4
- data.tar.gz: b63520b3c479e80a74d3f5343cecf957e369f99bf2b9aba687cef9d732c3aa46
3
+ metadata.gz: 59301badeac780d43d4359892ebb05ff32adb68fb4e7aa109e1c0f5142c3b49b
4
+ data.tar.gz: 59a8d3cc5eb573e88d0963a396e16d5382325204b4daceacc412ed11955dccc7
5
5
  SHA512:
6
- metadata.gz: 388076fda8dfc3ee025da5346cd390d5db31659f8d859f6da73dd7621ecfd5e16a0c9edc90e8e83d3f4f8847a15cc05557ac8b5c06f939b566a1b87ee5b1de7f
7
- data.tar.gz: 790522bf2b042596ed3c4196a37f8a40b5fd96221fae6c97046e02f59f4ef269e7aaf0c89418db385532a456654aade40fd09d88c413b351985faf9a5a67b246
6
+ metadata.gz: ccbb349970983e41bc5da88a2e7c6b8ba3a7978263637480f1537debd7fd87fbb04313e4ea24139cd5524990e651167ab70c1421c65754899d738dd26e07f729
7
+ data.tar.gz: 439709052cd3111e8246929c6f0004520e510ec5c0660358f5e37dff4040c61b78458bb7deef151ec2e7f813ab473a5f6e5a2d63bf28aa4d6800adcb924e5cf0
@@ -1,5 +1,10 @@
1
1
  # Release History
2
2
 
3
+ ### 1.5.3 / 2019-06-12
4
+
5
+ * Enable grpc.service_config_disable_resolution
6
+ * Use VERSION constant in GAPIC client
7
+
3
8
  ### 1.5.2 / 2019-04-29
4
9
 
5
10
  * Add AUTHENTICATION.md guide.
@@ -41,7 +41,11 @@ module Google
41
41
 
42
42
  def channel
43
43
  require "grpc"
44
- GRPC::Core::Channel.new host, nil, chan_creds
44
+ GRPC::Core::Channel.new host, chan_args, chan_creds
45
+ end
46
+
47
+ def chan_args
48
+ { "grpc.service_config_disable_resolution" => 1 }
45
49
  end
46
50
 
47
51
  def chan_creds
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/datastore/v1/datastore_pb"
29
29
  require "google/cloud/datastore/v1/credentials"
30
+ require "google/cloud/datastore/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -126,7 +127,7 @@ module Google
126
127
  updater_proc = credentials.updater_proc
127
128
  end
128
129
 
129
- package_version = Gem.loaded_specs['google-cloud-datastore'].version.version
130
+ package_version = Google::Cloud::Datastore::VERSION
130
131
 
131
132
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
132
133
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Datastore
19
- VERSION = "1.5.2".freeze
19
+ VERSION = "1.5.3".freeze
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: 1.5.2
4
+ version: 1.5.3
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-04-29 00:00:00.000000000 Z
12
+ date: 2019-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core