aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-10-08 13:07:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-09 08:05:46 +0900
commit91f794b5160e9253410d06b0811451d7db448720 (patch)
tree4cc48e037cfa28bec8fdd08cb0e60e8d74f09da8 /spec/bundler
parent991a3aad058fc6b05c7d73fd240b2ad2d8325afd (diff)
downloadruby-91f794b5160e9253410d06b0811451d7db448720.tar.gz
[rubygems/rubygems] I see no harm in this, allow it
https://github.com/rubygems/rubygems/commit/01feb40283
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/support/builders.rb1
1 files changed, 0 insertions, 1 deletions
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
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)