cnvrg 1.4.6 → 1.4.7

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: 27fbbad842c635450dada35a0f6a5fafa079ad7500c75adcb41a9529ac091d6a
4
- data.tar.gz: be2ea5b327cb02690eb8787bf822fc79b5ca640e16f16cc141efe5f940d0b039
3
+ metadata.gz: f2d343c01a3c461247ae72a9cb5da418110caef594a29cd9267195c31afb6341
4
+ data.tar.gz: 4280d1bdf19859b04264e92c627cfb5aa3e2b70679a3bebf60699bbc1662e6d1
5
5
  SHA512:
6
- metadata.gz: 58f024ebd33e058acb4190584dcb8b6d0bad68476a30e3acb794dff1fef9eb59aa587653e22ced3f2cebd3590bb8ec2e6335d4bd53cd4489954d692056dfea0b
7
- data.tar.gz: d68e5bbcb8fa82c752865624963d769659dd429952f9995ef7683af719706cae756e20dcd67d907d3a355053ce4cfc01f5b4858b9214f35512b600f6fe1eacc0
6
+ metadata.gz: ca39348a4a3866743029fb00efdd7929ef00339f589eacb1aebad43ed502370ccd6167451aaac3a709c70ef700500c5eed4f62192bb63a9414dd679a85e34daa
7
+ data.tar.gz: 520ea4ddb2cf84422a5159e439bb5d1fce542e998847b8503ea7c045be6bad349334b73f930baf7c76067af71dd06f788dd090437de6ba3120ef541b0476d12c
@@ -37,6 +37,7 @@ module Cnvrg
37
37
  def download(storage_path, local_path)
38
38
  prepare_download(local_path)
39
39
  storage_path = Cnvrg::Helpers.decrypt(@key, @iv, storage_path)
40
+ resp = nil
40
41
  File.open(local_path, 'w+') do |file|
41
42
  resp = @client.get_object({bucket: @bucket_name,
42
43
  key: storage_path}, target: file)
@@ -1,4 +1,4 @@
1
1
  module Cnvrg
2
- VERSION = '1.4.6'
2
+ VERSION = '1.4.7'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnvrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yochay Ettun
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-05-13 00:00:00.000000000 Z
13
+ date: 2019-05-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler