EXtremeZip 2023.1.31 → 2023.7.14

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: b6828909fbe53e0f3b211aa554b51fdcae8dd6dc77f49f21d8d96409b352892f
4
- data.tar.gz: df0f6847adc9db66ea24a997c879b62d6f1c0cb23590c7f787f9dd1f4c53e295
3
+ metadata.gz: 5074e0e8e5528e7fab6c3baeb1f76a9e4ed518baeb53dc886497c23fab1ec864
4
+ data.tar.gz: c2ea1334b9fcfed5dd31b4ca29e5397a4ea1aa7189653983a1795d724356adeb
5
5
  SHA512:
6
- metadata.gz: 28c67deaa23056ff3aeb2fe44e9c239e671c93ef9c1d06ce7f2dfc8068a62165f9754d176297e27ae30fd83894b2e33964c122de3c56d86136eec028551d1f14
7
- data.tar.gz: 80c52c54543d2295d993521c63eb38aec017cdb1ee004a849820406f39409afdb68e691148d9237fdf9b349bacf2795cd338236d8e8f40f83d69f5923848e0bf
6
+ metadata.gz: 01be5021f6ec42c889c80d38517c008fd943851fd7f0eccb33059f9ef625a21126c74400921d27d35889a64cb1422d6dd286a9ffcbf75f0b0209aa93ae355065
7
+ data.tar.gz: d9b0e112aa645db6cabfd0b246d5f335da19cf2fa9dc4ddb3794d4c5d3723f015010831127ec20ba9f101b2d3612a8ea34a0559055624feb36c447ece11c6236
@@ -124,6 +124,7 @@ class ExtremeUnZip
124
124
  $clipDownloader.releaseFilesExternalDataFile(replyByteArray, victoriaFreshDataFile) # 释放各个文件
125
125
 
126
126
  fileToRemove = File.new(victoriaFreshDataFile) # 要删除的文件
127
+ File.delete(fileToRemove) # 删除文件
127
128
  end # if (fileVersion<14) #版本号过小
128
129
 
129
130
  result =true # 解压成功
@@ -320,15 +320,15 @@ class ExtremeZip
320
320
 
321
321
  # 读取块文件内容
322
322
  def readBlockFile(filePartCounter)
323
- currentBlockFile = File.new(@clipDownloader.diskFileName + filePartCounter.to_s, 'rb') # 打开文件
323
+ currentBlockFile = File.new(@clipDownloader.diskFileName + filePartCounter.to_s + '.v', 'rb') # 打开文件
324
324
 
325
- currentBlockData = currentBlockFile.read # 读取全部内容
325
+ currentBlockData = currentBlockFile.read # 读取全部内容
326
326
 
327
- currentBlockFile.close # 关闭文件
327
+ currentBlockFile.close # 关闭文件
328
328
 
329
- File.delete(currentBlockFile) # 删除数据块文件
329
+ File.delete(currentBlockFile) # 删除数据块文件
330
330
 
331
- currentBlockData
331
+ currentBlockData
332
332
  end
333
333
 
334
334
  # 计划一个块的压缩计算
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EXtremeZip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2023.1.31
4
+ version: 2023.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cod
@@ -86,20 +86,20 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 2022.2.24
89
+ version: 2023.5.25
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 2022.2.24
92
+ version: 2023.5.25
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: 2022.2.24
99
+ version: 2023.5.25
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 2022.2.24
102
+ version: 2023.5.25
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: hx_cbor
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.2.33
148
+ rubygems_version: 3.1.6
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: EXtremeZip