From 93b3713bc8d70990d1e796ea9502cd4f582eb54f Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sat, 22 Feb 2020 18:19:08 +0100 Subject: [PATCH] Update RuboCop dependency --- .rubocop.yml | 9 +++++++++ route_translator.gemspec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 739fe5f3..2a543400 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -49,5 +49,14 @@ Rails/HttpPositionalArguments: Style/Documentation: Enabled: false +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + Style/IfUnlessModifier: Enabled: false diff --git a/route_translator.gemspec b/route_translator.gemspec index a28c94eb..7c397271 100644 --- a/route_translator.gemspec +++ b/route_translator.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'minitest', '~> 5.14' spec.add_development_dependency 'rails', '>= 5.0.0.1', '< 6.1' spec.add_development_dependency 'rake', '~> 13.0' - spec.add_development_dependency 'rubocop', '~> 0.79.0' + spec.add_development_dependency 'rubocop', '~> 0.80.0' spec.add_development_dependency 'rubocop-performance', '~> 1.5' spec.add_development_dependency 'rubocop-rails', '~> 2.4' spec.add_development_dependency 'simplecov', '>= 0.17.1', '< 0.19'