google-apis-core 0.11.1 → 0.11.3

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: 6804723717d153998f2c650ebb87d20fe252f392fbf89b0d203eb3b47f9f3d33
4
- data.tar.gz: cbacd271161cd800b834494e06a00f5d169e59f791edd54355c894ea5231ee9f
3
+ metadata.gz: f085e1d76ff530d5ad81f7971fc851fe8e2f65bc5c4f618ae4cd4d4a83ebb791
4
+ data.tar.gz: a6257b235ec0141d76a40ef7e04f9c77da805ca67a7445c34ce54aaf1aac16b0
5
5
  SHA512:
6
- metadata.gz: e66de0597c6c9b248594760f4678c907ec46fa211dc116a85ab4b498d8e6e5bb6ad4771712cfbd2b548b7ee50ace25325db62ab3c15354c7283081dcdd3f9825
7
- data.tar.gz: 73ac45bed40cebe9d0271e92162f291c4c611e18a4fcd2291c0b6e8cb52d6167271357c9755498d2109bd082a028c812b7bf92b18a962e4ec549a5b2e550540d
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.respond_to?(:write)
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
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "0.11.1".freeze
19
+ VERSION = "0.11.3".freeze
20
20
  end
21
21
  end
22
22
  end
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.1
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: 2023-07-20 00:00:00.000000000 Z
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.1
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.4.2
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