Sha256: b0e695e7f076bbe7ea1727e715e9b12b99adcac391f4fbe912d4c027ee0a4922
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 Bytes
Contents
require 'csv' module LicenseFinder class DetailedTextReport < DependencyReport def to_s CSV.generate(col_sep: ",") do |csv| sorted_dependencies.each do |s| csv << [ s.name, s.version, s.licenses.map(&:name).join(','), s.summary ? s.summary.strip : "", s.description ? s.description.strip : "" ] end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-1.2 | lib/license_finder/reports/detailed_text_report.rb |
license_finder-1.2-java | lib/license_finder/reports/detailed_text_report.rb |