From a9fd1860dd30fff3b6e5ad0d65801f8188019325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 17 Mar 2023 15:42:28 +0100 Subject: Fix flaky when making materialized specs uniq Sometimes we'll have an heterogenous array of specs which include `Gem::Specification` objects, which don't define `#identifier`. Let's use `#full_name` consistently. --- lib/bundler/endpoint_specification.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/bundler/endpoint_specification.rb') diff --git a/lib/bundler/endpoint_specification.rb b/lib/bundler/endpoint_specification.rb index d315d1cc68..863544b1f9 100644 --- a/lib/bundler/endpoint_specification.rb +++ b/lib/bundler/endpoint_specification.rb @@ -26,10 +26,6 @@ module Bundler @platform end - def identifier - @__identifier ||= [name, version, platform.to_s] - end - # needed for standalone, load required_paths from local gemspec # after the gem is installed def require_paths -- cgit v1.2.3