formula: installed_{as_dependency,on_request} hash

Which, in turn, provides them for `brew info --json=v1` so other tools
such as e.g. `brew bundle` can make use of this information.
This commit is contained in:
Mike McQuaid 2017-01-09 21:06:38 +00:00
parent b99fb56275
commit 44f1c9752a

View File

@ -1629,6 +1629,8 @@ class Formula
"built_as_bottle" => tab.built_as_bottle,
"poured_from_bottle" => tab.poured_from_bottle,
"runtime_dependencies" => tab.runtime_dependencies,
"installed_as_dependency" => tab.installed_as_dependency,
"installed_on_request" => tab.installed_on_request,
}
end