forest_liana 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/query_stat_getter.rb +3 -3
- data/lib/forest_liana/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: c78d47a8264edbad70f6ee5349dd55a0a6db9bcc
|
4
|
+
data.tar.gz: 4ae401ab9a5413e44d733c340ad7956548c07300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c42bf8e044ef0f49191549aba9a2f7fcdcc7f0f5f3fc148d5b31c8fd9d1fb64063a64fc69611f5a5e4496e8a822b14550d1f0cc5e029c94968b35dc7ce1d3234
|
7
|
+
data.tar.gz: d8850265355987c66b9a7ebfc05978bbe3049fe6540ce13f2adbff7fe2cfc0ca63308d2a535690979a63f034eb4c64bab9a1aff37abd63bbdd2c94cfb68dbdfb
|
@@ -23,7 +23,7 @@ module ForestLiana
|
|
23
23
|
when 'Value'
|
24
24
|
if result.count
|
25
25
|
result_line = result.first
|
26
|
-
if !result_line
|
26
|
+
if !result_line.key?('value')
|
27
27
|
raise error_message(result_line, "'value'")
|
28
28
|
else
|
29
29
|
@record = Model::Stat.new(value: {
|
@@ -35,7 +35,7 @@ module ForestLiana
|
|
35
35
|
when 'Pie'
|
36
36
|
if result.count
|
37
37
|
result.each do |result_line|
|
38
|
-
if !result_line
|
38
|
+
if !result_line.key?('value') || !result_line.key?('key')
|
39
39
|
raise error_message(result_line, "'key', 'value'")
|
40
40
|
end
|
41
41
|
end
|
@@ -45,7 +45,7 @@ module ForestLiana
|
|
45
45
|
when 'Line'
|
46
46
|
if result.count
|
47
47
|
result.each do |result_line|
|
48
|
-
if !result_line
|
48
|
+
if !result_line.key?('value') || !result_line.key?('key')
|
49
49
|
raise error_message(result_line, "'key', 'value'")
|
50
50
|
end
|
51
51
|
end
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|