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.3.6 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.5 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.5 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.4 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.4 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.3 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.3 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.2 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.2 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.1 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.1 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.3.0 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.3.0 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.2.33 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.2.33 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.2.32 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.2.32 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.2.31 bundler/lib/bundler/plugin/installer/rubygems.rb
bundler-2.2.31 lib/bundler/plugin/installer/rubygems.rb
rubygems-update-3.2.30 bundler/lib/bundler/plugin/installer/rubygems.rb