[rubygems/rubygems] Don't memoize in NameTuple lock_name

The result of this is already memoized and no other NameTuple
methods memoize.

https://github.com/rubygems/rubygems/commit/b7cce0c64a
This commit is contained in:
Martin Emde 2023-12-07 20:18:09 -08:00 committed by git
parent 51ab9ebca1
commit 0166d56f2b

View File

@ -361,7 +361,6 @@ module Gem
end
def lock_name
@lock_name ||=
if platform == Gem::Platform::RUBY
"#{name} (#{version})"
else