Skip to content

Commit a632eb0

Browse files
build(deps-dev): bump rubocop from 1.84.1 to 1.84.2 (#4846)
* build(deps-dev): bump rubocop from 1.84.1 to 1.84.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.84.1 to 1.84.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.84.1...v1.84.2) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.84.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix rubocop issues --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: johha <johannes.haass@sap.com>
1 parent 35ea696 commit a632eb0

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ group :test do
7979
gem 'rspec-its'
8080
gem 'rspec-rails', '~> 8.0.2'
8181
gem 'rspec-wait'
82-
gem 'rubocop', '~> 1.84.1'
82+
gem 'rubocop', '~> 1.84.2'
8383
gem 'rubocop-capybara'
8484
gem 'rubocop-factory_bot'
8585
gem 'rubocop-rails', '~> 2.34'

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ GEM
476476
activesupport (>= 3.0.0)
477477
mustache (~> 1.0, >= 0.99.4)
478478
rspec (~> 3.0)
479-
rubocop (1.84.1)
479+
rubocop (1.84.2)
480480
json (~> 2.3)
481481
language_server-protocol (~> 3.17.0.2)
482482
lint_roller (~> 1.1.0)
@@ -680,7 +680,7 @@ DEPENDENCIES
680680
rspec-rails (~> 8.0.2)
681681
rspec-wait
682682
rspec_api_documentation (>= 6.1.0)
683-
rubocop (~> 1.84.1)
683+
rubocop (~> 1.84.2)
684684
rubocop-capybara
685685
rubocop-factory_bot
686686
rubocop-rails (~> 2.34)

spec/request_spec_shared_examples.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
ALL_PERMISSIONS = (LOCAL_ROLES + GLOBAL_SCOPES).freeze
1919

2020
CF_NOT_AUTHORIZED = [
21-
detail: 'You are not authorized to perform the requested action',
22-
title: 'CF-NotAuthorized',
23-
code: 10_003
21+
{ detail: 'You are not authorized to perform the requested action',
22+
title: 'CF-NotAuthorized',
23+
code: 10_003 }
2424
].freeze
2525

2626
CF_ORG_SUSPENDED = [
27-
detail: 'The organization is suspended',
28-
title: 'CF-OrgSuspended',
29-
code: 10_017
27+
{ detail: 'The organization is suspended',
28+
title: 'CF-OrgSuspended',
29+
code: 10_017 }
3030
].freeze
3131

3232
RSpec.shared_examples 'paginated response' do |endpoint|

spec/unit/controllers/v3/space_manifests_controller_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ def error_message(detail)
261261
errors = parsed_body['errors']
262262
expect(errors.size).to eq(1)
263263
expected_error = [
264-
'detail' => "For application 'blah': Buildpack cannot be configured for a docker lifecycle app.",
265-
'title' => 'CF-UnprocessableEntity',
266-
'code' => 10_008
264+
{ 'detail' => "For application 'blah': Buildpack cannot be configured for a docker lifecycle app.",
265+
'title' => 'CF-UnprocessableEntity',
266+
'code' => 10_008 }
267267
]
268268
expect(errors.map { |h| h.except('test_mode_info') }).to match_array(expected_error)
269269
end
@@ -305,9 +305,9 @@ def error_message(detail)
305305
errors = parsed_body['errors']
306306
expect(errors.size).to eq(1)
307307
expected_error = [
308-
'detail' => "For application 'blah': Buildpacks cannot be configured for a docker lifecycle app.",
309-
'title' => 'CF-UnprocessableEntity',
310-
'code' => 10_008
308+
{ 'detail' => "For application 'blah': Buildpacks cannot be configured for a docker lifecycle app.",
309+
'title' => 'CF-UnprocessableEntity',
310+
'code' => 10_008 }
311311
]
312312
expect(errors.map { |h| h.except('test_mode_info') }).to match_array(expected_error)
313313
end

spec/unit/lib/cloud_controller/diego/cnb/staging_completion_handler_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ module CNB
1313
lifecycle_type: 'cnb',
1414
lifecycle_metadata: {
1515
buildpacks: [
16-
key: 'foo',
17-
name: 'nodejs',
18-
version: '1.0.0'
16+
{ key: 'foo',
17+
name: 'nodejs',
18+
version: '1.0.0' }
1919
]
2020
},
2121
process_types: {

0 commit comments

Comments
 (0)