Sha256: d086fec1000d9ad910839de4b5ebe492f443444e2dcc40cdcdfeb4dd5163b9d5

Contents?: true

Size: 256 Bytes

Versions: 24

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

module LicenseFinder
  class ComposerPackage < Package
    def package_manager
      'Composer'
    end

    def package_url
      "https://packagist.org/packages/#{CGI.escape(name)}##{CGI.escape(version)}"
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
license_finder-6.6.1 lib/license_finder/packages/composer_package.rb
license_finder-6.6.0 lib/license_finder/packages/composer_package.rb
license_finder-6.5.0 lib/license_finder/packages/composer_package.rb
license_finder-6.4.0 lib/license_finder/packages/composer_package.rb