rseed 1.0.19 → 1.0.20

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: 9f02d2898afc89275bc29677d3298f66d4326bda
4
- data.tar.gz: ce33469d4ead148896d251c9f8ebad2198083b08
3
+ metadata.gz: 59a1a7b5269ab53451b95d47be785e27dacf2d47
4
+ data.tar.gz: 7e011a60a4076beb866c78b85d0109d1c6be0c8a
5
5
  SHA512:
6
- metadata.gz: a8db58dee42cf40f448347f08836eb4221e7d3767a5abc510e6b36cbebbdbba65334112e9535073f266f0781e9fae47f59922a81310c50182af480fa12807ade
7
- data.tar.gz: d3337475d03075ad490f4ccf3672b470a45604fdf36761ac4430c491d1e7603c47233936bce4969ee6397866bd45c35ec9f6970c451b619a7118c9d47e72e9d1
6
+ metadata.gz: 1783cdd50f2f336bf68352e66de1af8d67c627bc9fea200666124e9cc1cf89f95664ccc53932f9cfe55ca706bb4508efc30ae4672d1aa93623d10fe2c00ed95c
7
+ data.tar.gz: 9f2b182fee08eba06652e8a842f94744a91aae71f2983b2cd17aeac36e148c819e7eefaf9638771c0a6bb1b8db8737c7ccaeff1bf28ba1e9f8c6927e12badd49
@@ -17,9 +17,10 @@ module Rseed
17
17
  headers = {}
18
18
 
19
19
  input.each_with_index do |column_value, index|
20
+ column_value.strip! if column_value
20
21
  column = index + 1
21
22
  converter_attributes.each do |attribute|
22
- if attribute.matches? column_value.strip
23
+ if attribute.matches? column_value
23
24
  logger.debug "Found header for #{attribute.name} at column #{column}".green
24
25
  if (headers[attribute.name].nil?)
25
26
  headers[attribute.name] = column
data/lib/rseed/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rseed
2
- VERSION = "1.0.19"
2
+ VERSION = "1.0.20"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rseed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Monagle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 00:00:00.000000000 Z
11
+ date: 2015-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -118,4 +118,3 @@ signing_key:
118
118
  specification_version: 4
119
119
  summary: Assist with seeding/import of external data into models.
120
120
  test_files: []
121
- has_rdoc: