class Bundler::PubGrub::StaticPackageSource
def all_versions_for(package)
def all_versions_for(package) @packages[package].keys end
def dependencies_for(package, version)
def dependencies_for(package, version) @packages[package][version] end
def initialize
def initialize @root_deps = {} @packages = {} yield DSL.new(@packages, @root_deps) super() end
def parse_dependency(package, dependency)
def parse_dependency(package, dependency) return false unless @packages.key?(package) Bundler::PubGrub::RubyGems.parse_constraint(package, dependency) end
def root_dependencies
def root_dependencies @root_deps end