diff --git a/lib/sgcop/version.rb b/lib/sgcop/version.rb index 669a9e2..a2e3584 100644 --- a/lib/sgcop/version.rb +++ b/lib/sgcop/version.rb @@ -1,3 +1,3 @@ module Sgcop - VERSION = '0.7.9'.freeze + VERSION = '0.7.10'.freeze end diff --git a/ruby/rubocop.yml b/ruby/rubocop.yml index 9402972..ca318f9 100644 --- a/ruby/rubocop.yml +++ b/ruby/rubocop.yml @@ -354,6 +354,12 @@ Style/RedundantStringEscape: # new in 1.37 # https://docs.rubocop.org/rubocop/cops_style.html#styleredundanteach Style/RedundantEach: # new in 1.38 Enabled: true +# https://docs.rubocop.org/rubocop/cops_style.html#stylearrayintersect +Style/ArrayIntersect: # new in 1.40 + Enabled: true +# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantconstantbase +Style/RedundantConstantBase: # new in 1.40 + Enabled: true # ============================================================ # Lint diff --git a/sgcop.gemspec b/sgcop.gemspec index 37970e7..66af6b9 100644 --- a/sgcop.gemspec +++ b/sgcop.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.9' spec.add_development_dependency 'debug' - spec.add_dependency 'rubocop', '~> 1.39.0' + spec.add_dependency 'rubocop', '~> 1.40.0' spec.add_dependency 'rubocop-performance', '~> 1.15.0' spec.add_dependency 'rubocop-rails', '~> 2.17.0' spec.add_dependency 'rubocop-rake', '~> 0.6.0'