tasks/cops_documentation.rake in rubocop-minitest-0.17.0 vs tasks/cops_documentation.rake in rubocop-minitest-0.17.1

- old
+ new

@@ -10,15 +10,15 @@ task.options = ['--no-output'] end task update_cops_documentation: :yard_for_generate_documentation do deps = ['Minitest'] - CopsDocumentationGenerator.new(departments: deps).call -end -desc 'Generate docs of all cops departments (obsolete)' -task :generate_cops_documentation do - puts 'Updating the documentation is now done automatically!' + # NOTE: Update `<<next>>` version for docs/modules/ROOT/pages/cops_minitest.adoc + # when running release tasks. + RuboCop::Minitest::Inject.defaults! + + CopsDocumentationGenerator.new(departments: deps).call end desc 'Syntax check for the documentation comments' task documentation_syntax_check: :yard_for_generate_documentation do require 'parser/ruby30'