From 127cdc8880f0a85a3481188f6253c076da7d077f Mon Sep 17 00:00:00 2001 From: Nate Holland Date: Sun, 5 May 2019 11:13:39 -0500 Subject: [PATCH] Renable cops when they are disabled Rubocop now requires that cops get re-enabled after they are disabled. This re-enabled previously disabled cops. --- lib/http/options.rb | 1 + spec/support/dummy_server/servlet.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/http/options.rb b/lib/http/options.rb index 3337a5fc..a61394f5 100644 --- a/lib/http/options.rb +++ b/lib/http/options.rb @@ -196,3 +196,4 @@ def argument_error!(message) end end end +# rubocop:enable Metrics/ClassLength diff --git a/spec/support/dummy_server/servlet.rb b/spec/support/dummy_server/servlet.rb index bc59ac25..d9702c80 100644 --- a/spec/support/dummy_server/servlet.rb +++ b/spec/support/dummy_server/servlet.rb @@ -174,4 +174,5 @@ def do_#{method.upcase}(req, res) end end end + # rubocop:enable Metrics/ClassLength end