Sha256: 828d8f1932415e095bff332f6c7a0f4314b7833e270bfca6d58b92ea697b876d
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
module LicenseFinder class MergedReport < CsvReport AVAILABLE_COLUMNS = AVAILABLE_COLUMNS + ['aggregate_paths'] def initialize(dependencies, options = {}) options[:columns] ||= %w[name version licenses aggregate_paths] super(dependencies, options) end def format_aggregate_paths(merged_dep) merged_dep.aggregate_paths.join(self.class::COMMA_SEP) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-4.0.2 | lib/license_finder/reports/merged_report.rb |
license_finder-4.0.1 | lib/license_finder/reports/merged_report.rb |