Skip to content

Commit 3318b62

Browse files
build(deps-dev): bump rubocop from 1.79.1 to 1.79.2 (#4499)
* build(deps-dev): bump rubocop from 1.79.1 to 1.79.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.79.1 to 1.79.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.79.1...v1.79.2) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.79.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Run autocorrectable rubocop errors --------- 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 f99c737 commit 3318b62

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ group :test do
8484
gem 'rspec-its'
8585
gem 'rspec-rails', '~> 8.0.1'
8686
gem 'rspec-wait'
87-
gem 'rubocop', '~> 1.79.1'
87+
gem 'rubocop', '~> 1.79.2'
8888
gem 'rubocop-capybara'
8989
gem 'rubocop-factory_bot'
9090
gem 'rubocop-rails', '~> 2.32'

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ GEM
428428
redis-client (>= 0.22.0)
429429
redis-client (0.25.1)
430430
connection_pool
431-
regexp_parser (2.10.0)
431+
regexp_parser (2.11.0)
432432
reline (0.6.1)
433433
io-console (~> 0.5)
434434
representable (3.2.0)
@@ -480,7 +480,7 @@ GEM
480480
activesupport (>= 3.0.0)
481481
mustache (~> 1.0, >= 0.99.4)
482482
rspec (~> 3.0)
483-
rubocop (1.79.1)
483+
rubocop (1.79.2)
484484
json (~> 2.3)
485485
language_server-protocol (~> 3.17.0.2)
486486
lint_roller (~> 1.1.0)
@@ -685,7 +685,7 @@ DEPENDENCIES
685685
rspec-rails (~> 8.0.1)
686686
rspec-wait
687687
rspec_api_documentation (>= 6.1.0)
688-
rubocop (~> 1.79.1)
688+
rubocop (~> 1.79.2)
689689
rubocop-capybara
690690
rubocop-factory_bot
691691
rubocop-rails (~> 2.32)

lib/cloud_controller/check_stacks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def validate_stacks
1919

2020
def validate_stack(deprecated_stack)
2121
configured_stacks = @stack_config.stacks
22-
deprecated_stack_in_config = (configured_stacks.find { |stack| stack['name'] == deprecated_stack }).present?
22+
deprecated_stack_in_config = configured_stacks.find { |stack| stack['name'] == deprecated_stack }.present?
2323
return if deprecated_stack_in_config
2424

2525
no_deprecated_stack_in_db = @db.fetch('SELECT 1 FROM stacks WHERE name LIKE ? ', deprecated_stack).empty?

spec/unit/lib/cloud_controller/integer_array_serializer_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ class Foo; extend IntegerArraySerializer; end
1111
let(:serializer) { IntegerArraySerializer.serializer }
1212

1313
it 'raises an error when not passed an array' do
14-
(expect { serializer.call('hello') }).to raise_error(ArgumentError, 'Integer array columns must be passed an array')
14+
expect { serializer.call('hello') }.to raise_error(ArgumentError, 'Integer array columns must be passed an array')
1515
end
1616

1717
it 'raises an error when not passed an array of integers' do
18-
(expect { serializer.call([1, 2, 'derp']) }).to raise_error(ArgumentError, 'All members of the array must be integers')
18+
expect { serializer.call([1, 2, 'derp']) }.to raise_error(ArgumentError, 'All members of the array must be integers')
1919
end
2020

2121
it 'does not raise an error if passed nil' do
22-
(expect { serializer.call(nil) }).not_to raise_error
22+
expect { serializer.call(nil) }.not_to raise_error
2323
end
2424

2525
it 'munges arrays to be in an expected comma-separated format' do

0 commit comments

Comments
 (0)