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

ruby-changes:70104

From: David <ko1@a...>
Date: Wed, 8 Dec 2021 07:59:50 +0900 (JST)
Subject: [ruby-changes:70104] 76cad13759 (master): [rubygems/rubygems] Don't add custom github source to `bundle init` Gemfile

https://git.ruby-lang.org/ruby.git/commit/?id=76cad13759

From 76cad13759143ab35559b30d3e8eed71ce3e8553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 7 Dec 2021 19:23:22 +0100
Subject: [rubygems/rubygems] Don't add custom github source to `bundle init`
 Gemfile

It's provided by bundler.

https://github.com/rubygems/rubygems/commit/25ccaab46b
---
 lib/bundler/templates/Gemfile | 2 --
 lib/bundler/templates/gems.rb | 2 --
 2 files changed, 4 deletions(-)

diff --git a/lib/bundler/templates/Gemfile b/lib/bundler/templates/Gemfile
index d41f2719b44..d2403f18b2d 100644
--- a/lib/bundler/templates/Gemfile
+++ b/lib/bundler/templates/Gemfile
@@ -2,6 +2,4 @@ https://github.com/ruby/ruby/blob/trunk/lib/bundler/templates/Gemfile#L2
 
 source "https://rubygems.org"
 
-git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
-
 # gem "rails"
diff --git a/lib/bundler/templates/gems.rb b/lib/bundler/templates/gems.rb
index 56a62a7a822..0bf475f0e5d 100644
--- a/lib/bundler/templates/gems.rb
+++ b/lib/bundler/templates/gems.rb
@@ -3,6 +3,4 @@ https://github.com/ruby/ruby/blob/trunk/lib/bundler/templates/gems.rb#L3
 # A sample gems.rb
 source "https://rubygems.org"
 
-git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
-
 # gem "rails"
-- 
cgit v1.2.1


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

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