11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2024-07-08 10:27:10 UTC using RuboCop version 1.64.1.
3+ # on 2024-07-09 11:29:15 UTC using RuboCop version 1.64.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
@@ -20,7 +20,7 @@ Layout/EmptyLineAfterGuardClause:
2020 - ' lib/ruby_saml/slo_logoutrequest.rb'
2121 - ' lib/ruby_saml/slo_logoutresponse.rb'
2222
23- # Offense count: 9
23+ # Offense count: 6
2424# This cop supports safe autocorrection (--autocorrect).
2525# Configuration parameters: EnforcedStyle.
2626# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
@@ -32,15 +32,14 @@ Layout/EmptyLinesAroundClassBody:
3232 - ' lib/ruby_saml/logoutresponse.rb'
3333 - ' lib/ruby_saml/metadata.rb'
3434 - ' lib/ruby_saml/slo_logoutresponse.rb'
35- - ' lib/xml_security.rb'
3635
3736# Offense count: 1
3837# This cop supports safe autocorrection (--autocorrect).
3938Layout/EmptyLinesAroundMethodBody :
4039 Exclude :
4140 - ' lib/ruby_saml/slo_logoutrequest.rb'
4241
43- # Offense count: 12
42+ # Offense count: 11
4443# This cop supports safe autocorrection (--autocorrect).
4544# Configuration parameters: EnforcedStyle.
4645# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
@@ -57,14 +56,6 @@ Layout/EmptyLinesAroundModuleBody:
5756 - ' lib/ruby_saml/slo_logoutrequest.rb'
5857 - ' lib/ruby_saml/slo_logoutresponse.rb'
5958 - ' lib/ruby_saml/utils.rb'
60- - ' lib/xml_security.rb'
61-
62- # Offense count: 1
63- # Configuration parameters: EnforcedStyle.
64- # SupportedStyles: native, lf, crlf
65- Layout/EndOfLine :
66- Exclude :
67- - ' lib/ruby_saml.rb'
6859
6960# Offense count: 3
7061# This cop supports safe autocorrection (--autocorrect).
@@ -81,7 +72,7 @@ Layout/ExtraSpacing:
8172Layout/FirstArgumentIndentation :
8273 Exclude :
8374 - ' lib/ruby_saml/response.rb'
84- - ' lib/xml_security .rb'
75+ - ' lib/ruby_saml/xml/signed_document .rb'
8576
8677# Offense count: 5
8778# This cop supports safe autocorrection (--autocorrect).
@@ -105,7 +96,7 @@ Layout/SpaceAfterComma:
10596 Exclude :
10697 - ' lib/ruby_saml/response.rb'
10798 - ' lib/ruby_saml/settings.rb'
108- - ' lib/xml_security .rb'
99+ - ' lib/ruby_saml/xml/signed_document .rb'
109100
110101# Offense count: 12
111102# This cop supports safe autocorrection (--autocorrect).
@@ -130,7 +121,8 @@ Layout/SpaceAroundOperators:
130121 Exclude :
131122 - ' lib/ruby_saml/response.rb'
132123 - ' lib/ruby_saml/utils.rb'
133- - ' lib/xml_security.rb'
124+ - ' lib/ruby_saml/xml/document.rb'
125+ - ' lib/ruby_saml/xml/signed_document.rb'
134126
135127# Offense count: 5
136128# This cop supports safe autocorrection (--autocorrect).
@@ -154,15 +146,8 @@ Layout/SpaceInsideHashLiteralBraces:
154146 - ' lib/ruby_saml/response.rb'
155147 - ' lib/ruby_saml/settings.rb'
156148 - ' lib/ruby_saml/slo_logoutresponse.rb'
157- - ' lib/xml_security.rb'
158-
159- # Offense count: 1
160- # This cop supports safe autocorrection (--autocorrect).
161- # Configuration parameters: EnforcedStyle.
162- # SupportedStyles: final_newline, final_blank_line
163- Layout/TrailingEmptyLines :
164- Exclude :
165- - ' lib/ruby_saml.rb'
149+ - ' lib/ruby_saml/xml/document.rb'
150+ - ' lib/ruby_saml/xml/signed_document.rb'
166151
167152# Offense count: 2
168153Lint/NoReturnInBeginEndBlocks :
@@ -185,12 +170,11 @@ Lint/UnreachableLoop:
185170 Exclude :
186171 - ' lib/ruby_saml/saml_message.rb'
187172
188- # Offense count: 3
173+ # Offense count: 2
189174# This cop supports unsafe autocorrection (--autocorrect-all).
190175# Configuration parameters: AutoCorrect.
191176Lint/UselessAssignment :
192177 Exclude :
193- - ' lib/ruby_saml/logging.rb'
194178 - ' lib/ruby_saml/slo_logoutrequest.rb'
195179
196180# Offense count: 42
@@ -308,7 +292,7 @@ Performance/StringReplacement:
308292 - ' lib/ruby_saml/metadata.rb'
309293 - ' lib/ruby_saml/saml_message.rb'
310294 - ' lib/ruby_saml/utils.rb'
311- - ' lib/xml_security .rb'
295+ - ' lib/ruby_saml/xml/document .rb'
312296
313297# Offense count: 54
314298# This cop supports safe autocorrection (--autocorrect).
@@ -361,7 +345,7 @@ Style/ConditionalAssignment:
361345 - ' lib/ruby_saml/logoutresponse.rb'
362346 - ' lib/ruby_saml/response.rb'
363347 - ' lib/ruby_saml/slo_logoutrequest.rb'
364- - ' lib/xml_security .rb'
348+ - ' lib/ruby_saml/xml/signed_document .rb'
365349
366350# Offense count: 6
367351# Configuration parameters: AllowedConstants.
@@ -372,7 +356,9 @@ Style/Documentation:
372356 - ' lib/ruby_saml/error_handling.rb'
373357 - ' lib/ruby_saml/idp_metadata_parser.rb'
374358 - ' lib/ruby_saml/logging.rb'
375- - ' lib/xml_security.rb'
359+ - ' lib/ruby_saml/xml/base_document.rb'
360+ - ' lib/ruby_saml/xml/document.rb'
361+ - ' lib/ruby_saml/xml/signed_document.rb'
376362
377363# Offense count: 2
378364# This cop supports safe autocorrection (--autocorrect).
@@ -416,7 +402,17 @@ Style/IfUnlessModifier:
416402 - ' lib/ruby_saml/slo_logoutrequest.rb'
417403 - ' lib/ruby_saml/slo_logoutresponse.rb'
418404 - ' lib/ruby_saml/utils.rb'
419- - ' lib/xml_security.rb'
405+ - ' lib/ruby_saml/xml/base_document.rb'
406+ - ' lib/ruby_saml/xml/document.rb'
407+ - ' lib/ruby_saml/xml/signed_document.rb'
408+
409+ # Offense count: 1
410+ # This cop supports unsafe autocorrection (--autocorrect-all).
411+ # Configuration parameters: EnforcedStyle, Autocorrect.
412+ # SupportedStyles: module_function, extend_self, forbidden
413+ Style/ModuleFunction :
414+ Exclude :
415+ - ' lib/ruby_saml/logging.rb'
420416
421417# Offense count: 15
422418# Configuration parameters: AllowedMethods.
@@ -431,7 +427,7 @@ Style/OptionalBooleanParameter:
431427 - ' lib/ruby_saml/settings.rb'
432428 - ' lib/ruby_saml/slo_logoutrequest.rb'
433429 - ' lib/ruby_saml/utils.rb'
434- - ' lib/xml_security .rb'
430+ - ' lib/ruby_saml/xml/signed_document .rb'
435431
436432# Offense count: 1
437433# This cop supports safe autocorrection (--autocorrect).
@@ -445,7 +441,7 @@ Style/RedundantRegexpArgument:
445441 Exclude :
446442 - ' lib/ruby_saml/saml_message.rb'
447443 - ' lib/ruby_saml/utils.rb'
448- - ' lib/xml_security .rb'
444+ - ' lib/ruby_saml/xml/document .rb'
449445
450446# Offense count: 3
451447# This cop supports safe autocorrection (--autocorrect).
@@ -473,7 +469,7 @@ Style/StringConcatenation:
473469 - ' lib/ruby_saml/saml_message.rb'
474470 - ' lib/ruby_saml/slo_logoutrequest.rb'
475471
476- # Offense count: 440
472+ # Offense count: 351
477473# This cop supports safe autocorrection (--autocorrect).
478474# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
479475# SupportedStyles: single_quotes, double_quotes
@@ -492,7 +488,7 @@ Style/StringLiterals:
492488 - ' lib/ruby_saml/slo_logoutrequest.rb'
493489 - ' lib/ruby_saml/slo_logoutresponse.rb'
494490 - ' lib/ruby_saml/utils.rb'
495- - ' lib/xml_security .rb'
491+ - ' lib/ruby_saml/xml/signed_document .rb'
496492
497493# Offense count: 3
498494# This cop supports safe autocorrection (--autocorrect).
@@ -510,7 +506,7 @@ Style/SymbolArray:
510506 Exclude :
511507 - ' lib/ruby_saml/settings.rb'
512508
513- # Offense count: 94
509+ # Offense count: 95
514510# This cop supports safe autocorrection (--autocorrect).
515511# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
516512# URISchemes: http, https
0 commit comments