voog-kit 0.5.6 → 0.5.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
  SHA1:
3
- metadata.gz: 8a76ddf37807ba606b11ffa19fec7408dffca5d3
4
- data.tar.gz: abe42fbd894a375b19ac3f81b7459def81a8247a
3
+ metadata.gz: 7d3ac378011c2395c50a29f2f77135d0493a3049
4
+ data.tar.gz: 51d54b77e7f52929c12b0cd0b4e5fb3ff224600c
5
5
  SHA512:
6
- metadata.gz: 075c9719982cd3bba5a3955f2140082bf91b654eaa9a108d1cb837b3fe975a97452fca1ca9cf9f1b2dbf2823c3806a16910e62a11930e7d2066f23eea4f8d4e0
7
- data.tar.gz: 97c526abc75c6ea0d0317f70bfcfd6d3a4c39398fbce9dfdb1261668f49bc802dff9d3468fcdda2fffea694d283bdbebed2514a20aa330ecb05988d322755a39
6
+ metadata.gz: 774a25499178ea2333d83fc63ee228c4ae7f6b5c3097732b5b46003278a691307f82ee591fc51afdf5c2d9ca6c35664c3e1cf1b10a95cfcf2b1aeca33749be2d
7
+ data.tar.gz: 080187a82bbe092005ed113d60c5671d8585cf37a97aa26c8df8dcda25017870f55f4de861226e4887919e5f67d7f68cc82c3d3d8912ae7c2d86d26652d813f8
@@ -478,7 +478,7 @@ module Voog::Dtk
478
478
  open(asset.filename, 'wb') { |file| file.write(asset.data) }
479
479
  else
480
480
  url = URI(asset.public_url)
481
- Net::HTTP.start(url.hostname) do |http|
481
+ Net::HTTP.start(url.hostname, url.port, use_ssl: (url.scheme == 'https')) do |http|
482
482
  resp = http.get(url.path)
483
483
  open(asset.filename, 'wb') { |file| file.write(resp.body) }
484
484
  end
@@ -1,5 +1,5 @@
1
1
  module Voog
2
2
  module Dtk
3
- VERSION = '0.5.6'
3
+ VERSION = '0.5.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voog-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikk Pristavka
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-27 00:00:00.000000000 Z
12
+ date: 2018-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler