From efb00ac7b8a927129e50bf7f984de955b44ef20d Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Mon, 20 Apr 2020 21:07:47 -0600 Subject: [PATCH] Bump rubocop dependency to 0.81.0 This is a breaking change. To get this to pass CI I had to delete the 'Lint/EndInMethod' cop, which has been renamed to 'Style/EndBlock'. Since we already had Style/EndBlock, I deleted rather than renaming the old cop. --- config/_default_shared.yml | 3 --- rubocop-github.gemspec | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config/_default_shared.yml b/config/_default_shared.yml index 1445bd0..e857102 100644 --- a/config/_default_shared.yml +++ b/config/_default_shared.yml @@ -113,9 +113,6 @@ Lint/EmptyEnsure: Lint/EmptyInterpolation: Enabled: true -Lint/EndInMethod: - Enabled: true - Lint/EnsureReturn: Enabled: true diff --git a/rubocop-github.gemspec b/rubocop-github.gemspec index aa24b7f..a6f1dc6 100644 --- a/rubocop-github.gemspec +++ b/rubocop-github.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| s.files = Dir["README.md", "STYLEGUIDE.md", "LICENSE", "config/*.yml", "lib/**/*.rb", "guides/*.md"] - s.add_dependency "rubocop", "<=0.78.0" + s.add_dependency "rubocop", "<=0.81.0" s.add_dependency "rubocop-performance", "~> 1.0" s.add_dependency "rubocop-rails", "~> 2.0"