From b9126caf3e68548b852a1aeebd2901db17c5c480 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 8 Jan 2024 11:44:28 +0100 Subject: [PATCH] reorder gems in Gemfile/gemspec We usually have all development gems in the gemspec. Gemfile contains only the release-specific gems. --- .rubocop.yml | 4 ---- Gemfile | 8 -------- puppet-ghostbuster.gemspec | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4304779..bc5bb34 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,3 @@ inherit_from: .rubocop_todo.yml inherit_gem: voxpupuli-rubocop: rubocop.yml - -Naming/FileName: - Exclude: - - "*.gemspec" diff --git a/Gemfile b/Gemfile index a669e4c..462ca5a 100644 --- a/Gemfile +++ b/Gemfile @@ -13,11 +13,3 @@ group :coverage, optional: ENV['COVERAGE'] != 'yes' do gem 'codecov', require: false gem 'simplecov-console', require: false end - -group :development do - gem 'rake', '~> 13.0', '>= 13.0.6' - gem 'rspec', '~> 3.12' - gem 'rspec-collection_matchers', '~> 1.2' - gem 'rspec-its', '~> 1.3' - gem 'voxpupuli-rubocop', '~> 2.0' -end diff --git a/puppet-ghostbuster.gemspec b/puppet-ghostbuster.gemspec index 7f32301..00f0381 100644 --- a/puppet-ghostbuster.gemspec +++ b/puppet-ghostbuster.gemspec @@ -18,12 +18,12 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.add_development_dependency 'coveralls', '>= 0.8', '< 0.9' - s.add_development_dependency 'github_changelog_generator', '>= 1.16.0', '< 1.17.0' s.add_development_dependency 'jgrep', '>= 1.0.0', '< 2.0.0' s.add_development_dependency 'rake', '>= 13.0.0', '< 14.0.0' s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rspec-collection_matchers', '~> 1.0' s.add_development_dependency 'rspec-its', '~> 1.0' + s.add_development_dependency 'voxpupuli-rubocop', '~> 2.2.0' s.add_runtime_dependency 'json', '>= 2.0', '< 3.0' s.add_runtime_dependency 'puppet', '>= 6.0', '< 9.0' s.add_dependency 'puppet-lint', '>= 1.0', '< 5.0'