Fix code formatting
Upgrade gem dependencies
Fix rubocop configuration to use new options