rorschart 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91a22a05202ffc070f2a059561f1dec6cae961a7
4
- data.tar.gz: 8d7a7a92f7d93dc9fa3680d8427694c03b465ff2
3
+ metadata.gz: ae922fd598200e3f80d33dd1a868d50878ba1f2f
4
+ data.tar.gz: 6ca831b775550a9465596deb170793b655f61b14
5
5
  SHA512:
6
- metadata.gz: 5f4eefd0071a4a48fb0807e8d783bec369d3402e90add1332dfdedb95339d3553096c7559cfc0b88f326624419cc8d178198dcee75bae859d15fc9757d980989
7
- data.tar.gz: 7278fbfd34c8f519f57bc83c981b02d2f6f49650470b5502b6c446b279b8704a6585b2486f6fd9cdddc1350d63ad8b11776f28717647664134c2fbd85f7f3ed6
6
+ metadata.gz: 1c89838a1a7b24667a49bc8d5c432c29a9bfe33305f228d6e77a2024e1e158e5b2ef394887c0b5e864ef38246587cd0925d2cf627d37972ee9c119ca27bf0d54
7
+ data.tar.gz: a59876f8e328d7b9e0db8dc0f213d0f966dc3bf8219da8d2713b1b38bb295bbf0f0200e47b6fba673a4eedd03ed1300b71cf0bb0be72abaafcb333703ddc24ae
@@ -12,11 +12,10 @@ module Rorschart
12
12
 
13
13
  def cols
14
14
  cols_with_dup = @pivot_series.inject([]) { |cols, series|
15
- cols + series.cols
15
+ cols + (series.cols || [])
16
16
  }
17
17
 
18
18
  cols_with_dup.uniq
19
-
20
19
  end
21
20
 
22
21
  def rows
@@ -26,7 +25,7 @@ module Rorschart
26
25
  # Preparation: store all series rows in a hash indexed by first column
27
26
  series_indexed = []
28
27
  @pivot_series.each { |serie|
29
- series_indexed << index_series_by_first_col(serie)
28
+ series_indexed << index_series_by_first_col(serie) if !serie.cols.nil?
30
29
  }
31
30
 
32
31
  # The Merge:
@@ -68,4 +67,4 @@ module Rorschart
68
67
  end
69
68
 
70
69
  end
71
- end
70
+ end
@@ -1,3 +1,3 @@
1
1
  module Rorschart
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rorschart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pantera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-23 00:00:00.000000000 Z
11
+ date: 2014-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler