Sha256: ccd27df698acbdef3fcb31c850d8840d5edd00a48b24d7426ef777215ebdd3a1
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
module LicenseFinder class MergedPackage attr_reader :dependency def initialize(dependency, aggregate_paths) @dependency = dependency @aggregate_paths = aggregate_paths.map { |p| Pathname(p) } end def name dependency.name end def version dependency.version end def licenses dependency.licenses end def install_path dependency.install_path end def authors dependency.authors end def homepage dependency.homepage end def summary dependency.summary end def description dependency.description end def groups dependency.groups end def package_manager dependency.package_manager end def aggregate_paths @aggregate_paths.map { |p| p.expand_path.to_s } end def <=>(other) dependency <=> other.dependency end def eql?(other) dependency.eql?(other.dependency) end def hash dependency.hash end def method_missing(_method_name) nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
license_finder-4.0.1 | lib/license_finder/package_managers/merged_package.rb |