fix code style issues
 * use modern hash syntax
 * install rubocop to check style