aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-09-18 14:56:42 -0500
committerJack Nagel2011-09-18 15:03:37 -0500
commit560fb2dbcb118e9849ffb823f61345e2f9f465ef (patch)
tree395b6c30bfe3b01ed337e5c2f7a29c363c6c6416 /Library
parent3898010309d51d9c7a91fecb2f5bdbcb80e38180 (diff)
downloadbrew-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-xLibrary/Contributions/examples/brew-missing.rb2
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