Skip to content

Commit ce81aeb

Browse files
build(deps-dev): bump rubocop from 1.75.2 to 1.75.3 (#4319)
* build(deps-dev): bump rubocop from 1.75.2 to 1.75.3 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.2 to 1.75.3. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.75.2...v1.75.3) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.75.3 dependency-type: direct:development update-type: version-update:semver-patch ... 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 7b71106 commit ce81aeb

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
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.75.2'
86+
gem 'rubocop', '~> 1.75.3'
8787
gem 'rubocop-capybara'
8888
gem 'rubocop-factory_bot'
8989
gem 'rubocop-rails', '~> 2.31'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ GEM
469469
activesupport (>= 3.0.0)
470470
mustache (~> 1.0, >= 0.99.4)
471471
rspec (~> 3.0)
472-
rubocop (1.75.2)
472+
rubocop (1.75.3)
473473
json (~> 2.3)
474474
language_server-protocol (~> 3.17.0.2)
475475
lint_roller (~> 1.1.0)
@@ -671,7 +671,7 @@ DEPENDENCIES
671671
rspec-rails (~> 7.1.1)
672672
rspec-wait
673673
rspec_api_documentation (>= 6.1.0)
674-
rubocop (~> 1.75.2)
674+
rubocop (~> 1.75.3)
675675
rubocop-capybara
676676
rubocop-factory_bot
677677
rubocop-rails (~> 2.31)

app/presenters/v3/droplet_presenter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def droplet_buildpack_info
7070
name_to_lookup = buildpack.buildpack_url
7171
name_to_print = CloudController::UrlSecretObfuscator.obfuscate(buildpack.buildpack_url)
7272
end
73-
detect_output = droplet.buildpack_receipt_buildpack == (name_to_lookup) ? droplet.buildpack_receipt_detect_output : nil
73+
detect_output = droplet.buildpack_receipt_buildpack == name_to_lookup ? droplet.buildpack_receipt_detect_output : nil
7474
{
7575
name: name_to_print,
7676
detect_output: detect_output,

lib/cloud_controller/diego/app_recipe_builder.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ def generate_routes(info)
166166

167167
{
168168
CF_ROUTES_KEY => Oj.dump(http_routes),
169-
TCP_ROUTES_KEY => Oj.dump((info['tcp_routes'] || [])),
170-
INTERNAL_ROUTES_KEY => Oj.dump((info['internal_routes'] || []))
169+
TCP_ROUTES_KEY => Oj.dump(info['tcp_routes'] || []),
170+
INTERNAL_ROUTES_KEY => Oj.dump(info['internal_routes'] || [])
171171
}
172172
end
173173

spec/logcache/container_metric_batcher_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def generate_batch(size, offset: 0, last_timestamp: TimeUtils.to_nanoseconds(Tim
512512
Timecop.freeze do
513513
subject
514514

515-
start_time = TimeUtils.to_nanoseconds((Time.now - lookback_window))
515+
start_time = TimeUtils.to_nanoseconds(Time.now - lookback_window)
516516
end_time = TimeUtils.to_nanoseconds(Time.now)
517517
expect(wrapped_logcache_client).to have_received(:container_metrics).
518518
with(hash_including(start_time:, end_time:))
@@ -545,7 +545,7 @@ def generate_batch(size, offset: 0, last_timestamp: TimeUtils.to_nanoseconds(Tim
545545
Timecop.freeze(call_time) do
546546
expect(subject).to have(2001).items
547547

548-
start_time = TimeUtils.to_nanoseconds((call_time - lookback_window))
548+
start_time = TimeUtils.to_nanoseconds(call_time - lookback_window)
549549
expect(wrapped_logcache_client).to have_received(:container_metrics).
550550
with(hash_including(start_time: start_time, end_time: call_time_ns))
551551

spec/support/legacy_api_dsl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def standard_list_parameters(controller, outer_model: nil, exclude_parameters: [
213213
query_parameter_description += 'Format queries as &lt;filter&gt;&lt;op&gt;&lt;value&gt;<br/>'
214214
query_parameter_description += ' Valid ops: : &gt;= &lt;= &lt; &gt; IN<br/>'
215215
query_parameter_description += " Valid filters: #{query_parameters.to_a.join(', ')}"
216-
if outer_model && query_parameters.include?((outer_model.to_s + '_guid'))
216+
if outer_model && query_parameters.include?(outer_model.to_s + '_guid')
217217
query_parameter_description += "<br/> (Note that filtering on #{outer_model}_guid will return an empty list " \
218218
'if you specify anything other than the guid included in the path.)'
219219
end

0 commit comments

Comments
 (0)