Skip to content

Commit

Permalink
vale
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Apr 30, 2024
1 parent b693cb7 commit 683e081
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Library/Homebrew/dev-cmd/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/dev-cmd/update-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/rubocops/cask/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?("/")
Expand Down
6 changes: 3 additions & 3 deletions docs/vale-styles/Homebrew/Abbreviations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ swap:
'\bie\b': i.e.
'e\.g\.,': e.g.
'i\.e\.,': i.e.
'(?<!\.|<)\borg\b': organisation
'\borgs\b': organisations
'(?<!^\{.*|\.|<)\borg\b': organisation
'(?<!^\{.*)\borgs\b': organisations
'(?<!^\{.*|<)\brepo\b': repository # FIXME: https://github.com/errata-ai/vale/issues/818
'\brepos\b': repositories
'(?<!^\{.*)\brepos\b': repositories
'\bivar\b': instance variable
'\bivars\b': instance variables
2 changes: 1 addition & 1 deletion manpages/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Manual pages
# Manual Pages

This directory contains the generated Homebrew man pages from the `brew generate-man-completions` command. This command creates the output from the `CLI::Parser` definitions in files, sections extracted from the repository's `README.md` and `brew.1.md.erb`.

0 comments on commit 683e081

Please sign in to comment.