From 71c12fd764a0daaeb6c419bcddf5068fcac05dfd Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 28 Jun 2024 16:43:06 +0200 Subject: [PATCH 1/2] gemspec: Add strict version dependencies --- modulesync.gemspec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modulesync.gemspec b/modulesync.gemspec index 5d5c1a0..3b6f1ab 100644 --- a/modulesync.gemspec +++ b/modulesync.gemspec @@ -19,10 +19,10 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_development_dependency 'aruba', '~>2.0' - spec.add_development_dependency 'cucumber' - spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec' - spec.add_development_dependency 'simplecov' + spec.add_development_dependency 'cucumber', '~> 9.2' + spec.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1' + spec.add_development_dependency 'rspec', '~> 3.13' + spec.add_development_dependency 'simplecov', '~> 0.22.0' spec.add_development_dependency 'voxpupuli-rubocop', '~> 2.8.0' spec.add_runtime_dependency 'git', '~>1.7' From 5bc2c52ae7b43ab69886471aa3a6ed35742460c5 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 28 Jun 2024 16:43:30 +0200 Subject: [PATCH 2/2] CI: Build gems with strict and verbose mode --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f057676..64de1e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Run behavior tests run: bundle exec cucumber - name: Build gem - run: gem build --verbose *.gemspec + run: gem build --strict --verbose *.gemspec tests: needs: - rubocop diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf05d97..8b79d99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: env: BUNDLE_WITHOUT: release - name: Build gem - run: gem build --verbose *.gemspec + run: gem build --strict --verbose *.gemspec - name: Publish gem to rubygems.org run: gem push *.gem env: