forest_liana 2.4.2 → 2.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9df2298f5317317c055287cf1156ac6b8cee0503
4
- data.tar.gz: a4e47d579c8b581eee8a45196cb56550878c0cfb
3
+ metadata.gz: c78d47a8264edbad70f6ee5349dd55a0a6db9bcc
4
+ data.tar.gz: 4ae401ab9a5413e44d733c340ad7956548c07300
5
5
  SHA512:
6
- metadata.gz: c82adde76e331ea378e86854e0897414c968bb4443d0c2e1e14835c9247e0dc6cab0f1c4b971dddcf0710e06ed15b055b203d355db079a1a91e61d5d563fb1df
7
- data.tar.gz: 6bc6f8c21058610f6d1862bf070ef2ec7d69adaa41df381d0d8ec33f63f2f472ed0f0846e3f8b06643ea6a25d934c407914e3d1aa35f34afde4627e2e942219b
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['value']
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['value'] || !result_line['key']
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['value'] || !result_line['key']
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
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
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.2
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-04 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails