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

ruby-changes:71006

From: David <ko1@a...>
Date: Tue, 25 Jan 2022 22:12:47 +0900 (JST)
Subject: [ruby-changes:71006] 342e7a094a (master): [rubygems/rubygems] Fix spec to not touch the network

https://git.ruby-lang.org/ruby.git/commit/?id=342e7a094a

From 342e7a094a70d6f90b96262c88177dae32976c85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 25 Jan 2022 12:48:16 +0100
Subject: [rubygems/rubygems] Fix spec to not touch the network

And not depend on the state of rack's master branch, in particular, on
their Ruby support range.

https://github.com/rubygems/rubygems/commit/9ea4baffac
---
 spec/bundler/commands/remove_spec.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/spec/bundler/commands/remove_spec.rb b/spec/bundler/commands/remove_spec.rb
index 70dc09c9b67..95d6e75e9fc 100644
--- a/spec/bundler/commands/remove_spec.rb
+++ b/spec/bundler/commands/remove_spec.rb
@@ -48,12 +48,14 @@ RSpec.describe "bundle remove" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/commands/remove_spec.rb#L48
 
       context "when gem is specified in multiple lines" do
         it "shows success for removed gem" do
+          build_git "rack"
+
           gemfile <<-G
             source '#{file_uri_for(gem_repo1)}'
 
             gem 'git'
             gem 'rack',
-                git: 'https://github.com/rack/rack',
+                git: "#{lib_path("rack-1.0")}",
                 branch: 'master'
             gem 'nokogiri'
           G
-- 
cgit v1.2.1


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

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