saml2 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/saml2/entity.rb +2 -1
- data/lib/saml2/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e11e41671f8945daa93d26052ecabdc6c0fa56b
|
|
4
|
+
data.tar.gz: 86cb1a16f12d1e5a3ae072e951add30fd5e8a04e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2ea777ca2d13bf72fd0ab56d84459eb18bc020eb415a42f1bd05749f65ea99c153874e53885fedafaba149159d637ed2e22621be51705489b1d3e54b84bce71
|
|
7
|
+
data.tar.gz: 49bf22c98a47ae45139e2327c9eb7d3cf7d097a6b24fa07272f5c661c1937e6bdcf8ba3200dd1bddc8213d14a0bba2694a1bf0fa322a82b3cfd6365830070d33
|
data/lib/saml2/entity.rb
CHANGED
|
@@ -51,7 +51,8 @@ module SAML2
|
|
|
51
51
|
unless instance_variable_defined?(:@signature)
|
|
52
52
|
@signature = @root.at_xpath('dsig:Signature', Namespaces::ALL)
|
|
53
53
|
signed_node = @signature.at_xpath('dsig:SignedInfo/dsig:Reference', Namespaces::ALL)['URI']
|
|
54
|
-
|
|
54
|
+
# validating the schema will automatically add ID attributes, so check that first
|
|
55
|
+
@root.set_id_attribute('ID') unless @root.document.get_id(@root['ID'])
|
|
55
56
|
@signature = nil unless signed_node == "##{@root['ID']}"
|
|
56
57
|
end
|
|
57
58
|
@signature
|
data/lib/saml2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saml2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cody Cutrer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
196
|
version: '0'
|
|
197
197
|
requirements: []
|
|
198
198
|
rubyforge_project:
|
|
199
|
-
rubygems_version: 2.
|
|
199
|
+
rubygems_version: 2.6.4
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: SAML 2.0 Library
|