From be6a9ca2c130b3a9a4da512f06f402389dd71d63 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 7 Feb 2026 19:18:25 -0500 Subject: [PATCH] Rename Rakefile -> Rakefile.rb --- Rakefile => Rakefile.rb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) rename Rakefile => Rakefile.rb (74%) diff --git a/Rakefile b/Rakefile.rb similarity index 74% rename from Rakefile rename to Rakefile.rb index b7ee926..64762a7 100644 --- a/Rakefile +++ b/Rakefile.rb @@ -15,13 +15,15 @@ RSpec::Core::RakeTask.new(:spec, :example_pattern) do |task, args| end end task :spec do |task, args| - original_stdout = $stdout - sio = StringIO.new - $stdout = sio - SimpleCov.collate Dir["coverage/.resultset.json"] - $stdout = original_stdout - sio.string.lines.each do |line| - $stdout.write(line) unless line =~ /Coverage report generated for/ + unless ENV["dist_specs"] + original_stdout = $stdout + sio = StringIO.new + $stdout = sio + SimpleCov.collate Dir["coverage/.resultset.json"] + $stdout = original_stdout + sio.string.lines.each do |line| + $stdout.write(line) unless line =~ /Coverage report generated for/ + end end end