Skip to content

Commit 9487066

Browse files
build(deps-dev): bump rubocop from 1.72.2 to 1.75.2 (#4304)
* build(deps-dev): bump rubocop from 1.72.2 to 1.75.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.72.2 to 1.75.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.72.2...v1.75.2) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.75.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Run rubocop autocorrect --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M. Oleske <[email protected]>
1 parent 53e13f7 commit 9487066

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ group :test do
8383
gem 'rspec-its'
8484
gem 'rspec-rails', '~> 7.1.1'
8585
gem 'rspec-wait'
86-
gem 'rubocop', '~> 1.72.2'
86+
gem 'rubocop', '~> 1.75.2'
8787
gem 'rubocop-capybara'
8888
gem 'rubocop-factory_bot'
8989
gem 'rubocop-rails', '~> 2.29'

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,15 +469,15 @@ GEM
469469
activesupport (>= 3.0.0)
470470
mustache (~> 1.0, >= 0.99.4)
471471
rspec (~> 3.0)
472-
rubocop (1.72.2)
472+
rubocop (1.75.2)
473473
json (~> 2.3)
474474
language_server-protocol (~> 3.17.0.2)
475475
lint_roller (~> 1.1.0)
476476
parallel (~> 1.10)
477477
parser (>= 3.3.0.2)
478478
rainbow (>= 2.2.2, < 4.0)
479479
regexp_parser (>= 2.9.3, < 3.0)
480-
rubocop-ast (>= 1.38.0, < 2.0)
480+
rubocop-ast (>= 1.44.0, < 2.0)
481481
ruby-progressbar (~> 1.7)
482482
unicode-display_width (>= 2.4.0, < 4.0)
483483
rubocop-ast (1.44.1)
@@ -670,7 +670,7 @@ DEPENDENCIES
670670
rspec-rails (~> 7.1.1)
671671
rspec-wait
672672
rspec_api_documentation (>= 6.1.0)
673-
rubocop (~> 1.72.2)
673+
rubocop (~> 1.75.2)
674674
rubocop-capybara
675675
rubocop-factory_bot
676676
rubocop-rails (~> 2.29)

lib/cloud_controller/diego/staging_action_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def download_actions
109109
end
110110

111111
if !@config.get(:diego,
112-
:enable_declarative_asset_downloads) && (lifecycle_data[:build_artifacts_cache_download_uri] && lifecycle_data[:buildpack_cache_checksum].present?)
112+
:enable_declarative_asset_downloads) && lifecycle_data[:build_artifacts_cache_download_uri] && lifecycle_data[:buildpack_cache_checksum].present?
113113
result << try_action(::Diego::Bbs::Models::DownloadAction.new({
114114
artifact: 'build artifacts cache',
115115
from: lifecycle_data[:build_artifacts_cache_download_uri],

lib/cloud_controller/paging/sequel_paginator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_page(dataset, pagination_options)
3737
end
3838

3939
def can_paginate_with_window_function?(dataset)
40-
enable_paginate_window = Config.config.get(:db, :enable_paginate_window).nil? ? true : Config.config.get(:db, :enable_paginate_window)
40+
enable_paginate_window = Config.config.get(:db, :enable_paginate_window).nil? || Config.config.get(:db, :enable_paginate_window)
4141

4242
enable_paginate_window && dataset.supports_window_functions? && (!dataset.opts[:distinct] || !dataset.requires_unique_column_names_in_subquery_select_list?)
4343
end

lib/services/service_brokers/v2/catalog_plan.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(catalog_service, attrs)
1414
@name = attrs['name']
1515
@description = attrs['description']
1616
@errors = VCAP::Services::ValidationErrors.new
17-
@free = attrs['free'].nil? ? true : attrs['free']
17+
@free = attrs['free'].nil? || attrs['free']
1818
@bindable = attrs['bindable']
1919
@plan_updateable = attrs['plan_updateable']
2020
@maximum_polling_duration = attrs['maximum_polling_duration']

0 commit comments

Comments
 (0)