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 +4 -4
- data/lib/saml/elements/audience_restriction.rb +10 -2
- data/lib/saml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e61d591af0a0359bfeebe1d244073d64882d50c
|
4
|
+
data.tar.gz: a884a8d7a3f7fd48b28a7ed771ebb35344fd6c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
6
|
+
tag 'AudienceRestriction'
|
7
7
|
namespace 'saml'
|
8
8
|
|
9
|
-
|
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
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.
|
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-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|