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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c5547719b7176a9e7653bdd06094d445f2d7c76
|
4
|
+
data.tar.gz: ec13cb9230eacacf5772dfad65070304ff912afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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.
|
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-
|
11
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|