lib/kpm/account.rb in kpm-0.8.2 vs lib/kpm/account.rb in kpm-0.9.0

- old
+ new

@@ -314,12 +314,13 @@ value end def replace_boolean(value) - if value.to_s == 'true' + case value.to_s + when 'true' 1 - elsif value.to_s == 'false' + when 'false' 0 else value end end