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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01badb848ccf6fb20b7dec54d477bef463c161d72f03f2065b95f59515bea4a6
4
- data.tar.gz: ce90d651617ae03200e0891df2636b94c80053301f11ec875a2049bf2100a275
3
+ metadata.gz: 21d2327f3654fced1772d146226907388e42fb84a3a8d8b199ea77daa52d565a
4
+ data.tar.gz: 7cde4797c04327d070b1cdb4057d4612f4a4b1c80e32edc3b3a14a845042f464
5
5
  SHA512:
6
- metadata.gz: b5393babc8c8d43635cbad2e64dbb26173f44e096e5003f3e3697872ee32cfd899c47eeb0f5d439dcb8bcd3ffebedf7b094d9b7d4b7f4b7ab7608d6c0d77eff2
7
- data.tar.gz: 777d2c972966c07988d2f004ab6c94fa083549365df69c98c10b02a13fdfdbb84f719b6f193f5e0b895c9961f69333ea541d10ad8f185b76801cbe7871f46805
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? 30
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
@@ -17,7 +17,7 @@ module Google
17
17
  module Cloud
18
18
  module Translate
19
19
  module V2
20
- VERSION = "0.5.1".freeze
20
+ VERSION = "1.0.1".freeze
21
21
  end
22
22
  end
23
23
  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.5.1
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-05-23 00:00:00.000000000 Z
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.6
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