The source project of this merge request has been removed.
Enable Rubocop Casecmp Performance Cop.
Also fixes the errors caused by enabling the cop.
casecmp is more performant than .downcase and ==.
See also: https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/performance/casecmp.rb