Formula: fix to_hash output for bottles

This commit is contained in:
Misty De Meo 2013-05-05 10:55:39 -05:00
parent 9f853973d7
commit 9ec3102e57

View File

@ -509,7 +509,7 @@ class Formula
"homepage" => homepage, "homepage" => homepage,
"versions" => { "versions" => {
"stable" => (stable.version.to_s if stable), "stable" => (stable.version.to_s if stable),
"bottle" => bottle || false, "bottle" => bottle ? true : false,
"devel" => (devel.version.to_s if devel), "devel" => (devel.version.to_s if devel),
"head" => (head.version.to_s if head) "head" => (head.version.to_s if head)
}, },