soar_pl 0.0.10 → 0.0.11

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: 34b2983978f1c4031a5b8814c73cf4ca90ebff9c
4
- data.tar.gz: b1172b980bc483c2a1511ee3fa8a0fdac3e5b7d5
3
+ metadata.gz: ba026274a29b8d249f00f4e7b1ad03485c284e86
4
+ data.tar.gz: 9e0fa8582dc6f35b4e2da6683da3ba2d3249a637
5
5
  SHA512:
6
- metadata.gz: 655b41c1e3f5a014ffaf6b1af8d97dc86b55fa6b930afae55ae56bd65fc002607f9c005c18c3689b9851ff19670a851c34047ee546c31ed87153492fc3e33d0f
7
- data.tar.gz: df4f5d0783613e488784e42bea445e6bf8994b704e6a309a3ba8d1eae6cc33d1463c24372e7c2862f474923a577e67a3a718e4323a4d8e3004cfca9fc0d8c990
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)
@@ -1,3 +1,3 @@
1
1
  module SoarPl
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_pl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst van Graan