Layout/SpaceAroundOperators:
Enabled: false
-# Cop supports --auto-correct.
-Layout/SpaceBeforeComma:
- Exclude:
- - 'test/mocks/open_id_authentication_mock.rb'
-
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Layout/SpaceBeforeFirstArg:
end unless options[:optional].nil?
end
- yield Result[:successful], identity_url , extension_response_fields
+ yield Result[:successful], identity_url, extension_response_fields
else
logger.info "OpenID authentication failed: #{identity_url}"
yield Result[:failed], identity_url, nil