shiny_json_logic 0.2.5 → 0.2.6
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 +4 -0
- data/Gemfile.lock +1 -1
- data/badges/compat.json +1 -1
- data/lib/shiny_json_logic/operations/iterable/base.rb +2 -2
- data/lib/shiny_json_logic/version.rb +1 -1
- data/results/ruby.json +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: 5c094c662a616d343c0d045d0c8da1173fb1f982c19b709ffc1e9c8550813092
|
|
4
|
+
data.tar.gz: 872f71f3d52d7dc6d16a98e2fbf97cd50c07d9d901f7a2ac29ec831a86aa2621
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d28d16b67aaa1aa1435e2babfc2bf4b600c059ee896d863d85d1ba5460397a6eab0c4825575046ca72d0b1f804176710817bedc47d576eb84859e58af6996853
|
|
7
|
+
data.tar.gz: '099460668bdd8641e3f37d2ece887eca7100ccf3d7e5ade02c57317c2676a163dcf4ed2aedb417037f6779d133051ca07a7b785e98b3f5661b83259edfb2b0a3'
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/badges/compat.json
CHANGED
|
@@ -6,7 +6,7 @@ module ShinyJsonLogic
|
|
|
6
6
|
class Base < Operations::Base
|
|
7
7
|
def initialize(context)
|
|
8
8
|
super
|
|
9
|
-
collection =
|
|
9
|
+
collection = rules.any? ? rules[0] : rules
|
|
10
10
|
return handle_nil_collection if collection.nil?
|
|
11
11
|
|
|
12
12
|
if collection.nil?
|
|
@@ -23,7 +23,7 @@ module ShinyJsonLogic
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def call
|
|
26
|
-
return deliver
|
|
26
|
+
return deliver if errors.any?
|
|
27
27
|
|
|
28
28
|
deliver run
|
|
29
29
|
end
|
data/results/ruby.json
CHANGED