Skip to content

Commit

Permalink
Merge pull request #53 from bastelfreak/strict
Browse files Browse the repository at this point in the history
CI: build gem with --strict & --verbose
  • Loading branch information
bastelfreak authored Jun 7, 2024
2 parents 8c0d5bb + 6edd830 commit f944438
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions beaker-google.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand All @@ -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'
Expand Down

0 comments on commit f944438

Please sign in to comment.