11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-02-22 14:55:40 UTC using RuboCop version 1.60.2 .
3+ # on 2024-04-06 14:14:58 UTC using RuboCop version 1.62.1 .
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 6
10+ # Configuration parameters: EnforcedStyle.
11+ # SupportedStyles: link_or_button, strict
12+ Capybara/ClickLinkOrButtonStyle :
13+ Exclude :
14+ - ' spec/features/swagger_spec.rb'
15+
16+ # Offense count: 1
17+ Capybara/SpecificMatcher :
18+ Exclude :
19+ - ' spec/features/welcome_spec.rb'
20+
921# Offense count: 1
1022# Configuration parameters: Severity, Include.
1123# Include: **/*.gemspec
@@ -25,11 +37,11 @@ Lint/MixedRegexpCaptureTypes:
2537 Exclude :
2638 - ' lib/tasks/swagger_ui.rake'
2739
28- # Offense count: 9
29- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
40+ # Offense count: 4
41+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode .
3042# AllowedMethods: refine
3143Metrics/BlockLength :
32- Max : 291
44+ Max : 89
3345
3446# Offense count: 2
3547# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
@@ -40,6 +52,63 @@ Naming/FileName:
4052 - ' lib/grape-swagger-rails.rb'
4153 - ' spec/features/grape-swagger-rails_spec.rb'
4254
55+ # Offense count: 13
56+ # Configuration parameters: Prefixes, AllowedPatterns.
57+ # Prefixes: when, with, without
58+ RSpec/ContextWording :
59+ Exclude :
60+ - ' spec/features/swagger_spec.rb'
61+
62+ # Offense count: 1
63+ # This cop supports unsafe autocorrection (--autocorrect-all).
64+ # Configuration parameters: SkipBlocks, EnforcedStyle.
65+ # SupportedStyles: described_class, explicit
66+ RSpec/DescribedClass :
67+ Exclude :
68+ - ' spec/features/grape-swagger-rails_spec.rb'
69+
70+ # Offense count: 6
71+ # Configuration parameters: CountAsOne.
72+ RSpec/ExampleLength :
73+ Max : 8
74+
75+ # Offense count: 1
76+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
77+ # Include: **/*_spec*rb*, **/spec/**/*
78+ RSpec/FilePath :
79+ Exclude :
80+ - ' spec/features/grape-swagger-rails_spec.rb'
81+
82+ # Offense count: 2
83+ # Configuration parameters: AssignmentOnly.
84+ RSpec/InstanceVariable :
85+ Exclude :
86+ - ' spec/features/swagger_spec.rb'
87+
88+ # Offense count: 12
89+ RSpec/MultipleExpectations :
90+ Max : 4
91+
92+ # Offense count: 2
93+ # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
94+ # SupportedStyles: always, named_only
95+ RSpec/NamedSubject :
96+ Exclude :
97+ - ' spec/features/grape-swagger-rails_spec.rb'
98+
99+ # Offense count: 12
100+ # Configuration parameters: AllowedGroups.
101+ RSpec/NestedGroups :
102+ Max : 4
103+
104+ # Offense count: 1
105+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
106+ # Include: **/*_spec.rb
107+ RSpec/SpecFilePathFormat :
108+ Exclude :
109+ - ' **/spec/routing/**/*'
110+ - ' spec/features/grape-swagger-rails_spec.rb'
111+
43112# Offense count: 4
44113# Configuration parameters: AllowedConstants.
45114Style/Documentation :
@@ -51,8 +120,13 @@ Style/Documentation:
51120 - ' lib/grape-swagger-rails/engine.rb'
52121
53122# Offense count: 1
123+ Style/OpenStructUse :
124+ Exclude :
125+ - ' lib/grape-swagger-rails.rb'
126+
127+ # Offense count: 2
54128# This cop supports safe autocorrection (--autocorrect).
55129# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
56130# URISchemes: http, https
57131Layout/LineLength :
58- Max : 124
132+ Max : 143
0 commit comments