class Bundler::ParallelInstaller::SpecInstallation

def all_dependencies

Represents all dependencies
def all_dependencies
  @spec.dependencies
end

def dependencies

itself and are in the total list.
Represents only the non-development dependencies, the ones that are
def dependencies
  @dependencies ||= all_dependencies.reject {|dep| ignorable_dependency? dep }
end

def dependencies_installed?(installed_specs)

sure needed dependencies have been installed.
Checks installed dependencies against spec's dependencies to make
def dependencies_installed?(installed_specs)
  dependencies.all? {|d| installed_specs.include? d.name }
end

def enqueued?

def enqueued?
  state == :enqueued
end

def failed?

def failed?
  state == :failed
end

def has_post_install_message?

def has_post_install_message?
  !post_install_message.empty?
end

def ignorable_dependency?(dep)

def ignorable_dependency?(dep)
  dep.type == :development || dep.name == @name
end

def initialize(spec)

def initialize(spec)
  @spec = spec
  @name = spec.name
  @full_name = spec.full_name
  @state = :none
  @post_install_message = ""
  @error = nil
end

def installed?

def installed?
  state == :installed
end

def ready_to_enqueue?

def ready_to_enqueue?
  state == :none
end

def to_s

def to_s
  "#<#{self.class} #{full_name} (#{state})>"
end