lib/s3_secure/lifecycle/remove.rb in s3-secure-0.5.0 vs lib/s3_secure/lifecycle/remove.rb in s3-secure-0.5.1
- old
+ new
@@ -3,11 +3,11 @@
RULE_ID = Base::RULE_ID
def run
show = Show.new(@options)
unless show.has?(RULE_ID)
- puts "Bucket #{@bucket} already does not have the #{RULE_ID} lifecycle rule."
+ say "Bucket #{@bucket} already does not have the #{RULE_ID} lifecycle rule."
return
end
builder = Builder.new(show.get_lifecycle_rules(@bucket))
rules = builder.rules_with_removal
@@ -20,9 +20,9 @@
# content_md5: "ContentMD5",
lifecycle_configuration: {rules: rules}
)
end
- puts "Removed the #{RULE_ID} lifecycle rule on bucket #{@bucket}"
+ say "Removed the #{RULE_ID} lifecycle rule on bucket #{@bucket}"
end
end
end