google-apis-core 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/apis/core/storage_upload.rb +2 -1
- data/lib/google/apis/core/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: 73217f42c55dafb8c4c82e4566474053393c4e83526e70bab6df345e5c7f12bf
|
4
|
+
data.tar.gz: 141a4ab5f035ba25b5659678d335ca5993cdc36f25aa6991cb89a232c50209d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6067ed473ae306fa5682dd04fe57427259866527d66ccf72f687134f7367cb3936c4237287257fff14baf4393788110ec59c9cf5b5a6e9ebce4638ccb825ee2
|
7
|
+
data.tar.gz: ee192eae9e1e172dab3fe8680eed856cbfea34f998384c6fe0c6197d509c76ae7c0d0063004a0cdf74b9e060732c7a6b645e46fdda4df76f15644cdc872330d0
|
data/CHANGELOG.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
require 'google/apis/core/http_command'
|
16
16
|
require 'google/apis/core/api_command'
|
17
17
|
require 'google/apis/errors'
|
18
|
+
require 'stringio'
|
18
19
|
require 'tempfile'
|
19
20
|
require 'mini_mime'
|
20
21
|
|
@@ -141,7 +142,7 @@ module Google
|
|
141
142
|
request_header = header.dup
|
142
143
|
request_header[CONTENT_RANGE_HEADER] = get_content_range_header current_chunk_size
|
143
144
|
request_header[CONTENT_LENGTH_HEADER] = current_chunk_size
|
144
|
-
chunk_body = upload_io.read(current_chunk_size)
|
145
|
+
chunk_body = StringIO.new(upload_io.read(current_chunk_size))
|
145
146
|
|
146
147
|
response = client.put(@upload_url, body: chunk_body, header: request_header, follow_redirect: true)
|
147
148
|
|
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.9.
|
4
|
+
version: 0.9.5
|
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-01-
|
11
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: representable
|
@@ -186,7 +186,7 @@ licenses:
|
|
186
186
|
metadata:
|
187
187
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
188
188
|
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.9.
|
189
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.9.5
|
190
190
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
|
191
191
|
post_install_message:
|
192
192
|
rdoc_options: []
|