From a0d988add2987d7a3df0c6129ec91e82ea3e6695 Mon Sep 17 00:00:00 2001 From: Vito Botta Date: Sun, 14 Apr 2024 12:32:56 +0000 Subject: [PATCH] Move dependencies definition to gemspec --- .rubocop.yml | 2 +- Gemfile | 8 -------- Gemfile.lock | 10 +++++----- hetzner-k3s.gemspec | 6 ++++++ 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d7e700b..96c00fa 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ AllCops: Gemspec/DeprecatedAttributeAssignment: # new in 1.30 Enabled: true Gemspec/DevelopmentDependencies: # new in 1.44 - Enabled: true + Enabled: false Gemspec/RequireMFA: # new in 1.23 Enabled: true Layout/LineContinuationLeadingSpace: # new in 1.31 diff --git a/Gemfile b/Gemfile index e5aa886..4cfe17b 100644 --- a/Gemfile +++ b/Gemfile @@ -4,11 +4,3 @@ source "https://rubygems.org" # Specify your gem's dependencies in hetzner-k3s.gemspec gemspec - -group :development do - gem "rake" - gem "rspec" - gem "rubocop" - gem "rubocop-rake" - gem "rubocop-rspec" -end diff --git a/Gemfile.lock b/Gemfile.lock index 0d937c7..8a2da3e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,11 +69,11 @@ PLATFORMS DEPENDENCIES hetzner-k3s! - rake - rspec - rubocop - rubocop-rake - rubocop-rspec + rake (~> 13.2, >= 13.2.1) + rspec (~> 3.13) + rubocop (~> 1.63, >= 1.63.1) + rubocop-rake (~> 0.6.0) + rubocop-rspec (~> 2.29, >= 2.29.1) BUNDLED WITH 2.5.9 diff --git a/hetzner-k3s.gemspec b/hetzner-k3s.gemspec index a67a1c2..a22748a 100644 --- a/hetzner-k3s.gemspec +++ b/hetzner-k3s.gemspec @@ -36,4 +36,10 @@ Gem::Specification.new do |spec| # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html + + spec.add_development_dependency "rake", '~> 13.2', '>= 13.2.1' + spec.add_development_dependency "rspec", '~> 3.13' + spec.add_development_dependency "rubocop", '~> 1.63', '>= 1.63.1' + spec.add_development_dependency "rubocop-rake", '~> 0.6.0' + spec.add_development_dependency "rubocop-rspec", '~> 2.29', '>= 2.29.1' end