Sha256: 9c05d3c40b8f7ac64e8b99bf6149d63ca24a6cfc30af9d2d4c4f57f3038229d1

Contents?: true

Size: 408 Bytes

Versions: 22

Compression:

Stored size: 408 Bytes

Contents

module LicenseFinder
  class ManualPackage < Package
    def ==(other)
      eql? other
    end

    def eql?(other)
      name == other.name # && version.to_s == other.version.to_s # ignore version
    end

    def hash
      name.hash # ^ version.to_s.hash # ignore version
    end

    private

    def licenses_from_spec
      Set.new
    end

    def licenses_from_files
      Set.new
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
license_finder-3.0.4 lib/license_finder/packages/manual_package.rb
license_finder-3.0.2 lib/license_finder/packages/manual_package.rb
license_finder-3.0.1 lib/license_finder/packages/manual_package.rb
license_finder-3.0.0 lib/license_finder/packages/manual_package.rb
license_finder-2.1.2 lib/license_finder/packages/manual_package.rb
license_finder-2.1.1 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc9 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc8 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc7 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc6 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc5 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc4 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc3 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc2 lib/license_finder/packages/manual_package.rb
license_finder-2.1.0.rc1 lib/license_finder/packages/manual_package.rb
license_finder-2.0.4 lib/license_finder/packages/manual_package.rb
license_finder-2.0.3 lib/license_finder/packages/manual_package.rb
license_finder-2.0.2 lib/license_finder/packages/manual_package.rb
license_finder-2.0.1 lib/license_finder/packages/manual_package.rb