tallty_import_export 1.0.19 → 1.0.20

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: 47d4e395eb95191fc74c60002ce97284ba86d11b0d7708be87e59f13296ac983
4
- data.tar.gz: 78935b1942529ec78a9ed6b7430d4fa79fe8307f1ecb4f77cffb295c95a5a1cb
3
+ metadata.gz: b1cb38513ee9efd2e26a8cabc623e52306cf5f2a3ecf53711993aeb8067b2915
4
+ data.tar.gz: bcc91bcc85017141640c259777996e2036347fc68a978403d22a7085c704c1b1
5
5
  SHA512:
6
- metadata.gz: 5a59cfce4a219cf9c8022d7b9d6dcc527e1d8fd72a47b8a6536afdc79e792ddfe6e2161bcfdd480d388adf54345447b3ab70e2e8f6db217c2f6e8ddaaedb010e
7
- data.tar.gz: 55b49d0a89e8194d1c5029fc2398b9851b079e215acef761a7e37f8c158dc2282740c5025bb43f5abacacbfec7872b0980e53510cd23d479e5967baffd313279
6
+ metadata.gz: 6465b690fba9935d30109b3423119cc9a93dd6b5872eacc647404400ed50da95156fbb9d1b35d94c7f733fef2236601de11ce244ab76618789ed2756027fe23b
7
+ data.tar.gz: 326fe9117444b0cb0461731181ac2131584b36b64582c8b2a21fab3eb7de761bf27c23d3d710ef703eded66f76fb106373628552437bf042d4371178448c3eb8
@@ -79,7 +79,7 @@ module TalltyImportExport
79
79
 
80
80
  def convert_data line_info
81
81
  line_info.with_indifferent_access.reduce({}) do |h, (k, v)|
82
- header = @headers.find do |_header|
82
+ header = import_headers_result.find do |_header|
83
83
  _header[:key].to_sym == k.to_sym
84
84
  end
85
85
  # header[:convert] = handle_xxx
@@ -104,7 +104,7 @@ module TalltyImportExport
104
104
  end
105
105
 
106
106
  def import_headers_result
107
- @headers || import_headers
107
+ @headers ||= import_headers
108
108
  end
109
109
 
110
110
  def import_headers **args
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.19"
2
+ VERSION = "1.0.20"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tallty_import_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-20 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zip-zip