lib/heirloom/cli/formatter/show.rb in heirloom-0.10.1 vs lib/heirloom/cli/formatter/show.rb in heirloom-0.11.0.beta.1

- old
+ new

@@ -37,18 +37,23 @@ end def is_internal_attribute?(attribute) return true if is_reserved? attribute return true if is_endpoint? attribute + return true if are_permissions? attribute false end def is_reserved?(attribute) ['bucket_prefix', 'built_at', 'built_by'].include? attribute end def is_endpoint?(attribute) attribute.match('^.*-.*-\d*-s3|http|https-url$') + end + + def are_permissions?(attribute) + attribute.match('^.*permissions') end end end end end