diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-08 13:51:40 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-08 15:27:00 +0900 |
| commit | 75c5e1a1369007adb025ed52826ffe690999377b (patch) | |
| tree | 7cb9022a39f3a6f86d73495b72fc21c51fd4c20c /lib | |
| parent | 43af20602e4baa49ebef71aa68dc8d57477bcf61 (diff) | |
[rubygems/rubygems] Removed unnecessary disabling of Style/RedundantParentheses
https://github.com/rubygems/rubygems/commit/2361527c45
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 3cb4e70a56..e0582beba2 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -282,7 +282,7 @@ module Gem # On universal Rubies, resolve the "universal" arch to the real CPU arch, without changing the extension directory. class BasicSpecification - if /^universal\.(?<arch>.*?)-/ =~ (CROSS_COMPILING || RUBY_PLATFORM) # rubocop:disable Style/RedundantParentheses + if /^universal\.(?<arch>.*?)-/ =~ (CROSS_COMPILING || RUBY_PLATFORM) local_platform = Platform.local if local_platform.cpu == "universal" ORIGINAL_LOCAL_PLATFORM = local_platform.to_s.freeze |
