google-cloud-language 0.33.0 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,43 +1,54 @@
1
- # Ruby Client for Cloud Natural Language API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for the Cloud Natural Language API
2
2
 
3
- [Cloud Natural Language API][Product Documentation]:
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
- ## Quick Start
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
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
15
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
16
- 3. [Enable the Cloud Natural Language API.](https://console.cloud.google.com/apis/library/language.googleapis.com)
17
- 4. [Setup Authentication.](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
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 the main client library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
13
+
14
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-language/latest)
15
+ for this library, google-cloud-language, to see the convenience methods for
16
+ constructing client objects. Reference documentation for the client objects
17
+ themselves can be found in the client library documentation for the versioned
18
+ client gems:
19
+ [google-cloud-language-v1](https://googleapis.dev/ruby/google-cloud-language-v1/latest),
20
+ [google-cloud-language-v1beta2](https://googleapis.dev/ruby/google-cloud-language-v1beta2/latest).
21
+
22
+ See also the [Product Documentation](https://cloud.google.com/natural-language)
23
+ for more usage information.
24
+
25
+ ## Quick Start
18
26
 
19
- ### Installation
20
27
  ```
21
28
  $ gem install google-cloud-language
22
29
  ```
23
30
 
24
- ### Next Steps
25
- - Read the [Client Library Documentation][] for Cloud Natural Language API
26
- to see other available methods on the client.
27
- - Read the [Cloud Natural Language API Product documentation][Product Documentation]
28
- to learn more about the product and see How-to Guides.
29
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
30
- to see the full list of Cloud APIs that we cover.
31
+ In order to use this library, you first need to go through the following steps:
31
32
 
32
- [Client Library Documentation]: https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-language/latest/google/cloud/language/v1
33
- [Product Documentation]: https://cloud.google.com/natural-language
33
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
34
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
35
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/language.googleapis.com)
36
+ 1. {file:AUTHENTICATION.md Set up authentication.}
37
+
38
+ ## Migrating from 0.x versions
39
+
40
+ The 1.0 release of the google-cloud-language client is a significant upgrade
41
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
42
+ and includes substantial interface changes. Existing code written for earlier
43
+ versions of this library will likely require updates to use this version.
44
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
34
45
 
35
46
  ## Enabling Logging
36
47
 
37
48
  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-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
39
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
40
- 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)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
+ 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)
41
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
42
53
 
43
54
  Configuring a Ruby stdlib logger:
@@ -60,11 +71,69 @@ end
60
71
 
61
72
  ## Supported Ruby Versions
62
73
 
63
- This library is supported on Ruby 2.3+.
74
+ This library is supported on Ruby 2.4+.
64
75
 
65
76
  Google provides official support for Ruby versions that are actively supported
66
77
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
67
- in security maintenance, and not end of life. Currently, this means Ruby 2.3
78
+ in security maintenance, and not end of life. Currently, this means Ruby 2.4
68
79
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
69
80
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
70
81
  about the Ruby support schedule.
82
+
83
+ ## Which client should I use?
84
+
85
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
86
+ client library with a name such as `google-cloud-language`,
87
+ and lower-level _versioned_ client libraries with names such as
88
+ `google-cloud-language-v1`.
89
+ _In most cases, you should install the main client._
90
+
91
+ ### What's the difference between the main client and a versioned client?
92
+
93
+ A _versioned client_ provides a basic set of data types and client classes for
94
+ a _single version_ of a specific service. (That is, for a service with multiple
95
+ versions, there might be a separate versioned client for each service version.)
96
+ Most versioned clients are written and maintained by a code generator.
97
+
98
+ The _main client_ is designed to provide you with the _recommended_ client
99
+ interfaces for the service. There will be only one main client for any given
100
+ service, even a service with multiple versions. The main client includes
101
+ factory methods for constructing the client objects we recommend for most
102
+ users. In some cases, those will be classes provided by an underlying versioned
103
+ client; in other cases, they will be handwritten higher-level client objects
104
+ with additional capabilities, convenience methods, or best practices built in.
105
+ Generally, the main client will default to a recommended service version,
106
+ although in some cases you can override this if you need to talk to a specific
107
+ service version.
108
+
109
+ ### Why would I want to use the main client?
110
+
111
+ We recommend that most users install the main client gem for a service. You can
112
+ identify this gem as the one _without_ a version in its name, e.g.
113
+ `google-cloud-language`.
114
+ The main client is recommended because it will embody the best practices for
115
+ accessing the service, and may also provide more convenient interfaces or
116
+ tighter integration into frameworks and third-party libraries. In addition, the
117
+ documentation and samples published by Google will generally demonstrate use of
118
+ the main client.
119
+
120
+ ### Why would I want to use a versioned client?
121
+
122
+ You can use a versioned client if you are content with a possibly lower-level
123
+ class interface, you explicitly want to avoid features provided by the main
124
+ client, or you want to access a specific service version not be covered by the
125
+ main client. You can identify versioned client gems because the service version
126
+ is part of the name, e.g. `google-cloud-language-v1`.
127
+
128
+ ### What about the google-apis-<name> clients?
129
+
130
+ Client library gems with names that begin with `google-apis-` are based on an
131
+ older code generation technology. They talk to a REST/JSON backend (whereas
132
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
133
+ not offer the same performance, features, and ease of use provided by more
134
+ modern clients.
135
+
136
+ The `google-apis-` clients have wide coverage across Google services, so you
137
+ might need to use one if there is no modern client available for the service.
138
+ However, if a modern client is available, we generally recommend it over the
139
+ older `google-apis-` clients.
@@ -0,0 +1,19 @@
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
+ require "google/cloud/language" unless defined? Google::Cloud::Language::VERSION
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,136 +14,103 @@
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!
18
+
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
23
+ require "google/cloud/language/version"
24
+
25
+ require "googleauth"
26
+ gem "google-cloud-core"
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
28
+ require "google/cloud/config"
15
29
 
16
- require "google/gax"
17
- require "pathname"
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :language do |config|
32
+ config.add_field! :endpoint, "language.googleapis.com", match: ::String
33
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
34
+ config.add_field! :scope, nil, match: [::Array, ::String]
35
+ config.add_field! :lib_name, nil, match: ::String
36
+ config.add_field! :lib_version, nil, match: ::String
37
+ config.add_field! :interceptors, nil, match: ::Array
38
+ config.add_field! :timeout, nil, match: ::Numeric
39
+ config.add_field! :metadata, nil, match: ::Hash
40
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
41
+ config.add_field! :quota_project, nil, match: ::String
42
+ end
18
43
 
19
44
  module Google
20
45
  module Cloud
21
- # rubocop:disable LineLength
22
-
23
- ##
24
- # # Ruby Client for Cloud Natural Language API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
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.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
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
46
  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
47
  ##
48
+ # Create a new client object for LanguageService.
49
+ #
50
+ # By default, this returns an instance of
51
+ # [Google::Cloud::Language::V1::LanguageService::Client](https://googleapis.dev/ruby/google-cloud-language-v1/latest/Google/Cloud/Language/V1/LanguageService/Client.html)
52
+ # for version V1 of the API.
53
+ # However, you can specify specify a different API version by passing it in the
54
+ # `version` parameter. If the LanguageService service is
55
+ # supported by that API version, and the corresponding gem is available, the
56
+ # appropriate versioned client will be returned.
57
+ #
58
+ # ## About LanguageService
59
+ #
92
60
  # Provides text analysis operations such as sentiment analysis and entity
93
61
  # recognition.
94
62
  #
95
- # @param version [Symbol, String]
96
- # The major version of the service to be used. By default :v1
97
- # is used.
98
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
99
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
100
- # Provides the means for authenticating requests made by the client. This parameter can
101
- # be many types.
102
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
103
- # authenticating requests made by this client.
104
- # A `String` will be treated as the path to the keyfile to be used for the construction of
105
- # credentials for this client.
106
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
107
- # credentials for this client.
108
- # A `GRPC::Core::Channel` will be used to make calls through.
109
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
110
- # should already be composed with a `GRPC::Core::CallCredentials` object.
111
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
112
- # metadata for requests, generally, to give OAuth credentials.
113
- # @param scopes [Array<String>]
114
- # The OAuth scopes for this service. This parameter is ignored if
115
- # an updater_proc is supplied.
116
- # @param client_config [Hash]
117
- # A Hash for call options for each method. See
118
- # Google::Gax#construct_settings for the structure of
119
- # this data. Falls back to the default config if not specified
120
- # or the specified config is missing data points.
121
- # @param timeout [Numeric]
122
- # The default timeout, in seconds, for calls made through this client.
123
- # @param metadata [Hash]
124
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
125
- # @param service_address [String]
126
- # Override for the service hostname, or `nil` to leave as the default.
127
- # @param service_port [Integer]
128
- # Override for the service port, or `nil` to leave as the default.
129
- # @param exception_transformer [Proc]
130
- # An optional proc that intercepts any exceptions raised during an API call to inject
131
- # custom error handling.
132
- def self.new(*args, version: :v1, **kwargs)
133
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
134
- raise "The version: #{version} is not available. The available versions " \
135
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
136
- end
63
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
64
+ # Defaults to `:v1`.
65
+ # @return [LanguageService::Client] A client object for the specified version.
66
+ #
67
+ def self.language_service version: :v1, &block
68
+ require "google/cloud/language/#{version.to_s.downcase}"
69
+
70
+ package_name = Google::Cloud::Language
71
+ .constants
72
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
73
+ .first
74
+ package_module = Google::Cloud::Language.const_get package_name
75
+ package_module.const_get(:LanguageService).const_get(:Client).new(&block)
76
+ end
77
+
78
+ ##
79
+ # Configure the google-cloud-language library.
80
+ #
81
+ # The following configuration parameters are supported:
82
+ #
83
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
84
+ # The path to the keyfile as a String, the contents of the keyfile as a
85
+ # Hash, or a Google::Auth::Credentials object.
86
+ # * `lib_name` (*type:* `String`) -
87
+ # The library name as recorded in instrumentation and logging.
88
+ # * `lib_version` (*type:* `String`) -
89
+ # The library version as recorded in instrumentation and logging.
90
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
91
+ # An array of interceptors that are run before calls are executed.
92
+ # * `timeout` (*type:* `Numeric`) -
93
+ # Default timeout in seconds.
94
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
95
+ # Additional gRPC headers to be sent with the call.
96
+ # * `retry_policy` (*type:* `Hash`) -
97
+ # The retry policy. The value is a hash with the following keys:
98
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
99
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
100
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
101
+ # * `:retry_codes` (*type:* `Array<String>`) -
102
+ # The error codes that should trigger a retry.
103
+ #
104
+ # @return [::Google::Cloud::Config] The default configuration used by this library
105
+ #
106
+ def self.configure
107
+ yield ::Google::Cloud.configure.language if block_given?
137
108
 
138
- require "#{FILE_DIR}/#{version.to_s.downcase}"
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)
109
+ ::Google::Cloud.configure.language
144
110
  end
145
111
  end
146
112
  end
147
113
  end
114
+
115
+ helper_path = ::File.join __dir__, "language", "helpers.rb"
116
+ require "google/cloud/language/helpers" if ::File.file? helper_path
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Language
19
- VERSION = "0.33.0".freeze
19
+ VERSION = "1.2.3".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,91 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-language
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
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.7'
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.7'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: google-cloud-language-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3.9
34
- - - "<"
33
+ version: '0.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
35
39
  - !ruby/object:Gem::Version
36
- version: '2.0'
40
+ version: '0.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: google-cloud-language-v1beta2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
37
48
  type: :runtime
38
49
  prerelease: false
39
50
  version_requirements: !ruby/object:Gem::Requirement
40
51
  requirements:
41
- - - ">="
52
+ - - "~>"
42
53
  - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
54
+ version: '0.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: google-style
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
45
60
  - !ruby/object:Gem::Version
46
- version: '2.0'
61
+ version: 1.24.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.24.0
47
69
  - !ruby/object:Gem::Dependency
48
70
  name: minitest
49
71
  requirement: !ruby/object:Gem::Requirement
50
72
  requirements:
51
73
  - - "~>"
52
74
  - !ruby/object:Gem::Version
53
- version: '5.10'
75
+ version: '5.14'
54
76
  type: :development
55
77
  prerelease: false
56
78
  version_requirements: !ruby/object:Gem::Requirement
57
79
  requirements:
58
80
  - - "~>"
59
81
  - !ruby/object:Gem::Version
60
- version: '5.10'
82
+ version: '5.14'
61
83
  - !ruby/object:Gem::Dependency
62
- name: redcarpet
84
+ name: minitest-focus
63
85
  requirement: !ruby/object:Gem::Requirement
64
86
  requirements:
65
87
  - - "~>"
66
88
  - !ruby/object:Gem::Version
67
- version: '3.0'
89
+ version: '1.1'
68
90
  type: :development
69
91
  prerelease: false
70
92
  version_requirements: !ruby/object:Gem::Requirement
71
93
  requirements:
72
94
  - - "~>"
73
95
  - !ruby/object:Gem::Version
74
- version: '3.0'
96
+ version: '1.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: minitest-rg
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '5.2'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '5.2'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '12.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '12.0'
75
125
  - !ruby/object:Gem::Dependency
76
- name: rubocop
126
+ name: redcarpet
77
127
  requirement: !ruby/object:Gem::Requirement
78
128
  requirements:
79
129
  - - "~>"
80
130
  - !ruby/object:Gem::Version
81
- version: 0.64.0
131
+ version: '3.0'
82
132
  type: :development
83
133
  prerelease: false
84
134
  version_requirements: !ruby/object:Gem::Requirement
85
135
  requirements:
86
136
  - - "~>"
87
137
  - !ruby/object:Gem::Version
88
- version: 0.64.0
138
+ version: '3.0'
89
139
  - !ruby/object:Gem::Dependency
90
140
  name: simplecov
91
141
  requirement: !ruby/object:Gem::Requirement
@@ -114,8 +164,8 @@ dependencies:
114
164
  - - "~>"
115
165
  - !ruby/object:Gem::Version
116
166
  version: '0.9'
117
- description: google-cloud-language is the official library for Cloud Natural Language
118
- API.
167
+ description: Provides natural language understanding technologies, such as sentiment
168
+ analysis, entity recognition, entity sentiment analysis, and other text annotations.
119
169
  email: googleapis-packages@google.com
120
170
  executables: []
121
171
  extensions: []
@@ -123,25 +173,13 @@ extra_rdoc_files: []
123
173
  files:
124
174
  - ".yardopts"
125
175
  - AUTHENTICATION.md
126
- - LICENSE
176
+ - LICENSE.md
177
+ - MIGRATING.md
127
178
  - README.md
179
+ - lib/google-cloud-language.rb
128
180
  - lib/google/cloud/language.rb
129
- - lib/google/cloud/language/v1.rb
130
- - lib/google/cloud/language/v1/credentials.rb
131
- - lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb
132
- - lib/google/cloud/language/v1/language_service_client.rb
133
- - lib/google/cloud/language/v1/language_service_client_config.json
134
- - lib/google/cloud/language/v1/language_service_pb.rb
135
- - lib/google/cloud/language/v1/language_service_services_pb.rb
136
- - lib/google/cloud/language/v1beta2.rb
137
- - lib/google/cloud/language/v1beta2/credentials.rb
138
- - lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
139
- - lib/google/cloud/language/v1beta2/language_service_client.rb
140
- - lib/google/cloud/language/v1beta2/language_service_client_config.json
141
- - lib/google/cloud/language/v1beta2/language_service_pb.rb
142
- - lib/google/cloud/language/v1beta2/language_service_services_pb.rb
143
181
  - lib/google/cloud/language/version.rb
144
- homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-language
182
+ homepage: https://github.com/googleapis/google-cloud-ruby
145
183
  licenses:
146
184
  - Apache-2.0
147
185
  metadata: {}
@@ -153,15 +191,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
191
  requirements:
154
192
  - - ">="
155
193
  - !ruby/object:Gem::Version
156
- version: 2.0.0
194
+ version: '2.4'
157
195
  required_rubygems_version: !ruby/object:Gem::Requirement
158
196
  requirements:
159
197
  - - ">="
160
198
  - !ruby/object:Gem::Version
161
199
  version: '0'
162
200
  requirements: []
163
- rubygems_version: 3.0.3
201
+ rubygems_version: 3.2.6
164
202
  signing_key:
165
203
  specification_version: 4
166
- summary: API Client library for Cloud Natural Language API
204
+ summary: API Client library for the Cloud Natural Language API
167
205
  test_files: []