durable_rules 2.0.17 → 2.0.18

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: 8a4684345546afcedde4ff018c4fdd279f8c25d5
4
- data.tar.gz: 131a73898a8170b34173e8635d51bbe116a7669e
3
+ metadata.gz: a5400f2cda8c4df0f9d4df9b93c5b0ce70896411
4
+ data.tar.gz: f2e209f3d9275874bf3c5670f81e7dadb749c8f4
5
5
  SHA512:
6
- metadata.gz: 0d03f918524fea3418adecaef6b95cdbbd72a0c182541f4903236b43eb8cf271c49c49c3ed5e0c43f77579a0ad4a25668b6616c4510221977fae6879aaa050c8
7
- data.tar.gz: 2d7689bfcd29e20d69065489eb81a1bf477a4fb9c35e5444931edbf8389f29ae61e8e5b0c32540a968ef38f658fe49dee6d8476ad264efabf7ddd2f2963a7072
6
+ metadata.gz: 9a4f16be8c4fbda5abe5348bbdc114e8387cb97f2ead7797ffae0b6b89c037caad7e07a77c875505687ebff601cb293389d6f0d7e76c6c597d0e81403a885786
7
+ data.tar.gz: 76e38364859de5984b1ac6eb751d3e10028e7eecd723d139910cf8bf9b1d8cb12b97bda35d219eb7baf92f1149ea3dd37e2dbbb987afcbd960eaa9217dc24815
data/src/rules/events.c CHANGED
@@ -305,6 +305,8 @@ static unsigned int reduceOperand(ruleset *tree,
305
305
  case JSON_BOOL:
306
306
  (*targetProperty)->value.b = sourceOperand->value.b;
307
307
  return RULES_OK;
308
+ case JSON_NIL:
309
+ return RULES_OK;
308
310
  }
309
311
 
310
312
  return ERR_OPERATION_NOT_SUPPORTED;
data/src/rules/rete.c CHANGED
@@ -1527,6 +1527,10 @@ static void printExpression(ruleset *tree, operand *newValue) {
1527
1527
  printf("true");
1528
1528
  }
1529
1529
  break;
1530
+ case JSON_NIL:
1531
+ printf("nil");
1532
+ break;
1533
+
1530
1534
  }
1531
1535
  }
1532
1536
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: durable_rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.17
4
+ version: 2.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesus Ruiz