diff options
| author | Jack Nagel | 2011-09-18 14:56:42 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-09-18 15:03:37 -0500 |
| commit | 560fb2dbcb118e9849ffb823f61345e2f9f465ef (patch) | |
| tree | 395b6c30bfe3b01ed337e5c2f7a29c363c6c6416 /Library | |
| parent | 3898010309d51d9c7a91fecb2f5bdbcb80e38180 (diff) | |
| download | brew-560fb2dbcb118e9849ffb823f61345e2f9f465ef.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>
Diffstat (limited to 'Library')
| -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 |
