ruby-changes:72032
From: David <ko1@a...>
Date: Wed, 1 Jun 2022 17:07:47 +0900 (JST)
Subject: [ruby-changes:72032] f5b88d93ae (master): [rubygems/rubygems] Remove code that seems unnecessary
https://git.ruby-lang.org/ruby.git/commit/?id=f5b88d93ae From f5b88d93ae58dd8a956782f08a435e452f5eba12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 30 May 2022 21:46:47 +0200 Subject: [rubygems/rubygems] Remove code that seems unnecessary This change was never covered with a spec, and we have recently covered the case of partially deleted gems with specs and it works fine (installation is "auto-healed"). https://github.com/rubygems/rubygems/commit/6e66ee4235 --- lib/bundler/stub_specification.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/bundler/stub_specification.rb b/lib/bundler/stub_specification.rb index fa071901e5..4a23b2cfe8 100644 --- a/lib/bundler/stub_specification.rb +++ b/lib/bundler/stub_specification.rb @@ -64,9 +64,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/stub_specification.rb#L64 end def full_gem_path - # deleted gems can have their stubs return nil, so in that case grab the - # expired path from the full spec - stub.full_gem_path || method_missing(:full_gem_path) + stub.full_gem_path end def full_require_paths -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/