On this page
class Bundler::Plugin::Installer::Git
Public Instance Methods
# 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
# File lib/bundler/plugin/installer/git.rb, line 31
def generate_bin(spec, disable_extensions = false)
# Need to find a way without code duplication
# For now, we can ignore this
end
# 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
# File lib/bundler/plugin/installer/git.rb, line 27
def root
Plugin.root
end
# File lib/bundler/plugin/installer/git.rb, line 23
def version_message(spec)
"#{spec.name} #{spec.version}"
end
Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.