sqreen 0.8.01464630418-java → 0.8.11465220943-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sqreen/condition_evaluator.rb +10 -4
- data/lib/sqreen/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: 601882104a7bf2b97ff79649a547aba840e823d8
|
4
|
+
data.tar.gz: f71f947f8f888db807529de07df8c78a598550c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 543d37afa83d57c60cccb79102009d846e34ccb484340e100c102c1ffb930293b21bf2172066139abb029a773ab7a2b747d4e3bb12cc70c47a1d770511dcd735
|
7
|
+
data.tar.gz: 230708e3d04a67f186ab6c6c973d6fda427b3405093423f515b8e89f69c04707b1fe8e6720e84ae833490258cf3193d6baa7102cd2927648a9086a1d422a4078
|
@@ -38,10 +38,16 @@ class ConditionEvaluator
|
|
38
38
|
when NilClass
|
39
39
|
false
|
40
40
|
else
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
if hval.respond_to?(:empty?) && hval.empty?
|
42
|
+
false
|
43
|
+
else
|
44
|
+
v = hval.to_s
|
45
|
+
if v.size < min_value_size
|
46
|
+
false
|
47
|
+
else
|
48
|
+
ConditionEvaluator.str_include?(value.to_s, v)
|
49
|
+
end
|
50
|
+
end
|
45
51
|
end
|
46
52
|
end
|
47
53
|
end
|
data/lib/sqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.11465220943
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|