ruby-saml-mod 0.2.6 → 0.2.7

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: c9717bd6a9dffb64cf2ae4f45ff7f386059af316
4
- data.tar.gz: 363c5cedd4ec2a9705129c559547e5fd0336ebf9
3
+ metadata.gz: 3171e108941b383ace094aa28a8fc377fc2385e1
4
+ data.tar.gz: d5d36d364160f8bc2e246fba0a536415a3cac705
5
5
  SHA512:
6
- metadata.gz: 466ef19f37dcddd3f17fa608e1fe6981cec73228463adc876fd610ff7b637a9c7cbb9301910e0c44e9153c20dc126baed7ab0007f72ee287bdcb57090864cbdd
7
- data.tar.gz: fa770d00d673b9c5a5fd42a1492b9260049554c3c146c941f86ed881a63f5bca351f8786560ad06bf31e5f9478914a208905ec531f5e2b8f9311f78adc608e97
6
+ metadata.gz: eb0c7c03ea7c9b928e4caf072534a78aa6b2172eabb3f1f0796ad7856e3b7307e336b64e0a88026278ccc00e8fd917fed31c9e874e000366b3d12793c01d1ce2
7
+ data.tar.gz: 040ddd5cfa64d0f326a4cb06532bdb0a4936b53be2419ceb1ba3050ed89e1f74fdfd92ed832719c0e78b7a040bab1e95e1bc0dcde1d4bcaf8dab181b16bd1593
@@ -55,11 +55,10 @@ module Onelogin::Saml
55
55
  end
56
56
 
57
57
  def decrypted_document
58
- unless @decrypted_document
59
- document.decrypt!(settings)
60
- @decrypted_document = document
58
+ @decrypted_document ||= document.clone.tap do |doc|
59
+ doc.extend(XMLSecurity::SignedDocument)
60
+ doc.decrypt!(settings)
61
61
  end
62
- @decrypted_document
63
62
  end
64
63
 
65
64
  def untrusted_find_first(xpath)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-saml-mod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - OneLogin LLC
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2015-08-03 00:00:00.000000000 Z
17
+ date: 2015-08-12 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: nokogiri