Merge pull request #5903 from native-api/show_bottle_disabled

Add "bottle_disabled" to `brew info --json`
This commit is contained in:
Mike McQuaid 2019-03-23 11:36:14 +00:00 committed by GitHub
commit 891c67d509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1606,6 +1606,7 @@ class Formula
"version_scheme" => version_scheme,
"bottle" => {},
"keg_only" => keg_only?,
"bottle_disabled" => bottle_disabled?,
"options" => [],
"build_dependencies" => dependencies.select(&:build?)
.map(&:name)