123456789_123456789_123456789_123456789_123456789_

Class: Bundler::Plugin::Installer::Git

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Bundler::Source::Git
Defined in: lib/bundler/plugin/installer/git.rb

Constant Summary

::Bundler::Source::Path - Inherited

DEFAULT_GLOB

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from Bundler::Source::Git

Instance Method Details

#cache_path

[ GitHub ]

  
# File 'lib/bundler/plugin/installer/git.rb', line 7

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)

[ GitHub ]

  
# File 'lib/bundler/plugin/installer/git.rb', line 27

def generate_bin(spec, disable_extensions = false)
  # Need to find a way without code duplication
  # For now, we can ignore this
end

#install_path

[ GitHub ]

  
# File 'lib/bundler/plugin/installer/git.rb', line 15

def install_path
  @install_path ||= begin
    git_scope = "#{base_name}-#{shortref_for_path(revision)}"

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

#root

[ GitHub ]

  
# File 'lib/bundler/plugin/installer/git.rb', line 23

def root
  Plugin.root
end