[Ruby 1.9] Colons are no longer valid in case statements

Colons are no longer allowed in case statements in Ruby 1.9. Use
semi-colon, then, or newline instead. Also fix indenting.