From 56ec2b22387b7b9c75bae088a50411f36678a80a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 03:23:53 +0000 Subject: [PATCH] Bump rubocop-rspec from 2.27.0 to 2.28.0 (#291) * Bump rubocop-rspec from 2.27.0 to 2.28.0 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.0 to 2.28.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.27.0...v2.28.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Resolve rubocop violations --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com> Co-authored-by: Douglas Eichelberger --- Gemfile | 2 +- Gemfile.lock | 7 +++++-- spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb | 10 ++-------- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 35d3d2ad..f7701e07 100644 --- a/Gemfile +++ b/Gemfile @@ -12,7 +12,7 @@ gem 'rubocop', '~> 1.62.1' gem 'rubocop-packaging', '~> 0.5.2' gem 'rubocop-performance', '~> 1.21.0' gem 'rubocop-rake', '~> 0.6.0' -gem 'rubocop-rspec', '~> 2.27.0' +gem 'rubocop-rspec', '~> 2.28.0' gem 'rubocop-sorbet', '~> 0.8.0' gem 'simplecov-cobertura', '~> 2.1.0' gem 'sorbet', '~> 0.5.11319' diff --git a/Gemfile.lock b/Gemfile.lock index ba4242a4..2257ba1e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -66,10 +66,13 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.27.0) + rubocop-rspec (2.28.0) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.28.2) + rubocop (~> 1.40) rubocop-sorbet (0.8.0) rubocop (>= 0.90.0) ruby-progressbar (1.13.0) @@ -122,7 +125,7 @@ DEPENDENCIES rubocop-packaging (~> 0.5.2) rubocop-performance (~> 1.21.0) rubocop-rake (~> 0.6.0) - rubocop-rspec (~> 2.27.0) + rubocop-rspec (~> 2.28.0) rubocop-sorbet (~> 0.8.0) simplecov-cobertura (~> 2.1.0) sorbet (~> 0.5.11319) diff --git a/spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb b/spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb index 3c82db05..52accc70 100644 --- a/spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb +++ b/spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb @@ -16,10 +16,7 @@ it 'have abstract tag text string' do node = YARD::Registry.at('MyInterface') - expect(node.tags.first.text).to( - # dynamic constant references break sorbet: https://sorbet.org/docs/error-reference#5001 - eq(YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT) # rubocop:disable RSpec/DescribedClass - ) + expect(node.tags.first.text).to(eq(YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT)) end end @@ -38,10 +35,7 @@ it 'have abstract tag text string' do node = YARD::Registry.at('MyAbstractClass') - expect(node.tag(:abstract).text).to( - # dynamic constant references break sorbet: https://sorbet.org/docs/error-reference#5001 - eq(YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT) # rubocop:disable RSpec/DescribedClass - ) + expect(node.tag(:abstract).text).to(eq(YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT)) end end