Commit 72c4c34
Changed files (2)
lib
saml
kit
cli
core_ext
lib/saml/kit/cli/report.rb
@@ -68,6 +68,7 @@ module Saml
def build_table_for(document)
table = []
document.build_header(table)
+ #document.build_body(table)
build_body_for(document, table)
table
end
lib/saml/kit/core_ext/document.rb
@@ -12,10 +12,6 @@ module Saml
table.push(['Trusted?', trusted?])
signature.build_header(table) if signature.present?
end
-
- def truncate(text, max: 50)
- text.length >= max ? "#{text[0..max]}..." : text
- end
end
class Metadata
@@ -53,6 +49,12 @@ module Saml
])
table.push(['', certificate.x509.to_text])
end
+
+ private
+
+ def truncate(text, max: 50)
+ text.length >= max ? "#{text[0..max]}..." : text
+ end
end
end
end