google-cloud-language 0.28.1 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +2 -2
- data/README.md +2 -2
- data/lib/google/cloud/language.rb +7 -3
- data/lib/google/cloud/language/credentials.rb +2 -2
- data/lib/google/cloud/language/v1.rb +3 -3
- data/lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb +3 -3
- data/lib/google/cloud/language/v1/doc/overview.rb +4 -4
- data/lib/google/cloud/language/v1/language_service_client.rb +2 -2
- data/lib/google/cloud/language/v1/language_service_services_pb.rb +1 -1
- data/lib/google/cloud/language/v1beta2.rb +3 -3
- data/lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb +2 -2
- data/lib/google/cloud/language/v1beta2/doc/overview.rb +4 -4
- data/lib/google/cloud/language/v1beta2/language_service_client.rb +2 -2
- data/lib/google/cloud/language/v1beta2/language_service_services_pb.rb +1 -1
- metadata +7 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbc87ee22b5f4d5bea9a5a05756e0e0e58e09e1ad6d2dc701b172953cada997c
|
|
4
|
+
data.tar.gz: 4ee3b82df0c4c114aad91323a6c88c12fee4b1b21b16fff6d56671b1c5bb64ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46dab34e1fe23acbf0b9b4682ed50e888525e71e3a521b1bae015190016cf39eb4751ecffa554ff5e5b343a0e4bbb7057e79ea1f82ffc33029478f2a639e4a84
|
|
7
|
+
data.tar.gz: f56f4229952dd98ac3b03dde9e4cfe2e742349b5d3175458ac569865c9cd7d839028564f35e4e4af6444d56fd9f26dad89fca813789c0f921f9a2857fce580a0
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Apache License
|
|
2
2
|
Version 2.0, January 2004
|
|
3
|
-
|
|
3
|
+
https://www.apache.org/licenses/
|
|
4
4
|
|
|
5
5
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
6
|
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
193
193
|
You may obtain a copy of the License at
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
196
196
|
|
|
197
197
|
Unless required by applicable law or agreed to in writing, software
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ recognition, and text annotations.
|
|
|
7
7
|
- [Client Library Documentation][]
|
|
8
8
|
- [Product Documentation][]
|
|
9
9
|
|
|
10
|
-
*
|
|
10
|
+
*The 0.28.0 release introduced breaking changes relative to the previous
|
|
11
11
|
release, 0.27.1. For more details and instructions to migrate your code, please
|
|
12
12
|
visit the [migration guide](https://cloud.google.com/natural-language/docs/ruby-client-migration).*
|
|
13
13
|
|
|
@@ -45,4 +45,4 @@ response = language_service_client.analyze_sentiment(document)
|
|
|
45
45
|
to see the full list of Cloud APIs that we cover.
|
|
46
46
|
|
|
47
47
|
[Client Library Documentation]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-language/latest/google/cloud/language/v1
|
|
48
|
-
[Product Documentation]: https://cloud.google.com/language
|
|
48
|
+
[Product Documentation]: https://cloud.google.com/natural-language
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -28,6 +28,10 @@ module Google
|
|
|
28
28
|
# recognition, and text annotations.
|
|
29
29
|
# - [Product Documentation][]
|
|
30
30
|
#
|
|
31
|
+
# *The 0.28.0 release introduced breaking changes relative to the previous
|
|
32
|
+
# release, 0.27.1. For more details and instructions to migrate your code, please
|
|
33
|
+
# visit the [migration guide](https://cloud.google.com/natural-language/docs/ruby-client-migration).*
|
|
34
|
+
#
|
|
31
35
|
# ## Quick Start
|
|
32
36
|
# In order to use this library, you first need to go through the following
|
|
33
37
|
# steps:
|
|
@@ -54,7 +58,7 @@ module Google
|
|
|
54
58
|
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
|
55
59
|
# to see the full list of Cloud APIs that we cover.
|
|
56
60
|
#
|
|
57
|
-
# [Product Documentation]: https://cloud.google.com/language
|
|
61
|
+
# [Product Documentation]: https://cloud.google.com/natural-language
|
|
58
62
|
#
|
|
59
63
|
#
|
|
60
64
|
module Language
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -53,7 +53,7 @@ module Google
|
|
|
53
53
|
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
|
54
54
|
# to see the full list of Cloud APIs that we cover.
|
|
55
55
|
#
|
|
56
|
-
# [Product Documentation]: https://cloud.google.com/language
|
|
56
|
+
# [Product Documentation]: https://cloud.google.com/natural-language
|
|
57
57
|
#
|
|
58
58
|
#
|
|
59
59
|
module Language
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1000,4 +1000,4 @@ module Google
|
|
|
1000
1000
|
end
|
|
1001
1001
|
end
|
|
1002
1002
|
end
|
|
1003
|
-
end
|
|
1003
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -56,7 +56,7 @@ module Google
|
|
|
56
56
|
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
|
57
57
|
# to see the full list of Cloud APIs that we cover.
|
|
58
58
|
#
|
|
59
|
-
# [Product Documentation]: https://cloud.google.com/language
|
|
59
|
+
# [Product Documentation]: https://cloud.google.com/natural-language
|
|
60
60
|
#
|
|
61
61
|
#
|
|
62
62
|
module Language
|
|
@@ -64,4 +64,4 @@ module Google
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
end
|
|
67
|
-
end
|
|
67
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -53,7 +53,7 @@ module Google
|
|
|
53
53
|
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
|
54
54
|
# to see the full list of Cloud APIs that we cover.
|
|
55
55
|
#
|
|
56
|
-
# [Product Documentation]: https://cloud.google.com/language
|
|
56
|
+
# [Product Documentation]: https://cloud.google.com/natural-language
|
|
57
57
|
#
|
|
58
58
|
#
|
|
59
59
|
module Language
|
data/lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -56,7 +56,7 @@ module Google
|
|
|
56
56
|
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
|
57
57
|
# to see the full list of Cloud APIs that we cover.
|
|
58
58
|
#
|
|
59
|
-
# [Product Documentation]: https://cloud.google.com/language
|
|
59
|
+
# [Product Documentation]: https://cloud.google.com/natural-language
|
|
60
60
|
#
|
|
61
61
|
#
|
|
62
62
|
module Language
|
|
@@ -64,4 +64,4 @@ module Google
|
|
|
64
64
|
end
|
|
65
65
|
end
|
|
66
66
|
end
|
|
67
|
-
end
|
|
67
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# Copyright 2017
|
|
1
|
+
# Copyright 2017 Google LLC
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
6
|
#
|
|
7
|
-
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
8
|
#
|
|
9
9
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
10
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
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: 0.
|
|
4
|
+
version: 0.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google Inc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|
|
@@ -16,42 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0
|
|
19
|
+
version: '1.0'
|
|
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: 0
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: googleapis-common-protos
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.3.1
|
|
34
|
-
type: :runtime
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.3.1
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: googleauth
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - "~>"
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.6.1
|
|
48
|
-
type: :runtime
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - "~>"
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.6.1
|
|
26
|
+
version: '1.0'
|
|
55
27
|
- !ruby/object:Gem::Dependency
|
|
56
28
|
name: minitest
|
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -124,8 +96,8 @@ homepage: https://github.com/googleapis/googleapis
|
|
|
124
96
|
licenses:
|
|
125
97
|
- Apache-2.0
|
|
126
98
|
metadata: {}
|
|
127
|
-
post_install_message: '
|
|
128
|
-
|
|
99
|
+
post_install_message: 'The 0.28.0 release introduced breaking changes relative to
|
|
100
|
+
the previous release, 0.27.1. For more details and instructions to migrate your
|
|
129
101
|
code, please visit the migration guide: https://cloud.google.com/natural-language/docs/ruby-client-migration.'
|
|
130
102
|
rdoc_options: []
|
|
131
103
|
require_paths:
|
|
@@ -142,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
142
114
|
version: '0'
|
|
143
115
|
requirements: []
|
|
144
116
|
rubyforge_project:
|
|
145
|
-
rubygems_version: 2.7.
|
|
117
|
+
rubygems_version: 2.7.3
|
|
146
118
|
signing_key:
|
|
147
119
|
specification_version: 4
|
|
148
120
|
summary: API Client library for Google Cloud Natural Language API
|