Commit 766be49
Changed files (2)
lib
saml
lib/saml/kit/invalid_document.rb
@@ -10,7 +10,7 @@ module Saml
model.errors[:base] << model.error_message(:invalid)
end
- def initialize(xml, configuration: nil)
+ def initialize(xml, *)
super(xml, name: 'InvalidDocument')
end
.rubocop_todo.yml
@@ -6,13 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
-Lint/UnusedMethodArgument:
- Exclude:
- - 'lib/saml/kit/invalid_document.rb'
-
# Offense count: 2
Metrics/AbcSize:
Max: 20