EXtremeZip 2022.2.19 → 2022.2.20
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 +4 -4
- data/lib/extremezip.zzaqsv.rb +6 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b684ef3eb29aacd0f18ae476b837af976b8bb054c4dd90dd07dcfe7873e833a
|
4
|
+
data.tar.gz: 4d0410d8d161d798e514694559f65595fa3ffcc78c90d937e33daa2decdbcd32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a21e8e7e4428a2d1963507f93068c2a75f451d31d5bc684e30c3178f30bfcaf0ed59637f10cb998316849ee617988b04d7938c16b9a3596a1f9011277a401680
|
7
|
+
data.tar.gz: 1ec8b2c365b10c609d237b9092a1f63bfd8107b38ccbd76334e0a5f3b1ceb626c5d25dc73274b37291942da23e3aff2256aa5b17db56def39d718d91cd4d19c3
|
data/lib/extremezip.zzaqsv.rb
CHANGED
@@ -106,9 +106,13 @@ class ExtremeZip
|
|
106
106
|
options = {:tolerant => true}
|
107
107
|
|
108
108
|
wholeCbor = CBOR.decode(stampFileContent, options) # 解码
|
109
|
+
|
110
|
+
puts wholeCbor # Debug
|
111
|
+
puts wholeCbor.inspect # Debug
|
109
112
|
|
110
113
|
stamp = wholeCbor['timestamp'] # 获取时间戳
|
111
|
-
|
114
|
+
#stamp = wholeCbor.try(:[], 'timestamp') # 获取时间戳
|
115
|
+
rescue Errno::ENOENT, TypeError
|
112
116
|
|
113
117
|
end
|
114
118
|
|
@@ -166,7 +170,7 @@ class ExtremeZip
|
|
166
170
|
appendVfsDataList victoriaFresh # 追加压缩块列表数据。
|
167
171
|
|
168
172
|
if fileExists # 存在文件,则表明将要发生增量压缩
|
169
|
-
writeStamp # 更新时间戳文件
|
173
|
+
writeStamp (rootPath) # 更新时间戳文件
|
170
174
|
end # if fileExists # 存在文件,则表明用户要求增量压缩
|
171
175
|
|
172
176
|
end # def exz(rootPath)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: EXtremeZip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2022.2.
|
4
|
+
version: 2022.2.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hxcan Cai
|
@@ -86,20 +86,20 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2022.2.
|
89
|
+
version: 2022.2.20
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: 2022.2.
|
92
|
+
version: 2022.2.20
|
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.
|
99
|
+
version: 2022.2.20
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 2022.2.
|
102
|
+
version: 2022.2.20
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: hx_cbor
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|