EXtremeZip 2022.2.21 → 2022.2.22

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 +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f274c7112e5fa1cf2379de1a65c7c25b14041431045ab3b519acefac42c9de17
4
- data.tar.gz: 055ba68656972d056b5102b8e3248c12e78c00382138be2dbdd7762d63d7e640
3
+ metadata.gz: da998c51added74a4ed2c3aad2e8ceb768152b7255f9807d92703dc503485b71
4
+ data.tar.gz: 6bf1557f7c8a52c6c065cac5a7c70374202c60170bd0717fb2db100540a22c8d
5
5
  SHA512:
6
- metadata.gz: d0ce3400f2248ea435e52b05e7afec8a27a7dcb97e4ddfd74536302afc460daba0c9dfdc6b11d1f3fea53344c1dc8152ad7cf41933b52f7976936da25a8faf49
7
- data.tar.gz: f70e13f87ab926df4a6ecae50eaf2231fa547953e8ff665e1e31781be0c3cd88d2a2a4af0c5cb280c4598d0033c8c4e648ee7b4451d7f23092b0e5b02a43cbb2
6
+ metadata.gz: ba80a4d83712386988790d45ae7916b52cba1107f7a7bef496fba3e948af2d50c57f5cae95530df2e65cb13efc869bf5e71fe701b84af28b69fd2b4eac321000
7
+ data.tar.gz: 1a9cd925dbfc6624d02bfe2861072fd8c78d87ee9f2762ee6cc56fcbcaff4ffcc09cc7e2b139c4884e111770577f0b4fd43471a5605b27073f76d495680c9179
@@ -110,7 +110,7 @@ class ExtremeZip
110
110
  puts wholeCbor # Debug
111
111
  puts wholeCbor.inspect # Debug
112
112
 
113
- stamp ||= wholeCbor['timestamp'] # 获取时间戳
113
+ stamp = wholeCbor['timestamp'].to_i # 获取时间戳
114
114
  #stamp = wholeCbor.try(:[], 'timestamp') # 获取时间戳
115
115
 
116
116
 
@@ -128,11 +128,15 @@ class ExtremeZip
128
128
  def exz(rootPath)
129
129
  timestampTHreshold, fileExists=loadStamp(rootPath) # 读取时间戳阈值。
130
130
 
131
+ puts "threshold: #{timestampTHreshold}" # Debug
132
+
131
133
  #陈欣
132
134
 
133
135
  if (timestampTHreshold > 0) # 有效的时间戳
134
136
  @clipDownloader.timestampThreshold=timestampTHreshold # 设置文件时间戳阈值。
135
137
  end #if (timestampTHreshold > 0) # 有效的时间戳
138
+
139
+ puts "threshold vfs: #{@clipDownloader.timestampThreshold}" # Debug
136
140
 
137
141
  if fileExists # 存在文件,则表明将要发生增量压缩
138
142
  @wholeCbor['incremental']=true # 是增量压缩。
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: 2022.2.21
4
+ version: 2022.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-19 00:00:00.000000000 Z
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cod