saml-kit 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/kit/null_assertion.rb +42 -0
- data/lib/saml/kit/version.rb +1 -1
- data/saml-kit.gemspec +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4ad05245ab472bceea2071e05fc63f90279ad48930d5367b97c585b8edc9319
|
4
|
+
data.tar.gz: bdaf6d0bfab7815d44d721a4a16137fe55324d20c9b833439b6094fb1507643e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d2838caf5a66987765e77b1393e5a42b6b67605aef30a3507fee7bd9e048dc5d7c93b07d227fa473ae8a13109f60a67793fe7f000068c3ecb58031937402bc0
|
7
|
+
data.tar.gz: ec2fc1bdffd706af00b21910c2830dbab388d66ba411ba04ac0aabbd975844268fd89d634177f2ae6b017d365d755322dd6a811d7ab71a42b3a51fb2a1fc7460
|
@@ -5,6 +5,48 @@ module Saml
|
|
5
5
|
include Translatable
|
6
6
|
validate :invalid
|
7
7
|
|
8
|
+
def issuer; end
|
9
|
+
|
10
|
+
def name_id; end
|
11
|
+
|
12
|
+
def signed?
|
13
|
+
false
|
14
|
+
end
|
15
|
+
|
16
|
+
def signature; end
|
17
|
+
|
18
|
+
def attributes
|
19
|
+
[]
|
20
|
+
end
|
21
|
+
|
22
|
+
def started_at
|
23
|
+
Time.at(0).to_datetime
|
24
|
+
end
|
25
|
+
|
26
|
+
def expired_at
|
27
|
+
Time.at(0).to_datetime
|
28
|
+
end
|
29
|
+
|
30
|
+
def audiences
|
31
|
+
[]
|
32
|
+
end
|
33
|
+
|
34
|
+
def encrypted?
|
35
|
+
false
|
36
|
+
end
|
37
|
+
|
38
|
+
def decryptable?
|
39
|
+
false
|
40
|
+
end
|
41
|
+
|
42
|
+
def present?
|
43
|
+
false
|
44
|
+
end
|
45
|
+
|
46
|
+
def to_xml(*_args)
|
47
|
+
''
|
48
|
+
end
|
49
|
+
|
8
50
|
def invalid
|
9
51
|
errors[:assertion].push(error_message(:invalid))
|
10
52
|
end
|
data/lib/saml/kit/version.rb
CHANGED
data/saml-kit.gemspec
CHANGED
@@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency 'ffaker', '~> 2.7'
|
30
30
|
spec.add_development_dependency 'rake', '~> 10.0'
|
31
31
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
32
|
+
spec.add_development_dependency 'rspec-benchmark', '~> 0.3'
|
32
33
|
spec.add_development_dependency 'rubocop', '~> 0.52'
|
33
34
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.22'
|
34
35
|
spec.add_development_dependency 'simplecov', '~> 0.15'
|
35
36
|
spec.add_development_dependency 'webmock', '~> 3.1'
|
36
|
-
spec.add_development_dependency 'rspec-benchmark', '~> 0.3'
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: saml-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -100,6 +100,20 @@ dependencies:
|
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '3.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rspec-benchmark
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.3'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0.3'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
118
|
name: rubocop
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,20 +170,6 @@ dependencies:
|
|
156
170
|
- - "~>"
|
157
171
|
- !ruby/object:Gem::Version
|
158
172
|
version: '3.1'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: rspec-benchmark
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.3'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.3'
|
173
173
|
description: A simple toolkit for working with SAML.
|
174
174
|
email:
|
175
175
|
- mo@mokhan.ca
|