mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 11:33:58 +02:00
Merge RubyGems-3.3.19 and Bundler-2.3.19
This commit is contained in:
parent
0918783347
commit
44c926f3a9
362 changed files with 7843 additions and 7605 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue