diff options
author | David RodrÃguez <[email protected]> | 2022-01-17 15:16:34 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-01-19 11:20:36 +0900 |
commit | f04954d95c8a729d70be1c883617534a2e7cc239 (patch) | |
tree | 61146129066534cd6c29895ab45869f351be9640 /lib/rubygems/basic_specification.rb | |
parent | a892e5599ec8ec441a8d8b878efa855ef283ed08 (diff) |
[rubygems/rubygems] Normalize end alignment style with Bundler
https://github.com/rubygems/rubygems/commit/f7f504b24c
Diffstat (limited to 'lib/rubygems/basic_specification.rb')
-rw-r--r-- | lib/rubygems/basic_specification.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/rubygems/basic_specification.rb b/lib/rubygems/basic_specification.rb index 665b87fc0e..b3b63b51aa 100644 --- a/lib/rubygems/basic_specification.rb +++ b/lib/rubygems/basic_specification.rb @@ -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 |