Sha256: b563374ce5d0529e89ec3d588d21439381ecd38426803f978b05f3cc5b8bd459
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
module LicenseFinder class CocoaPodsPackage < Package attr_reader :name, :version attr_reader :summary, :description, :homepage def initialize(name, version, license_text, options={}) super options @name = name @version = version @license_text = license_text end def groups; []; end def children; []; end def licenses [License.find_by_text(@license_text.to_s) || default_license].to_set end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-1.2 | lib/license_finder/package_managers/cocoa_pods_package.rb |
license_finder-1.2-java | lib/license_finder/package_managers/cocoa_pods_package.rb |