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.3.22 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.22 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.21 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.21 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.20 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.20 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.19 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.19 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.18 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.18 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.17 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.17 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.16 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.16 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.15 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.15 lib/bundler/plugin/installer/git.rb
rubygems-update-3.3.14 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.3.14 lib/bundler/plugin/installer/git.rb