From 567198c1827dce911f5c98ab9753061f2c7895ad Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sat, 3 Aug 2024 19:28:01 +0200 Subject: [PATCH] add dev gems to Gemfile instead of gemspec --- Gemfile | 7 +++++++ format-staged.gemspec | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 26ea26a..7cfcf2a 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,10 @@ group :ci do gem 'code-scanning-rubocop' gem 'rspec_junit_formatter' end + + +gem 'rake', '~> 13.0' +gem 'rspec' +gem 'rubocop', '~> 1.29' +gem 'rubocop-rake', '~> 0.6' +gem 'rubocop-rspec' diff --git a/format-staged.gemspec b/format-staged.gemspec index d8fd383..ddde6c8 100644 --- a/format-staged.gemspec +++ b/format-staged.gemspec @@ -19,12 +19,6 @@ Gem::Specification.new do |s| s.add_dependency 'colorize' - s.add_development_dependency 'rake', '~> 13.0' - s.add_development_dependency 'rspec' - s.add_development_dependency 'rubocop', '~> 1.29' - s.add_development_dependency 'rubocop-rake', '~> 0.6' - s.add_development_dependency 'rubocop-rspec' - s.metadata = { 'rubygems_mfa_required' => 'true' }