[前][次][番号順一覧][スレッド一覧]

ruby-changes:72140

From: David <ko1@a...>
Date: Sat, 11 Jun 2022 18:43:58 +0900 (JST)
Subject: [ruby-changes:72140] 6292b36529 (master): [rubygems/rubygems] Remove unclear comment

https://git.ruby-lang.org/ruby.git/commit/?id=6292b36529

From 6292b36529c06c730d452c2bf2f18a82b02062bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Thu, 9 Jun 2022 01:04:54 +0200
Subject: [rubygems/rubygems] Remove unclear comment

This is the explanation of why we do the swapping, not of why we
download the gem.

https://github.com/rubygems/rubygems/commit/1a25eb7e7b
---
 lib/bundler/source/rubygems.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index b5f7296243..1617f1831e 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -149,8 +149,6 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/source/rubygems.rb#L149
           return nil # no post-install message
         end
 
-        # Download the gem to get the spec, because some specs that are returned
-        # by rubygems.org are broken and wrong.
         if spec.remote
           # Check for this spec from other sources
           uris = [spec.remote, *remotes_for_spec(spec)].map(&:anonymized_uri).uniq
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]