class Bundler::RubygemsIntegration::Transitional

Rubygems 1.7

def stub_rubygems(specs)

def stub_rubygems(specs)
  stub_source_index(specs)
end

def validate(spec)

def validate(spec)
  # Missing summary is downgraded to a warning in later versions,
  # so we set it to an empty string to prevent an exception here.
  spec.summary ||= ""
  RubygemsIntegration.instance_method(:validate).bind(self).call(spec)
end