class Bundler::Plugin::Installer::Git
def cache_path
def cache_path @cache_path ||= begin git_scope = "#{base_name}-#{uri_hash}" Plugin.cache.join("bundler", "git", git_scope) end end
def generate_bin(spec, disable_extensions = false)
def generate_bin(spec, disable_extensions = false) # Need to find a way without code duplication # For now, we can ignore this end
def install_path
def install_path @install_path ||= begin git_scope = "#{base_name}-#{shortref_for_path(revision)}" Plugin.root.join("bundler", "gems", git_scope) end end
def root
def root Plugin.root end
def version_message(spec)
def version_message(spec) "#{spec.name} #{spec.version}" end