google-apis-core 0.11.2 → 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: 82086ecd9dad2239ce9089b943519c39de9b7574a9f1d089bee6cf6531c10eea
4
- data.tar.gz: defab5fb9d8dc49ee7e0dc228a9d687d173444ad477f41060c0b418212354058
3
+ metadata.gz: f085e1d76ff530d5ad81f7971fc851fe8e2f65bc5c4f618ae4cd4d4a83ebb791
4
+ data.tar.gz: a6257b235ec0141d76a40ef7e04f9c77da805ca67a7445c34ce54aaf1aac16b0
5
5
  SHA512:
6
- metadata.gz: d28bfc73a1293291b6e16ddc520082404030a34d9d78c4eb6e88c81bb038ef13996235ae49f436736e9d2cf82850ed54869141508de0f24f19c96c1a30bd0c4e
7
- data.tar.gz: 035f5285444a0af8631f87e6164d5cc52554534e5c4e94cfaef122236937bd73597b58c0c475d89c795d04d76051051b16279d3f8437aa671eef86fb455d3c8c
6
+ metadata.gz: 8f4e051906ec4aa5ceb984e962d96b7eb07ed23782e7b56bc5ae24423993357b36af896de75d35d54374355e09fa93de3e1aa467f3e907a02a546665b33e6012
7
+ data.tar.gz: 66b09b1c8f9fcaa8751815f9967d4a409c5cef642482cf4b5695ed719e9043ae0d9249f203e2804f4586549fe4d1a9dde6156e3ddfc3b9b4cf65da384c431904
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ### 0.11.2 (2023-10-27)
4
10
 
5
11
  #### Bug Fixes
@@ -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)
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "0.11.2".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.2
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-10-27 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.2
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.19
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