From 551ea0c6f1f48daccb77e98569d1e2b81268a70f Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 15 Jan 2020 16:16:17 +0500 Subject: [PATCH] Upgrade gem "rubocop" --- .rubocop.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 738012d..348dd57 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -37,7 +37,7 @@ Metrics/ClassLength: Exclude: - 'db/migrate/*.rb' -Metrics/LineLength: +Layout/LineLength: Exclude: - 'config/initializers/simple_form.rb' - 'config/initializers/simple_form_bootstrap.rb' diff --git a/Gemfile b/Gemfile index 66def82..8a9fb5b 100644 --- a/Gemfile +++ b/Gemfile @@ -135,7 +135,7 @@ group :development, :test do # Automatic Ruby code style checking tool. # Aims to enforce the community-driven Ruby Style Guide. - gem 'rubocop', '~> 0.72.0' + gem 'rubocop', '~> 0.79.0' # A collection of RuboCop cops # to check for performance optimizations in Ruby code. diff --git a/Gemfile.lock b/Gemfile.lock index f7bb76d..a126f26 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -387,10 +387,10 @@ GEM rspec-mocks (~> 3.9.0) rspec-support (~> 3.9.0) rspec-support (3.9.2) - rubocop (0.72.0) + rubocop (0.79.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) - parser (>= 2.6) + parser (>= 2.7.0.1) rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 1.7) @@ -537,7 +537,7 @@ DEPENDENCIES redis (~> 4.1) rest-client (~> 2.1) rspec-rails (~> 3.8) - rubocop (~> 0.72.0) + rubocop (~> 0.79.0) rubocop-performance (~> 1.4) rubocop-rails (~> 2.2) rubocop-rspec (~> 1.36)