Skip to content

Commit

Permalink
Fix minor rubocop offenses (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jan 13, 2024
1 parent 5e8b02a commit ae4d22e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-04-14 06:22:29 UTC using RuboCop version 1.49.0.
# on 2024-01-13 11:12:43 UTC using RuboCop version 1.50.2.
# 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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 10
# Offense count: 9
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 31
Max: 48

# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 192

# Offense count: 4
# Offense count: 5
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 10
Max: 13

# Offense count: 13
# Offense count: 16
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 30
Max: 31

# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 13

# Offense count: 1
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
Expand All @@ -29,7 +39,7 @@ Naming/VariableNumber:
Exclude:
- 'spec/integration_tests/roda_test.rb'

# Offense count: 5
# Offense count: 6
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
Expand Down
2 changes: 2 additions & 0 deletions spec/roda/doc/rspec_openapi.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# frozen_string_literal: true

RSpec::OpenAPI.title = 'Override title'
RSpec::OpenAPI.application_version = '7.7.7'

0 comments on commit ae4d22e

Please sign in to comment.