Improved auto-indent and dedent for ruby, now with test coverage