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'