ruby-changes:61518
From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:33:48 +0900 (JST)
Subject: [ruby-changes:61518] 5c35fedaf2 (master): [rubygems/rubygems] Remove unnecessary rescue and loading of bundler
https://git.ruby-lang.org/ruby.git/commit/?id=5c35fedaf2 From 5c35fedaf2586afab27d7e11a83b5aa32cbf727c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 16 May 2020 14:41:41 +0200 Subject: [rubygems/rubygems] Remove unnecessary rescue and loading of bundler https://github.com/rubygems/rubygems/commit/7ecc216505 diff --git a/test/rubygems/test_gem_package_task.rb b/test/rubygems/test_gem_package_task.rb index 21fa963..02cd7b0 100644 --- a/test/rubygems/test_gem_package_task.rb +++ b/test/rubygems/test_gem_package_task.rb @@ -1,11 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package_task.rb#L1 # frozen_string_literal: true require 'rubygems/test_case' require 'rubygems' -require 'bundler/errors' -begin - require 'rubygems/package_task' -rescue LoadError, Bundler::GemfileNotFound -end +require 'rubygems/package_task' class TestGemPackageTask < Gem::TestCase @@ -81,4 +77,4 @@ class TestGemPackageTask < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package_task.rb#L77 assert_equal 'pkg/nokogiri-1.5.0-java', pkg.package_dir_path end -end if defined?(Rake::PackageTask) +end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/