Sha256: 621d0b8a93c5174df1b0688b86f132042bd85c42f435e249b8bae85ea002de95

Contents?: true

Size: 250 Bytes

Versions: 24

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

module LicenseFinder
  class NugetPackage < Package
    def package_manager
      'Nuget'
    end

    def package_url
      "https://www.nuget.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-7.1.0 lib/license_finder/packages/nuget_package.rb
license_finder-7.0.1 lib/license_finder/packages/nuget_package.rb
license_finder-7.0.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.15.0 lib/license_finder/packages/nuget_package.rb
gitlab-license_finder-6.14.2.1 lib/license_finder/packages/nuget_package.rb
license_finder-6.14.2 lib/license_finder/packages/nuget_package.rb
license_finder-6.14.1 lib/license_finder/packages/nuget_package.rb
license_finder-6.13.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.12.2 lib/license_finder/packages/nuget_package.rb
license_finder-6.12.1 lib/license_finder/packages/nuget_package.rb
license_finder-6.12.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.11.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.10.1 lib/license_finder/packages/nuget_package.rb
license_finder-6.10.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.9.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.8.2 lib/license_finder/packages/nuget_package.rb
license_finder-6.8.1 lib/license_finder/packages/nuget_package.rb
license_finder-6.8.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.7.0 lib/license_finder/packages/nuget_package.rb
license_finder-6.6.2 lib/license_finder/packages/nuget_package.rb