From 07a0ad6bd88ebf091b560916ca8b83622ab94d57 Mon Sep 17 00:00:00 2001 From: aki Date: Sun, 11 Dec 2022 09:29:20 +0900 Subject: [PATCH 1/2] feat: rubocop@1.40.0 --- ruby/rubocop.yml | 6 ++++++ sgcop.gemspec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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' From 150899316c903293891c23d55f3669cfd3913053 Mon Sep 17 00:00:00 2001 From: aki Date: Sun, 11 Dec 2022 09:29:43 +0900 Subject: [PATCH 2/2] bump --- lib/sgcop/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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