class PubGrub::StaticSource

Included Modules

Defined in:

pubgrub/static_source.cr

Constructors

Instance Method Summary

Instance methods inherited from module PubGrub::PackageSource

dependencies_for(package : Package, version : VersionConstraint) : Hash(String, String) dependencies_for, incompatibilities_for(package : Package, version : VersionConstraint) : Array(Incompatibility) incompatibilities_for, versions_for(package : Package, constraint : VersionConstraint) : Array(Version) versions_for

Constructor Detail

def self.new(& : self -> ) : self #

[View source]
def self.new #

[View source]

Instance Method Detail

def add(name : String, version : String, dependencies : Hash(String, String) | Nil = nil) : Nil #

[View source]
def dependencies_for(package : Package, version : VersionConstraint) : Hash(String, String) #

[View source]
def incompatibilities_for(package : Package, version : VersionConstraint) : Array(Incompatibility) #

[View source]
def root(dependencies : Hash(String, String)) : Nil #

[View source]
def versions_for(package : Package, constraint : VersionConstraint) : Array(Version) #

[View source]