Correct rubocop erros and dump version