diff options
-rw-r--r-- | .rubocop_todo.yml | 7 | ||||
-rw-r--r-- | Rakefile | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 533d31d..e636a8b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -45,13 +45,6 @@ Lint/RescueException: - 'lib/nickserver/config.rb' - 'lib/nickserver/couch/fetch_key.rb' -# Offense count: 2 -# Cop supports --auto-correct. -# Configuration parameters: AllowUnusedKeywordArguments. -Lint/UnusedBlockArgument: - Exclude: - - 'Rakefile' - # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. @@ -26,7 +26,7 @@ $spec = eval(File.read(File.join($base_dir, $spec_path))) $gem_path = File.join($base_dir, 'pkg', "#{$spec.name}-#{$spec.version}.gem") def run(cmd) - PTY.spawn(cmd) do |output, input, pid| + PTY.spawn(cmd) do |output, _input, _pid| begin while line = output.gets do puts line |