EXtremeZip 2021.8.24 → 2022.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/exz +9 -0
- data/lib/extremeunzip.zzaqsu.rb +1 -1
- data/lib/extremezip.zzaqsv.rb +2 -2
- metadata +23 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e95d136f6b500f21919530563bb68a39d1bf931517503e040e515f4931d4e4d2
|
4
|
+
data.tar.gz: 01e73443dac1d6421f82224c7c32d083bceec3d8aa2d924be8a41e9ce087ebc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb94c733314f90974a7633b11fcb29fdebc1da243fd914215d7f94055878edf8892c382db5525a2c8b788f12d3781bf295ec018caea9d7e88b9e8030c2375b6
|
7
|
+
data.tar.gz: efcb570636ff01c3810ac1634ecae62390b8231b8d6567ddf7de5b4a084a4f6973a5fc32d70ab34f849559ff429e3c33575c722b7e96ebb5c023456f9655c8a1
|
data/bin/exz
CHANGED
@@ -1,12 +1,21 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
3
|
require 'extremezip.zzaqsv'
|
4
|
+
require 'notifier'
|
4
5
|
|
5
6
|
if ARGV.empty? # 未指定命令行参数。
|
6
7
|
else # 指定了命令行参数。
|
8
|
+
puts("process id: #{Process.pid}"); # Debug
|
9
|
+
|
7
10
|
$rootPath = ARGV[0] # 记录要打包的目录树的根目录。
|
8
11
|
|
9
12
|
exzObject = ExtremeZip.new # 创建压缩对象
|
10
13
|
|
11
14
|
exzObject.exz($rootPath) # 压缩
|
15
|
+
|
16
|
+
Notifier.notify(
|
17
|
+
image: "image.png",
|
18
|
+
title: "exz finished",
|
19
|
+
message: $rootPath
|
20
|
+
)
|
12
21
|
end
|
data/lib/extremeunzip.zzaqsu.rb
CHANGED
data/lib/extremezip.zzaqsv.rb
CHANGED
@@ -47,7 +47,7 @@ class ExtremeZip
|
|
47
47
|
|
48
48
|
# 加入基本文件信息
|
49
49
|
def addBasicFileInformation
|
50
|
-
@wholeCbor['version'] =
|
50
|
+
@wholeCbor['version'] = 233 # 文件格式版本号
|
51
51
|
|
52
52
|
uuid = UUID.new # 获取生成器
|
53
53
|
@wholeCbor['uuid'] = uuid.generate # 指定本个压缩包的唯一编号
|
@@ -111,7 +111,7 @@ class ExtremeZip
|
|
111
111
|
|
112
112
|
currentBlockFile.close # 关闭文件
|
113
113
|
|
114
|
-
File.delete(currentBlockFile) # 删除数据块文件
|
114
|
+
#File.delete(currentBlockFile) # 删除数据块文件
|
115
115
|
|
116
116
|
currentBlockData
|
117
117
|
end
|
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:
|
4
|
+
version: 2022.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hxcan Cai
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cod
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.4.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: notifier
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.5.2
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.5.2
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: uuid
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,20 +86,20 @@ dependencies:
|
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
89
|
+
version: 2022.1.11
|
76
90
|
- - ">="
|
77
91
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
92
|
+
version: 2022.1.11
|
79
93
|
type: :runtime
|
80
94
|
prerelease: false
|
81
95
|
version_requirements: !ruby/object:Gem::Requirement
|
82
96
|
requirements:
|
83
97
|
- - "~>"
|
84
98
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
99
|
+
version: 2022.1.11
|
86
100
|
- - ">="
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
102
|
+
version: 2022.1.11
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: hx_cbor
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +130,7 @@ homepage: http://rubygems.org/gems/EXtremeZip
|
|
116
130
|
licenses:
|
117
131
|
- MIT
|
118
132
|
metadata: {}
|
119
|
-
post_install_message:
|
133
|
+
post_install_message:
|
120
134
|
rdoc_options: []
|
121
135
|
require_paths:
|
122
136
|
- lib
|
@@ -132,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
146
|
version: '0'
|
133
147
|
requirements: []
|
134
148
|
rubygems_version: 3.1.6
|
135
|
-
signing_key:
|
149
|
+
signing_key:
|
136
150
|
specification_version: 4
|
137
151
|
summary: EXtremeZip
|
138
152
|
test_files: []
|