From d43930e6221ca3c7d4438fa4980b1403ec92f1eb Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Sun, 12 Mar 2023 11:41:05 +0000 Subject: [PATCH] Expand JRuby ignore --- lib/rspec/support/spec/shell_out.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rspec/support/spec/shell_out.rb b/lib/rspec/support/spec/shell_out.rb index f47c03fa..148a3aec 100644 --- a/lib/rspec/support/spec/shell_out.rb +++ b/lib/rspec/support/spec/shell_out.rb @@ -78,8 +78,8 @@ def run_ruby_with_current_load_path(ruby_command, *flags) %r{jruby/kernel/gem_prelude}, %r{lib/jruby\.jar!/jruby/preludes}, # Ignore some JRuby errors for gems - %r{jruby/\d\.\d\.\d/gems/aruba}, - %r{jruby/\d\.\d\.\d/gems/ffi}, + %r{jruby/\d\.\d(\.\d)?/gems/aruba}, + %r{jruby/\d\.\d(\.\d)?/gems/ffi}, ] def strip_known_warnings(input)