activerecord_csv_importer 0.1.5 → 0.1.6
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: 51557f583780074a8a0718c67716819019fdf6a4
|
4
|
+
data.tar.gz: b8189aa2383e03520fea9135a26865a045f91ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f08ead55c0b4e07c74ea76d19684406b5a7cde9c859cc3d0e1726844609357a243c9c74745495c928897316ea856badda6edef721bcfd9a587185843c249b9e
|
7
|
+
data.tar.gz: 7ef1d416e306142fd613d1b274841c2e555ebf6bfc3075119e6432eccd8916c3a2e9fc461a95ade5856afd145e76a4bcdd547b4bf1f5a161b3d5e7f504b7bba6
|
@@ -22,7 +22,7 @@ module ActiveRecordCSVImporter
|
|
22
22
|
|
23
23
|
# mapped column names
|
24
24
|
def column_definition_names
|
25
|
-
|
25
|
+
columns.map { |c| c.definition.name if c.definition }.compact
|
26
26
|
end
|
27
27
|
|
28
28
|
def column_name_for_model_attribute(attribute)
|
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.6
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|