diff options
| author | Jack Nagel | 2011-09-18 14:56:42 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-09-18 15:03:37 -0500 |
| commit | 80cb72f732a8727dde7bea74ce0c543e2d2dd8ca (patch) | |
| tree | 9b0257719b5ded9461699bd16c487be06fcbaf01 | |
| parent | 89e15a22c9fc397d0757a9aed58b744e92e1536d (diff) | |
| download | homebrew-80cb72f732a8727dde7bea74ce0c543e2d2dd8ca.tar.bz2 | |
brew-missing: use name accessor on Formula objects
Commit 00cd16f changed oudated_brews to return a list of Formula
objects rather than a list of lists containing formula information.
Now we must access the formula name by using the 'name' accessor rather
than an array index.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rwxr-xr-x | Library/Contributions/examples/brew-missing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-missing.rb b/Library/Contributions/examples/brew-missing.rb index 5beca3c92..2fac4186d 100755 --- a/Library/Contributions/examples/brew-missing.rb +++ b/Library/Contributions/examples/brew-missing.rb @@ -12,7 +12,7 @@ end def main # Names of outdated brews; they count as installed. - outdated = Homebrew.outdated_brews.collect{ |b| b[1] } + outdated = Homebrew.outdated_brews.collect{ |b| b.name } formuale_to_check = ARGV.formulae rescue installed_brews |
