google-cloud-language 0.20.1 → 0.20.2

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: e662ca0f0f3c90341046cc7bdb25a941d95bc86b
4
- data.tar.gz: 01dd5504af762c11b8fe71e4eed451d0b68b55c4
3
+ metadata.gz: a4c7e8d3f85410dfae128039b0eca4d5a3a64757
4
+ data.tar.gz: 636b67a4a34c6b2e6b9e497c4e91d56a12890bab
5
5
  SHA512:
6
- metadata.gz: 347bcc57d78145d99008bcfbae3fb6e8c29bf7c68133f7058fdbce3ff3fc650e47b21dddd2e854fcb10f78d1e755a44d42ca68a661823474b987ebf492eead54
7
- data.tar.gz: 1c9ddff398f52205de5091068c037652490d0254aad3cd6c75b8c225ae7913596643ceed1f8bc6ce4b34b797a9acafd5fa6ec55e4711a547f0389f2db4e5503e
6
+ metadata.gz: 50f34170360cca7eff01a4809ee8d027910912e9e9ec4fb4aafb36b2d7fc05dfe7b586057561a800fbc1c0678da0e69041ed139aca79cd00b5c1fc2cb1aca337
7
+ data.tar.gz: a7dd8f7731b4d69d5cc575422f64fc88f8dae027ce96193c35f855ad5fcff1cc67712dc214fc256042c4d7dd32ae8aa660729086f7e9bc2bdc050b1a7cd876e1
@@ -16,7 +16,7 @@
16
16
  require "google/cloud/errors"
17
17
  require "google/cloud/language/credentials"
18
18
  require "google/cloud/language/version"
19
- require "google/cloud/language/v1beta1/language_service_api"
19
+ require "google/cloud/language/v1beta1/language_service_pb"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -50,13 +50,17 @@ module Google
50
50
 
51
51
  def service
52
52
  return mocked_service if mocked_service
53
- @service ||= V1beta1::LanguageServiceApi.new(
54
- service_path: host,
55
- channel: channel,
56
- timeout: timeout,
57
- app_name: "google-cloud-language",
58
- app_version: Google::Cloud::Language::VERSION)
59
- # TODO: Get retries configured
53
+ @service ||= begin
54
+ require "google/cloud/language/v1beta1/language_service_api"
55
+
56
+ V1beta1::LanguageServiceApi.new(
57
+ service_path: host,
58
+ channel: channel,
59
+ timeout: timeout,
60
+ app_name: "google-cloud-language",
61
+ app_version: Google::Cloud::Language::VERSION)
62
+ # TODO: Get retries configured
63
+ end
60
64
  end
61
65
  attr_accessor :mocked_service
62
66
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Language
19
- VERSION = "0.20.1"
19
+ VERSION = "0.20.2"
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-language
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
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-29 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