libsaml 2.22.1 → 2.22.2

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: ca15cafdd82a83b0327ac058edee2d2bd8ae2c83
4
- data.tar.gz: 0fd4c3c9049d03fc5bdd4861911827d19c8a5c48
3
+ metadata.gz: 8145f1601cf38860a5fce6a78336b882fcf6cf02
4
+ data.tar.gz: 73ad0cbb417957495a802602356003d4a6bd3da6
5
5
  SHA512:
6
- metadata.gz: 5fcec82565301b2302a4798a61a2a589e53416af97296329bb98554efacb5987bcdda1b0bae6c031bd08d9ceced8cc90eaf339eff23bb5bcb666ddfc67413b9f
7
- data.tar.gz: 2ea59123ee9c5706d33c9b4c72c3edebf2ef2f825ebf0611f7954ff0bfa09630e06df3320184f6a4a4ec91b6ed602720167dfa4748d277da99516e44d6a9b22d
6
+ metadata.gz: 68e9b938046abf0292b8da29c90eebf0e4b0e2fefda62cff5ddb14835ef997f0b6c52fc92fc6395c40349add3fc11d7290bbfe057e115fa3499f266add8bcf2f
7
+ data.tar.gz: 393d53430af040f22860e5cd0ee6c686a102e443ca096bdccb65af28bed7e3d8f7d369a84fa4c6b6182b86197f0df752e4d9de2c456e000b755dd4f120fe9daa
data/lib/saml.rb CHANGED
@@ -15,6 +15,7 @@ module Saml
15
15
  MD_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:metadata'
16
16
  MD_RPI_NAMESPACE = 'urn:oasis:names:tc:SAML:metadata:rpi'
17
17
  MD_ATTR_NAMESPACE = 'urn:oasis:names:tc:SAML:metadata:attribute'
18
+ ATTR_EXT_NAMESPACE = 'urn:oasis:names:tc:SAML:attributes:ext'
18
19
  SAML_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:assertion'
19
20
  SAMLP_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:protocol'
20
21
  XS_NAMESPACE = 'http://www.w3.org/2001/XMLSchema'
@@ -6,11 +6,15 @@ module Saml
6
6
 
7
7
  included do
8
8
  register_namespace "saml", Saml::SAML_NAMESPACE
9
+ register_namespace 'ext', Saml::ATTR_EXT_NAMESPACE
9
10
 
10
11
  attribute :name, String, :tag => 'Name'
11
12
  attribute :format, String, tag: 'NameFormat'
12
13
  attribute :friendly_name, String, tag: 'FriendlyName'
13
14
 
15
+ attribute :original_issuer, String, tag: 'ext:OriginalIssuer'
16
+ attribute :last_modified, Time, tag: 'ext:LastModified', on_save: lambda { |val| val.utc.xmlschema if val.present? }
17
+
14
18
  has_many :attribute_values, Saml::Elements::AttributeValue
15
19
 
16
20
  validates :name, :presence => true
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '2.22.1'
2
+ VERSION = '2.22.2'
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.22.1
4
+ version: 2.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2016-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -53,47 +53,53 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.7.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: xmldsig
56
+ name: nokogiri
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.4.0
61
+ version: '1.6'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.6.8
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
69
  - - "~>"
67
70
  - !ruby/object:Gem::Version
68
- version: 0.4.0
71
+ version: '1.6'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.6.8
69
75
  - !ruby/object:Gem::Dependency
70
- name: xmlenc
76
+ name: xmldsig
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: 0.6.2
81
+ version: 0.4.0
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: 0.6.2
88
+ version: 0.4.0
83
89
  - !ruby/object:Gem::Dependency
84
- name: curb
90
+ name: xmlenc
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
- - - ">="
93
+ - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '0'
95
+ version: 0.6.2
90
96
  type: :runtime
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
- - - ">="
100
+ - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '0'
102
+ version: 0.6.2
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: coveralls
99
105
  requirement: !ruby/object:Gem::Requirement