google-cloud-language 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +5 -5
- data/MIGRATING.md +1 -1
- data/lib/google/cloud/language/version.rb +1 -1
- metadata +21 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc76e37d0449cd11555a7943f652f7ab107731375d7e531d42ff1f44f8416cc7
|
4
|
+
data.tar.gz: b6ec05d58566392c008b05dd5b9adb64cdb377afb3347a9f84ccbd14906c83d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4108b2ed473b818fe3e35c83212f30de51f401f338b32bca6848bdd9a798e42bb321c39a544b31e48dc85ed0bae1d44f9f52ff28fa85907631ff2261e080d77
|
7
|
+
data.tar.gz: d901a802a6b859a112de35c06e30bc047d5694ffa6c17c63cc8e3c0ebb7f87624ebe828cfb5bf80ba8e4dbc5640f40e2915ce7176025d8032cb09f99ba0971e3
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-language
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
`::Google::Cloud::Language::V1::LanguageService::Credentials`):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `LANGUAGE_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `LANGUAGE_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/language"
|
data/MIGRATING.md
CHANGED
@@ -223,7 +223,7 @@ response = client.analyze_sentiment(
|
|
223
223
|
### Handling Errors
|
224
224
|
|
225
225
|
The client reports standard
|
226
|
-
|
226
|
+
{file:https://github.com/grpc/grpc/blob/master/doc/statuscodes.md gRPC error codes}
|
227
227
|
by raising exceptions. In older releases, these exceptions were located in the
|
228
228
|
`Google::Gax` namespace and were subclasses of the `Google::Gax::GaxError` base
|
229
229
|
exception class, defined in the `google-gax` gem. However, these classes were
|
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.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -16,42 +16,54 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.6'
|
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.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
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
33
|
version: '0.1'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 2.a
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '0.1'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.a
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: google-cloud-language-v1beta2
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - ">="
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0.1'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
48
57
|
type: :runtime
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
52
|
-
- - "
|
61
|
+
- - ">="
|
53
62
|
- !ruby/object:Gem::Version
|
54
63
|
version: '0.1'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
68
|
name: google-style
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
210
|
- !ruby/object:Gem::Version
|
199
211
|
version: '0'
|
200
212
|
requirements: []
|
201
|
-
rubygems_version: 3.2.
|
213
|
+
rubygems_version: 3.2.17
|
202
214
|
signing_key:
|
203
215
|
specification_version: 4
|
204
216
|
summary: API Client library for the Cloud Natural Language API
|