diff options
| author | Xu Cheng | 2015-06-26 15:16:13 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-06-26 16:56:22 +0800 |
| commit | c07f4ad737995406be2c1b54a371addf82acb818 (patch) | |
| tree | ea9bba8e4b821fb4f19ac80ee11c95b07e4def4b /Library | |
| parent | e04f115f8d089f73a77cbf16f7aac7880f726a91 (diff) | |
| download | brew-c07f4ad737995406be2c1b54a371addf82acb818.tar.bz2 | |
outdated: output full name
Closes Homebrew/homebrew#41099.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/outdated.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index 28bb51bf3..caf4b2cf7 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -50,7 +50,7 @@ module Homebrew def print_outdated_json(formulae) json = [] outdated = outdated_brews(formulae) do |f, versions| - json << {:name => f.name, + json << {:name => f.full_name, :installed_versions => versions.collect(&:to_s), :current_version => f.pkg_version.to_s} end |
