diff --git a/Library/Homebrew/cask/metdata.rbi b/Library/Homebrew/cask/metadata.rbi similarity index 100% rename from Library/Homebrew/cask/metdata.rbi rename to Library/Homebrew/cask/metadata.rbi diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index a6d8c9724c9c8..f0e4bcdd067a5 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -19,7 +19,7 @@ def self.deps_args If any version of each formula argument is installed and no other options are passed, this command displays their actual runtime dependencies (similar - to `brew linkage`), which may differ from the current versons' stated + to `brew linkage`), which may differ from the current versions' stated dependencies if the installed versions are outdated. *Note:* `--missing` and `--skip-recommended` have precedence over `--include-*`. diff --git a/Library/Homebrew/rubocops/cask/discontinued.rb b/Library/Homebrew/rubocops/cask/discontinued.rb index 497b792d0dde5..a2c87748cd309 100644 --- a/Library/Homebrew/rubocops/cask/discontinued.rb +++ b/Library/Homebrew/rubocops/cask/discontinued.rb @@ -14,7 +14,7 @@ class Discontinued < Base def on_cask_stanza_block(stanza_block) stanza_block.stanzas.select(&:caveats?).each do |stanza| find_discontinued_method_call(stanza.stanza_node) do |node| - if caveats_constains_only_discontinued?(node.parent) + if caveats_contains_only_discontinued?(node.parent) add_offense(node.parent, message: MESSAGE) do |corrector| corrector.replace(node.parent.source_range, "deprecate! date: \"#{Date.today}\", because: :discontinued") @@ -26,7 +26,7 @@ def on_cask_stanza_block(stanza_block) end end - def_node_matcher :caveats_constains_only_discontinued?, <<~EOS + def_node_matcher :caveats_contains_only_discontinued?, <<~EOS (block (send nil? :caveats) (args) diff --git a/Library/Homebrew/rubocops/cask/discontinued.rbi b/Library/Homebrew/rubocops/cask/discontinued.rbi index de0c35e009c69..e344d37727fd2 100644 --- a/Library/Homebrew/rubocops/cask/discontinued.rbi +++ b/Library/Homebrew/rubocops/cask/discontinued.rbi @@ -10,7 +10,7 @@ module RuboCop block: T.nilable(T.proc.params(node: RuboCop::AST::SendNode).void), ).returns(T::Boolean) } - def caveats_constains_only_discontinued?(base_node, &block); end + def caveats_contains_only_discontinued?(base_node, &block); end sig { params( diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 42f235fe91b5c..962b3566abd68 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -570,7 +570,7 @@ def self.formula_files_by_name(tap) sig { returns(T::Hash[String, Pathname]) } def formula_files_by_name formula_files.each_with_object({}) do |file, hash| - # If there's more than one file with the same basename: use the longer one to prioritise more specifc results. + # If there's more than one file with the same basename: use the longer one to prioritise more specific results. basename = file.basename(".rb").to_s existing_file = hash[basename] hash[basename] = file if existing_file.nil? || existing_file.to_s.length < file.to_s.length @@ -600,7 +600,7 @@ def self.cask_files_by_name(tap) sig { returns(T::Hash[String, Pathname]) } def cask_files_by_name cask_files.each_with_object({}) do |file, hash| - # If there's more than one file with the same basename: use the longer one to prioritise more specifc results. + # If there's more than one file with the same basename: use the longer one to prioritise more specific results. basename = file.basename(".rb").to_s existing_file = hash[basename] hash[basename] = file if existing_file.nil? || existing_file.to_s.length < file.to_s.length diff --git a/docs/Manpage.md b/docs/Manpage.md index 47141d073237b..d4c040ca9ae4b 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -143,7 +143,7 @@ shows all required and recommended dependencies. If any version of each formula argument is installed and no other options are passed, this command displays their actual runtime dependencies (similar -to `brew linkage`), which may differ from the current versons' stated +to `brew linkage`), which may differ from the current versions' stated dependencies if the installed versions are outdated. *Note:* `--missing` and `--skip-recommended` have precedence over `--include-*`. diff --git a/manpages/brew.1 b/manpages/brew.1 index 9d6c1053d88bd..112bb2e72e0b3 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -158,7 +158,7 @@ Show Homebrew and system configuration info useful for debugging\. If you file a Show dependencies for \fIformula\fR\. When given multiple formula arguments, show the intersection of dependencies for each formula\. By default, \fBdeps\fR shows all required and recommended dependencies\. . .P -If any version of each formula argument is installed and no other options are passed, this command displays their actual runtime dependencies (similar to \fBbrew linkage\fR), which may differ from the current versons\' stated dependencies if the installed versions are outdated\. +If any version of each formula argument is installed and no other options are passed, this command displays their actual runtime dependencies (similar to \fBbrew linkage\fR), which may differ from the current versions\' stated dependencies if the installed versions are outdated\. . .P \fINote:\fR \fB\-\-missing\fR and \fB\-\-skip\-recommended\fR have precedence over \fB\-\-include\-*\fR\.