lib/s3_secure/encryption/show.rb in s3-secure-0.5.0 vs lib/s3_secure/encryption/show.rb in s3-secure-0.5.1
- old
+ new
@@ -1,12 +1,12 @@
class S3Secure::Encryption
class Show < Base
def run
if rules
- puts "Bucket #{@bucket} is configured with these encryption rules:"
- puts rules.map(&:to_h)
+ say "Bucket #{@bucket} is configured with these encryption rules:"
+ say rules.map(&:to_h)
else
- puts "Bucket #{@bucket} is not configured with encryption at the bucket level"
+ say "Bucket #{@bucket} is not configured with encryption at the bucket level"
end
end
def enabled?
!!(rules && !rules.empty?)