From 7daeac340147aa2a5804e30f2efb88466d84a52b Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Fri, 1 Mar 2019 21:27:08 -0300 Subject: [PATCH] style: enable Style/Encoding rubocop --- .rubocop.yml | 3 +++ rack-attack.gemspec | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 365ca05..0d4f3c6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -41,6 +41,9 @@ Style/BlockDelimiters: Style/BracesAroundHashParameters: Enabled: true +Style/Encoding: + Enabled: true + Style/EmptyMethod: Enabled: true diff --git a/rack-attack.gemspec b/rack-attack.gemspec index bbee3e0..98eb88d 100644 --- a/rack-attack.gemspec +++ b/rack-attack.gemspec @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # frozen_string_literal: true lib = File.expand_path('../lib/', __FILE__)