ruby-changes:56049
From: Hiroshi <ko1@a...>
Date: Sat, 8 Jun 2019 13:49:57 +0900 (JST)
Subject: [ruby-changes:56049] Hiroshi SHIBATA: 3776c48cf4 (trunk): Revert "require rubygems/package where used"
https://git.ruby-lang.org/ruby.git/commit/?id=3776c48cf4 From 3776c48cf41950d2cc994676bb2735ee1a0a474e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 8 Jun 2019 13:44:40 +0900 Subject: Revert "require rubygems/package where used" This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235. It fails with `make test-bundler BUNDLER_SPECS=runtime/setup_spec.rb:1204` diff --git a/lib/rubygems/commands/unpack_command.rb b/lib/rubygems/commands/unpack_command.rb index 938db70..f7ffea3 100644 --- a/lib/rubygems/commands/unpack_command.rb +++ b/lib/rubygems/commands/unpack_command.rb @@ -3,7 +3,6 @@ require 'rubygems/command' https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/unpack_command.rb#L3 require 'rubygems/version_option' require 'rubygems/security_option' require 'rubygems/remote_fetcher' -require 'rubygems/package' # forward-declare diff --git a/lib/rubygems/source/local.rb b/lib/rubygems/source/local.rb index f68715c..875e992 100644 --- a/lib/rubygems/source/local.rb +++ b/lib/rubygems/source/local.rb @@ -3,8 +3,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/source/local.rb#L3 # The local source finds gems in the current directory for fulfilling # dependencies. -require 'rubygems/package' - class Gem::Source::Local < Gem::Source def initialize # :nodoc: diff --git a/lib/rubygems/source/specific_file.rb b/lib/rubygems/source/specific_file.rb index 0905f6d..a22772b 100644 --- a/lib/rubygems/source/specific_file.rb +++ b/lib/rubygems/source/specific_file.rb @@ -3,8 +3,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/source/specific_file.rb#L3 # A source representing a single .gem file. This is used for installation of # local gems. -require 'rubygems/package' - class Gem::Source::SpecificFile < Gem::Source ## -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/