Skip to content

Commit

Permalink
Bump rubocop-rspec from 2.27.0 to 2.28.0 (#291)
Browse files Browse the repository at this point in the history
* 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](rubocop/rubocop-rspec@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] <[email protected]>

* Resolve rubocop 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]>
Co-authored-by: Douglas Eichelberger <[email protected]>
  • Loading branch information
3 people authored Apr 2, 2024
1 parent c2f81ff commit 56ec2b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 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.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'
Expand Down
7 changes: 5 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
10 changes: 2 additions & 8 deletions spec/yard_sorbet/handlers/abstract_dsl_handler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 56ec2b2

Please sign in to comment.