Skip to content

Commit

Permalink
Drop Support for Ruby Versions <2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver committed Mar 19, 2024
1 parent 975c327 commit 2247918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Layout/ArgumentAlignment:
Layout/EmptyLineAfterGuardClause:
Enabled: false

AllCops:
TargetRubyVersion: '2.7'

Layout/LineLength:
Enabled: 111 # TODO: discuss and set this

Expand Down
2 changes: 1 addition & 1 deletion foreman_plugin_template.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.files = Dir['{app,config,db,lib,locale,webpack}/**/*'] + ['LICENSE', 'Rakefile', 'README.md', 'package.json']
s.test_files = Dir['test/**/*'] + Dir['webpack/**/__tests__/*.js']

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

s.add_development_dependency 'rdoc'
s.add_development_dependency 'rubocop'
Expand Down

0 comments on commit 2247918

Please sign in to comment.