s3sizecalc 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/s3sizecalc/cli.rb +1 -1
- data/lib/s3sizecalc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 908774f07efbf7d7c4a358901ac4ec7e6c025ed6
|
4
|
+
data.tar.gz: 03e290b15e456251faa0cd92d74239ce99b75c04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 466a7fa37d075ea2ad7895e54ab5c4f67ea9a6a69e67f7eb76114bbf6ea08c15ed356d82671b44e6361b89fa3fd640f6296b68f4983678f4dd8847eb08a5fc0d
|
7
|
+
data.tar.gz: 09366b1cbbdf15e261840595fab794ed6d4294117ce301b5921906b208fce32412db81b53085d8a35a4fd542b2b154c5f0befea6e74240914877d2485c17b3f5
|
data/lib/s3sizecalc/cli.rb
CHANGED
@@ -12,7 +12,7 @@ module S3SizeCalc
|
|
12
12
|
desc :bucket, "Puts bucket total used size."
|
13
13
|
method_option :bucket, required: true, aliases: [:b], desc: "S3 bucket name."
|
14
14
|
def bucket
|
15
|
-
puts "Bucket (#{options.bucket}) total: #{format_size(calculator.bucket_total)}"
|
15
|
+
puts "Bucket (#{options.bucket}) total: #{format_size(calculator.bucket_total(options.bucket))}"
|
16
16
|
end
|
17
17
|
|
18
18
|
desc :region, "Puts region total used size."
|
data/lib/s3sizecalc/version.rb
CHANGED