Sha256: b48155e1224cfc6e276d0214841cf79196ae66cfcebce2c6e13b009741682f1b

Contents?: true

Size: 777 Bytes

Versions: 198

Compression:

Stored size: 777 Bytes

Contents

# frozen_string_literal: true

module Bundler
  module Plugin
    class Installer
      class Git < Bundler::Source::Git
        def cache_path
          @cache_path ||= begin
            git_scope = "#{base_name}-#{uri_hash}"

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

        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
          Plugin.root
        end

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

Version data entries

198 entries across 198 versions & 4 rubygems

Version Path
rubygems-update-3.4.15 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.15 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.14 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.14 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.13 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.13 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.12 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.12 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.11 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.11 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.10 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.10 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.9 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.9 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.8 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.8 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.7 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.7 lib/bundler/plugin/installer/git.rb
rubygems-update-3.4.6 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.4.6 lib/bundler/plugin/installer/git.rb