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

[rubygems/rubygems] Removed the depdendency of English library

English.rb is extracted to the default gems at
  2c5764ec22

https://github.com/rubygems/rubygems/commit/532f488c0b
This commit is contained in:
Hiroshi SHIBATA 2020-04-20 10:06:45 +09:00
parent aca935a670
commit de58dfc911
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,4 @@
# frozen_string_literal: true
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
@ -106,7 +105,8 @@ prefix or only the files that are requireable.
spec.files.map do |file|
case file
when /\A#{spec.bindir}\//
[RbConfig::CONFIG['bindir'], $POSTMATCH]
# $' is POSTMATCH
[RbConfig::CONFIG['bindir'], $']
when /\.so\z/
[RbConfig::CONFIG['archdir'], file]
else

View file

@ -1,5 +1,4 @@
# frozen_string_literal: true
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/util'