Merge RubyGems-3.3.19 and Bundler-2.3.19

This commit is contained in:
Hiroshi SHIBATA 2022-08-22 11:49:38 +09:00 committed by nagachika
parent 0918783347
commit 44c926f3a9
362 changed files with 7843 additions and 7605 deletions

View file

@ -9,7 +9,7 @@ class Gem::StubSpecification < Gem::BasicSpecification
PREFIX = "# stub: ".freeze
# :nodoc:
OPEN_MODE = 'r:UTF-8:-'.freeze
OPEN_MODE = "r:UTF-8:-".freeze
class StubLine # :nodoc: all
attr_reader :name, :version, :platform, :require_paths, :extensions,
@ -19,9 +19,9 @@ class Gem::StubSpecification < Gem::BasicSpecification
# These are common require paths.
REQUIRE_PATHS = { # :nodoc:
'lib' => 'lib'.freeze,
'test' => 'test'.freeze,
'ext' => 'ext'.freeze,
"lib" => "lib".freeze,
"test" => "test".freeze,
"ext" => "ext".freeze,
}.freeze
# These are common require path lists. This hash is used to optimize
@ -29,7 +29,7 @@ class Gem::StubSpecification < Gem::BasicSpecification
# in their require paths, so lets take advantage of that by pre-allocating
# a require path list for that case.
REQUIRE_PATH_LIST = { # :nodoc:
'lib' => ['lib'].freeze,
"lib" => ["lib"].freeze,
}.freeze
def initialize(data, extensions)