libsaml 2.12.0 → 2.12.1

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: 766187c50ddffa2413bebaac9a7de5bcb8f5afee
4
- data.tar.gz: 4dca4870bab598175b3d7b45efa2e4189f483952
3
+ metadata.gz: 7e61d591af0a0359bfeebe1d244073d64882d50c
4
+ data.tar.gz: a884a8d7a3f7fd48b28a7ed771ebb35344fd6c63
5
5
  SHA512:
6
- metadata.gz: 58efb874d907557aef36264ebbe735ed10b701bf2599d27b46a3d09cd4ae3a1720f341b763a9574c5f6e175a0e4d86ad716e33e04d4a13d2db9ef627f99c47da
7
- data.tar.gz: d036e0874e61469e25e14aed3359ad1ab5e38610b773dcee1b34d01cb353bdde653b6c52ebd1367e9a7efafaed1d2694b474a4b3e36ce58be0df15fd99253e2a
6
+ metadata.gz: ea787ba8b41825c9f43426e96c00ab01bc6b962ab3344c2885ba131dd5976169db473eff36c48d4fa8ffb610ecf9dc031611883ac3f598cd9a73e55813f9e494
7
+ data.tar.gz: 437d89e72e92a29fb2f30174299ca7ded94c19654f8abfa96caf4f561f24099d34f3ba658ee37b3ce60a874aa5637e3a9261edc2356e090e479d6734a817d7ed
@@ -3,10 +3,18 @@ module Saml
3
3
  class AudienceRestriction
4
4
  include Saml::Base
5
5
 
6
- tag "AudienceRestriction"
6
+ tag 'AudienceRestriction'
7
7
  namespace 'saml'
8
8
 
9
- element :audience, String, :tag => "Audience"
9
+ has_many :audiences, String, tag: 'Audience'
10
+
11
+ def audience
12
+ Array(audiences).first
13
+ end
14
+
15
+ def audience=(audience)
16
+ self.audiences = [audience]
17
+ end
10
18
  end
11
19
  end
12
20
  end
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.12.0"
2
+ VERSION = "2.12.1"
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.12.0
4
+ version: 2.12.1
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-13 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport