From ec5dae0d816261719b0b2f9595c072701c7036e0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 6 Apr 2022 19:10:43 +0900 Subject: Merge RubyGems-3.3.10 and Bundler-2.3.10 --- lib/rubygems/package.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/rubygems/package.rb') diff --git a/lib/rubygems/package.rb b/lib/rubygems/package.rb index a81c5f307c..2dd8e8c28e 100644 --- a/lib/rubygems/package.rb +++ b/lib/rubygems/package.rb @@ -3,7 +3,12 @@ # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. #++ -# + +require_relative "../rubygems" +require_relative 'security' +require_relative 'user_interaction' + +## # Example using a Gem::Package # # Builds a .gem file given a Gem::Specification. A .gem file is a tarball @@ -41,10 +46,6 @@ # #files are the files in the .gem tar file, not the Ruby files in the gem # #extract_files and #contents automatically call #verify -require_relative "../rubygems" -require_relative 'security' -require_relative 'user_interaction' - class Gem::Package include Gem::UserInteraction -- cgit v1.2.3