ruby

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachGemfileLockPositions

func AttachGemfileLockPositions(g *sdk.Graph, lockPath, projectDir string)

AttachGemfileLockPositions wires Gemfile.lock line numbers into the resolved graph.

Types

type Detector

type Detector struct {
	Logger     *zap.Logger
	WorkingDir string
	Fallback   sdk.Detector
}

Detector resolves Bundler dependency graphs from Gemfile.lock.

func (Detector) Applicable

func (d Detector) Applicable(ctx context.Context, req sdk.DetectionRequest) (bool, error)

Applicable reports whether a Bundler lockfile is present.

func (Detector) Descriptor

func (d Detector) Descriptor() sdk.DetectorDescriptor

Descriptor describes the Bundler detector.

func (Detector) FallbackDetector

func (d Detector) FallbackDetector() sdk.Detector

FallbackDetector returns the configured fallback detector.

func (Detector) Install

func (d Detector) Install(_ context.Context, req sdk.DetectionRequest) error

Install prepares Bundler dependencies before graph resolution.

func (Detector) PackageManagerSupport

func (d Detector) PackageManagerSupport() []sdk.PackageManagerSupport

PackageManagerSupport returns Bundler package-manager discovery metadata.

func (Detector) Ready

Ready reports whether the detector can run in the current environment.

func (Detector) ResolveGraph

ResolveGraph resolves a Bundler dependency graph from Gemfile.lock.

Jump to

Keyboard shortcuts

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