Skip to content

Commit

Permalink
require Ruby 3+, 2 is EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
swiknaba committed Dec 30, 2023
1 parent 6f1f097 commit 2368a7f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rubocop-dbl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
]
spec.homepage = 'https://github.com/dbl-works/rubocop-dbl'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.1'

spec.add_dependency 'rubocop', '~> 1'
spec.add_dependency 'rubocop-ast', '~> 1'
Expand All @@ -27,9 +27,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'rubocop-rspec', '~> 2'
spec.add_dependency 'rubocop-sorbet', '~> 0.6'

if defined?(::Rails)
spec.add_dependency 'rubocop-rails', '~> 2'
end
spec.add_dependency 'rubocop-rails', '~> 2' if defined?(Rails)

spec.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 2368a7f

Please sign in to comment.