Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gemspec: Add version requirements & CI: Build Gems ins strict & verbose mode #160

Merged
merged 2 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
bundler-cache: true
- name: Run tests
run: bundle exec rake
- name: Build gem
run: gem build --strict --verbose *.gemspec

tests:
needs:
Expand Down
8 changes: 4 additions & 4 deletions puppet-syntax.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.7'

spec.add_dependency 'puppet', '>= 7'
spec.add_dependency 'rake'
spec.add_dependency 'puppet', '>= 7', '< 9'
spec.add_dependency 'rake', '~> 13.1'

spec.add_development_dependency 'pry'
spec.add_development_dependency 'rb-readline'
spec.add_development_dependency 'pry', '~> 0.14.2'
spec.add_development_dependency 'rb-readline', '~> 0.5.5'

spec.add_development_dependency 'voxpupuli-rubocop', '~> 2.4.0'
end