Fix RuboCop API to RuboCop