class Bundler::EndpointSpecification

def initialize(name, version, platform, spec_fetcher, dependencies, metadata = nil)

def initialize(name, version, platform, spec_fetcher, dependencies, metadata = nil)
  super()
  @name         = name
  @version      = Gem::Version.create version
  @platform     = Gem::Platform.new(platform)
  @spec_fetcher = spec_fetcher
  @dependencies = dependencies.map {|dep, reqs| build_dependency(dep, reqs) }
  @loaded_from          = nil
  @remote_specification = nil
  parse_metadata(metadata)
end