From 416fde11eb28fa01f9da738354facdd728d5ec68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 24 Jul 2025 11:54:33 +0200 Subject: [PATCH] [rubygems/rubygems] Fix language quality spec no longer getting run properly https://github.com/rubygems/rubygems/commit/c65e34a904 --- spec/bundler/quality_spec.rb | 2 -- spec/bundler/support/path.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 669b8f0d35..3e5a960a96 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -115,10 +115,8 @@ RSpec.describe "The library itself" do end it "maintains language quality of the documentation" do - included = /ronn/ error_messages = [] man_tracked_files.each do |filename| - next unless filename&.match?(included) error_messages << check_for_expendable_words(filename) error_messages << check_for_specific_pronouns(filename) end diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index fb0d9d841e..7c2d06abaf 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -342,7 +342,7 @@ module Spec end def man_tracked_files_glob - "lib/bundler/man/bundle*.1 lib/bundler/man/gemfile*.5" + "lib/bundler/man/bundle*.1.ronn lib/bundler/man/gemfile*.5.ronn" end def ruby_core_tarball?