class Bundler::RemoteSpecification

def __swap__(spec)

be swapped out.
once the remote gem is downloaded, the backend specification will
Because Rubyforge cannot be trusted to provide valid specifications
def __swap__(spec)
  raise APIResponseInvalidDependenciesError unless spec.dependencies.all? {|d| d.is_a?(Gem::Dependency) }
  SharedHelpers.ensure_same_dependencies(self, dependencies, spec.dependencies)
  @_remote_specification = spec
end