google-cloud-translate-v2 0.5.1 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/cloud/translate/v2/service.rb +1 -1
- data/lib/google/cloud/translate/v2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21d2327f3654fced1772d146226907388e42fb84a3a8d8b199ea77daa52d565a
|
4
|
+
data.tar.gz: 7cde4797c04327d070b1cdb4057d4612f4a4b1c80e32edc3b3a14a845042f464
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a59bab57cc870d5a8618926243867bf07f8a4459109b9153a9f59bdba8b1a43b053a97ff35c880d51dc3587e9a84d0bfa3a82c2f69a9e23c1c2485bb854cb30d
|
7
|
+
data.tar.gz: dcaa1b6196c688d2ad9b2c8e1adf931ec6ca9ca817f7d851fda074867d3325497741403745fad2b16d893c44967a980b6d04728ab86e89e63c096214db85b2e2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.0.1 (2024-12-12)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* Ensure access token is fetched with recent googleauth versions in the non-api-key case ([#28096](https://github.com/googleapis/google-cloud-ruby/issues/28096))
|
8
|
+
|
9
|
+
### 1.0.0 (2024-07-08)
|
10
|
+
|
11
|
+
#### Features
|
12
|
+
|
13
|
+
* Bump version to 1.0.0
|
14
|
+
|
3
15
|
### 0.5.1 (2024-05-23)
|
4
16
|
|
5
17
|
#### Bug Fixes
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
client = credentials.client
|
141
141
|
return if client.nil?
|
142
142
|
|
143
|
-
client.fetch_access_token! if client.expires_within?
|
143
|
+
client.fetch_access_token! if client.access_token.nil? || client.expires_within?(30)
|
144
144
|
client.generate_authenticated_request request: request
|
145
145
|
request
|
146
146
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-translate-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.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: 2024-
|
11
|
+
date: 2024-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.5.
|
148
|
+
rubygems_version: 3.5.23
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: API Client library for Cloud Translation V2 API
|