commit
b9a30d154f
@ -197,7 +197,7 @@ rescue Exception => e # rubocop:disable Lint/RescueException
|
||||
|
||||
# Special case: need to recreate BuildErrors in full
|
||||
# for proper analytics reporting and error messages.
|
||||
# BuildErrors are specific to build processses and not other
|
||||
# BuildErrors are specific to build processes and not other
|
||||
# children, which is why we create the necessary state here
|
||||
# and not in Utils.safe_fork.
|
||||
if error_hash["json_class"] == "BuildError"
|
||||
|
||||
@ -11,7 +11,7 @@ module Homebrew
|
||||
def missing_args
|
||||
Homebrew::CLI::Parser.new do
|
||||
usage_banner <<~EOS
|
||||
`missing` [<options>] [<formule>]
|
||||
`missing` [<options>] [<formulae>]
|
||||
|
||||
Check the given <formula> for missing dependencies. If no <formula> are
|
||||
given, check all installed brews.
|
||||
|
||||
@ -71,7 +71,7 @@ module Formulary
|
||||
# instead have found the new formula.)
|
||||
#
|
||||
# Because of this, the user is referring to this specific formula,
|
||||
# not any formula targetted by the same alias, so in this context
|
||||
# not any formula targeted by the same alias, so in this context
|
||||
# the formula shouldn't be considered outdated if the alias used to
|
||||
# install it has changed.
|
||||
f.follow_installed_alias = false
|
||||
|
||||
@ -42,7 +42,7 @@ module OS
|
||||
to_sym.to_s.split("_").map(&:capitalize).join(" ")
|
||||
end
|
||||
|
||||
# For OS::Mac::Version compatability
|
||||
# For OS::Mac::Version compatibility
|
||||
def requires_nehalem_cpu?
|
||||
Hardware.oldest_cpu(self) == :nehalem
|
||||
end
|
||||
|
||||
@ -381,7 +381,7 @@ class Cmd
|
||||
paths.map! { |path| prefix + path }
|
||||
end
|
||||
|
||||
# Unlike path_flags, do not prune non-existant directories.
|
||||
# Unlike path_flags, do not prune non-existent directories.
|
||||
# formula.lib for example does not yet exist, but should not be pruned.
|
||||
def rpath_flags(prefix, paths)
|
||||
paths.uniq.map { |path| prefix + path }
|
||||
|
||||
@ -67,7 +67,7 @@ shared_examples EnvActivation do
|
||||
expect(subject["foo"]).to eq("1")
|
||||
end
|
||||
|
||||
it "appends to a non-existant key" do
|
||||
it "appends to a non-existent key" do
|
||||
subject.append "foo", "1"
|
||||
expect(subject["foo"]).to eq("1")
|
||||
end
|
||||
@ -93,7 +93,7 @@ shared_examples EnvActivation do
|
||||
expect(subject["foo"]).to eq("1")
|
||||
end
|
||||
|
||||
it "prepends to a non-existant key" do
|
||||
it "prepends to a non-existent key" do
|
||||
subject.prepend "foo", "1"
|
||||
expect(subject["foo"]).to eq("1")
|
||||
end
|
||||
|
||||
@ -185,7 +185,7 @@ describe Cask::Cask, :cask do
|
||||
end
|
||||
|
||||
context "when it is from no known tap" do
|
||||
it "retuns the cask token" do
|
||||
it "returns the cask token" do
|
||||
file = Tempfile.new(%w[tapless-cask .rb])
|
||||
|
||||
begin
|
||||
|
||||
@ -23,7 +23,7 @@ describe Cask::Cmd::Edit, :cask do
|
||||
}.to raise_error(/Only one Cask can be edited at a time\./)
|
||||
end
|
||||
|
||||
it "raises an exception when the Cask doesnt exist" do
|
||||
it "raises an exception when the Cask doesn't exist" do
|
||||
expect {
|
||||
described_class.run("notacask")
|
||||
}.to raise_error(Cask::CaskUnavailableError)
|
||||
|
||||
@ -21,7 +21,7 @@ describe Cask::Cmd::Outdated, :cask do
|
||||
|
||||
it_behaves_like "a command that handles invalid options"
|
||||
|
||||
describe 'without --greedy it ignores the Casks with "vesion latest" or "auto_updates true"' do
|
||||
describe 'without --greedy it ignores the Casks with "version latest" or "auto_updates true"' do
|
||||
it "checks all the installed Casks when no token is provided" do
|
||||
expect {
|
||||
described_class.run
|
||||
|
||||
@ -21,7 +21,7 @@ describe Formula do
|
||||
end
|
||||
end
|
||||
|
||||
it "cant override the `brew` method" do
|
||||
it "can't override the `brew` method" do
|
||||
expect {
|
||||
formula do
|
||||
def brew; end
|
||||
|
||||
@ -199,7 +199,7 @@ describe StringInreplaceExtension do
|
||||
describe "#sub!" do
|
||||
let(:string) { "foo" }
|
||||
|
||||
it "replaces the first occurence" do
|
||||
it "replaces the first occurrence" do
|
||||
subject.sub!("o", "e")
|
||||
expect(subject).to eq("feo")
|
||||
end
|
||||
@ -208,7 +208,7 @@ describe StringInreplaceExtension do
|
||||
describe "#gsub!" do
|
||||
let(:string) { "foo" }
|
||||
|
||||
it "replaces the all occurences" do
|
||||
it "replaces all occurrences" do
|
||||
subject.gsub!("o", "e") # rubocop:disable Performance/StringReplacement
|
||||
expect(subject).to eq("fee")
|
||||
end
|
||||
|
||||
@ -38,7 +38,7 @@ describe Resource do
|
||||
expect(subject.download_strategy).to eq(GitDownloadStrategy)
|
||||
end
|
||||
|
||||
it "raises an error if the download strategy class is unkown" do
|
||||
it "raises an error if the download strategy class is unknown" do
|
||||
expect { subject.url("foo", using: Class.new) }.to raise_error(TypeError)
|
||||
end
|
||||
|
||||
|
||||
@ -307,7 +307,7 @@ describe Tab do
|
||||
expect(subject.tabfile).to eq(f_tab_path)
|
||||
end
|
||||
|
||||
it "can create a Tab for a non-existant Keg" do
|
||||
it "can create a Tab for a non-existent Keg" do
|
||||
f.prefix.mkpath
|
||||
|
||||
expect(subject.tabfile).to eq(f_tab_path)
|
||||
@ -336,7 +336,7 @@ describe Tab do
|
||||
expect(tab.tabfile).to eq(f_tab_path)
|
||||
end
|
||||
|
||||
it "can create a Tab for a non-existant Formula" do
|
||||
it "can create a Tab for a non-existent Formula" do
|
||||
f.prefix.mkpath
|
||||
|
||||
tab = described_class.for_formula(f)
|
||||
|
||||
@ -28,7 +28,7 @@ class Version
|
||||
true
|
||||
end
|
||||
|
||||
# For OS::Mac::Version compatability
|
||||
# For OS::Mac::Version compatibility
|
||||
def requires_nehalem_cpu?
|
||||
false
|
||||
end
|
||||
|
||||
@ -25,7 +25,7 @@ function __fish_brew_opts -d "Only arguments starting with a dash (options)"
|
||||
string match --all -- '-*' (__fish_brew_args)
|
||||
end
|
||||
|
||||
# This can be used either to get the first argument or to match it against a given list of commmands
|
||||
# This can be used either to get the first argument or to match it against a given list of commands
|
||||
#
|
||||
# Usage examples (for `completion -n '...'`):
|
||||
# * `__fish_brew_command` returns the command (first arg of brew) or exits with 1
|
||||
@ -59,7 +59,7 @@ function __fish_brew_subcommand -a cmd -d "Helps matching the second argument of
|
||||
end
|
||||
end
|
||||
|
||||
# This can be used to match any given options agains the given list of arguments:
|
||||
# This can be used to match any given option against the given list of arguments:
|
||||
# * to add condition on interdependent options
|
||||
# * to ddd condition on mutually exclusive options
|
||||
#
|
||||
@ -390,7 +390,7 @@ __fish_brew_complete_arg 'install upgrade' -l keep-tmp -d "Keep temp fi
|
||||
__fish_brew_complete_arg 'install upgrade' -l build-bottle -d "Prepare the formula for eventual bottling during installation"
|
||||
__fish_brew_complete_arg 'install upgrade' -s i -l interactive -d "Download and patch formula, then open a shell"
|
||||
__fish_brew_complete_arg 'install upgrade; and __fish_brew_opt -i --interactive' -s g -l git -d "Create a Git repository for working on patches"
|
||||
# fomrula installtion options are listed after the formula name:
|
||||
# formula installation options are listed after the formula name:
|
||||
__fish_brew_complete_arg 'install;
|
||||
and [ (count (__fish_brew_args)) -ge 2 ];
|
||||
and not string match --quiet -- "-*" (__fish_brew_args)[-1]
|
||||
|
||||
@ -219,7 +219,7 @@ _brew_audit() {
|
||||
_arguments \
|
||||
'(--new-formula)--strict[run additional checks including RuboCop style checks]' \
|
||||
'(--new-formula)--online[run slower checks that require a network connection]' \
|
||||
'(--online --strict)--new-formula[check if a new formula is eligable for Homebrew. Implies --strict and --online]' \
|
||||
'(--online --strict)--new-formula[check if a new formula is eligible for Homebrew. Implies --strict and --online]' \
|
||||
'--display-cop-names[include RuboCop cop name for each violation in the output]' \
|
||||
'--display-filename[prefix every line of output with the name of the file or formula being audited]' \
|
||||
'*:formula:__brew_formulae'
|
||||
|
||||
@ -314,7 +314,7 @@ Show the `git log` for the given *`formula`*.
|
||||
|
||||
Migrate renamed packages to new name, where *`formula`* are old names of packages.
|
||||
|
||||
### `missing` [*`options`*] [*`formule`*]
|
||||
### `missing` [*`options`*] [*`formulae`*]
|
||||
|
||||
Check the given *`formula`* for missing dependencies. If no *`formula`* are given,
|
||||
check all installed brews.
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "BREW\-CASK" "1" "July 2019" "Homebrew" "brew-cask"
|
||||
.TH "BREW\-CASK" "1" "August 2019" "Homebrew" "brew-cask"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBbrew\-cask\fR \- a friendly binary installer for macOS
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "BREW" "1" "July 2019" "Homebrew" "brew"
|
||||
.TH "BREW" "1" "August 2019" "Homebrew" "brew"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBbrew\fR \- The missing package manager for macOS
|
||||
@ -412,7 +412,7 @@ Output only one commit\.
|
||||
.SS "\fBmigrate\fR [\fIoptions\fR] \fIformula\fR"
|
||||
Migrate renamed packages to new name, where \fIformula\fR are old names of packages\.
|
||||
.
|
||||
.SS "\fBmissing\fR [\fIoptions\fR] [\fIformule\fR]"
|
||||
.SS "\fBmissing\fR [\fIoptions\fR] [\fIformulae\fR]"
|
||||
Check the given \fIformula\fR for missing dependencies\. If no \fIformula\fR are given, check all installed brews\.
|
||||
.
|
||||
.P
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user