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 +4 -4
- data/lib/zeus/mina/s3.rb +2 -2
- data/lib/zeus/version.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c0ae27eda058424f21a68e8be26b6c120a06942761503263ffb440d8167e133
|
4
|
+
data.tar.gz: 2ea1716eba6a008ce9f5de3147c6ab51da07caa9409d5bbaaf44e1141becaa4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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