mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] Normalize end alignment style with Bundler
f7f504b24c
This commit is contained in:
parent
a892e5599e
commit
f04954d95c
30 changed files with 291 additions and 291 deletions
|
@ -289,14 +289,14 @@ class Gem::BasicSpecification
|
|||
|
||||
def lib_dirs_glob
|
||||
dirs = if self.raw_require_paths
|
||||
if self.raw_require_paths.size > 1
|
||||
"{#{self.raw_require_paths.join(',')}}"
|
||||
else
|
||||
self.raw_require_paths.first
|
||||
end
|
||||
else
|
||||
"lib" # default value for require_paths for bundler/inline
|
||||
end
|
||||
if self.raw_require_paths.size > 1
|
||||
"{#{self.raw_require_paths.join(',')}}"
|
||||
else
|
||||
self.raw_require_paths.first
|
||||
end
|
||||
else
|
||||
"lib" # default value for require_paths for bundler/inline
|
||||
end
|
||||
|
||||
"#{self.full_gem_path}/#{dirs}".dup.tap(&Gem::UNTAINT)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue