move to ruby 2.1.2, clean whitespace and change indentation to spaces