Skip to content

Commit

Permalink
Fix Gemspec/RequiredRubyVersion cop
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver authored and evgeni committed Jan 25, 2024
1 parent c026b23 commit ded3cc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ inherit_gem:
theforeman-rubocop:
- default.yml

AllCops:
TargetRubyVersion: '2.7'

Layout/LineLength:
Exclude:
- 'test/**/*'
Expand Down
2 changes: 2 additions & 0 deletions puppetdb_foreman.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rdoc'
s.add_development_dependency 'theforeman-rubocop', '~> 0.1.2'
s.add_development_dependency 'webmock'

s.required_ruby_version = '>= 2.7', '< 4'
end

0 comments on commit ded3cc3

Please sign in to comment.