From 98b60b1eeafce3c715faff784e1ea9c0b3bcb473 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Oct 2020 08:18:02 +0900 Subject: [PATCH] Merge pull request #4029 from rubygems/pathname_unsupported Mark `pathname` as an unsupported default gem (cherry picked from commit aa991a553b70f86182132e0068b855fb999905e5) --- bundler/spec/runtime/setup_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/bundler/spec/runtime/setup_spec.rb b/bundler/spec/runtime/setup_spec.rb index dbfb6ebff102..6b47878944f5 100644 --- a/bundler/spec/runtime/setup_spec.rb +++ b/bundler/spec/runtime/setup_spec.rb @@ -1233,6 +1233,7 @@ def lock_with(ruby_version = nil) end << "bundler" exempts << "fiddle" if Gem.win_platform? && Gem::Version.new(Gem::VERSION) >= Gem::Version.new("2.7") exempts << "uri" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.7") + exempts << "pathname" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0") exempts << "set" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0") exempts << "tsort" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0") exempts