EXtremeZip 2022.2.20 → 2022.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/extremezip.zzaqsv.rb +7 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9fee183c1e4e13be28a33535c14473869e30446781505e4b92faf161e3b6338
|
4
|
+
data.tar.gz: 877be521df92fb1b7be53fe916343acd732aee0cf70711f964c095778c1f64d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a012a3351b34f0d9713743def68b23f79850042379681c0e431c1aa6abe6cba7313baae6b590e65af8df813eeb736e7c8e047f68e437a5c12b3fe2bf5a489a33
|
7
|
+
data.tar.gz: 7bdd460a7983a7e72980d65226864ce0ed715ebcc9ed1566827d90d5fdbcbcd9a37c539730146f4f1be065dcf176a5146b6d694a1d556dce757ea2f0dc00a048
|
data/lib/extremezip.zzaqsv.rb
CHANGED
@@ -110,8 +110,10 @@ 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
|
+
|
116
|
+
|
115
117
|
rescue Errno::ENOENT, TypeError
|
116
118
|
|
117
119
|
end
|
@@ -126,11 +128,15 @@ class ExtremeZip
|
|
126
128
|
def exz(rootPath)
|
127
129
|
timestampTHreshold, fileExists=loadStamp(rootPath) # 读取时间戳阈值。
|
128
130
|
|
131
|
+
puts "threshold: #{timestampTHreshold}" # Debug
|
132
|
+
|
129
133
|
#陈欣
|
130
134
|
|
131
135
|
if (timestampTHreshold > 0) # 有效的时间戳
|
132
136
|
@clipDownloader.timestampThreshold=timestampTHreshold # 设置文件时间戳阈值。
|
133
137
|
end #if (timestampTHreshold > 0) # 有效的时间戳
|
138
|
+
|
139
|
+
puts "threshold vfs: #{@clipDownloader.timestampThreshold}" # Debug
|
134
140
|
|
135
141
|
if fileExists # 存在文件,则表明将要发生增量压缩
|
136
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.
|
4
|
+
version: 2022.2.24
|
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-
|
11
|
+
date: 2022-02-24 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.
|
89
|
+
version: 2022.2.24
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: 2022.2.
|
92
|
+
version: 2022.2.24
|
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.24
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 2022.2.
|
102
|
+
version: 2022.2.24
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: hx_cbor
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|