tallty_import_export 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2136c7b712f1edf45c672eaa6b488263ea0df3be0aa96f8f004afd15899a0872
4
- data.tar.gz: 42c9ec7fce94b70c6a63bfaec4934dbf622d2e09fdace4309c3b37a276eb9f92
3
+ metadata.gz: 56c0a62d935867d8420680ac232d8c156c8c653b805534ede5880bc615514706
4
+ data.tar.gz: 4efe0c40688bed288036ae32f51fe6ac7d3e28a9faddb7aa0dc05f8f901cc0c0
5
5
  SHA512:
6
- metadata.gz: 18a517b979b812ca2d3ecbcacff2d0014e2471c34fbc39f97779db59574e56cf0a5543007d35cd59175786f5c264920482b7f1bcea6e15338da297a2bfc77c63
7
- data.tar.gz: c5e8e51074abe0729d18187678110fd641efffa835d1cbcb030ddb60d3c78186a5a1e9258cd5549507ae584b8f021f16dde65ebeea22823119df684e2fb557ba
6
+ metadata.gz: b4f9e59896340ed7d75128c165d40ca8ddc4d0d584953d3953433f90bfbfe3d8cfe355cd7b4ee3182c19217a238f98c8d10b2100483b949ebc5aad1a73d31868
7
+ data.tar.gz: 0f36b4f04a2bc8759b4e835cd4dcd0e051933735322a0fefb18b5a06f438a0954d269fb9c7d3e30f436b603e94c54cfedb26e4dfcf1039d92c734874c2da838e
@@ -65,6 +65,8 @@ module TalltyImportExport
65
65
  end
66
66
 
67
67
  def process_line_info line_info, associations
68
+ # 去除空行内容
69
+ return unless line_info.values.any?(&:present?)
68
70
  # 转换处理导入的数据格式
69
71
  line_info = convert_data(line_info)
70
72
 
@@ -1,3 +1,3 @@
1
1
  module TalltyImportExport
2
- VERSION = "1.0.17"
2
+ VERSION = "1.0.18"
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.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - liyijie