class Gem::Resolver::Specification
def download(options)
def download(options) dir = options[:install_dir] || Gem.dir Gem.ensure_gem_subdirectories dir source.download spec, dir end
def fetch_development_dependencies # :nodoc:
def fetch_development_dependencies # :nodoc: end
def full_name
def full_name "#{@name}-#{@version}" end
def initialize
def initialize @dependencies = nil @name = nil @platform = nil @set = nil @source = nil @version = nil @required_ruby_version = Gem::Requirement.default @required_rubygems_version = Gem::Requirement.default end
def install(options = {})
def install(options = {}) require_relative "../installer" gem = download options installer = Gem::Installer.at gem, options yield installer if block_given? @spec = installer.install end
def installable_platform?
def installable_platform? Gem::Platform.match_spec? spec end
def local? # :nodoc:
def local? # :nodoc: false end