predicator 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/predicator/evaluator.rb +4 -0
- data/lib/predicator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fb315c811b1933aee5a9e373019e46be91ea240
|
4
|
+
data.tar.gz: f89434cbd64dcfb65ec62452839386175f530147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e6698af9ad44e8a5c98bfdd7ee6d8d8b504129e37c9357c9845865334cfcedc5abfb577d198ca04de6ffc92d1dd5795f1950703c86e19ad625209f6cffe03a2
|
7
|
+
data.tar.gz: fcbf8a75dc46c7040898fd598155b905907fc10ff3249e42c5e571ea47616d082458b6df02a4a2aa8046e2dda414a0bada7ed344b70894ee41c2f43c1cd47fcc
|
data/HISTORY.md
CHANGED
data/lib/predicator/evaluator.rb
CHANGED
@@ -71,6 +71,8 @@ module Predicator
|
|
71
71
|
else
|
72
72
|
stack.push send("compare_#{comparison}", left, right)
|
73
73
|
end
|
74
|
+
rescue
|
75
|
+
stack.push false
|
74
76
|
end
|
75
77
|
|
76
78
|
def compare_EQ left, right
|
@@ -103,6 +105,8 @@ module Predicator
|
|
103
105
|
result = val.between? min, max
|
104
106
|
stack.push result
|
105
107
|
end
|
108
|
+
rescue
|
109
|
+
stack.push false
|
106
110
|
end
|
107
111
|
end
|
108
112
|
end
|
data/lib/predicator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: predicator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JohnnyT
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|