From 1c132ac53def3188fd0c4f6cf6b0d0813dfd3abf Mon Sep 17 00:00:00 2001 From: Alan Cruikshanks Date: Fri, 3 Jan 2020 13:53:04 +0000 Subject: [PATCH] Fix rubocop issues following update It looks like rubocop 0.78 has changed the name of the cop for handling exceptions, making a more specific one for when exceptions are suppressed. This resolves the issues with the build, and should get Travis green again. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 80e8031..beef3ca 100644 --- a/Rakefile +++ b/Rakefile @@ -11,7 +11,7 @@ Bundler::GemHelper.install_tasks # This is wrapped to prevent an error when rake is called in environments where # rspec may not be available, e.g. production. As such we don't need to handle # the error. -# rubocop:disable Lint/HandleExceptions +# rubocop:disable Lint/SuppressedException begin require "rspec/core/rake_task" @@ -30,4 +30,4 @@ begin rescue LoadError # no changelog available end -# rubocop:enable Lint/HandleExceptions +# rubocop:enable Lint/SuppressedException