class Bundler::Plugin::Installer::Git - bundler-1.15.4 Documentation

# class Bundler::Plugin::Installer::Git

### Public Instance Methods

cache_path() click to toggle source

    # File lib/bundler/plugin/installer/git.rb, line 6
    def cache_path
      @cache_path ||= begin
        git_scope = "#{base_name}-#{uri_hash}"

        Plugin.cache.join("bundler", "git", git_scope)
      end
    end

generate_bin(spec, disable_extensions = false) click to toggle source

    # File lib/bundler/plugin/installer/git.rb, line 30
    def generate_bin(spec, disable_extensions = false)
      # Need to find a way without code duplication
      # For now, we can ignore this
    end

install_path() click to toggle source

    # File lib/bundler/plugin/installer/git.rb, line 14
    def install_path
      @install_path ||= begin
        git_scope = "#{base_name}-#{shortref_for_path(revision)}"

        Plugin.root.join("bundler", "gems", git_scope)
      end
    end

root() click to toggle source

    # File lib/bundler/plugin/installer/git.rb, line 26
    def root
      Plugin.root
    end

version_message(spec) click to toggle source

    # File lib/bundler/plugin/installer/git.rb, line 22
    def version_message(spec)
      "#{spec.name} #{spec.version}"
    end