class Bundler::Definition::Locked
def actual_dependencies
def actual_dependencies @actual_dependencies ||= @details["specs"].map do |args| name, details = args.to_a.flatten details["source"] = sources[details["source"]] if details.include?("source") Bundler::Dependency.new(name, details.delete("version"), details) end end
def dependencies
def dependencies @dependencies ||= @details["dependencies"].map do |dep, opts| Bundler::Dependency.new(dep, opts.delete("version"), opts) end end
def hash
def hash @details["hash"] end
def initialize(details)
def initialize(details) @details = details end
def sources
def sources @sources ||= @details["sources"].map do |args| name, options = args.to_a.flatten Bundler::Source.const_get(name).new(options) end end