From a3f00d043f6b6b86607129c2b35bf13b28754910 Mon Sep 17 00:00:00 2001 From: Will Hopper Date: Thu, 16 Mar 2017 14:01:22 -0700 Subject: [PATCH] (maint) Update outdated rubocop checks --- .rubocop.yml | 5 ++++- Gemfile | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 91b2a9f..ccd6d11 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -76,6 +76,9 @@ Style/RedundantSelf: Metrics/MethodLength: Enabled: false +Metrics/ModuleLength: + Enabled: false + # DISABLED - not useful Style/WhileUntilModifier: Enabled: false @@ -318,7 +321,7 @@ Style/EmptyLiteral: Metrics/LineLength: Enabled: false -Style/MethodCallParentheses: +Style/MethodCallWithoutArgsParentheses: Enabled: false Style/MethodDefParentheses: diff --git a/Gemfile b/Gemfile index eb72b2b..69c8cc8 100644 --- a/Gemfile +++ b/Gemfile @@ -34,6 +34,6 @@ group :development do end end -gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0' -gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0' -gem 'rubocop' if RUBY_VERSION >= '2.0.0' +gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0' +gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0' +gem 'rubocop', '<= 0.47.0' if RUBY_VERSION >= '2.0.0'