activerecord_csv_importer 0.1.8 → 0.1.9

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: 966175892cb3b07f19cdaedc7b9135b727da6742
4
- data.tar.gz: 90a03827a69e7b6c23059ec44831dd0fe3725ffd
3
+ metadata.gz: 5c5547719b7176a9e7653bdd06094d445f2d7c76
4
+ data.tar.gz: ec13cb9230eacacf5772dfad65070304ff912afb
5
5
  SHA512:
6
- metadata.gz: 1b9f36dad1ad874e1addc4c3b9077bda037ddba6201dc1d5de3efa39b8dcc111affaca3bdd34d65d7eeda8f027213e8dd1fa8cd0a22416a51f0f059f154e1f86
7
- data.tar.gz: d978e273d38ac4e28921c429ac5d3b5183da09622202f24caacefed70baea83cfa8284da015ec4527f91c79c43145049e456f8a06ca63ad970e33ab12a651c6a
6
+ metadata.gz: 8d5b1935b3575a09c113f7e5d5f03b512e6d85b51c9b879a368937ee819795c4e0965f25e2d3d80eb043aef5f6a9254ab751159daf15ed3ac846224594cd3849
7
+ data.tar.gz: b1d34b32357f1b915d463defb673418aca540371151c63a23b34d13f77e17203936c4bfd3ba084aa724e2e867e0674111b79ef573f04605ce78ebe8b372f1c78
@@ -60,7 +60,7 @@ module ActiveRecordCSVImporter
60
60
  end
61
61
 
62
62
  def columns_for(model)
63
- model.attributes.values_at(*header.columns_with_definition_names)
63
+ model.attributes.values_at(*header.column_definition_names.map(&:to_s))
64
64
  end
65
65
 
66
66
  # Error from the model mapped back to the CSV header if we can
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordCSVImporter
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_csv_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zulfiqar Ali
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-16 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus