Class: Bundler::Plugin::Installer::Git
- Inherits:
-
Source::Git
- Object
- Source
- Source::Path
- Source::Git
- Bundler::Plugin::Installer::Git
- Defined in:
- lib/bundler/plugin/installer/git.rb
Constant Summary
Constants inherited from Source::Path
Instance Attribute Summary
Attributes inherited from Source::Git
#branch, #glob, #options, #ref, #submodules, #uri
Attributes inherited from Source::Path
#name, #options, #path, #root_path, #version
Attributes inherited from Source
#checksum_store, #dependency_names
Instance Method Summary collapse
- #cache_path ⇒ Object
- #generate_bin(spec, disable_extensions = false) ⇒ Object
- #install_path ⇒ Object
- #root ⇒ Object
Methods inherited from Source::Git
#allow_git_ops?, #app_cache_dirname, #cache, #cached!, #current_branch, #eql?, #extension_dir_name, from_lock, #hash, #identifier, #include?, #initialize, #install, #load_spec_files, #local?, #local_override!, #name, #remote!, #revision, #specs, #to_gemfile, #to_lock, #to_s, #unlock!, #uri_with_specifiers
Methods inherited from Source::Path
#app_cache_dirname, #cache, #eql?, #expanded_original_path, from_lock, #hash, #initialize, #install, #local_specs, #specs, #to_lock, #to_s
Methods inherited from Source
#add_dependency_names, #cached!, #can_lock?, #dependency_names_to_double_check, #double_check_for, #extension_cache_path, #identifier, #include?, #inspect, #local!, #local_only!, #path?, #remote!, #spec_names, #unmet_deps, #version_message
Constructor Details
This class inherits a constructor from Bundler::Source::Git
Instance Method Details
#cache_path ⇒ Object
7 8 9 10 11 12 13 |
# 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) ⇒ Object
27 28 29 30 |
# 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 |