Sha256: 87b179dbae00bdc5b0f5b8e4f60660386c1f945060eab3ed23571d9a0c27187a
Contents?: true
Size: 370 Bytes
Versions: 46
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true module LicenseFinder class CarthagePackage < Package def initialize(name, version, license_text, options = {}) super(name, version, options) @license = License.find_by_text(license_text.to_s) end def licenses_from_spec [@license].compact end def package_manager 'Carthage' end end end
Version data entries
46 entries across 46 versions & 2 rubygems