From df01f9ad4dfb42c1d0e911b1ed919e378b807345 Mon Sep 17 00:00:00 2001 From: dcrosby Date: Tue, 25 Feb 2025 13:24:42 -0800 Subject: [PATCH] Migrate from Chefstyle to Cookstyle Signed-off-by: David Crosby --- Gemfile | 2 +- Rakefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 4a9f6fa..7baa055 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gemspec group :development do gem "rake" gem "rspec" - gem "chefstyle", "2.2.2" + gem "cookstyle", ">=7.32.8" end group :debug do diff --git a/Rakefile b/Rakefile index 13565e3..b28587b 100644 --- a/Rakefile +++ b/Rakefile @@ -2,14 +2,14 @@ require "rake" require "bundler/gem_tasks" begin - require "chefstyle" + require "cookstyle/chefstyle" require "rubocop/rake_task" desc "Run Chefstyle tests" RuboCop::RakeTask.new(:style) do |task| task.options += ["--display-cop-names", "--no-color"] end rescue LoadError - puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed." + puts "cookstyle gem is not installed. bundle install first to make sure all dependencies are installed." end RuboCop::RakeTask.new(:style)