From e5f4869c02442b7f11780c8bd033cbc6ccff9028 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2020 20:02:26 +0000 Subject: [PATCH] Bump rubocop from 0.83.0 to 0.91.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.83.0 to 0.91.0. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.83.0...v0.91.0) The `ConsiderPunctuation` option in the `OrderedGems` rule now defaults to false. We're changing it to true so we keep the existing behavior and because that's the way programs like vim sort lines. Signed-off-by: dependabot-preview[bot] Co-Authored-By: Javi Martín --- .hound.yml | 2 +- .rubocop.yml | 1 + Gemfile | 2 +- Gemfile.lock | 10 +++++++--- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.hound.yml b/.hound.yml index 0b423860b..c7c92dcfe 100644 --- a/.hound.yml +++ b/.hound.yml @@ -1,6 +1,6 @@ rubocop: config_file: .rubocop.yml - version: 0.83.0 + version: 0.91.0 scss: config_file: .scss-lint.yml erblint: diff --git a/.rubocop.yml b/.rubocop.yml index 9941c7659..b8dd5c66c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -15,6 +15,7 @@ Bundler/DuplicatedGem: Bundler/OrderedGems: Enabled: true + ConsiderPunctuation: true Capybara/CurrentPathExpectation: Enabled: true diff --git a/Gemfile b/Gemfile index f5580c981..6a3827b69 100644 --- a/Gemfile +++ b/Gemfile @@ -102,7 +102,7 @@ group :development do gem "erb_lint", require: false gem "github_changelog_generator", "~> 1.15.2" gem "mdl", "~> 0.11.0", require: false - gem "rubocop", "~> 0.83.0", require: false + gem "rubocop", "~> 0.91.0", require: false gem "rubocop-performance", "~> 1.7.1", require: false gem "rubocop-rails", "~> 2.3.2", require: false gem "rubocop-rspec", "~> 1.35.0", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 35285d5f1..883830f58 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -493,13 +493,17 @@ GEM rspec-mocks (~> 3.9) rspec-support (~> 3.9) rspec-support (3.9.3) - rubocop (0.83.0) + rubocop (0.91.1) parallel (~> 1.10) - parser (>= 2.7.0.1) + parser (>= 2.7.1.1) rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.7) rexml + rubocop-ast (>= 0.4.0, < 1.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 2.0) + rubocop-ast (0.7.1) + parser (>= 2.7.1.5) rubocop-performance (1.7.1) rubocop (>= 0.82.0) rubocop-rails (2.3.2) @@ -707,7 +711,7 @@ DEPENDENCIES rinku (~> 2.0.6) rollbar (~> 3.0.0) rspec-rails (~> 4.0) - rubocop (~> 0.83.0) + rubocop (~> 0.91.0) rubocop-performance (~> 1.7.1) rubocop-rails (~> 2.3.2) rubocop-rspec (~> 1.35.0)