Skip to content

Commit

Permalink
[src/api] Update rubocop-rspec 3.0.5 → 3.1.0 (minor) (openSUSE#16913)
Browse files Browse the repository at this point in the history
  • Loading branch information
depfu[bot] authored Oct 3, 2024
1 parent 2632a3f commit 0b51ef0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.
24 changes: 9 additions & 15 deletions src/api/.rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100`
# on 2024-09-13 14:37:37 UTC using RuboCop version 1.66.1.
# on 2024-10-03 08:47:27 UTC using RuboCop version 1.66.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
Expand Down Expand Up @@ -49,7 +49,7 @@ Capybara/ClickLinkOrButtonStyle:
- 'spec/support/features/features_responsive.rb'
- 'test/test_helper.rb'

# Offense count: 3310
# Offense count: 3320
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Expand Down Expand Up @@ -91,7 +91,7 @@ Lint/StructNewOverride:
Exclude:
- 'app/models/buildresult.rb'

# Offense count: 895
# Offense count: 897
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 255
Expand Down Expand Up @@ -288,7 +288,7 @@ Metrics/CyclomaticComplexity:
- 'test/functional/zzz_post_consistency_test.rb'
- 'test/node_matcher.rb'

# Offense count: 990
# Offense count: 988
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 221
Expand Down Expand Up @@ -509,7 +509,7 @@ RSpec/AnyInstance:
- 'spec/models/package_spec.rb'
- 'spec/models/project_spec.rb'

# Offense count: 1279
# Offense count: 1292
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Expand Down Expand Up @@ -620,7 +620,7 @@ RSpec/IndexedLet:
- 'spec/shared/contexts/a_user_and_subscriptions.rb'
- 'spec/shared/contexts/a_user_and_subscriptions_with_defaults.rb'

# Offense count: 1654
# Offense count: 1660
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 28
Expand All @@ -645,12 +645,6 @@ RSpec/VerifiedDoubles:
- 'spec/shared/contexts/setup_ldap_mock.rb'
- 'spec/shared/examples/a_ldap_connection.rb'

# Offense count: 12
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ActionControllerFlashBeforeRender:
Exclude:
- 'app/controllers/webui/request_controller.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ApplicationController:
Expand Down Expand Up @@ -870,7 +864,7 @@ Style/ConditionalAssignment:
Exclude:
- 'app/models/bs_request_action_submit.rb'

# Offense count: 1100
# Offense count: 1103
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
Expand All @@ -882,7 +876,7 @@ Style/ExplicitBlockArgument:
- 'app/lib/backend/connection.rb'
- 'app/models/project.rb'

# Offense count: 1868
# Offense count: 1871
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Expand All @@ -895,7 +889,7 @@ Style/HashExcept:
Exclude:
- 'spec/models/user_ldap_strategy_spec.rb'

# Offense count: 301
# Offense count: 304
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion src/api/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ GEM
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.0.5)
rubocop-rspec (3.1.0)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
Expand Down
Binary file removed src/api/vendor/cache/rubocop-rspec-3.0.5.gem
Binary file not shown.
Binary file added src/api/vendor/cache/rubocop-rspec-3.1.0.gem
Binary file not shown.

0 comments on commit 0b51ef0

Please sign in to comment.