diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb6a924..35b45bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Verify gem builds - run: gem build *.gemspec + run: gem build --strict --verbose *.gemspec # Currently no tests are defined in this gem # - name: Run spec tests # run: bundle exec rake diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cce833..fcc9fbd 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 *.gemspec + run: gem build --strict --verbose *.gemspec - name: Publish gem to rubygems.org run: gem push *.gem env: diff --git a/Gemfile b/Gemfile index cfd4a35..bdee17f 100644 --- a/Gemfile +++ b/Gemfile @@ -20,6 +20,7 @@ group :acceptance_testing do gem 'beaker', *location_for(ENV.fetch('BEAKER_VERSION', '~> 4.0')) end -group :release do - gem 'github_changelog_generator', require: false +group :release, optional: true do + gem 'faraday-retry', '~> 2.1', require: false + gem 'github_changelog_generator', '~> 1.16.4', require: false end diff --git a/beaker-google.gemspec b/beaker-google.gemspec index 4492a87..6bbc581 100644 --- a/beaker-google.gemspec +++ b/beaker-google.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/voxpupuli/beaker-google' s.summary = 'Beaker DSL Extension Helpers!' s.description = 'Google Compute Engine support for the Beaker acceptance testing tool.' - s.license = 'Apache2' + s.license = 'Apache-2.0' s.files = `git ls-files`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } @@ -24,13 +24,13 @@ Gem::Specification.new do |s| s.add_development_dependency 'pry', '~> 0.10' s.add_development_dependency 'rake', '~> 13.0' s.add_development_dependency 'rspec', '~> 3.0' - s.add_development_dependency 'rspec-its' - s.add_development_dependency 'simplecov' + s.add_development_dependency 'rspec-its', '~> 1.3' + s.add_development_dependency 'simplecov', '~> 0.22.0' s.add_development_dependency 'voxpupuli-rubocop', '~> 2.7.0' # Documentation dependencies - s.add_development_dependency 'thin' - s.add_development_dependency 'yard' + s.add_development_dependency 'thin', '~> 1.8', '>= 1.8.2' + s.add_development_dependency 'yard', '~> 0.9.36' # Run time dependencies s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'