google-cloud-translate 2.1.2 → 2.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d46a3536bbd20420cc8627279984040d9648b02beb22fdb1879909a1707de63
|
4
|
+
data.tar.gz: 651d0935669fb6196f4d823fb63d3ec3b2feaf8bde3f5080bf7d9c3d2035b7b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9326823cec751bccc013659c2bcf5070b52d4fa910d191fb9b6071587c9007d56ee1f2fc8b8681bf9cc757894772fcf3fe01c3ff11db521c7f25bf7dc75e1689
|
7
|
+
data.tar.gz: 30e7d484afb99b39d207ea7e2a2593618bbdbe2d1ce0200835829fd377398a3a59b555c626da2439b984103cb3a9dd1b867c6886e22390bb04dfc1a1890c809e
|
data/CHANGELOG.md
CHANGED
@@ -200,6 +200,9 @@ module Google
|
|
200
200
|
google_api_client.freeze
|
201
201
|
|
202
202
|
headers = { :"x-goog-api-client" => google_api_client }
|
203
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
204
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
205
|
+
end
|
203
206
|
headers.merge!(metadata) unless metadata.nil?
|
204
207
|
client_config_file = Pathname.new(__dir__).join(
|
205
208
|
"translation_service_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-translate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|