Sha256: 5ff4d4c72ea739ed8755feb27f708e4978e5b7f0972b92a00096df7f05ba0cbf
Contents?: true
Size: 620 Bytes
Versions: 5
Compression:
Stored size: 620 Bytes
Contents
module LicenseFinder class MavenPackage < Package def initialize(mvn_dependency) @mvn_dependency = mvn_dependency end def name mvn_dependency["artifactId"] end def version mvn_dependency["version"] end def description "" end def summary "" end def homepage "" end def groups [] end def children [] end private attr_reader :mvn_dependency def licenses_from_files [] end def license_names_from_spec mvn_dependency["licenses"].map { |l| l["name"] } end end end
Version data entries
5 entries across 5 versions & 1 rubygems