tallty_import_export 1.0.6 → 1.0.7

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: 20ec051b84c0c965ad0ca1277f1e3b485e9cf026fd261a5638a98f43089e89bb
4
- data.tar.gz: d79f1efedffeff6d933411c761547597d3c6fa2dc3f685c58e6a6fb311db5ab9
3
+ metadata.gz: ae86af7be9c06c988a9abbeae57e165ffb5bb81a65bbc8277540b90d258efddd
4
+ data.tar.gz: d7248d7641acfa4e9ecf65292ae3ebcd0c4e35506ba0b6db7002fce09e41e1fa
5
5
  SHA512:
6
- metadata.gz: 16bac50a5b23ca990021797d567086213b822d639940d9061cf31d1c14fa2023357642ec901b30813a3da83544f0f5c3f0e467ccc2845a3b8a20091b29f74bb7
7
- data.tar.gz: 0c9640845a79b9bc44a3566ade9710b56bb633de42550528c0c36c0b4dc0c7b630e1d0624471c24fd64830f94519e8136ec3fc66aba0248da45883494a7956c2
6
+ metadata.gz: 3f6c5c0eaf0f2a62e2be88cc43e4f748e196ffb57549fcdbda5a019b3e62c2ec5627afeb3d61c74b2ad7d08e3000b9b3eed4a3b12fc82b3ad3eb12bc5972fa7a
7
+ data.tar.gz: af1d926c6c98895317535d3f6130ab5a496d8ab1a0429474dd763aa796a935d79865119696b5e86459f21d533c514d4f95b86a6043b8839c14b022121a27742a
@@ -119,9 +119,9 @@ module TalltyImportExport
119
119
  result = []
120
120
  val.map do |header|
121
121
  if (exist_header = import_headers_result.find { |model_header| model_header[:key] === header[:key] })
122
- result.push(exist_header.merge(name: header[:name], json: header[:json]))
122
+ result.push(exist_header.merge(header.compact))
123
123
  else
124
- result.push({ key: header[:key], name: header[:name], json: header[:json]})
124
+ result.push(header)
125
125
  end
126
126
  end
127
127
 
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
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.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-26 00:00:00.000000000 Z
11
+ date: 2021-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zip-zip