calevipoeg-zeus 0.1.5 → 0.1.6

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: 48770f6ed5824ba412873a19fe7aaab01da99ab985b033c52ff019aa2b08473b
4
- data.tar.gz: f09f8ee47247f313ea441dfcd3107c5a21ba6a675d345f4a4c858288b02f0142
3
+ metadata.gz: 2c0ae27eda058424f21a68e8be26b6c120a06942761503263ffb440d8167e133
4
+ data.tar.gz: 2ea1716eba6a008ce9f5de3147c6ab51da07caa9409d5bbaaf44e1141becaa4b
5
5
  SHA512:
6
- metadata.gz: 6936b0661f6e8d5a062f6101ec0ed1191b655760914e61dc28952780bcaedcc9af3819645f6e436123779384216d5e1df37c8de215aac77f912e9183bc8ac71d
7
- data.tar.gz: 7014adc858cb7553098733ebe610deb73b8e3fde92d57aa472273bc80b8feb057393b37141567752c6821a3199c2324a0522f65b044dd9b99db395e0fc109335
6
+ metadata.gz: c4f7e3b75fb5e00d635e232ce572399ef6de4acd4744cdc43c10c00ca82891398523dc8a09fe1a0627f82757f20ba28da01211ec98b4ab4a0e596bac028a2ee6
7
+ data.tar.gz: ac34f70f30e4ef8211e59e46981c10c62086aa1d2b1e55530aa65ef7b67fb301e45f3f1be7a2937ddb287c8e1ad2afc83c83e9f1120956c454657b3c047acb3d
data/lib/zeus/mina/s3.rb CHANGED
@@ -11,9 +11,9 @@ namespace :s3 do
11
11
 
12
12
  path = Pathname.new(file).relative_path_from(dir)
13
13
  key = Pathname.new(argv.destination).join(path)
14
-
15
14
  io = Zeus::S3Io.new(File.open(file))
16
- io.upload(fetch(:s3_client), bucket: fetch(:s3_bucket), key: key) do |progress|
15
+
16
+ io.upload(fetch(:s3_client), bucket: fetch(:s3_bucket), key: String(key)) do |progress|
17
17
  puts "[#{progress}%] Uploading #{file} -> #{key}"
18
18
  end
19
19
  end
data/lib/zeus/version.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zeus
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
6
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calevipoeg-zeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aliaksandr Shylau