Merge pull request #3319 from openSUSE/depfu/update/rubocop-rspec-2.27.1

Update rubocop-rspec 2.23.0 → 2.27.1 (minor)
This commit is contained in:
Henne Vogelsang 2024-03-26 12:44:49 +01:00 committed by GitHub
commit 6a301d3411
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-03-26 10:26:16 UTC using RuboCop version 1.61.0.
# on 2024-03-26 11:13:17 UTC using RuboCop version 1.62.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@ -681,7 +681,7 @@ RSpec/ContextWording:
# Offense count: 73
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
@ -925,6 +925,13 @@ RSpec/MatchArray:
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 244
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: hash, symbol
RSpec/MetadataStyle:
Enabled: false
# Offense count: 1
RSpec/MultipleDescribes:
Exclude:
@ -984,6 +991,8 @@ RSpec/Rails/AvoidSetupHook:
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ResponseMethods.
# ResponseMethods: response, last_response
RSpec/Rails/HaveHttpStatus:
Exclude:
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
@ -1006,7 +1015,7 @@ RSpec/Rails/InferredSpecType:
- 'spec/routing/routing_spec.rb'
# Offense count: 12
# This cop supports safe autocorrection (--autocorrect).
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Exclude:
- 'spec/models/track_spec.rb'
@ -1053,6 +1062,27 @@ RSpec/SortMetadata:
Exclude:
- 'spec/features/versions_spec.rb'
# Offense count: 8
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/controllers/conference_registration_controller_spec.rb'
- 'spec/controllers/physical_ticket_controller_spec.rb'
- 'spec/features/email_spec.rb'
- 'spec/features/omniauth_spec.rb'
- 'spec/features/proposals_spec.rb'
- 'spec/features/ticket_purchases_spec.rb'
- 'spec/features/venues_spec.rb'
- 'spec/models/comment_spec.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/SpecFilePathSuffix:
Exclude:
- 'spec/models/openid.rb'
# Offense count: 9
RSpec/StubbedMock:
Exclude:

View file

@ -471,7 +471,7 @@ GEM
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.13.1)
rubocop (1.61.0)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
@ -479,10 +479,10 @@ GEM
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.1)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
@ -496,8 +496,8 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.23.0)
rubocop (~> 1.33)
rubocop-rspec (2.27.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-oembed (0.17.0)