google-cloud-translate 3.0.0 → 3.0.1
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: a187318218b59f519b44a028127aeb85b4dada5689897385b4f3c0d8b18cc371
|
4
|
+
data.tar.gz: 6ed761f22ef404945755e0ba339cb0b9e27be66fa927bf4ec9ee0a5f1dfc1944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6b503e53d925b74f4a51e5bec1156dee6e57ee47ed13e98333bedce88520a1ddb52468d89e8ea32f935601fdfb2d59891b9fe493c2549643084576e89943ab8
|
7
|
+
data.tar.gz: 92de014c16d214ac0259eb50e896fe6e7d4aa72e19b9fb5bc214fd55fcf7dfb2094ba732a4f5ca8557dd8ccda5d73cf1d3d6851eacbcf28bc21b75ae9a64f9c2
|
@@ -39,8 +39,6 @@ require "google/cloud/config"
|
|
39
39
|
config.add_field! :metadata, nil, match: ::Hash
|
40
40
|
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
41
41
|
config.add_field! :quota_project, nil, match: ::String
|
42
|
-
config.add_field! :key, nil, match: ::String
|
43
|
-
config.add_field! :retries, nil, match: ::Integer
|
44
42
|
end
|
45
43
|
|
46
44
|
module Google
|
@@ -95,6 +95,13 @@ module Google
|
|
95
95
|
timeout: timeout,
|
96
96
|
endpoint: endpoint
|
97
97
|
end
|
98
|
+
|
99
|
+
# Additional config keys used by V2
|
100
|
+
configure do |config|
|
101
|
+
config.add_field! :project_id, nil, match: ::String
|
102
|
+
config.add_field! :key, nil, match: ::String
|
103
|
+
config.add_field! :retries, nil, match: ::Integer
|
104
|
+
end
|
98
105
|
end
|
99
106
|
end
|
100
107
|
end
|
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: 3.0.
|
4
|
+
version: 3.0.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: 2020-06-
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|