cnvrg 1.3.2 → 1.3.5

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: c562ccc1d7fd69f3f2b0d28db538d27d57e4a55df5f1fef3eee6cab511bd30ca
4
- data.tar.gz: 624e78308a885897c9fc31402aff21198a3f2db6551b676f14d82d9126624255
3
+ metadata.gz: 91106489b07db0237213ca330b97a6517d06b7d531d608763e0af68775fa2f3c
4
+ data.tar.gz: 410da9001115e0b746829d08e09a7cd1f84aa620195375e20bac69de59486e49
5
5
  SHA512:
6
- metadata.gz: 928e1bb402e0dac773bb9d8150c65815b2af8878c4969ca555eeb79ac7ad51a8f9a7f1d8c69cd58651788100c0cf6b2cd9a2e2b427d7efd667d0d4abf6f41629
7
- data.tar.gz: 123068cd21d3900cdf3e9ae982feb2e9e52ee9303236877f41a6653cb8e4e6294f7afa8cb8c7c3a1e665fa0b331d8ee1e337b3e6a1b9e34a4f8293f25381d027
6
+ metadata.gz: 30b26f2755bba90792201d07d470929bbb0c9f13ddaf7a4081aa75b26fe66d984054a52d72a4fc4e658c74f2681f248ceb594dfd4e182e99d81b6509e7960c17
7
+ data.tar.gz: 40efd9c6dd317362e373500339991e7024e2c73b9b1932cf113fe491dcd0ea17f7f7580c8d1a20b9309bad9760f1437e9533250a2e795b0fc30cfd26bf45c96f
@@ -18,7 +18,11 @@ module Cnvrg
18
18
  :http_open_timeout => 60, :retry_limit => 20
19
19
  }
20
20
  if storage == 'minio'
21
- options[:endpoint] = @endpoint
21
+ options = options.merge({
22
+ :force_path_style => true,
23
+ :ssl_verify_peer => false,
24
+ :endpoint => @endpoint,
25
+ })
22
26
  end
23
27
 
24
28
  @client = Aws::S3::Client.new(options)
@@ -34,7 +38,7 @@ module Cnvrg
34
38
  storage_path = Cnvrg::Helpers.decrypt(@key, @iv, storage_path)
35
39
  File.open(local_path, 'w+') do |file|
36
40
  resp = @client.get_object({bucket: @bucket_name,
37
- key: storage_path}, target: file)
41
+ key: storage_path}, target: file)
38
42
  end
39
43
  resp
40
44
  end
data/lib/cnvrg/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Cnvrg
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.5'
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.3.2
4
+ version: 1.3.5
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-05 00:00:00.000000000 Z
13
+ date: 2019-05-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler