From 6b1299878d3dbcc6c3a356a49f09c61fc7b3da8c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 06:13:46 +0000 Subject: [PATCH 1/2] Update rubocop-minitest requirement from ~> 0.32.1 to ~> 0.33.0 Updates the requirements on [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop-minitest/releases) - [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-minitest/compare/v0.32.1...v0.33.0) --- updated-dependencies: - dependency-name: rubocop-minitest dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- live_ast.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live_ast.gemspec b/live_ast.gemspec index a6bc739..8725218 100644 --- a/live_ast.gemspec +++ b/live_ast.gemspec @@ -38,7 +38,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rake-manifest", "~> 0.2.0" spec.add_development_dependency "rubocop", "~> 1.51" - spec.add_development_dependency "rubocop-minitest", "~> 0.32.1" + spec.add_development_dependency "rubocop-minitest", "~> 0.33.0" spec.add_development_dependency "rubocop-packaging", "~> 0.5.2" spec.add_development_dependency "rubocop-performance", "~> 1.18" spec.add_development_dependency "rubocop-rake", "~> 0.6.0" From 173bbaf3187433d27a916cc64806ed8ef7ae5dc5 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Tue, 31 Oct 2023 20:32:41 +0100 Subject: [PATCH 2/2] Disable Style/SingleLineDoEndBlock for test of single line do..end block Correcting this offense makes no sense in this case since the point of this test is to test a single-line do..end block. --- test/lambda_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lambda_test.rb b/test/lambda_test.rb index 3486a7b..f4bbf00 100644 --- a/test/lambda_test.rb +++ b/test/lambda_test.rb @@ -64,7 +64,9 @@ def test_block_braces_one_line end def test_block_do_end_one_line + # rubocop:disable Style/SingleLineDoEndBlock block = return_block do |x, y| x - y end + # rubocop:enable Style/SingleLineDoEndBlock expected = binop_block(:return_block, :-)