summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-07-24 11:54:33 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-07-25 11:10:39 +0900
commit416fde11eb28fa01f9da738354facdd728d5ec68 (patch)
tree57cb4d3925a8dd58153025828f534840d4c86841
parentbfd0c15ffa809959caa8615f3a5665603a76d219 (diff)
[rubygems/rubygems] Fix language quality spec no longer getting run properly
https://github.com/rubygems/rubygems/commit/c65e34a904
-rw-r--r--spec/bundler/quality_spec.rb2
-rw-r--r--spec/bundler/support/path.rb2
2 files changed, 1 insertions, 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?