google-cloud-language 1.0.0 → 1.1.0

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: 4cf7da35f39f5eaa0d4fee9f13c551a3ee2e09c7b4e75277f0761405d3dd5725
4
- data.tar.gz: c9cb4703c5a71cbc62ebc5a528769082960ade959f017a5c781701c79e08e357
3
+ metadata.gz: 1e1359ca7a1a84099d3e3f43f8422eee5e6a21b204b76f486890aef31ac5b4a5
4
+ data.tar.gz: 34d7749401d3c669e3283ac93267dea3f183b29085d0be905500dcae5b888b2c
5
5
  SHA512:
6
- metadata.gz: 232c141a2d01227725c4d52a76fbc0b582ebffad54b4acf1a39911b5fb2a41bcc588a5ebb3438f1bf1a354dd9bb2bbd30f77343024b634de25ad035862387ea6
7
- data.tar.gz: f268420e57905490f30748752bf7e5a5ba0ce21fea77a6fc8b2826fc4c2c4730574b276a49aa06833c78273d67c44d36b934c5cc8f40f63652813ab696e0d9e7
6
+ metadata.gz: 89d4f762c92a5850a59b422be11e9fb9e0c06be127c6ba43807af91af4b7d848752cdce53c53b27433c7f966965007fd651903c162b42724b9cd352e64933323
7
+ data.tar.gz: cd7c7c2e63c0f151f32d0360ca0cbb294d91887e5666744ca06f669212fa5af91fbc5db91edb97f736e33ac4ed5cf6bacad843148f881e102f531ac4144980c1
data/README.md CHANGED
@@ -47,7 +47,7 @@ See the {file:MIGRATING.md MIGRATING.md} document for more information.
47
47
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
48
48
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
49
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
50
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
51
51
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
52
52
 
53
53
  Configuring a Ruby stdlib logger:
@@ -16,20 +16,4 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- gem "google-cloud-core"
20
- require "google/cloud" unless defined? Google::Cloud.new
21
- require "google/cloud/config"
22
- require "googleauth"
23
-
24
- # Set the default configuration
25
- Google::Cloud.configure.add_config! :language do |config|
26
- config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
27
- config.add_field! :lib_name, nil, match: String
28
- config.add_field! :lib_version, nil, match: String
29
- config.add_field! :interceptors, nil, match: Array
30
- config.add_field! :timeout, nil, match: Numeric
31
- config.add_field! :metadata, nil, match: Hash
32
- config.add_field! :retry_policy, nil, match: [Hash, Proc]
33
- end
34
-
35
- require "google/cloud/language/version"
19
+ require "google/cloud/language"
@@ -16,7 +16,22 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google-cloud-language"
19
+ require "google/cloud/language/version"
20
+ require "googleauth"
21
+ gem "google-cloud-core"
22
+ require "google/cloud" unless defined? Google::Cloud.new
23
+ require "google/cloud/config"
24
+
25
+ # Set the default configuration
26
+ Google::Cloud.configure.add_config! :language do |config|
27
+ config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
28
+ config.add_field! :lib_name, nil, match: String
29
+ config.add_field! :lib_version, nil, match: String
30
+ config.add_field! :interceptors, nil, match: Array
31
+ config.add_field! :timeout, nil, match: Numeric
32
+ config.add_field! :metadata, nil, match: Hash
33
+ config.add_field! :retry_policy, nil, match: [Hash, Proc]
34
+ end
20
35
 
21
36
  module Google
22
37
  module Cloud
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Language
19
- VERSION = "1.0.0".freeze
19
+ VERSION = "1.1.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-language
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-24 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core