ruby

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ParseGemfileLock

func ParseGemfileLock(pathToLockfile string) ([]lockfile.PackageDetails, error)

Types

type GemfileLockExtractor

type GemfileLockExtractor struct {
	lockfile.WithMatcher
}

func (GemfileLockExtractor) Extract

func (GemfileLockExtractor) IsOfficiallySupported

func (e GemfileLockExtractor) IsOfficiallySupported() bool

func (GemfileLockExtractor) PackageManager

func (e GemfileLockExtractor) PackageManager() models.PackageManager

func (GemfileLockExtractor) ShouldExtract

func (e GemfileLockExtractor) ShouldExtract(path string) bool

type GemfileMatcher

type GemfileMatcher struct{}

func (GemfileMatcher) GetSourceFile

func (matcher GemfileMatcher) GetSourceFile(sourceFile lockfile.DepFile) (lockfile.DepFile, error)

func (GemfileMatcher) Match

func (matcher GemfileMatcher) Match(sourceFile lockfile.DepFile, packages []lockfile.PackageDetails, context lockfile.ScanContext) error

type GemspecFileMatcher

type GemspecFileMatcher struct{}

func (GemspecFileMatcher) GetSourceFile

func (matcher GemspecFileMatcher) GetSourceFile(sourceFile lockfile.DepFile) (lockfile.DepFile, error)

func (GemspecFileMatcher) Match

func (matcher GemspecFileMatcher) Match(sourceFile lockfile.DepFile, packages []lockfile.PackageDetails, context lockfile.ScanContext) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL