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

ruby-changes:61119

From: David <ko1@a...>
Date: Fri, 8 May 2020 14:14:43 +0900 (JST)
Subject: [ruby-changes:61119] a433b82f13 (master): [rubygems/rubygems] Now `Dir.tmpdir` is fixed and there's never such a folder

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

From a433b82f13f83a83c0522e604ffe42f3f7f3b64d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Thu, 2 Apr 2020 19:45:43 +0200
Subject: [rubygems/rubygems] Now `Dir.tmpdir` is fixed and there's never such
 a folder

https://github.com/rubygems/rubygems/commit/44ebbded12

diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
index 430c3a6..8116282 100644
--- a/test/rubygems/test_gem.rb
+++ b/test/rubygems/test_gem.rb
@@ -7,10 +7,6 @@ require 'pathname' https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem.rb#L7
 require 'tmpdir'
 require 'rbconfig'
 
-if File.exist?(File.join(Dir.tmpdir, "Gemfile"))
-  raise "rubygems/bundler tests do not work correctly if there is #{ File.join(Dir.tmpdir, "Gemfile") }"
-end
-
 class TestGem < Gem::TestCase
 
   PLUGINS_LOADED = [] # rubocop:disable Style/MutableConstant
-- 
cgit v0.10.2


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

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