Rakefile in ws-style-6.9.8 vs Rakefile in ws-style-6.10.0
- old
+ new
@@ -13,16 +13,17 @@
task :election do
configuration_path = File.expand_path('default.yml', File.dirname(__FILE__))
configuration = RuboCop::ConfigLoader.load_file(configuration_path)
RuboCop::ConfigLoader.default_configuration.pending_cops.each do |pending_cop|
base_urls = {
- 'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout',
'gemspec' => 'https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspec',
+ 'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout',
'lint' => 'https://docs.rubocop.org/rubocop/cops_lint.html#lint',
- 'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
'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',
+ 'security' => 'https://docs.rubocop.org/rubocop/cops_security.html#security',
+ 'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
}
next if configuration.key?(pending_cop.name)
department, anchor = pending_cop.name.downcase.split('/')
puts <<~COMMENT