From 2369090c7b93cf57793884b570aed56798bc72bf Mon Sep 17 00:00:00 2001 From: camilopayan Date: Mon, 9 May 2022 07:08:42 +0000 Subject: [PATCH 1/3] [ 2022-05-09 ] - Update dependencies --- CHANGELOG.md | 4 ++++ Gemfile.lock | 6 +++--- standard.gemspec | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a88f662c..a8b24311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +* Update rubocop from 1.28.2 to [1.29.0](https://github.com/rubocop/rubocop/releases/tag/v1.29.0) + ## 1.11.0 * Update rubocop from 1.27.0 to [1.28.2](https://github.com/rubocop/rubocop/releases/tag/v1.28.2) diff --git a/Gemfile.lock b/Gemfile.lock index af56909f..3ef6d10b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: standard (1.11.0) - rubocop (= 1.28.2) + rubocop (= 1.29.0) rubocop-performance (= 1.13.3) GEM @@ -24,12 +24,12 @@ GEM rake (13.0.6) regexp_parser (2.3.1) rexml (3.2.5) - rubocop (1.28.2) + rubocop (1.29.0) parallel (~> 1.10) parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml + rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.17.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) diff --git a/standard.gemspec b/standard.gemspec index 30fa4bb3..30a8e9c1 100644 --- a/standard.gemspec +++ b/standard.gemspec @@ -19,6 +19,6 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_dependency "rubocop", "1.28.2" + spec.add_dependency "rubocop", "1.29.0" spec.add_dependency "rubocop-performance", "1.13.3" end From 0a2bc7d875023f5f701c49dd964f132178f0faed Mon Sep 17 00:00:00 2001 From: Camilo Payan Date: Tue, 10 May 2022 11:22:41 -0400 Subject: [PATCH 2/3] Removes Lint/UselessElse --- config/base.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/base.yml b/config/base.yml index 36247a79..fc96ddd3 100644 --- a/config/base.yml +++ b/config/base.yml @@ -787,9 +787,6 @@ Lint/UselessAccessModifier: Lint/UselessAssignment: Enabled: true -Lint/UselessElseWithoutRescue: - Enabled: true - Lint/UselessMethodDefinition: Enabled: false From 4416faef60f04104fd990bf2676e09689116962f Mon Sep 17 00:00:00 2001 From: Camilo Payan Date: Tue, 10 May 2022 11:32:50 -0400 Subject: [PATCH 3/3] Configures new cops Opted out of Gemspec/DependencyVersion since that should be up to the library/tool maintainer Opted out of Style/EnvHome to match with Style/FetchEnvVar --- config/base.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/base.yml b/config/base.yml index fc96ddd3..7f5fdf78 100644 --- a/config/base.yml +++ b/config/base.yml @@ -35,6 +35,9 @@ Bundler/OrderedGems: Gemspec/DateAssignment: Enabled: true +Gemspec/DependencyVersion: + Enabled: false + Gemspec/DuplicatedAssignment: Enabled: true Include: @@ -1257,6 +1260,9 @@ Style/EndBlock: Style/EndlessMethod: Enabled: false +Style/EnvHome: + Enabled: false + Style/EvalWithLocation: Enabled: true