google-apis-core 0.11.1 → 0.11.3
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/CHANGELOG.md +12 -0
- data/lib/google/apis/core/base_service.rb +5 -0
- data/lib/google/apis/core/download.rb +4 -1
- data/lib/google/apis/core/http_command.rb +5 -0
- data/lib/google/apis/core/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f085e1d76ff530d5ad81f7971fc851fe8e2f65bc5c4f618ae4cd4d4a83ebb791
|
4
|
+
data.tar.gz: a6257b235ec0141d76a40ef7e04f9c77da805ca67a7445c34ce54aaf1aac16b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4e051906ec4aa5ceb984e962d96b7eb07ed23782e7b56bc5ae24423993357b36af896de75d35d54374355e09fa93de3e1aa467f3e907a02a546665b33e6012
|
7
|
+
data.tar.gz: 66b09b1c8f9fcaa8751815f9967d4a409c5cef642482cf4b5695ed719e9043ae0d9249f203e2804f4586549fe4d1a9dde6156e3ddfc3b9b4cf65da384c431904
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.11.3 (2024-01-17)
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* download with destination as pathname ([#17120](https://github.com/googleapis/google-api-ruby-client/issues/17120))
|
8
|
+
|
9
|
+
### 0.11.2 (2023-10-27)
|
10
|
+
|
11
|
+
#### Bug Fixes
|
12
|
+
|
13
|
+
* update ssl_config to point to system default root CA path ([#16446](https://github.com/googleapis/google-api-ruby-client/issues/16446))
|
14
|
+
|
3
15
|
### 0.11.1 (2023-07-20)
|
4
16
|
|
5
17
|
#### Documentation
|
@@ -480,6 +480,11 @@ module Google
|
|
480
480
|
client.default_header = { 'User-Agent' => user_agent }
|
481
481
|
|
482
482
|
client.debug_dev = logger if client_options.log_http_requests
|
483
|
+
|
484
|
+
# Make HttpClient use system default root CA path
|
485
|
+
# https://github.com/nahi/httpclient/issues/445
|
486
|
+
client.ssl_config.clear_cert_store
|
487
|
+
client.ssl_config.cert_store.set_default_paths
|
483
488
|
client
|
484
489
|
end
|
485
490
|
|
@@ -35,7 +35,10 @@ module Google
|
|
35
35
|
@state = :start
|
36
36
|
@download_url = nil
|
37
37
|
@offset = 0
|
38
|
-
if download_dest.
|
38
|
+
if @download_dest.is_a?(Pathname)
|
39
|
+
@download_io = File.open(download_dest, 'wb')
|
40
|
+
@close_io_on_finish = true
|
41
|
+
elsif download_dest.respond_to?(:write)
|
39
42
|
@download_io = download_dest
|
40
43
|
@close_io_on_finish = false
|
41
44
|
elsif download_dest.is_a?(String)
|
@@ -87,6 +87,11 @@ module Google
|
|
87
87
|
self.query = {}
|
88
88
|
self.params = {}
|
89
89
|
@opencensus_span = nil
|
90
|
+
if OPENCENSUS_AVAILABLE
|
91
|
+
logger.warn 'OpenCensus support is now deprecated. ' +
|
92
|
+
'Please refer https://github.com/googleapis/google-api-ruby-client#tracing for migrating to use OpenTelemetry.'
|
93
|
+
|
94
|
+
end
|
90
95
|
end
|
91
96
|
|
92
97
|
# Execute the command, retrying as necessary
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: representable
|
@@ -132,20 +132,6 @@ dependencies:
|
|
132
132
|
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: webrick
|
137
|
-
requirement: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
- - ">="
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
|
-
type: :runtime
|
143
|
-
prerelease: false
|
144
|
-
version_requirements: !ruby/object:Gem::Requirement
|
145
|
-
requirements:
|
146
|
-
- - ">="
|
147
|
-
- !ruby/object:Gem::Version
|
148
|
-
version: '0'
|
149
135
|
description:
|
150
136
|
email: googleapis-packages@google.com
|
151
137
|
executables: []
|
@@ -186,7 +172,7 @@ licenses:
|
|
186
172
|
metadata:
|
187
173
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
188
174
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
|
189
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.11.
|
175
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.11.3
|
190
176
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
|
191
177
|
post_install_message:
|
192
178
|
rdoc_options: []
|
@@ -203,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
189
|
- !ruby/object:Gem::Version
|
204
190
|
version: '0'
|
205
191
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.5.3
|
207
193
|
signing_key:
|
208
194
|
specification_version: 4
|
209
195
|
summary: Common utility and base classes for legacy Google REST clients
|