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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fc8d251f5c43b1e6e7aaf423043ea169502a7333efef9812da5eb30569dcc9f
4
- data.tar.gz: 0b207ea6ccd23e1fc154f80bec5a64683e2fb6aaa908bf48d24e0c979fdbba84
3
+ metadata.gz: fc07ae6791e3abfee248a3dd1413dad877cdc1e262bf0b93f3d79d73ba37e22e
4
+ data.tar.gz: b90999b8e70f6d3ecdf96ecfa2eb086ac2ff0a99abeaec0e11f45f887fc5ce14
5
5
  SHA512:
6
- metadata.gz: 974b43f19133ca3a956298134e93e30e8d0bead9095957d909cfcad91ed8b601855465c4d227b0bfa4bf5f9c88c006c0a6cb1bbc078b6fffb944a36808b9b252
7
- data.tar.gz: 05deb4675a3ad28ee2f492ba89e61deebbe363229c7d24c5233a36f9c49852ed60debb10ef49790265e8b38607039b24d0e5e63e8fa2875d9f68048a2b370b1f
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
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.31"
2
+ VERSION = "1.0.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tallty_import_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.31
4
+ version: 1.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie