From 44e9e0494924f9861da27bbc77ebb73386227292 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Sun, 7 Apr 2019 14:27:45 +0200 Subject: [PATCH] Maintenance: Updated rubocop to latest version (0.67.2). --- .rubocop.yml | 2 ++ Gemfile | 1 + Gemfile.lock | 9 ++++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ae1736c76..aeec0247a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,8 @@ # Default enabled cops # https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml +require: rubocop-performance + inherit_from: .rubocop_todo.yml AllCops: diff --git a/Gemfile b/Gemfile index 75249229c..01b0a084c 100644 --- a/Gemfile +++ b/Gemfile @@ -164,6 +164,7 @@ group :development, :test do gem 'coffeelint' gem 'pre-commit' gem 'rubocop' + gem 'rubocop-performance' # changelog generation gem 'github_changelog_generator' diff --git a/Gemfile.lock b/Gemfile.lock index d491b5234..8916626e7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -331,8 +331,8 @@ GEM omniauth-weibo-oauth2 (0.5.2) omniauth (~> 1.5) omniauth-oauth2 (>= 1.4.0) - parallel (1.15.0) - parser (2.6.2.0) + parallel (1.17.0) + parser (2.6.2.1) ast (~> 2.4.0) pg (0.21.0) pluginator (1.5.0) @@ -416,7 +416,7 @@ GEM rspec-support (~> 3.8.0) rspec-support (3.8.0) rszr (0.4.0) - rubocop (0.66.0) + rubocop (0.67.2) jaro_winkler (~> 1.5.1) parallel (~> 1.10) parser (>= 2.5, != 2.5.1.1) @@ -424,6 +424,8 @@ GEM rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 1.6) + rubocop-performance (1.0.0) + rubocop (>= 0.58.0) ruby-progressbar (1.10.0) ruby_dep (1.5.0) rubyzip (1.2.2) @@ -592,6 +594,7 @@ DEPENDENCIES rspec-rails rszr (= 0.4.0) rubocop + rubocop-performance rubyntlm! sassc-rails selenium-webdriver