From 45c37c6de19d1e3a9424f9d047be6ce54cac0eb3 Mon Sep 17 00:00:00 2001 From: Ivan Kuchin Date: Tue, 17 Jul 2018 21:53:16 +0200 Subject: [PATCH] rubocop 0.58 --- .rubocop.yml | 3 +++ image_optim.gemspec | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 0c22c7e3..2a13938b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -44,6 +44,9 @@ Lint/AmbiguousBlockAssociation: Lint/NestedPercentLiteral: Enabled: false +Lint/UnneededRequireStatement: + Enabled: false + Lint/UnneededSplatExpansion: Enabled: false diff --git a/image_optim.gemspec b/image_optim.gemspec index c0f6be74..9af54c5b 100644 --- a/image_optim.gemspec +++ b/image_optim.gemspec @@ -28,7 +28,7 @@ EOF s.add_development_dependency 'image_optim_pack', '~> 0.2', '>= 0.2.2' s.add_development_dependency 'rspec', '~> 3.0' - if RUBY_VERSION >= '2.1' - s.add_development_dependency 'rubocop', '~> 0.53' + if RUBY_VERSION >= '2.2' + s.add_development_dependency 'rubocop', '~> 0.58' end end