Sha256: 3480d7bfb63d52ce6dad0e72aa34d506a4b5eefa8161ed307bee9af8feadb1af
Contents?: true
Size: 633 Bytes
Versions: 5
Compression:
Stored size: 633 Bytes
Contents
module LicenseFinder class GradlePackage < Package attr_reader :name, :version def initialize(gradle_dependency) @gradle_dependency = gradle_dependency @name = @gradle_dependency["name"].split(":")[1] @version = @gradle_dependency["name"].split(":")[2] end def description "" end def summary "" end def homepage "" end def groups [] end def children [] end private def licenses_from_files [] end def license_names_from_spec @gradle_dependency["license"].map { |l| l["name"] } end end end
Version data entries
5 entries across 5 versions & 1 rubygems