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 +4 -4
- data/lib/extremeunzip.zzaqsu.rb +1 -0
- data/lib/extremezip.zzaqsv.rb +5 -5
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5074e0e8e5528e7fab6c3baeb1f76a9e4ed518baeb53dc886497c23fab1ec864
|
4
|
+
data.tar.gz: c2ea1334b9fcfed5dd31b4ca29e5397a4ea1aa7189653983a1795d724356adeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01be5021f6ec42c889c80d38517c008fd943851fd7f0eccb33059f9ef625a21126c74400921d27d35889a64cb1422d6dd286a9ffcbf75f0b0209aa93ae355065
|
7
|
+
data.tar.gz: d9b0e112aa645db6cabfd0b246d5f335da19cf2fa9dc4ddb3794d4c5d3723f015010831127ec20ba9f101b2d3612a8ea34a0559055624feb36c447ece11c6236
|
data/lib/extremeunzip.zzaqsu.rb
CHANGED
@@ -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 # 解压成功
|
data/lib/extremezip.zzaqsv.rb
CHANGED
@@ -320,15 +320,15 @@ class ExtremeZip
|
|
320
320
|
|
321
321
|
# 读取块文件内容
|
322
322
|
def readBlockFile(filePartCounter)
|
323
|
-
|
323
|
+
currentBlockFile = File.new(@clipDownloader.diskFileName + filePartCounter.to_s + '.v', 'rb') # 打开文件
|
324
324
|
|
325
|
-
|
325
|
+
currentBlockData = currentBlockFile.read # 读取全部内容
|
326
326
|
|
327
|
-
|
327
|
+
currentBlockFile.close # 关闭文件
|
328
328
|
|
329
|
-
|
329
|
+
File.delete(currentBlockFile) # 删除数据块文件
|
330
330
|
|
331
|
-
|
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.
|
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-
|
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:
|
89
|
+
version: 2023.5.25
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
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:
|
99
|
+
version: 2023.5.25
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
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.
|
148
|
+
rubygems_version: 3.1.6
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: EXtremeZip
|