aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-03 09:00:20 -0400
committerGitHub2016-11-03 09:00:20 -0400
commit09f438aeccab6b0aba40b14763b9ba7be7917836 (patch)
treed65126a3bd41f88442bd337d88a453bfbeec854c /Library
parent018669084eb7c6f9e3a8554aa83bfbeb40861080 (diff)
parent0e15ffff627c17b6c83e7424c0f1357e99902802 (diff)
downloadbrew-09f438aeccab6b0aba40b14763b9ba7be7917836.tar.bz2
Merge pull request #1429 from mandarg/fix-few-typos
Correct a few typos
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/utils.rb2
-rw-r--r--Library/Homebrew/cmd/unpack.rb2
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
-rw-r--r--Library/Homebrew/download_strategy.rb2
-rw-r--r--Library/Homebrew/formula.rb2
-rw-r--r--Library/Homebrew/migrator.rb4
6 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb
index 116cb2095..b442efd2f 100644
--- a/Library/Homebrew/cask/lib/hbc/utils.rb
+++ b/Library/Homebrew/cask/lib/hbc/utils.rb
@@ -117,7 +117,7 @@ module Hbc
def self.error_message_with_suggestions
<<-EOS.undent
- Follow the instuctions here:
+ Follow the instructions here:
#{Formatter.url(PREBUG_URL)}
If this doesn’t fix the problem, please report this bug:
diff --git a/Library/Homebrew/cmd/unpack.rb b/Library/Homebrew/cmd/unpack.rb
index 6f4caea18..4e6584e70 100644
--- a/Library/Homebrew/cmd/unpack.rb
+++ b/Library/Homebrew/cmd/unpack.rb
@@ -6,7 +6,7 @@
#: If `--patch` is passed, patches for <formulae> will be applied to the
#: unpacked source.
#:
-#: If `--git` is passed, a Git repository will be initalized in the unpacked
+#: If `--git` is passed, a Git repository will be initialized in the unpacked
#: source. This is useful for creating patches for the software.
require "stringio"
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 96b9870c6..3c1901763 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -11,7 +11,7 @@
#: connection are run.
#:
#: If `--new-formula` is passed, various additional checks are run that check
-#: if a new formula is eligable for Homebrew. This should be used when creating
+#: if a new formula is eligible for Homebrew. This should be used when creating
#: new formulae and implies `--strict` and `--online`.
#:
#: If `--display-cop-names` is passed, the RuboCop cop name for each violation
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 057768246..63b821ceb 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -20,7 +20,7 @@ class AbstractDownloadStrategy
def fetch
end
- # Supress output
+ # Suppress output
def shutup!
@shutup = true
end
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index f1d907b7a..ab05548a8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1599,7 +1599,7 @@ class Formula
HOMEBREW_LIBRARY_PATH.join("test", "fixtures", file)
end
- # This method is overriden in {Formula} subclasses to provide the installation instructions.
+ # This method is overridden in {Formula} subclasses to provide the installation instructions.
# The sources (from {.url}) are downloaded, hash-checked and
# Homebrew changes into a temporary directory where the
# archive was unpacked or repository cloned.
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb
index fe480cd3b..a80cf0c59 100644
--- a/Library/Homebrew/migrator.rb
+++ b/Library/Homebrew/migrator.rb
@@ -165,7 +165,7 @@ class Migrator
rescue Interrupt
ignore_interrupts { backup_oldname }
rescue Exception => e
- onoe "Error occured while migrating."
+ onoe "Error occurred while migrating."
puts e
puts e.backtrace if ARGV.debug?
puts "Backuping..."
@@ -293,7 +293,7 @@ class Migrator
end
end
- # Backup everything if errors occured while migrating.
+ # Backup everything if errors occurred while migrating.
def backup_oldname
unlink_oldname_opt
unlink_oldname_cellar