[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:
parent
51ab9ebca1
commit
0166d56f2b
@ -361,7 +361,6 @@ module Gem
|
|||||||
end
|
end
|
||||||
|
|
||||||
def lock_name
|
def lock_name
|
||||||
@lock_name ||=
|
|
||||||
if platform == Gem::Platform::RUBY
|
if platform == Gem::Platform::RUBY
|
||||||
"#{name} (#{version})"
|
"#{name} (#{version})"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user