Updates rubocop to ~> 0.23.0

This also uses `RuboCop` instead of `Rubocop` which has been changed since 0.23.0: https://github.com/bbatsov/rubocop/commit/ff167d8f202baf7a68955db0aaf0dc29afb7e7ee