soar_pl 0.0.10 → 0.0.11
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/lib/soar_pl/authorization_policy.rb +1 -1
- data/lib/soar_pl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba026274a29b8d249f00f4e7b1ad03485c284e86
|
|
4
|
+
data.tar.gz: 9e0fa8582dc6f35b4e2da6683da3ba2d3249a637
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e541256f7442debe32f292a607fdc9acf400e954db281d758b89d96f0332cfe79b070240a30648dab503defd36d7d912ba87d5011f2188867484c70d6c5e9e3a
|
|
7
|
+
data.tar.gz: 069446f6418d7d6d864ee3034d3827f7fd92f61d36143a8ed96be712ca83721496edd88762e0488a835ef343bdf1eaa7ebb0146b983a91eac98fb73736ebcbd1
|
|
@@ -139,7 +139,7 @@ module SoarPl
|
|
|
139
139
|
return fail_invalid("resource identifier") if resource_identifier and (not valid_non_empty_string?(resource_identifier))
|
|
140
140
|
return fail("Invalid request", build_result(false, "Invalid request", @idm)) if requested and (not requested.is_a?(Hash))
|
|
141
141
|
return fail_invalid("requestor identifier") if requestor_identifier and (not valid_non_empty_string?(requestor_identifier))
|
|
142
|
-
return fail_invalid("subject identifier") if subject_identifier and (not valid_non_empty_string?(subject_identifier))
|
|
142
|
+
return fail_invalid("subject identifier") if subject_identifier.nil? or (subject_identifier and (not valid_non_empty_string?(subject_identifier)))
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
def build_response(result, message)
|
data/lib/soar_pl/version.rb
CHANGED