From d2559f778d8dd606e48dc54be65facda340c70d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:38:18 +0000 Subject: [PATCH 1/2] Build(deps-dev): Update rubocop requirement from ~> 1.57.2 to ~> 1.63.2 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.57.2...v1.63.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 22 +++++++++++----------- tetra.gemspec | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 51aafcd..7aedb4e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,7 +57,7 @@ GEM erb (4.0.4) cgi (>= 0.3.3) ffi (1.15.5) - json (2.6.3) + json (2.7.2) json_pure (2.7.2) language_server-protocol (3.17.0.3) mime-types (3.4.1) @@ -65,14 +65,14 @@ GEM mime-types-data (3.2022.0105) multi_test (0.1.2) open4 (1.3.4) - parallel (1.23.0) - parser (3.2.2.4) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) racc - racc (1.7.1) + racc (1.7.3) rainbow (3.1.1) rake (13.2.1) - regexp_parser (2.8.2) + regexp_parser (2.9.0) rexml (3.2.6) rspec (3.13.0) rspec-core (~> 3.13.0) @@ -87,19 +87,19 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.0) - rubocop (1.57.2) + rubocop (1.63.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) ruby-progressbar (1.13.0) rubyzip (2.3.2) simplecov (0.22.0) @@ -123,7 +123,7 @@ DEPENDENCIES aruba (~> 0.6.2) rake (~> 13.2.0) rspec (~> 3.13.0) - rubocop (~> 1.57.2) + rubocop (~> 1.63.2) simplecov (~> 0.22.0) tetra! diff --git a/tetra.gemspec b/tetra.gemspec index a53febb..dd73b45 100644 --- a/tetra.gemspec +++ b/tetra.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |s| s.add_development_dependency "simplecov", "~> 0.22.0" s.add_development_dependency "rake", "~> 13.2.0" s.add_development_dependency "rspec", "~> 3.13.0" - s.add_development_dependency "rubocop", "~> 1.57.2" + s.add_development_dependency "rubocop", "~> 1.63.2" s.add_runtime_dependency "clamp", "~> 1.3.2" s.add_runtime_dependency "erb", "~> 4.0.3" From f02976eb28387efe91e0cd62fade15725478f309 Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Tue, 16 Apr 2024 13:44:02 +0200 Subject: [PATCH 2/2] fix Style/RedundantParentheses Signed-off-by: Dominik Gedon --- lib/tetra/pom_getter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tetra/pom_getter.rb b/lib/tetra/pom_getter.rb index 7424765..208e47b 100644 --- a/lib/tetra/pom_getter.rb +++ b/lib/tetra/pom_getter.rb @@ -8,7 +8,7 @@ class PomGetter # saves a jar poms in .pom # returns filename and status if found, else nil def get_pom(filename) - content, status = (get_pom_from_jar(filename) || get_pom_from_sha1(filename) || get_pom_from_heuristic(filename)) + content, status = get_pom_from_jar(filename) || get_pom_from_sha1(filename) || get_pom_from_heuristic(filename) return unless content pom_filename = filename.sub(/(\.jar)?$/, ".pom")