EXtremeZip 2022.2.19 → 2022.2.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/extremezip.zzaqsv.rb +6 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6f7accde07ae32cb5a0b760673749535b3cbbcaf33df4688ca303b427080bff
4
- data.tar.gz: 808669d1eb5fa58e9f6d89b5e8a01c0bafebf0f49475f215aee8cbb0f2b756e3
3
+ metadata.gz: 4b684ef3eb29aacd0f18ae476b837af976b8bb054c4dd90dd07dcfe7873e833a
4
+ data.tar.gz: 4d0410d8d161d798e514694559f65595fa3ffcc78c90d937e33daa2decdbcd32
5
5
  SHA512:
6
- metadata.gz: 634db332f4d8656a233ab935ab82c83ef1dc934861534da11c47dfbf6e93e98a6432e7542a4951fdb3d9e5b294c1fb397185d471d07e2fb8e026f9922eacd8f2
7
- data.tar.gz: 35eb1b03750c86e87f71fb997f529cd79ef407d42d3ced0d34ecd831fe503bb74acfd37101c4bacc02ee809e49e0285efa5844c2aabb22e19f2c010efe2d52df
6
+ metadata.gz: a21e8e7e4428a2d1963507f93068c2a75f451d31d5bc684e30c3178f30bfcaf0ed59637f10cb998316849ee617988b04d7938c16b9a3596a1f9011277a401680
7
+ data.tar.gz: 1ec8b2c365b10c609d237b9092a1f63bfd8107b38ccbd76334e0a5f3b1ceb626c5d25dc73274b37291942da23e3aff2256aa5b17db56def39d718d91cd4d19c3
@@ -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
- rescue Errno::ENOENT
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.19
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.19
89
+ version: 2022.2.20
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 2022.2.19
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.19
99
+ version: 2022.2.20
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 2022.2.19
102
+ version: 2022.2.20
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: hx_cbor
105
105
  requirement: !ruby/object:Gem::Requirement