Sha256: 6709b4d83b291f9ba2fddd341c8e09eb77a32061b7393b7ccb2b95fe57be3cd1

Contents?: true

Size: 495 Bytes

Versions: 103

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

module Bundler
  module Plugin
    class Installer
      class Rubygems < Bundler::Source::Rubygems
        def version_message(spec)
          "#{spec.name} #{spec.version}"
        end

        private

        def requires_sudo?
          false # Will change on implementation of project level plugins
        end

        def rubygems_dir
          Plugin.root
        end

        def cache_path
          Plugin.cache
        end
      end
    end
  end
end

Version data entries

103 entries across 103 versions & 4 rubygems

Version Path
bundler-2.2.0 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.2.0.rc.2 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.2.0.rc.2 lib/bundler/plugin/installer/rubygems.rb