topographer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,8 +21,13 @@ class Topographer::Importer::Input::Roo < Topographer::Importer::Input::Base
21
21
  @start_data_row.upto @end_data_row do |row_number|
22
22
  data = @sheet.row(row_number)
23
23
  source_identifier = "Row: #{row_number}"
24
- yield Topographer::Importer::Input::SourceData.new(source_identifier,
25
- Hash[@header.zip(data)])
24
+
25
+ if data.reject{ |column| column.blank? }.any?
26
+ yield Topographer::Importer::Input::SourceData.new(
27
+ source_identifier,
28
+ Hash[@header.zip(data)]
29
+ )
30
+ end
26
31
  end
27
32
  end
28
33
  end
@@ -1,3 +1,3 @@
1
1
  module Topographer
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: topographer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Simpson
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2014-07-06 00:00:00 Z
19
+ date: 2014-07-21 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: thor