def regenerate_rubocop_todo!
      before_version = scan_rubocop_version_in_rubocop_todo_file
      pull_request.commit! ':police_car: regenerate rubocop todo' do
        Rubocop::Command.new.auto_gen_config
      end
      after_version = scan_rubocop_version_in_rubocop_todo_file

      [before_version, after_version]
    end
def regenerate_rubocop_todo!
      before_version = scan_rubocop_version_in_rubocop_todo_file
      pull_request.commit! ':police_car: regenerate rubocop todo' do
        Rubocop::Command.new.auto_gen_config
      end
      after_version = scan_rubocop_version_in_rubocop_todo_file

      [before_version, after_version]
    end
Re-generate .rubocop_todo.yml and run git commit.

 @return [Array<String>]
  Returns the versions of RuboCop which created ".rubocop_todo.yml" before
  and after re-generate.