Skip to content

Commit f614a8d

Browse files
committed
Fix blank lines
1 parent c151322 commit f614a8d

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

lib/onelogin/ruby-saml/attributes.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ def initialize(attrs = {})
3838
@attributes = attrs
3939
end
4040

41-
4241
# Iterate over all attributes
4342
#
4443
def each
4544
attributes.each{|name, values| yield name, values}
4645
end
4746

48-
4947
# Test attribute presence by name
5048
# @param name [String] The attribute name to be checked
5149
#
@@ -147,7 +145,6 @@ def fetch(name)
147145
def canonize_name(name)
148146
name.to_s
149147
end
150-
151148
end
152149
end
153150
end

lib/onelogin/ruby-saml/response.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ def validate(collect_errors = false)
406406
end
407407
end
408408

409-
410409
# Validates the Status of the SAML Response
411410
# @return [Boolean] True if the SAML Response contains a Success code, otherwise False if soft == false
412411
# @raise [ValidationError] if soft == false and validation fails
@@ -1034,7 +1033,6 @@ def decrypt_element(encrypt_node, rgrex)
10341033
raise ValidationError.new('An ' + encrypt_node.name + ' found and no SP private key found on the settings to decrypt it')
10351034
end
10361035

1037-
10381036
if encrypt_node.name == 'EncryptedAttribute'
10391037
node_header = '<node xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'
10401038
else

lib/onelogin/ruby-saml/settings.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ def get_sp_key
245245
OpenSSL::PKey::RSA.new(formatted_private_key)
246246
end
247247

248-
249248
def idp_binding_from_embed_sign
250249
security[:embed_sign] ? Utils::BINDINGS[:post] : Utils::BINDINGS[:redirect]
251250
end

lib/onelogin/ruby-saml/slo_logoutresponse.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def create_xml_document(settings, request_id = nil, logout_message = nil, status
121121

122122
destination = settings.idp_slo_response_service_url || settings.idp_slo_service_url
123123

124-
125124
root = response_doc.add_element 'samlp:LogoutResponse', { 'xmlns:samlp' => 'urn:oasis:names:tc:SAML:2.0:protocol', "xmlns:saml" => "urn:oasis:names:tc:SAML:2.0:assertion" }
126125
root.attributes['ID'] = uuid
127126
root.attributes['IssueInstant'] = time
@@ -160,7 +159,6 @@ def sign_document(document, settings)
160159

161160
document
162161
end
163-
164162
end
165163
end
166164
end

0 commit comments

Comments
 (0)