bundler

package
v0.7.26 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundler

type Bundler struct {
	Cmd string
}

func (*Bundler) Install

func (b *Bundler) Install(flags ...string) error

func (*Bundler) List

func (b *Bundler) List() ([]Gem, error)

type Gem

type Gem struct {
	Name     string
	Revision string
}

type Lockfile

type Lockfile struct {
	Git          []Section
	Path         []Section
	Gem          []Section
	Dependencies []Requirement
}

func FromLockfile

func FromLockfile(filename string) (Lockfile, error)

type Requirement

type Requirement struct {
	Name    string
	Pinned  bool
	Version VersionSpecifier
}

func ParseDependenciesSection

func ParseDependenciesSection(section string) []Requirement

func (*Requirement) String

func (r *Requirement) String() string

type Section

type Section struct {
	Type     string
	Remote   string
	Revision string
	Ref      string
	Tag      string
	Branch   string
	Specs    []Spec
}

func ParseSpecSection

func ParseSpecSection(section string) Section

type Spec

type Spec struct {
	Name         string
	Version      string
	Dependencies []Requirement
}

func ParseSpecs

func ParseSpecs(spec []string) []Spec

type VersionSpecifier

type VersionSpecifier string

TODO: actually parse these. We ignore them right now, so I haven't bothered implementing parsing logic.

Jump to

Keyboard shortcuts

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