Skip to content

Commit 0124daf

Browse files
Fix Rubocop on 2.x branch (#724)
1 parent 455d17d commit 0124daf

File tree

1 file changed

+19
-30
lines changed

1 file changed

+19
-30
lines changed

.rubocop_todo.yml

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2024-07-11 13:04:30 UTC using RuboCop version 1.64.1.
3+
# on 2024-09-30 20:46:06 UTC using RuboCop version 1.65.0.
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
@@ -68,7 +68,7 @@ Layout/ExtraSpacing:
6868
- 'lib/ruby_saml/logoutrequest.rb'
6969
- 'lib/ruby_saml/response.rb'
7070

71-
# Offense count: 6
71+
# Offense count: 8
7272
# This cop supports safe autocorrection (--autocorrect).
7373
# Configuration parameters: EnforcedStyle, IndentationWidth.
7474
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
@@ -86,7 +86,7 @@ Layout/FirstHashElementIndentation:
8686
- 'lib/ruby_saml/authrequest.rb'
8787
- 'lib/ruby_saml/metadata.rb'
8888

89-
# Offense count: 5
89+
# Offense count: 4
9090
# This cop supports safe autocorrection (--autocorrect).
9191
# Configuration parameters: Width, AllowedPatterns.
9292
Layout/IndentationWidth:
@@ -115,7 +115,7 @@ Layout/SpaceAroundEqualsInParameterDefault:
115115
- 'lib/ruby_saml/response.rb'
116116
- 'lib/ruby_saml/utils.rb'
117117

118-
# Offense count: 16
118+
# Offense count: 10
119119
# This cop supports safe autocorrection (--autocorrect).
120120
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
121121
# SupportedStylesForExponentOperator: space, no_space
@@ -125,19 +125,17 @@ Layout/SpaceAroundOperators:
125125
- 'lib/ruby_saml/response.rb'
126126
- 'lib/ruby_saml/utils.rb'
127127
- 'lib/ruby_saml/xml/document.rb'
128-
- 'lib/ruby_saml/xml/signed_document.rb'
129128

130-
# Offense count: 3
129+
# Offense count: 2
131130
# This cop supports safe autocorrection (--autocorrect).
132131
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
133132
# SupportedStyles: space, no_space
134133
# SupportedStylesForEmptyBraces: space, no_space
135134
Layout/SpaceInsideBlockBraces:
136135
Exclude:
137136
- 'lib/ruby_saml/idp_metadata_parser.rb'
138-
- 'lib/ruby_saml/utils.rb'
139137

140-
# Offense count: 37
138+
# Offense count: 28
141139
# This cop supports safe autocorrection (--autocorrect).
142140
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
143141
# SupportedStyles: space, no_space, compact
@@ -180,7 +178,7 @@ Lint/UselessAssignment:
180178
Exclude:
181179
- 'lib/ruby_saml/slo_logoutrequest.rb'
182180

183-
# Offense count: 41
181+
# Offense count: 42
184182
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
185183
Metrics/AbcSize:
186184
Max: 100
@@ -194,39 +192,34 @@ Metrics/BlockLength:
194192
# Offense count: 8
195193
# Configuration parameters: CountComments, CountAsOne.
196194
Metrics/ClassLength:
197-
Max: 652
195+
Max: 661
198196

199-
# Offense count: 26
197+
# Offense count: 29
200198
# Configuration parameters: AllowedMethods, AllowedPatterns.
201199
Metrics/CyclomaticComplexity:
202200
Max: 21
203201

204-
# Offense count: 58
202+
# Offense count: 60
205203
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
206204
Metrics/MethodLength:
207-
Max: 80
208-
209-
# Offense count: 1
210-
# Configuration parameters: CountComments, CountAsOne.
211-
Metrics/ModuleLength:
212-
Max: 300
205+
Max: 77
213206

214207
# Offense count: 1
215208
# Configuration parameters: CountComments, CountAsOne.
216209
Metrics/ModuleLength:
217-
Max: 244
210+
Max: 261
218211

219212
# Offense count: 2
220213
# Configuration parameters: Max, CountKeywordArgs.
221214
Metrics/ParameterLists:
222215
MaxOptionalParameters: 4
223216

224-
# Offense count: 24
217+
# Offense count: 25
225218
# Configuration parameters: AllowedMethods, AllowedPatterns.
226219
Metrics/PerceivedComplexity:
227220
Max: 22
228221

229-
# Offense count: 13
222+
# Offense count: 15
230223
Naming/AccessorMethodName:
231224
Exclude:
232225
- 'lib/ruby_saml/settings.rb'
@@ -297,12 +290,11 @@ Performance/StringInclude:
297290
- 'lib/ruby_saml/logoutrequest.rb'
298291
- 'lib/ruby_saml/slo_logoutresponse.rb'
299292

300-
# Offense count: 4
293+
# Offense count: 3
301294
# This cop supports safe autocorrection (--autocorrect).
302295
Performance/StringReplacement:
303296
Exclude:
304297
- 'lib/ruby_saml/metadata.rb'
305-
- 'lib/ruby_saml/saml_message.rb'
306298
- 'lib/ruby_saml/xml/document.rb'
307299

308300
# Offense count: 48
@@ -397,7 +389,7 @@ Style/HashSyntax:
397389
Exclude:
398390
- 'lib/ruby_saml/settings.rb'
399391

400-
# Offense count: 66
392+
# Offense count: 65
401393
# This cop supports safe autocorrection (--autocorrect).
402394
Style/IfUnlessModifier:
403395
Exclude:
@@ -413,7 +405,6 @@ Style/IfUnlessModifier:
413405
- 'lib/ruby_saml/slo_logoutrequest.rb'
414406
- 'lib/ruby_saml/slo_logoutresponse.rb'
415407
- 'lib/ruby_saml/utils.rb'
416-
- 'lib/ruby_saml/xml/base_document.rb'
417408
- 'lib/ruby_saml/xml/document.rb'
418409
- 'lib/ruby_saml/xml/signed_document.rb'
419410

@@ -432,11 +423,10 @@ Style/OptionalBooleanParameter:
432423
- 'lib/ruby_saml/utils.rb'
433424
- 'lib/ruby_saml/xml/signed_document.rb'
434425

435-
# Offense count: 3
426+
# Offense count: 2
436427
# This cop supports safe autocorrection (--autocorrect).
437428
Style/RedundantRegexpArgument:
438429
Exclude:
439-
- 'lib/ruby_saml/saml_message.rb'
440430
- 'lib/ruby_saml/xml/document.rb'
441431

442432
# Offense count: 3
@@ -465,7 +455,7 @@ Style/StringConcatenation:
465455
- 'lib/ruby_saml/saml_message.rb'
466456
- 'lib/ruby_saml/slo_logoutrequest.rb'
467457

468-
# Offense count: 339
458+
# Offense count: 335
469459
# This cop supports safe autocorrection (--autocorrect).
470460
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
471461
# SupportedStyles: single_quotes, double_quotes
@@ -484,7 +474,6 @@ Style/StringLiterals:
484474
- 'lib/ruby_saml/slo_logoutrequest.rb'
485475
- 'lib/ruby_saml/slo_logoutresponse.rb'
486476
- 'lib/ruby_saml/utils.rb'
487-
- 'lib/ruby_saml/xml/signed_document.rb'
488477

489478
# Offense count: 3
490479
# This cop supports safe autocorrection (--autocorrect).
@@ -502,7 +491,7 @@ Style/SymbolArray:
502491
Exclude:
503492
- 'lib/ruby_saml/settings.rb'
504493

505-
# Offense count: 104
494+
# Offense count: 107
506495
# This cop supports safe autocorrection (--autocorrect).
507496
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
508497
# URISchemes: http, https

0 commit comments

Comments
 (0)