libsaml 2.11.2 → 2.12.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52fd6cd1d0af0f41f1632b2479b78d1b5365c455
4
- data.tar.gz: 5260800a99393c17ec10737eefdbb4028e9c9cf1
3
+ metadata.gz: 766187c50ddffa2413bebaac9a7de5bcb8f5afee
4
+ data.tar.gz: 4dca4870bab598175b3d7b45efa2e4189f483952
5
5
  SHA512:
6
- metadata.gz: 741c4c38a246efb603c329d72921e7f72560f3256a2593c7759a4b32e5d77d169e515e248bd189405424c1a5851c884806eb6e26308470d32d175a82375c9c38
7
- data.tar.gz: ff59291d3bc4120db647434a61d270516bb8f0b26f7aabb65abac070f4857dc0cb45ed30aa5c76af3b0bfe421ed8bd5fd6ab3522366234f9adc133884ec34bb0
6
+ metadata.gz: 58efb874d907557aef36264ebbe735ed10b701bf2599d27b46a3d09cd4ae3a1720f341b763a9574c5f6e175a0e4d86ad716e33e04d4a13d2db9ef627f99c47da
7
+ data.tar.gz: d036e0874e61469e25e14aed3359ad1ab5e38610b773dcee1b34d01cb353bdde653b6c52ebd1367e9a7efafaed1d2694b474a4b3e36ce58be0df15fd99253e2a
@@ -15,13 +15,13 @@ module Saml
15
15
 
16
16
  element :issuer, String, :namespace => 'saml', :tag => 'Issuer'
17
17
 
18
- has_one :signature, Saml::Elements::Signature
19
- has_one :subject, Saml::Elements::Subject
20
- has_one :conditions, Saml::Elements::Conditions
21
- has_one :advice, Saml::Elements::Advice
22
- has_many :statements, Saml::ComplexTypes::StatementAbstractType
23
- has_many :authn_statement, Saml::Elements::AuthnStatement
24
- has_many :attribute_statements, Saml::Elements::AttributeStatement
18
+ has_one :signature, Saml::Elements::Signature, xpath: './'
19
+ has_one :subject, Saml::Elements::Subject, xpath: './'
20
+ has_one :conditions, Saml::Elements::Conditions, xpath: './'
21
+ has_one :advice, Saml::Elements::Advice, xpath: './'
22
+ has_many :statements, Saml::ComplexTypes::StatementAbstractType, xpath: './'
23
+ has_many :authn_statement, Saml::Elements::AuthnStatement, xpath: './'
24
+ has_many :attribute_statements, Saml::Elements::AttributeStatement, xpath: './'
25
25
 
26
26
  validates :_id, :version, :issue_instant, :issuer, :presence => true
27
27
 
data/lib/saml/response.rb CHANGED
@@ -3,7 +3,7 @@ module Saml
3
3
  include Saml::ComplexTypes::StatusResponseType
4
4
 
5
5
  tag "Response"
6
- has_many :assertions, Saml::Assertion
6
+ has_many :assertions, Saml::Assertion, xpath: './'
7
7
  has_many :encrypted_assertions, Saml::Elements::EncryptedAssertion
8
8
 
9
9
  def authn_failed?
@@ -52,6 +52,6 @@ module Saml
52
52
 
53
53
  def encrypted_assertion=(encrypted_assertion)
54
54
  (self.encrypted_assertions ||= []) << encrypted_assertion
55
- end
55
+ end
56
56
  end
57
57
  end
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.11.2"
2
+ VERSION = "2.12.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.2
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport