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:
commit
6a301d3411
2 changed files with 38 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config`
|
# `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
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
|
|
@ -681,7 +681,7 @@ RSpec/ContextWording:
|
||||||
|
|
||||||
# Offense count: 73
|
# Offense count: 73
|
||||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||||
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
|
||||||
# SupportedStyles: described_class, explicit
|
# SupportedStyles: described_class, explicit
|
||||||
RSpec/DescribedClass:
|
RSpec/DescribedClass:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
@ -925,6 +925,13 @@ RSpec/MatchArray:
|
||||||
RSpec/MessageSpies:
|
RSpec/MessageSpies:
|
||||||
EnforcedStyle: receive
|
EnforcedStyle: receive
|
||||||
|
|
||||||
|
# Offense count: 244
|
||||||
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
|
# Configuration parameters: EnforcedStyle.
|
||||||
|
# SupportedStyles: hash, symbol
|
||||||
|
RSpec/MetadataStyle:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 1
|
# Offense count: 1
|
||||||
RSpec/MultipleDescribes:
|
RSpec/MultipleDescribes:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
@ -984,6 +991,8 @@ RSpec/Rails/AvoidSetupHook:
|
||||||
|
|
||||||
# Offense count: 2
|
# Offense count: 2
|
||||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||||
|
# Configuration parameters: ResponseMethods.
|
||||||
|
# ResponseMethods: response, last_response
|
||||||
RSpec/Rails/HaveHttpStatus:
|
RSpec/Rails/HaveHttpStatus:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
||||||
|
|
@ -1006,7 +1015,7 @@ RSpec/Rails/InferredSpecType:
|
||||||
- 'spec/routing/routing_spec.rb'
|
- 'spec/routing/routing_spec.rb'
|
||||||
|
|
||||||
# Offense count: 12
|
# Offense count: 12
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||||
RSpec/ReceiveMessages:
|
RSpec/ReceiveMessages:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/models/track_spec.rb'
|
- 'spec/models/track_spec.rb'
|
||||||
|
|
@ -1053,6 +1062,27 @@ RSpec/SortMetadata:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/features/versions_spec.rb'
|
- '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
|
# Offense count: 9
|
||||||
RSpec/StubbedMock:
|
RSpec/StubbedMock:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|
|
||||||
10
Gemfile.lock
10
Gemfile.lock
|
|
@ -471,7 +471,7 @@ GEM
|
||||||
rspec-mocks (~> 3.12)
|
rspec-mocks (~> 3.12)
|
||||||
rspec-support (~> 3.12)
|
rspec-support (~> 3.12)
|
||||||
rspec-support (3.13.1)
|
rspec-support (3.13.1)
|
||||||
rubocop (1.61.0)
|
rubocop (1.62.1)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
language_server-protocol (>= 3.17.0)
|
language_server-protocol (>= 3.17.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
|
|
@ -479,10 +479,10 @@ GEM
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
rexml (>= 3.2.5, < 4.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)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (>= 2.4.0, < 3.0)
|
unicode-display_width (>= 2.4.0, < 3.0)
|
||||||
rubocop-ast (1.31.1)
|
rubocop-ast (1.31.2)
|
||||||
parser (>= 3.3.0.4)
|
parser (>= 3.3.0.4)
|
||||||
rubocop-capybara (2.20.0)
|
rubocop-capybara (2.20.0)
|
||||||
rubocop (~> 1.41)
|
rubocop (~> 1.41)
|
||||||
|
|
@ -496,8 +496,8 @@ GEM
|
||||||
rack (>= 1.1)
|
rack (>= 1.1)
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
rubocop (>= 1.33.0, < 2.0)
|
||||||
rubocop-ast (>= 1.31.1, < 2.0)
|
rubocop-ast (>= 1.31.1, < 2.0)
|
||||||
rubocop-rspec (2.23.0)
|
rubocop-rspec (2.27.1)
|
||||||
rubocop (~> 1.33)
|
rubocop (~> 1.40)
|
||||||
rubocop-capybara (~> 2.17)
|
rubocop-capybara (~> 2.17)
|
||||||
rubocop-factory_bot (~> 2.22)
|
rubocop-factory_bot (~> 2.22)
|
||||||
ruby-oembed (0.17.0)
|
ruby-oembed (0.17.0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue