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

ruby-changes:68323

From: David <ko1@a...>
Date: Sat, 9 Oct 2021 09:27:18 +0900 (JST)
Subject: [ruby-changes:68323] 91f794b516 (master): [rubygems/rubygems] I see no harm in this, allow it

https://git.ruby-lang.org/ruby.git/commit/?id=91f794b516

From 91f794b5160e9253410d06b0811451d7db448720 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Fri, 8 Oct 2021 13:07:07 +0200
Subject: [rubygems/rubygems] I see no harm in this, allow it

https://github.com/rubygems/rubygems/commit/01feb40283
---
 spec/bundler/support/builders.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb
index 0ece5ba7f6..90e9cbb242 100644
--- a/spec/bundler/support/builders.rb
+++ b/spec/bundler/support/builders.rb
@@ -554,7 +554,6 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/builders.rb#L554
         source = options[:source] || "git@#{libpath}"
 
         if branch = options[:branch]
-          raise "You can't specify `master` as the branch" if branch == "master"
           @context.git("checkout -b #{Shellwords.shellescape(branch)}", libpath)
         elsif tag = options[:tag]
           @context.git("tag #{Shellwords.shellescape(tag)}", libpath)
-- 
cgit v1.2.1


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

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