summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-10-24 11:23:51 -0500
committergit <svn-admin@ruby-lang.org>2023-10-25 18:51:37 +0000
commit7e7d1f0679d7cbfc43d4157435317ae2f961b995 (patch)
treecae0cb2a4be2b478c6b147a79ddcb0382efb43a0 /test/ruby
parentb0a970736491a8a5a1839ff698b85bbab676ba56 (diff)
[rubygems/rubygems] Avoid regexp match on every call to `Gem::Platform.local`
The result of `arch` would be ignored if `@local` is set, so wrap all the logic in `@local ||=` to short-circuit everything https://github.com/rubygems/rubygems/commit/b67d39f3e0
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions