google-cloud-language 0.36.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -59
- data/LICENSE.md +203 -0
- data/MIGRATING.md +235 -0
- data/README.md +35 -25
- data/lib/google-cloud-language.rb +35 -0
- data/lib/google/cloud/language.rb +62 -119
- data/lib/google/cloud/language/version.rb +1 -1
- metadata +83 -51
- data/LICENSE +0 -201
- data/lib/google/cloud/language/v1.rb +0 -148
- data/lib/google/cloud/language/v1/credentials.rb +0 -41
- data/lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb +0 -1039
- data/lib/google/cloud/language/v1/language_service_client.rb +0 -451
- data/lib/google/cloud/language/v1/language_service_client_config.json +0 -56
- data/lib/google/cloud/language/v1/language_service_pb.rb +0 -403
- data/lib/google/cloud/language/v1/language_service_services_pb.rb +0 -64
- data/lib/google/cloud/language/v1beta2.rb +0 -160
- data/lib/google/cloud/language/v1beta2/credentials.rb +0 -41
- data/lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb +0 -1049
- data/lib/google/cloud/language/v1beta2/language_service_client.rb +0 -451
- data/lib/google/cloud/language/v1beta2/language_service_client_config.json +0 -56
- data/lib/google/cloud/language/v1beta2/language_service_pb.rb +0 -404
- data/lib/google/cloud/language/v1beta2/language_service_services_pb.rb +0 -64
data/README.md
CHANGED
@@ -1,41 +1,51 @@
|
|
1
|
-
# Ruby Client for Cloud Natural Language API
|
1
|
+
# Ruby Client for the Cloud Natural Language API
|
2
2
|
|
3
|
-
|
4
|
-
Provides natural language understanding technologies, such as sentiment
|
5
|
-
analysis, entity recognition, entity sentiment analysis, and other text
|
6
|
-
annotations, to developers.
|
7
|
-
- [Client Library Documentation][]
|
8
|
-
- [Product Documentation][]
|
3
|
+
API Client library for the Cloud Natural Language API
|
9
4
|
|
10
|
-
|
11
|
-
In order to use this library, you first need to go through the following
|
12
|
-
steps:
|
5
|
+
Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.
|
13
6
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
7
|
+
Actual client classes for the various versions of this API are defined in
|
8
|
+
_versioned_ client gems, with names of the form `google-cloud-language-v*`.
|
9
|
+
The gem `google-cloud-language` is a convenience wrapper library that brings the
|
10
|
+
verisoned gems in as dependencies, and provides high-level methods for
|
11
|
+
constructing clients.
|
12
|
+
|
13
|
+
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-language/latest)
|
14
|
+
for this library, google-cloud-language, to see the convenience methods for
|
15
|
+
constructing client objects. Reference documentation for the client objects
|
16
|
+
themselves can be found in the client library documentation for the versioned
|
17
|
+
client gems:
|
18
|
+
[google-cloud-language-v1](https://googleapis.dev/ruby/google-cloud-language-v1/latest),
|
19
|
+
[google-cloud-language-v1beta2](https://googleapis.dev/ruby/google-cloud-language-v1beta2/latest).
|
20
|
+
|
21
|
+
See also the [Product Documentation](https://cloud.google.com/natural-language)
|
22
|
+
for more usage information.
|
23
|
+
|
24
|
+
## Quick Start
|
18
25
|
|
19
|
-
### Installation
|
20
26
|
```
|
21
27
|
$ gem install google-cloud-language
|
22
28
|
```
|
23
29
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
In order to use this library, you first need to go through the following steps:
|
31
|
+
|
32
|
+
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
33
|
+
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
34
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/language.googleapis.com)
|
35
|
+
1. {file:AUTHENTICATION.md Set up authentication.}
|
36
|
+
|
37
|
+
## Migrating from 0.x versions
|
31
38
|
|
32
|
-
|
33
|
-
[
|
39
|
+
The 1.0 release of the google-cloud-language client is a significant upgrade
|
40
|
+
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
|
41
|
+
and includes substantial interface changes. Existing code written for earlier
|
42
|
+
versions of this library will likely require updates to use this version.
|
43
|
+
See the {file:MIGRATING.md MIGRATING.md} document for more information.
|
34
44
|
|
35
45
|
## Enabling Logging
|
36
46
|
|
37
47
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
38
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib
|
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,
|
39
49
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
40
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)
|
41
51
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
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"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,135 +14,76 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
15
18
|
|
16
|
-
require "google
|
17
|
-
require "pathname"
|
19
|
+
require "google-cloud-language"
|
18
20
|
|
19
21
|
module Google
|
20
22
|
module Cloud
|
21
|
-
# rubocop:disable LineLength
|
22
|
-
|
23
|
-
##
|
24
|
-
# # Ruby Client for Cloud Natural Language API
|
25
|
-
#
|
26
|
-
# [Cloud Natural Language API][Product Documentation]:
|
27
|
-
# Provides natural language understanding technologies, such as sentiment
|
28
|
-
# analysis, entity recognition, entity sentiment analysis, and other text
|
29
|
-
# annotations, to developers.
|
30
|
-
# - [Product Documentation][]
|
31
|
-
#
|
32
|
-
# ## Quick Start
|
33
|
-
# In order to use this library, you first need to go through the following
|
34
|
-
# steps:
|
35
|
-
#
|
36
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
37
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
38
|
-
# 3. [Enable the Cloud Natural Language API.](https://console.cloud.google.com/apis/library/language.googleapis.com)
|
39
|
-
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-language/latest/file.AUTHENTICATION.html)
|
40
|
-
#
|
41
|
-
# ### Installation
|
42
|
-
# ```
|
43
|
-
# $ gem install google-cloud-language
|
44
|
-
# ```
|
45
|
-
#
|
46
|
-
# ### Next Steps
|
47
|
-
# - Read the [Cloud Natural Language API Product documentation][Product Documentation]
|
48
|
-
# to learn more about the product and see How-to Guides.
|
49
|
-
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
50
|
-
# to see the full list of Cloud APIs that we cover.
|
51
|
-
#
|
52
|
-
# [Product Documentation]: https://cloud.google.com/natural-language
|
53
|
-
#
|
54
|
-
# ## Enabling Logging
|
55
|
-
#
|
56
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
57
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
58
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
59
|
-
# 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)
|
60
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
61
|
-
#
|
62
|
-
# Configuring a Ruby stdlib logger:
|
63
|
-
#
|
64
|
-
# ```ruby
|
65
|
-
# require "logger"
|
66
|
-
#
|
67
|
-
# module MyLogger
|
68
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
69
|
-
# def logger
|
70
|
-
# LOGGER
|
71
|
-
# end
|
72
|
-
# end
|
73
|
-
#
|
74
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
75
|
-
# module GRPC
|
76
|
-
# extend MyLogger
|
77
|
-
# end
|
78
|
-
# ```
|
79
|
-
#
|
80
23
|
module Language
|
81
|
-
# rubocop:enable LineLength
|
82
|
-
|
83
|
-
FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("language"))
|
84
|
-
|
85
|
-
AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
|
86
|
-
.select { |file| File.directory?(file) }
|
87
|
-
.select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
|
88
|
-
.select { |dir| File.exist?(dir + ".rb") }
|
89
|
-
.map { |dir| File.basename(dir) }
|
90
|
-
|
91
24
|
##
|
25
|
+
# Create a new client object for LanguageService.
|
26
|
+
#
|
27
|
+
# By default, this returns an instance of
|
28
|
+
# [Google::Cloud::Language::V1::LanguageService::Client](https://googleapis.dev/ruby/google-cloud-language-v1/latest/Google/Cloud/Language/V1/LanguageService/Client.html)
|
29
|
+
# for version V1 of the API.
|
30
|
+
# However, you can specify specify a different API version by passing it in the
|
31
|
+
# `version` parameter. If the LanguageService service is
|
32
|
+
# supported by that API version, and the corresponding gem is available, the
|
33
|
+
# appropriate versioned client will be returned.
|
34
|
+
#
|
35
|
+
# ## About LanguageService
|
36
|
+
#
|
92
37
|
# Provides text analysis operations such as sentiment analysis and entity
|
93
38
|
# recognition.
|
94
39
|
#
|
95
|
-
# @param version [
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
40
|
+
# @param version [String, Symbol] The API version to connect to. Optional.
|
41
|
+
# Defaults to `:v1`.
|
42
|
+
# @return [LanguageService::Client] A client object for the specified version.
|
43
|
+
#
|
44
|
+
def self.language_service version: :v1, &block
|
45
|
+
require "google/cloud/language/#{version.to_s.downcase}"
|
46
|
+
|
47
|
+
package_name = Google::Cloud::Language
|
48
|
+
.constants
|
49
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
50
|
+
.first
|
51
|
+
package_module = Google::Cloud::Language.const_get package_name
|
52
|
+
package_module.const_get(:LanguageService).const_get(:Client).new(&block)
|
53
|
+
end
|
54
|
+
|
55
|
+
##
|
56
|
+
# Configure the google-cloud-language library.
|
57
|
+
#
|
58
|
+
# The following configuration parameters are supported:
|
59
|
+
#
|
60
|
+
# * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
|
61
|
+
# The path to the keyfile as a String, the contents of the keyfile as a
|
62
|
+
# Hash, or a Google::Auth::Credentials object.
|
63
|
+
# * `lib_name` (*type:* `String`) -
|
64
|
+
# The library name as recorded in instrumentation and logging.
|
65
|
+
# * `lib_version` (*type:* `String`) -
|
66
|
+
# The library version as recorded in instrumentation and logging.
|
67
|
+
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
68
|
+
# An array of interceptors that are run before calls are executed.
|
69
|
+
# * `timeout` (*type:* `Integer`) -
|
70
|
+
# Default timeout in milliseconds.
|
71
|
+
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
72
|
+
# Additional gRPC headers to be sent with the call.
|
73
|
+
# * `retry_policy` (*type:* `Hash`) -
|
74
|
+
# The retry policy. The value is a hash with the following keys:
|
75
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
76
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
77
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
78
|
+
# * `:retry_codes` (*type:* `Array<String>`) -
|
79
|
+
# The error codes that should trigger a retry.
|
80
|
+
#
|
81
|
+
# @return [Google::Cloud::Config] The default configuration used by this library
|
82
|
+
#
|
83
|
+
def self.configure
|
84
|
+
yield Google::Cloud.configure.language if block_given?
|
137
85
|
|
138
|
-
|
139
|
-
version_module = Google::Cloud::Language
|
140
|
-
.constants
|
141
|
-
.select {|sym| sym.to_s.downcase == version.to_s.downcase}
|
142
|
-
.first
|
143
|
-
Google::Cloud::Language.const_get(version_module).new(*args, **kwargs)
|
86
|
+
Google::Cloud.configure.language
|
144
87
|
end
|
145
88
|
end
|
146
89
|
end
|
metadata
CHANGED
@@ -1,69 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-language
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: google-
|
14
|
+
name: google-cloud-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: google-cloud-language-v1
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.9
|
34
|
-
- - "<"
|
31
|
+
- - "~>"
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
33
|
+
version: '0.1'
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.3.9
|
44
|
-
- - "<"
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
40
|
+
version: '0.1'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
42
|
+
name: google-cloud-language-v1beta2
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
|
-
- - "
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.4
|
54
|
-
- - "<"
|
45
|
+
- - "~>"
|
55
46
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
47
|
+
version: '0.1'
|
57
48
|
type: :runtime
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
60
51
|
requirements:
|
61
|
-
- - "
|
52
|
+
- - "~>"
|
62
53
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
|
54
|
+
version: '0.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: autotest-suffix
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
65
60
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
61
|
+
version: '1.1'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: google-style
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.24.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.24.0
|
67
83
|
- !ruby/object:Gem::Dependency
|
68
84
|
name: minitest
|
69
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,33 +95,61 @@ dependencies:
|
|
79
95
|
- !ruby/object:Gem::Version
|
80
96
|
version: '5.10'
|
81
97
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
98
|
+
name: minitest-autotest
|
83
99
|
requirement: !ruby/object:Gem::Requirement
|
84
100
|
requirements:
|
85
101
|
- - "~>"
|
86
102
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
103
|
+
version: '1.0'
|
88
104
|
type: :development
|
89
105
|
prerelease: false
|
90
106
|
version_requirements: !ruby/object:Gem::Requirement
|
91
107
|
requirements:
|
92
108
|
- - "~>"
|
93
109
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
110
|
+
version: '1.0'
|
95
111
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
112
|
+
name: minitest-focus
|
97
113
|
requirement: !ruby/object:Gem::Requirement
|
98
114
|
requirements:
|
99
115
|
- - "~>"
|
100
116
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
117
|
+
version: '1.1'
|
102
118
|
type: :development
|
103
119
|
prerelease: false
|
104
120
|
version_requirements: !ruby/object:Gem::Requirement
|
105
121
|
requirements:
|
106
122
|
- - "~>"
|
107
123
|
- !ruby/object:Gem::Version
|
108
|
-
version: 1.
|
124
|
+
version: '1.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: minitest-rg
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '5.2'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '5.2'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: redcarpet
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
109
153
|
- !ruby/object:Gem::Dependency
|
110
154
|
name: simplecov
|
111
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,8 +178,8 @@ dependencies:
|
|
134
178
|
- - "~>"
|
135
179
|
- !ruby/object:Gem::Version
|
136
180
|
version: '0.9'
|
137
|
-
description:
|
138
|
-
|
181
|
+
description: Provides natural language understanding technologies, such as sentiment
|
182
|
+
analysis, entity recognition, entity sentiment analysis, and other text annotations.
|
139
183
|
email: googleapis-packages@google.com
|
140
184
|
executables: []
|
141
185
|
extensions: []
|
@@ -143,25 +187,13 @@ extra_rdoc_files: []
|
|
143
187
|
files:
|
144
188
|
- ".yardopts"
|
145
189
|
- AUTHENTICATION.md
|
146
|
-
- LICENSE
|
190
|
+
- LICENSE.md
|
191
|
+
- MIGRATING.md
|
147
192
|
- README.md
|
193
|
+
- lib/google-cloud-language.rb
|
148
194
|
- lib/google/cloud/language.rb
|
149
|
-
- lib/google/cloud/language/v1.rb
|
150
|
-
- lib/google/cloud/language/v1/credentials.rb
|
151
|
-
- lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb
|
152
|
-
- lib/google/cloud/language/v1/language_service_client.rb
|
153
|
-
- lib/google/cloud/language/v1/language_service_client_config.json
|
154
|
-
- lib/google/cloud/language/v1/language_service_pb.rb
|
155
|
-
- lib/google/cloud/language/v1/language_service_services_pb.rb
|
156
|
-
- lib/google/cloud/language/v1beta2.rb
|
157
|
-
- lib/google/cloud/language/v1beta2/credentials.rb
|
158
|
-
- lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
|
159
|
-
- lib/google/cloud/language/v1beta2/language_service_client.rb
|
160
|
-
- lib/google/cloud/language/v1beta2/language_service_client_config.json
|
161
|
-
- lib/google/cloud/language/v1beta2/language_service_pb.rb
|
162
|
-
- lib/google/cloud/language/v1beta2/language_service_services_pb.rb
|
163
195
|
- lib/google/cloud/language/version.rb
|
164
|
-
homepage: https://github.com/googleapis/google-cloud-ruby
|
196
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
165
197
|
licenses:
|
166
198
|
- Apache-2.0
|
167
199
|
metadata: {}
|
@@ -183,5 +215,5 @@ requirements: []
|
|
183
215
|
rubygems_version: 3.0.6
|
184
216
|
signing_key:
|
185
217
|
specification_version: 4
|
186
|
-
summary: API Client library for Cloud Natural Language API
|
218
|
+
summary: API Client library for the Cloud Natural Language API
|
187
219
|
test_files: []
|