aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tab.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 276fcfa05..d5a95e05d 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -138,6 +138,11 @@ class Tab < OpenStruct
"path" => f.path.to_s,
"tap" => f.tap ? f.tap.name : f.tap,
"spec" => f.active_spec_sym.to_s,
+ "versions" => {
+ "stable" => f.stable ? f.stable.version.to_s : nil,
+ "devel" => f.devel ? f.devel.version.to_s : nil,
+ "head" => f.head ? f.head.version.to_s : nil,
+ }
}
end