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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc31e53445a70a96cb117d1a3801ba5d4f0b9b51
4
- data.tar.gz: 672648c5f0857fe362dd7f0f57c2d049d4836845
3
+ metadata.gz: 908774f07efbf7d7c4a358901ac4ec7e6c025ed6
4
+ data.tar.gz: 03e290b15e456251faa0cd92d74239ce99b75c04
5
5
  SHA512:
6
- metadata.gz: 64b2bbd48c67129261408d4dbde98e9feb9890d0e00904e9fb43f28f89d055221929ec561db2619a15f46aaa419f749a81bf8878cd418acd8f76cec82af50f86
7
- data.tar.gz: cdc947b4a5e5635b55502ef10ca6d017531c704959b74b788ca01e6799af52d940f965808a0faba7ffe8e7a7a1926dec6ab76f5f2a3c861103c155a70a677350
6
+ metadata.gz: 466a7fa37d075ea2ad7895e54ab5c4f67ea9a6a69e67f7eb76114bbf6ea08c15ed356d82671b44e6361b89fa3fd640f6296b68f4983678f4dd8847eb08a5fc0d
7
+ data.tar.gz: 09366b1cbbdf15e261840595fab794ed6d4294117ce301b5921906b208fce32412db81b53085d8a35a4fd542b2b154c5f0befea6e74240914877d2485c17b3f5
@@ -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."
@@ -1,3 +1,3 @@
1
1
  module S3SizeCalc
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3sizecalc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - y13i