class Bundler::StubSpecification

def self.from_stub(stub)

def self.from_stub(stub)
  spec = new(stub.name, stub.version, stub.platform, nil)
  spec.stub = stub
  spec
end

def _remote_specification

def _remote_specification
  stub.to_spec
end

def missing_extensions?

This is defined directly to avoid having to load every installed spec
def missing_extensions?
  stub.missing_extensions?
end

def to_yaml

def to_yaml
  _remote_specification.to_yaml
end