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
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
rubygems-update-3.5.19 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.19 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.18 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.18 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.17 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.17 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.16 bundler/lib/bundler/plugin/installer/git.rb
bundler-2.5.16 lib/bundler/plugin/installer/git.rb
rubygems-update-3.5.15 bundler/lib/bundler/plugin/installer/git.rb