Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields committed Jan 14, 2025
1 parent d39e162 commit fbab990
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Lint/UselessAssignment:
# Offense count: 42
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 100
Max: 200

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_saml/authrequest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def sign_document(document, settings)
end

def assign_uuid(settings)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix) # rubocop:disable Naming/MemoizedInstanceVariableName
end
end
end
2 changes: 1 addition & 1 deletion lib/ruby_saml/logoutrequest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def sign_document(document, settings)
end

def assign_uuid(settings)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix) # rubocop:disable Naming/MemoizedInstanceVariableName
end
end
end
2 changes: 1 addition & 1 deletion lib/ruby_saml/slo_logoutresponse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def sign_document(document, settings)
end

def assign_uuid(settings)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix)
@uuid ||= RubySaml::Utils.generate_uuid(settings.sp_uuid_prefix) # rubocop:disable Naming/MemoizedInstanceVariableName
end
end
end

0 comments on commit fbab990

Please sign in to comment.