Formula: fix to_hash output for bottles
This commit is contained in:
parent
9f853973d7
commit
9ec3102e57
@ -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)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user