summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2021-10-23 23:57:08 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-29 17:22:25 +0900
commita9be84db82cea8bf3096167400d2c01b448e7e82 (patch)
tree4ee2dd4675398ee67a6f546d4a36ff4d5d9b9641 /spec/bundler
parent79f9053599da6374bd18ea14df7b2d9af6fef419 (diff)
[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
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/runtime/setup_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index 367ef9c711..c93e9e85d2 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -1299,6 +1299,8 @@ end
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