Merge pull request #8166 from Bo98/formula-deprecated-hash

formula: add deprecated/disabled info to hash
This commit is contained in:
Bo Anderson 2020-08-02 12:34:59 +01:00 committed by GitHub
commit a605154ba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1727,6 +1727,8 @@ class Formula
"linked_keg" => linked_version&.to_s, "linked_keg" => linked_version&.to_s,
"pinned" => pinned?, "pinned" => pinned?,
"outdated" => outdated?, "outdated" => outdated?,
"deprecated" => deprecated?,
"disabled" => disabled?,
} }
%w[stable devel].each do |spec_sym| %w[stable devel].each do |spec_sym|