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:
parent
aca935a670
commit
de58dfc911
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
require 'English'
|
||||
require 'rubygems/command'
|
||||
require 'rubygems/version_option'
|
||||
require 'rubygems/util'
|
||||
|
|
Loading…
Add table
Reference in a new issue