tallty_import_export 1.0.31 → 1.0.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tallty_import_export/import.rb +3 -0
- data/lib/tallty_import_export/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc07ae6791e3abfee248a3dd1413dad877cdc1e262bf0b93f3d79d73ba37e22e
|
4
|
+
data.tar.gz: b90999b8e70f6d3ecdf96ecfa2eb086ac2ff0a99abeaec0e11f45f887fc5ce14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa462f47d3f0b4b09d3a759a9c64b3b3e358d4398e2e7f6667cd929dd8d0f7b5b825ea7428a8c8d6c0d26c068399e9745fc8d3137619ebc30810f8a2dc338958
|
7
|
+
data.tar.gz: 7fd7387e232a4b5be306f4e1c9d5b5836ab257e78b9ed45cc3092ce4e85201a91323c9cffda041f356951f59aa02bcda3c7ff36ce8834e970b9f02d00098f0ac
|
@@ -110,6 +110,7 @@ module TalltyImportExport
|
|
110
110
|
true
|
111
111
|
end
|
112
112
|
|
113
|
+
# TODO: 这里,对于import_headers,后面还是不要传参数了
|
113
114
|
# 需要合并proc,前端没有办法把proc传过来
|
114
115
|
def import_headers_result
|
115
116
|
import_header_hash = import_headers.to_h { |header| [header.with_indifferent_access[:key], header] }.with_indifferent_access
|
@@ -120,6 +121,8 @@ module TalltyImportExport
|
|
120
121
|
end
|
121
122
|
header
|
122
123
|
end
|
124
|
+
rescue
|
125
|
+
@headers
|
123
126
|
end
|
124
127
|
|
125
128
|
def import_options
|