11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-03-08 09:07:11 UTC using RuboCop version 1.45.1.
3+ # on 2023-03-08 09:38:19 UTC using RuboCop version 1.45.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: 11
9+ # Offense count: 18
1010# This cop supports safe autocorrection (--autocorrect).
1111Layout/EmptyLineAfterGuardClause :
1212 Exclude :
@@ -16,6 +16,7 @@ Layout/EmptyLineAfterGuardClause:
1616 - ' lib/onelogin/ruby-saml/logoutresponse.rb'
1717 - ' lib/onelogin/ruby-saml/response.rb'
1818 - ' lib/onelogin/ruby-saml/saml_message.rb'
19+ - ' lib/onelogin/ruby-saml/slo_logoutrequest.rb'
1920 - ' lib/onelogin/ruby-saml/slo_logoutresponse.rb'
2021
2122# Offense count: 10
@@ -94,7 +95,7 @@ Layout/IndentationConsistency:
9495 Exclude :
9596 - ' lib/onelogin/ruby-saml/authrequest.rb'
9697
97- # Offense count: 3
98+ # Offense count: 6
9899# This cop supports safe autocorrection (--autocorrect).
99100# Configuration parameters: Width, AllowedPatterns.
100101Layout/IndentationWidth :
@@ -205,23 +206,18 @@ Lint/UselessAssignment:
205206# Offense count: 39
206207# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
207208Metrics/AbcSize :
208- Max : 101
209+ Max : 100
209210
210211# Offense count: 1
211212# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
212213# AllowedMethods: refine
213214Metrics/BlockLength :
214215 Max : 27
215216
216- # Offense count: 4
217- # Configuration parameters: CountBlocks.
218- Metrics/BlockNesting :
219- Max : 4
220-
221217# Offense count: 9
222218# Configuration parameters: CountComments, CountAsOne.
223219Metrics/ClassLength :
224- Max : 668
220+ Max : 652
225221
226222# Offense count: 23
227223# Configuration parameters: AllowedMethods, AllowedPatterns.
@@ -231,7 +227,7 @@ Metrics/CyclomaticComplexity:
231227# Offense count: 58
232228# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
233229Metrics/MethodLength :
234- Max : 68
230+ Max : 63
235231
236232# Offense count: 2
237233# Configuration parameters: Max, CountKeywordArgs.
@@ -379,15 +375,14 @@ Style/Documentation:
379375 - ' lib/onelogin/ruby-saml/logging.rb'
380376 - ' lib/xml_security.rb'
381377
382- # Offense count: 3
378+ # Offense count: 1
383379# This cop supports safe autocorrection (--autocorrect).
384380# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
385381Style/GuardClause :
386382 Exclude :
387383 - ' lib/onelogin/ruby-saml/response.rb'
388- - ' lib/onelogin/ruby-saml/utils.rb'
389384
390- # Offense count: 69
385+ # Offense count: 60
391386# This cop supports safe autocorrection (--autocorrect).
392387Style/IfUnlessModifier :
393388 Exclude :
@@ -403,24 +398,30 @@ Style/IfUnlessModifier:
403398 - ' lib/onelogin/ruby-saml/utils.rb'
404399 - ' lib/xml_security.rb'
405400
406- # Offense count: 1
407- # This cop supports safe autocorrection (--autocorrect).
408- Style/NegatedIfElseCondition :
401+ # Offense count: 15
402+ # Configuration parameters: AllowedMethods.
403+ # AllowedMethods: respond_to_missing?
404+ Style/OptionalBooleanParameter :
409405 Exclude :
410- - ' lib/onelogin/ruby-saml/authrequest.rb'
406+ - ' lib/onelogin/ruby-saml/idp_metadata_parser.rb'
407+ - ' lib/onelogin/ruby-saml/logoutresponse.rb'
408+ - ' lib/onelogin/ruby-saml/metadata.rb'
409+ - ' lib/onelogin/ruby-saml/response.rb'
410+ - ' lib/onelogin/ruby-saml/saml_message.rb'
411+ - ' lib/onelogin/ruby-saml/settings.rb'
412+ - ' lib/onelogin/ruby-saml/slo_logoutrequest.rb'
413+ - ' lib/onelogin/ruby-saml/utils.rb'
414+ - ' lib/xml_security.rb'
411415
412- # Offense count: 7
416+ # Offense count: 2
413417# This cop supports unsafe autocorrection (--autocorrect-all).
414418# Configuration parameters: Mode.
415419Style/StringConcatenation :
416420 Exclude :
417- - ' lib/onelogin/ruby-saml/idp_metadata_parser.rb'
418- - ' lib/onelogin/ruby-saml/metadata.rb'
419421 - ' lib/onelogin/ruby-saml/response.rb'
420422 - ' lib/onelogin/ruby-saml/saml_message.rb'
421- - ' lib/onelogin/ruby-saml/utils.rb'
422423
423- # Offense count: 452
424+ # Offense count: 450
424425# This cop supports safe autocorrection (--autocorrect).
425426# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
426427# SupportedStyles: single_quotes, double_quotes
@@ -442,41 +443,7 @@ Style/StringLiterals:
442443 - ' lib/onelogin/ruby-saml/utils.rb'
443444 - ' lib/xml_security.rb'
444445
445- # Offense count: 8
446- # This cop supports safe autocorrection (--autocorrect).
447- # Configuration parameters: MinSize.
448- # SupportedStyles: percent, brackets
449- Style/SymbolArray :
450- EnforcedStyle : brackets
451-
452- # Offense count: 3
453- # This cop supports safe autocorrection (--autocorrect).
454- # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
455- # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
456- Style/TernaryParentheses :
457- Exclude :
458- - ' lib/onelogin/ruby-saml/authrequest.rb'
459- - ' lib/onelogin/ruby-saml/logoutrequest.rb'
460- - ' lib/onelogin/ruby-saml/slo_logoutresponse.rb'
461-
462- # Offense count: 3
463- # This cop supports safe autocorrection (--autocorrect).
464- # Configuration parameters: EnforcedStyleForMultiline.
465- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
466- Style/TrailingCommaInHashLiteral :
467- Exclude :
468- - ' lib/onelogin/ruby-saml/authrequest.rb'
469- - ' lib/onelogin/ruby-saml/idp_metadata_parser.rb'
470- - ' lib/onelogin/ruby-saml/metadata.rb'
471-
472- # Offense count: 4
473- # This cop supports unsafe autocorrection (--autocorrect-all).
474- Style/ZeroLengthPredicate :
475- Exclude :
476- - ' lib/onelogin/ruby-saml/attribute_service.rb'
477- - ' lib/onelogin/ruby-saml/response.rb'
478-
479- # Offense count: 96
446+ # Offense count: 100
480447# This cop supports safe autocorrection (--autocorrect).
481448# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
482449# URISchemes: http, https
0 commit comments