1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove more unnecessary requires

Since `rubygems/util` is autoloaded.

https://github.com/rubygems/rubygems/commit/52a9f88b99
This commit is contained in:
David Rodríguez 2020-07-01 11:45:33 +02:00 committed by Hiroshi SHIBATA
parent 1b2bda72fc
commit 6c71033ac3
Notes: git 2020-07-31 21:08:12 +09:00
5 changed files with 0 additions and 6 deletions

View file

@ -1,7 +1,5 @@
# frozen_string_literal: true
require "rubygems/util"
module Gem::BundlerVersionFinder
def self.bundler_version
version, _ = bundler_version_with_reason

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/util'
class Gem::Commands::OpenCommand < Gem::Command
include Gem::VersionOption

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'rubygems/dependency'
require 'rubygems/exceptions'
require 'rubygems/util'
require 'rubygems/util/list'
##

View file

@ -1,5 +1,4 @@
# frozen_string_literal: true
require 'rubygems/util'
##
# A git gem for use in a gem dependencies file.

View file

@ -5,7 +5,6 @@
# See LICENSE.txt for permissions.
#++
require 'rubygems/util'
require 'rubygems/deprecate'
require 'rubygems/text'