[rubygems/rubygems] Normalize end alignment style with Bundler

f7f504b24c
This commit is contained in:
David Rodríguez 2022-01-17 15:16:34 +01:00 committed by Hiroshi SHIBATA
parent a892e5599e
commit f04954d95c
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
30 changed files with 291 additions and 291 deletions

View file

@ -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