lib/saml/kit/configuration.rb in saml-kit-0.2.7 vs lib/saml/kit/configuration.rb in saml-kit-0.2.8

- old
+ new

@@ -15,10 +15,10 @@ @key_pairs = [] yield self if block_given? end def add_key_pair(certificate, private_key, password:, use: :signing) - @key_pairs.push(KeyPair.new(certificate, private_key, password, use)) + @key_pairs.push(KeyPair.new(certificate, private_key, password, use.to_sym)) end def generate_key_pair_for(use:, password: SecureRandom.uuid) certificate, private_key = SelfSignedCertificate.new(password).create add_key_pair(certificate, private_key, password: password, use: use)