Skip to content

Commit

Permalink
Merge pull request #160 from bastelfreak/gems
Browse files Browse the repository at this point in the history
gemspec: Add version requirements & CI: Build Gems ins strict & verbose mode
  • Loading branch information
bastelfreak authored Feb 7, 2024
2 parents 2e13c53 + 56dc502 commit b66c537
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: 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

0 comments on commit b66c537

Please sign in to comment.