From 62652c10aa2cdb855a4088d1df9f70fa748fea61 Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Wed, 5 Apr 2017 00:36:13 -0700 Subject: [PATCH] Update RuboCop 0.45.0 -> 0.48.1 for Travis --- .rubocop.yml | 6 ++++++ Gemfile | 2 +- lib/mock_redis/database.rb | 9 +++------ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index bacdde01..1e527efa 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,6 +9,9 @@ Lint/Void: Metrics/AbcSize: Enabled: false +Metrics/BlockLength: + Enabled: false + Metrics/CyclomaticComplexity: Enabled: false @@ -90,6 +93,9 @@ Style/SignalException: Style/SingleLineBlockParams: Enabled: false +Style/SymbolArray: + Enabled: false + Style/TrailingCommaInArguments: Enabled: false diff --git a/Gemfile b/Gemfile index 843ce784..294cf338 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,6 @@ gemspec gem 'overcommit', '0.39.0' # Pin tool versions (which are executed by Overcommit) for Travis builds -gem 'rubocop', '0.45.0' +gem 'rubocop', '0.48.1' gem 'coveralls', require: false diff --git a/lib/mock_redis/database.rb b/lib/mock_redis/database.rb index 64bfe03c..3e5f041b 100644 --- a/lib/mock_redis/database.rb +++ b/lib/mock_redis/database.rb @@ -229,14 +229,11 @@ def type(key) end end - def script(subcommand, *args) - end + def script(subcommand, *args); end - def evalsha(*args) - end + def evalsha(*args); end - def eval(*args) - end + def eval(*args); end private