Skip to content

Commit

Permalink
Bump rubocop-rspec from 2.26.1 to 2.27.0 (#287)
Browse files Browse the repository at this point in the history
* Bump rubocop-rspec from 2.26.1 to 2.27.0

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.26.1 to 2.27.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v2.26.1...v2.27.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Resolve new violations

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Douglas Eichelberger <[email protected]>
  • Loading branch information
dependabot[bot] and dduugg authored Mar 1, 2024
1 parent 9e3a7b6 commit 58e70e2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem 'rubocop', '~> 1.61.0'
gem 'rubocop-packaging', '~> 0.5.2'
gem 'rubocop-performance', '~> 1.20.1'
gem 'rubocop-rake', '~> 0.6.0'
gem 'rubocop-rspec', '~> 2.26.1'
gem 'rubocop-rspec', '~> 2.27.0'
gem 'rubocop-sorbet', '~> 0.7.6'
gem 'simplecov-cobertura', '~> 2.1.0'
gem 'sorbet', '~> 0.5.11276'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ GEM
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.26.1)
rubocop-rspec (2.27.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
Expand Down Expand Up @@ -125,7 +125,7 @@ DEPENDENCIES
rubocop-packaging (~> 0.5.2)
rubocop-performance (~> 1.20.1)
rubocop-rake (~> 0.6.0)
rubocop-rspec (~> 2.26.1)
rubocop-rspec (~> 2.27.0)
rubocop-sorbet (~> 0.7.6)
simplecov-cobertura (~> 2.1.0)
sorbet (~> 0.5.11276)
Expand Down
10 changes: 8 additions & 2 deletions spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

it 'have abstract tag text string' do
node = YARD::Registry.at('MyInterface')
expect(node.tags.first.text).to eq(YARDSorbet::Handlers::AbstractDSLHandler::TAG_TEXT)
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
)
end
end

Expand All @@ -35,7 +38,10 @@

it 'have abstract tag text string' do
node = YARD::Registry.at('MyAbstractClass')
expect(node.tag(:abstract).text).to eq(YARDSorbet::Handlers::AbstractDSLHandler::CLASS_TAG_TEXT)
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
)
end
end

Expand Down

0 comments on commit 58e70e2

Please sign in to comment.