From 683e081d37ea405d9a1c6c1d1dc6d9b3339d055c Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 30 Apr 2024 16:11:19 +0200 Subject: [PATCH] vale --- Library/Homebrew/dev-cmd/tests.rb | 3 +++ Library/Homebrew/dev-cmd/update-test.rb | 2 +- Library/Homebrew/rubocops/cask/url.rb | 2 +- docs/vale-styles/Homebrew/Abbreviations.yml | 6 +++--- manpages/README.md | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb index 0a3a99b2d19e71..a4dbf337ef69ce 100644 --- a/Library/Homebrew/dev-cmd/tests.rb +++ b/Library/Homebrew/dev-cmd/tests.rb @@ -145,7 +145,10 @@ def run end # Workaround for: + # + # ``` # ruby: no -r allowed while running setuid (SecurityError) + # ``` Process::UID.change_privilege(Process.euid) if Process.euid != Process.uid if parallel diff --git a/Library/Homebrew/dev-cmd/update-test.rb b/Library/Homebrew/dev-cmd/update-test.rb index c2b637f6866413..1b9193097eb79b 100644 --- a/Library/Homebrew/dev-cmd/update-test.rb +++ b/Library/Homebrew/dev-cmd/update-test.rb @@ -116,7 +116,7 @@ def run # update ENV["PATH"] ENV["PATH"] = PATH.new(ENV.fetch("PATH")).prepend(curdir/"bin").to_s - # run brew help to install portable-ruby (if needed) + # Run `brew help` to install `portable-ruby` (if needed). quiet_system "brew", "help" # run brew update diff --git a/Library/Homebrew/rubocops/cask/url.rb b/Library/Homebrew/rubocops/cask/url.rb index e659e9d92ce8ff..e8bc4f08c83986 100644 --- a/Library/Homebrew/rubocops/cask/url.rb +++ b/Library/Homebrew/rubocops/cask/url.rb @@ -44,7 +44,7 @@ def on_url_stanza(stanza) # Skip if the URL and the verified value are the same. next if value_node.source == url_stanza.source.gsub(%r{^"https?://}, "\"") - # Skip if the URL has two path components, eg: `https://github.com/google/fonts.git`. + # Skip if the URL has two path components, e.g. `https://github.com/google/fonts.git`. next if url_stanza.source.gsub(%r{^"https?://}, "\"").count("/") == 2 # Skip if the verified value ends with a slash. next if value_node.str_content.end_with?("/") diff --git a/docs/vale-styles/Homebrew/Abbreviations.yml b/docs/vale-styles/Homebrew/Abbreviations.yml index 4b3c738bae3858..ad0c36843ff590 100644 --- a/docs/vale-styles/Homebrew/Abbreviations.yml +++ b/docs/vale-styles/Homebrew/Abbreviations.yml @@ -10,9 +10,9 @@ swap: '\bie\b': i.e. 'e\.g\.,': e.g. 'i\.e\.,': i.e. - '(?