Skip to content

Commit f360e3c

Browse files
committed
More safe to commit changes
1 parent 98fbcb6 commit f360e3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ruby_saml/xml/document_signer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def build_signature_element(noko, private_key, certificate, signature_method, di
5353
xml['ds'].SignedInfo do
5454
xml['ds'].CanonicalizationMethod(Algorithm: RubySaml::XML::C14N)
5555
xml['ds'].SignatureMethod(Algorithm: signature_method)
56-
xml['ds'].Reference(URI: "##{noko.root.attr('ID')}") do
56+
xml['ds'].Reference(URI: "##{noko.root['ID']}") do
5757
xml['ds'].Transforms do
5858
xml['ds'].Transform(Algorithm: RubySaml::XML::ENVELOPED_SIG)
5959
xml['ds'].Transform(Algorithm: RubySaml::XML::C14N) do

test/logoutresponse_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RubySamlTest < Minitest::Test
2424
end
2525

2626
it "accept constructor-injected options" do
27-
logoutresponse = RubySaml::Logoutresponse.new(valid_logout_response_document, nil, { :foo => :bar} )
27+
logoutresponse = RubySaml::Logoutresponse.new(valid_logout_response_document, nil, { foo: :bar })
2828
refute logoutresponse.options.empty?
2929
end
3030

0 commit comments

Comments
 (0)