ruby-changes:69508
From: Josef <ko1@a...>
Date: Fri, 29 Oct 2021 18:19:09 +0900 (JST)
Subject: [ruby-changes:69508] a9be84db82 (master): [rubygems/rubygems] Add new default gems to setup_spec exempts.
https://git.ruby-lang.org/ruby.git/commit/?id=a9be84db82 From a9be84db82cea8bf3096167400d2c01b448e7e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=A0im=C3=A1nek?= <josef.simanek@g...> Date: Sat, 23 Oct 2021 23:57:08 +0200 Subject: [rubygems/rubygems] Add new default gems to setup_spec exempts. - error_highlight was introduced at https://github.com/ruby/ruby/commit/e94604966572bb43fc887856d54aa54b8e9f7719 orriginally as error_squiggle later renamed at https://github.com/ruby/ruby/commit/9438c99590f5476a81cee8b4cf2de25084a40b42 - ruby2_keywords was introduced as a placeholder gem only at https://github.com/ruby/ruby/commit/21d2463fbc5094aa2ad92a21c910dccdc928b920 https://github.com/rubygems/rubygems/commit/c9ebe7c7d2 --- spec/bundler/runtime/setup_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 367ef9c7115..c93e9e85d26 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -1299,6 +1299,8 @@ end https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/setup_spec.rb#L1299 exempts << "pathname" if Gem.ruby_version >= Gem::Version.new("3.0") exempts << "set" unless Gem.rubygems_version >= Gem::Version.new("3.2.6") exempts << "tsort" if Gem.ruby_version >= Gem::Version.new("3.0") + exempts << "error_highlight" # added in Ruby 3.1 as a default gem + exempts << "ruby2_keywords" # added in Ruby 3.1 as a default gem exempts end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/