From 4a22870c439d4d8555f6af5cb6a0e9af757e7555 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Jul 2025 12:44:10 +0000 Subject: [PATCH 1/3] build(deps-dev): bump rubocop from 1.75.8 to 1.78.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.8 to 1.78.0. - [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.75.8...v1.78.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.78.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 8c205df1ff..7c3d8b08eb 100644 --- a/Gemfile +++ b/Gemfile @@ -84,7 +84,7 @@ group :test do gem 'rspec-its' gem 'rspec-rails', '~> 8.0.1' gem 'rspec-wait' - gem 'rubocop', '~> 1.75.8' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-capybara' gem 'rubocop-factory_bot' gem 'rubocop-rails', '~> 2.32' diff --git a/Gemfile.lock b/Gemfile.lock index d4929fdceb..10c1a1e076 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -477,7 +477,7 @@ GEM activesupport (>= 3.0.0) mustache (~> 1.0, >= 0.99.4) rspec (~> 3.0) - rubocop (1.75.8) + rubocop (1.78.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -485,7 +485,7 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.44.0, < 2.0) + rubocop-ast (>= 1.45.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.45.1) @@ -682,7 +682,7 @@ DEPENDENCIES rspec-rails (~> 8.0.1) rspec-wait rspec_api_documentation (>= 6.1.0) - rubocop (~> 1.75.8) + rubocop (~> 1.78.0) rubocop-capybara rubocop-factory_bot rubocop-rails (~> 2.32) From b3210612484e7b1058e8d17f24575e487a92093b Mon Sep 17 00:00:00 2001 From: Jochen Ehret Date: Thu, 17 Jul 2025 15:53:25 +0200 Subject: [PATCH 2/3] Fix new RuboCop warning: "Empty interpolation detected." --- spec/unit/jobs/deserialization_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/jobs/deserialization_spec.rb b/spec/unit/jobs/deserialization_spec.rb index 6382ef6843..bfb9b3ba75 100644 --- a/spec/unit/jobs/deserialization_spec.rb +++ b/spec/unit/jobs/deserialization_spec.rb @@ -48,7 +48,7 @@ module Jobs --- !ruby/object:VCAP::CloudController::Jobs::LoggingContextJob handler: !ruby/object:VCAP::CloudController::Jobs::TimeoutJob handler: !ruby/object:VCAP::CloudController::Jobs::PollableJobWrapper - existing_guid: #{''} + existing_guid: null handler: !ruby/object:VCAP::CloudController::V3::CreateServiceInstanceJob start_time: #{job.start_time} finished: false @@ -76,7 +76,7 @@ module Jobs parts: :minutes: 10080 timeout: 14400 - request_id: #{''} + request_id: null EOS end From 4fbbae61c0cfe7a1537a03d2569047963ca448fa Mon Sep 17 00:00:00 2001 From: Jochen Ehret Date: Thu, 17 Jul 2025 16:06:45 +0200 Subject: [PATCH 3/3] Remove unnecessary RubCop directive --- .../20130806175100_support_30char_identifiers_for_oracle.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/migrations/20130806175100_support_30char_identifiers_for_oracle.rb b/db/migrations/20130806175100_support_30char_identifiers_for_oracle.rb index 6016888c96..ef6c49dc2f 100644 --- a/db/migrations/20130806175100_support_30char_identifiers_for_oracle.rb +++ b/db/migrations/20130806175100_support_30char_identifiers_for_oracle.rb @@ -1,5 +1,4 @@ # Copyright (c) 2009-2012 VMware, Inc. -# rubocop:disable Lint/ShadowingOuterLocalVariable def rename_foreign_key_internal(db, alter_table, table, current_name, new_name, &block) processed = false @@ -149,5 +148,4 @@ def rename_permission_table(name, name_short, permission) end end -# rubocop:enable Lint/ShadowingOuterLocalVariable # rubocop:enable Style/ArrayCoercion