11# This configuration was generated by
22# `rubocop --auto-gen-config --exclude-limit 1000`
3- # on 2020-03-24 00:02:43 -0400 using RuboCop version 0.80 .1.
3+ # on 2025-10-16 20:21:05 UTC using RuboCop version 1.81 .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
99# Offense count: 7
10- # Cop supports --auto-correct .
10+ # This cop supports safe autocorrection (--autocorrect) .
1111# Configuration parameters: EnforcedStyle, IndentationWidth.
1212# SupportedStyles: with_first_argument, with_fixed_indentation
1313Layout/ArgumentAlignment :
@@ -16,49 +16,155 @@ Layout/ArgumentAlignment:
1616 - ' lib/authlogic/acts_as_authentic/single_access_token.rb'
1717 - ' test/libs/user.rb'
1818
19- # Offense count: 14
20- # Cop supports --auto-correct.
21- Lint/SendWithMixinArgument :
19+ # Offense count: 1
20+ # This cop supports safe autocorrection (--autocorrect).
21+ # Configuration parameters: Severity.
22+ # SupportedStylesAlignWith: start_of_line, begin
23+ Layout/BeginEndAlignment :
24+ EnforcedStyleAlignWith : begin
25+
26+ # Offense count: 2
27+ # This cop supports safe autocorrection (--autocorrect).
28+ # Configuration parameters: AllowAliasSyntax, AllowedMethods.
29+ # AllowedMethods: alias_method, public, protected, private
30+ Layout/EmptyLinesAroundAttributeAccessor :
31+ Exclude :
32+ - ' lib/authlogic/crypto_providers/scrypt.rb'
33+ - ' test/libs/user_session.rb'
34+
35+ # Offense count: 1
36+ # This cop supports safe autocorrection (--autocorrect).
37+ Layout/RescueEnsureAlignment :
38+ Exclude :
39+ - ' lib/authlogic/acts_as_authentic/session_maintenance.rb'
40+
41+ # Offense count: 1
42+ # This cop supports safe autocorrection (--autocorrect).
43+ # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
44+ # SupportedStylesForExponentOperator: space, no_space
45+ # SupportedStylesForRationalLiterals: space, no_space
46+ Layout/SpaceAroundOperators :
2247 Exclude :
23- - ' lib/authlogic/acts_as_authentic/base.rb'
24- - ' lib/authlogic/controller_adapters/sinatra_adapter.rb'
2548 - ' lib/authlogic/test_case.rb'
2649
27- # Offense count: 3
50+ # Offense count: 1
51+ # Configuration parameters: AllowComments.
52+ Lint/EmptyFile :
53+ Exclude :
54+ - ' test/session_test/credentials_test.rb'
55+
56+ # Offense count: 4
57+ # Configuration parameters: AllowedParentClasses.
58+ Lint/MissingSuper :
59+ Exclude :
60+ - ' lib/authlogic/test_case/mock_api_controller.rb'
61+ - ' lib/authlogic/test_case/mock_controller.rb'
62+ - ' lib/authlogic/test_case/mock_cookie_jar.rb'
63+
64+ # Offense count: 1
65+ # This cop supports unsafe autocorrection (--autocorrect-all).
66+ # Configuration parameters: AllowedMethods, InferNonNilReceiver, AdditionalNilMethods.
67+ # AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
68+ # AdditionalNilMethods: present?, blank?, try, try!
69+ Lint/RedundantSafeNavigation :
70+ Exclude :
71+ - ' lib/authlogic/test_case/mock_request.rb'
72+
73+ # Offense count: 1
74+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
2875Metrics/AbcSize :
29- Max : 16.03
76+ Max : 21
77+
78+ # Offense count: 2
79+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
80+ # SupportedStyles: snake_case, normalcase, non_integer
81+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
82+ Naming/VariableNumber :
83+ Exclude :
84+ - ' test/acts_as_authentic_test/perishable_token_test.rb'
85+ - ' test/session_test/session_test.rb'
86+
87+ # Offense count: 4
88+ # This cop supports safe autocorrection (--autocorrect).
89+ # Configuration parameters: EnforcedStyle.
90+ # SupportedStyles: separated, grouped
91+ Style/AccessorGrouping :
92+ Exclude :
93+ - ' lib/authlogic/crypto_providers/sha1.rb'
94+ - ' lib/authlogic/crypto_providers/sha1/v2.rb'
95+
96+ # Offense count: 1
97+ # This cop supports unsafe autocorrection (--autocorrect-all).
98+ # Configuration parameters: AllowedMethods, AllowedPatterns.
99+ # AllowedMethods: ==, equal?, eql?
100+ Style/ClassEqualityComparison :
101+ Exclude :
102+ - ' lib/authlogic/session/base.rb'
30103
31104# Offense count: 5
32105Style/ClassVars :
33106 Exclude :
34107 - ' lib/authlogic/i18n.rb'
35108
36- # Offense count: 4
37- Style/MethodMissingSuper :
109+ # Offense count: 1
110+ # This cop supports unsafe autocorrection (--autocorrect-all).
111+ Style/GlobalStdStream :
38112 Exclude :
39- - ' lib/authlogic/controller_adapters/abstract_adapter.rb'
40- - ' lib/authlogic/controller_adapters/sinatra_adapter.rb'
41- - ' lib/authlogic/test_case/mock_request.rb'
113+ - ' test/test_helper.rb'
42114
43115# Offense count: 3
44116Style/MissingRespondToMissing :
45117 Exclude :
46118 - ' lib/authlogic/controller_adapters/sinatra_adapter.rb'
47119 - ' lib/authlogic/test_case/mock_request.rb'
48120
49- # Offense count: 6
50- # Cop supports --auto-correct.
51- # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
52- # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
53- Style/TrivialAccessors :
121+ # Offense count: 5
122+ # This cop supports safe autocorrection (--autocorrect).
123+ # Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
124+ Style/MultipleComparison :
54125 Exclude :
55126 - ' lib/authlogic/session/base.rb'
56127
57- Style/HashEachMethods :
58- Enabled : false
128+ # Offense count: 2
129+ # This cop supports safe autocorrection (--autocorrect).
130+ Style/RedundantFreeze :
131+ Exclude :
132+ - ' test/libs/user.rb'
59133
60- Style/HashTransformKeys :
61- Enabled : false
134+ # Offense count: 2
135+ # This cop supports safe autocorrection (--autocorrect).
136+ Style/RedundantRegexpEscape :
137+ Exclude :
138+ - ' test/libs/user.rb'
139+
140+ # Offense count: 3
141+ # This cop supports unsafe autocorrection (--autocorrect-all).
142+ # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
143+ # AllowedMethods: present?, blank?, presence, try, try!
144+ Style/SafeNavigation :
145+ Exclude :
146+ - ' lib/authlogic/acts_as_authentic/session_maintenance.rb'
147+ - ' lib/authlogic/session/base.rb'
62148
63- Style/HashTransformValues :
64- Enabled : false
149+ # Offense count: 1
150+ # This cop supports safe autocorrection (--autocorrect).
151+ # Configuration parameters: AllowModifier.
152+ Style/SoleNestedConditional :
153+ Exclude :
154+ - ' lib/authlogic/session/base.rb'
155+
156+ # Offense count: 3
157+ # This cop supports unsafe autocorrection (--autocorrect-all).
158+ # Configuration parameters: Mode.
159+ Style/StringConcatenation :
160+ Exclude :
161+ - ' test/session_test/existence_test.rb'
162+ - ' test/test_helper.rb'
163+
164+ # Offense count: 7
165+ # This cop supports safe autocorrection (--autocorrect).
166+ # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
167+ # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
168+ Style/TrivialAccessors :
169+ Exclude :
170+ - ' lib/authlogic/session/base.rb'
0 commit comments