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: 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'