Sha256: b48155e1224cfc6e276d0214841cf79196ae66cfcebce2c6e13b009741682f1b

Contents?: true

Size: 777 Bytes

Versions: 207

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

207 entries across 207 versions & 5 rubygems

Version Path
rubygems-update-3.6.3 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.6.3 lib/bundler/plugin/installer/git.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/bundler-2.5.5/lib/bundler/plugin/installer/git.rb
rubygems-update-3.6.2 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.6.2 lib/bundler/plugin/installer/git.rb
rubygems-update-3.6.1 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.6.1 lib/bundler/plugin/installer/git.rb
rubygems-update-3.6.0 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.6.0 lib/bundler/plugin/installer/git.rb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer/git.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.23 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.23 lib/bundler/plugin/installer/git.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.22 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.22 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.21 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.21 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.20 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.20 lib/bundler/plugin/installer/git.rb