Documentation ¶
Index ¶
- type Manifest
- type Versions
- func (v *Versions) BundledWithVersion() (string, error)
- func (v *Versions) Engine() (string, error)
- func (v *Versions) GemMajorVersion(gem string) (int, error)
- func (v *Versions) Gemfile() string
- func (v *Versions) GetBundlerVersion() (string, error)
- func (v *Versions) HasGem(gem string) (bool, error)
- func (v *Versions) HasGemVersion(gem string, constraints ...string) (bool, error)
- func (v *Versions) HasWindowsGemfileLock() (bool, error)
- func (v *Versions) JrubyVersion() (string, error)
- func (v *Versions) RubyEngineVersion() (string, error)
- func (v *Versions) Version() (string, error)
- func (v *Versions) VersionConstraint(version string, constraints ...string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest interface { AllDependencyVersions(string) []string DefaultVersion(string) (libbuildpack.Dependency, error) }
type Versions ¶
type Versions struct {
// contains filtered or unexported fields
}
func (*Versions) BundledWithVersion ¶ added in v1.7.42
func (*Versions) GetBundlerVersion ¶ added in v1.7.30
func (*Versions) HasGemVersion ¶
func (*Versions) HasWindowsGemfileLock ¶
Should return true if either: (1) the only platform in the Gemfile.lock is windows (mingw/mswin)
-or-
(2) the Gemfile.lock line endings are /r/n, rather than just /n
func (*Versions) JrubyVersion ¶
func (*Versions) RubyEngineVersion ¶
Click to show internal directories.
Click to hide internal directories.