spid 0.15.1 → 0.15.2
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/spid/saml2/response_validator.rb +3 -2
- data/lib/spid/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4866af87e0c8823162483e64a14afda3d325d3791c69f5e7678c9fdc2f29c65d
|
4
|
+
data.tar.gz: e437a860f4dc46efddb947ce55982c2b0d1b3bc09831d3298f537b574ae99274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef442a357be9ddb4781dad1a90addce249db283e1f9fa38890d24da8b22e176b81bdfe16c59cf4e18f3dfb192888479e1d911db33064a58b34795cb611b65fe7
|
7
|
+
data.tar.gz: 586d5a07cc351d555fd42d03857e4f8f803ef58e3c4334cbc9cdbfc84a242079c6216b69e05defea9cf34516230c97c49dff16439eb06c1729bbde8c1b0982c2
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.15.2] - 2018-08-31
|
6
|
+
### Fixed
|
7
|
+
- Now response doesn't fail if status code is not success
|
8
|
+
|
5
9
|
## [0.15.1] - 2018-08-31
|
6
10
|
### Fixed
|
7
11
|
- Fix uuid generation for spid logout request
|
@@ -114,7 +118,8 @@
|
|
114
118
|
- Coveralls Integration
|
115
119
|
- Rubygems version badge in README
|
116
120
|
|
117
|
-
[Unreleased]: https://github.com/italia/spid-ruby/compare/v0.15.
|
121
|
+
[Unreleased]: https://github.com/italia/spid-ruby/compare/v0.15.2...HEAD
|
122
|
+
[0.15.2]: https://github.com/italia/spid-ruby/compare/v0.15.1...v0.15.2
|
118
123
|
[0.15.1]: https://github.com/italia/spid-ruby/compare/v0.15.0...v0.15.1
|
119
124
|
[0.15.0]: https://github.com/italia/spid-ruby/compare/v0.14.0...v0.15.0
|
120
125
|
[0.14.0]: https://github.com/italia/spid-ruby/compare/v0.13.0...v0.14.0
|
data/README.md
CHANGED
@@ -81,7 +81,7 @@ gem "spid"
|
|
81
81
|
|**LogoutResponse generation (for third-party-initiated logout):**||
|
82
82
|
|generation of LogoutResponse XML|✓|
|
83
83
|
|HTTP-Redirect binding||
|
84
|
-
|HTTP-POST binding
|
84
|
+
|HTTP-POST binding|✓|
|
85
85
|
|PartialLogout customization||
|
86
86
|
|**AttributeQuery generation (2.2.2.1):**||
|
87
87
|
|generation of AttributeQuery XML||
|
@@ -18,6 +18,7 @@ module Spid
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def call
|
21
|
+
return false unless success?
|
21
22
|
[
|
22
23
|
matches_request_uuid,
|
23
24
|
issuer,
|
@@ -25,8 +26,7 @@ module Spid
|
|
25
26
|
destination,
|
26
27
|
conditions,
|
27
28
|
audience,
|
28
|
-
signature
|
29
|
-
success?
|
29
|
+
signature
|
30
30
|
].all?
|
31
31
|
end
|
32
32
|
|
@@ -42,6 +42,7 @@ module Spid
|
|
42
42
|
return true if response.status_code == Spid::SUCCESS_CODE
|
43
43
|
|
44
44
|
@errors["authentication"] = {
|
45
|
+
"status_code" => response.status_code,
|
45
46
|
"status_message" => response.status_message,
|
46
47
|
"status_detail" => response.status_detail
|
47
48
|
}
|
data/lib/spid/version.rb
CHANGED