diff --git a/theforeman-rubocop.gemspec b/theforeman-rubocop.gemspec index 4eb515b..f6b8ee0 100644 --- a/theforeman-rubocop.gemspec +++ b/theforeman-rubocop.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'rubocop-graphql', '~> 1.4.0' spec.add_dependency 'rubocop-minitest', '~> 0.33.0' spec.add_dependency 'rubocop-performance', '~> 1.19.0' - spec.add_dependency 'rubocop-rails', '~> 2.22.0' + spec.add_dependency 'rubocop-rails', '>= 2.22', '< 2.26' spec.add_dependency 'rubocop-rspec', '~> 2.25.0' spec.add_development_dependency 'bundler', '~> 2.4', '>= 2.4.22' spec.add_development_dependency 'rake', '~> 13.0', '>= 13.1.0'