libsaml 2.1.8 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b06039fbf831d7a4f5d0f3950080e012ab15a04
4
- data.tar.gz: f72bcd2766e407ac64df7d826caa791e55153863
3
+ metadata.gz: 1381af2e90081512e2b7952ba738fc99c66ad898
4
+ data.tar.gz: 70c93e3abfdfcc13f0c22be0c9d44ca836609786
5
5
  SHA512:
6
- metadata.gz: 8bfe8a831762af0b2eba657fa1aca09c10df85c2b222a8544e1f747a559992a4ce5366b76adb43aae8b81a717cc29291a893681f9e9845c34c93cd62f47d8b7c
7
- data.tar.gz: 870dce6f4a6a513179bcc469b9fb84350785117f5360684bc328ec971c77d422089539a35c9e03606839ef87a4f068a2ff1cf2346320be34ecea615eb28962da
6
+ metadata.gz: 827cbdf17b4c53090bdeac9f625fc732bac3b91ee598a059c177cda6c6095744b15ae9c55cb2f2857d104b9d5fadce360c54784a5ff117a3d2513fc8ede2b225
7
+ data.tar.gz: 4d5b413ac0933ebbdcc9b7334a48b53e849672f03ed49a73e3ce5305d6c5af5af9f33a1645d64d5e2375078135f79748f7e645a918805b94da90198fc50f6ca5
@@ -21,7 +21,9 @@ module Saml
21
21
  def encrypt_assertions(certificate)
22
22
  @encrypted_assertions = []
23
23
  assertions.each do |assertion|
24
- @encrypted_assertions << Saml::Util.encrypt_assertion(assertion.to_xml, certificate)
24
+ assertion_xml = assertion.is_a?(Assertion) ? assertion.to_xml : assertion.to_s
25
+
26
+ @encrypted_assertions << Saml::Util.encrypt_assertion(assertion_xml, certificate)
25
27
  end
26
28
  assertions.clear
27
29
  end
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.1.8"
2
+ VERSION = "2.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.8
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen