lib/xmldsig/transforms/enveloped_signature.rb in xmldsig-0.2.0 vs lib/xmldsig/transforms/enveloped_signature.rb in xmldsig-0.2.1
- old
+ new
@@ -1,9 +1,9 @@
module Xmldsig
class Transforms < Array
class EnvelopedSignature < Transform
def transform
- node.xpath("descendant::ds:Signature", Xmldsig::NAMESPACES).remove
+ node.xpath("descendant::ds:Signature", Xmldsig::NAMESPACES).first.remove
node
end
end
end
end