Rakefile in ws-style-6.12.4 vs Rakefile in ws-style-6.13.0

- old
+ new

@@ -2,11 +2,10 @@ require "rspec/core/rake_task" require "rubocop" require "rubocop-performance" require "rubocop-rails" require "rubocop-rspec" - RSpec::Core::RakeTask.new(:spec) task default: :spec desc 'Print out comments that can be used for a GitHub cop election' @@ -19,17 +18,19 @@ 'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout', 'lint' => 'https://docs.rubocop.org/rubocop/cops_lint.html#lint', 'performance' => 'https://docs.rubocop.org/rubocop-performance/cops_performance.html#performance', 'rails' => 'https://docs.rubocop.org/rubocop-rails/cops_rails.html#rails', 'rspec' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspec', + 'rspec_factorybot' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybot', 'security' => 'https://docs.rubocop.org/rubocop/cops_security.html#security', 'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style', + 'naming' => 'https://docs.rubocop.org/rubocop/cops_naming.html#naming', } next if configuration.key?(pending_cop.name) - department, anchor = pending_cop.name.downcase.split('/') + *department, anchor = pending_cop.name.downcase.split('/') puts <<~COMMENT - [**#{pending_cop.name}**](#{base_urls.fetch(department)}#{anchor}) + [**#{pending_cop.name}**](#{base_urls.fetch(department.join('_'))}#{anchor}) #{pending_cop.metadata.fetch('Description')} COMMENT end end