files.com 1.0.282 → 1.0.283

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6cd0be1af416ad775c6479753c16bce22ecd24b4a6e5f89b0ec0868f1e2a282
4
- data.tar.gz: 073edaa553a3e9a9a9f1ca4cb235073873913712b7a9700a909065b8734a3fe3
3
+ metadata.gz: 86744eb5977f68a3ef24927109fb50ba2bcb837fb361db79239ae121d564e689
4
+ data.tar.gz: 7f97c7796dcc67665aad86f6ec0b358aaf2cdbbea23db59798233a42fbbb15f6
5
5
  SHA512:
6
- metadata.gz: 8ffb1c6f47d8ff7aad81d41c98f446306e15fac7ae48f77baed664ded604fc9869e1ccd7831a2d6b53b12851436feed7b6be453348a44f3469cbaa9c1b574454
7
- data.tar.gz: 107989bb5c5d76a52d79b9a6041c1eee867e9008f4fa341c8541cd8b88dcfed1aee3b3697fcfdf52a8d22dc6a5c4e72c27c0505418f587e1f86bb89cedc48070
6
+ metadata.gz: 584b4cc29fdcd76171d4d18fc9c65e60344dd7c17a185d7fc8f30f3a9cded7352d4089e00b3f6e457841133cfdb3b32c1d3316e84caef88ef6c4952abedffad5
7
+ data.tar.gz: 822a8c82579f7c29a2dd2014c8a617bbba88751274dcd6e053db78efbc5eb32e6efdbd2726bf54142b9752475298885f6eb00be81970e478a81b04698cf912a4
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.282
1
+ 1.0.283
@@ -160,7 +160,7 @@ module Files
160
160
  buf = io.read(upload.partsize) || ""
161
161
  bytes_written += buf.length
162
162
  method = upload.http_method.downcase.to_sym
163
- response = client(options).remote_request(method, upload.upload_uri, { "Content-Length": buf.length.to_s }, buf)
163
+ response = client(options).remote_request(method, upload.upload_uri, { "Content-Length": buf.length.to_s, "Content-Type": "application/octet-stream" }, buf)
164
164
  etags << { etag: response.headers["ETag"], part: upload.part_number }
165
165
  return upload, etags, bytes_written if io.eof?
166
166
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.282
4
+ version: 1.0.283
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable