cocoapods-aqara-localzedLoader 0.1.0 → 0.1.1

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: 3fbc2909b1ba793ab136102f3dc32a43933583aea5201101b7244477983f4d8f
4
- data.tar.gz: 7000cf94bab5c7848e9034ca4e7481336707983e377181c64492478f8be92ff6
3
+ metadata.gz: 638068cadc2ca88efc764e8b6e3aaa80c1fc0e482d8012f25d3d2c26a095ec9a
4
+ data.tar.gz: 2cb34504f96b6742f72f7322ed0b643be054516edad92bd41a53290d68f00f7a
5
5
  SHA512:
6
- metadata.gz: 1d979e9d7adc9e3974bb15672cb0d1352dd1497e212f2c2cbfb3e91e33dfce87d8bd02402dc321ced5cea16eaf4e7837cdae0e8bffce45ef09c89c29df14b7c9
7
- data.tar.gz: 376ca189a8d2e2a1808715f42aaa92c85d3ab5bbbb119e6cd969746a7cb204cd24c22936beb30fa279d31995673e32e8980d439df7cffe4dbc75c672c2ed2a55
6
+ metadata.gz: 3b1ac2e6a1afd17d9a6518972f5601c91c3b841c16c1f56a4b67687c8037c5a92979853ae8a0516a069908950d7e38baf03528d951331f617a32c0e4686e75f5
7
+ data.tar.gz: 5225f0aa98ba8c3d7761dfc943b2afb6e5f058558e4cae21dacf1301d89484545ac7ee891f5bd6f0117e10f37914357220e1020f91078b2364a33648b8af0e58
@@ -18,18 +18,18 @@ class File_util
18
18
  workbook = RubyXL::Parser.parse filename
19
19
  worksheet = workbook[0]
20
20
 
21
- if crowdin
22
- last_col_index = worksheet[0].cells.size # 当前最后一列索引+1
23
-
24
- # 遍历 B 列(索引 1)所有行
25
- worksheet.each_with_index do |row, row_index|
26
- b_value = row && row[1] ? row[1].value : nil
27
- worksheet.add_cell(row_index, last_col_index, b_value)
28
- end
29
-
30
- worksheet[0].cells[last_col_index] = worksheet.add_cell(0, last_col_index, 'zh-CN')
31
- workbook.write(filename)
32
- end
21
+ # if crowdin
22
+ # last_col_index = worksheet[0].cells.size # 当前最后一列索引+1
23
+ #
24
+ # # 遍历 B 列(索引 1)所有行
25
+ # worksheet.each_with_index do |row, row_index|
26
+ # b_value = row && row[1] ? row[1].value : nil
27
+ # worksheet.add_cell(row_index, last_col_index, b_value)
28
+ # end
29
+ #
30
+ # worksheet[0].cells[last_col_index] = worksheet.add_cell(0, last_col_index, 'zh-CN')
31
+ # workbook.write(filename)
32
+ # end
33
33
 
34
34
  row1 = worksheet[0]
35
35
  @key_hash = getkeyHash(row1)
@@ -1,3 +1,3 @@
1
1
  module Localzedloader
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-aqara-localzedLoader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhaoxifan