Skip to content

Commit

Permalink
Merge pull request #28 from bastelfreak/cleanup
Browse files Browse the repository at this point in the history
add strict version constraints for dependencies & Build gem in strict mode
  • Loading branch information
bastelfreak authored Apr 23, 2024
2 parents 3e23713 + 1d86da6 commit 761e291
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Run tests
run: bundle exec rake
- name: Build gem
run: gem build *.gemspec
run: gem build --strict --verbose *.gemspec

tests:
needs:
Expand Down
10 changes: 5 additions & 5 deletions beaker-vcloud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/voxpupuli/beaker-vcloud'
s.summary = 'Beaker DSL Extension Helpers!'
s.description = 'For use 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 @@ -19,14 +19,14 @@ Gem::Specification.new do |s|

# Testing dependencies
s.add_development_dependency 'fakefs', '~> 2.5'
s.add_development_dependency 'rake'
s.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rspec-its'
s.add_development_dependency 'rspec-its', '~> 1.3'
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.6.0'

# Run time dependencies
s.add_runtime_dependency 'beaker', '>= 4', '< 6'
s.add_runtime_dependency 'beaker-vmware'
s.add_runtime_dependency 'beaker', '~> 5.8'
s.add_runtime_dependency 'beaker-vmware', '~> 2.1'
s.add_runtime_dependency 'rbvmomi2', '~> 3.7', '>= 3.7.1'
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
end

0 comments on commit 761e291

Please sign in to comment.