From 8446b1ab16e62af4f39f3e0b4c463c0423ed0c55 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 15 May 2024 10:50:15 +0200 Subject: [PATCH] cleanup voxpupli-rubocop setup This is now equal to all other gems we have. --- Gemfile | 4 ---- Rakefile | 9 ++------- beaker-hostgenerator.gemspec | 1 + 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 6e8c16c7..ed8d7cc9 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,3 @@ group :release do gem 'faraday-retry', require: false gem 'github_changelog_generator', require: false end - -group :rubocop do - gem 'voxpupuli-rubocop', '~> 2.0' -end diff --git a/Rakefile b/Rakefile index bc6f5c0d..a75a3d3f 100644 --- a/Rakefile +++ b/Rakefile @@ -70,12 +70,7 @@ rescue LoadError end begin - require 'rubocop/rake_task' + require 'voxpupuli/rubocop/rake' rescue LoadError - # RuboCop is an optional group -else - RuboCop::RakeTask.new(:rubocop) do |task| - # These make the rubocop experience maybe slightly less terrible - task.options = ['--display-cop-names', '--display-style-guide', '--extra-details'] - end + # the voxpupuli-rubocop gem is optional end diff --git a/beaker-hostgenerator.gemspec b/beaker-hostgenerator.gemspec index 3960f14b..0c6b6e5a 100644 --- a/beaker-hostgenerator.gemspec +++ b/beaker-hostgenerator.gemspec @@ -28,6 +28,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rake', '~> 13.0' s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rspec-its', '~> 1.3' + s.add_development_dependency 'voxpupuli-rubocop', '~> 2.7.0' # Run time dependencies s.add_runtime_dependency 'deep_merge', '~> 1.0'