EXtremeZip 2021.8.21 → 2021.8.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/extremeunzip.zzaqsu.rb +3 -1
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7b62dc9821468e67a58130b9722834776fc64562169d58bd311cb104bc8e1e7
4
- data.tar.gz: f1db8e352f62866f9c3dacfd92e2e80a7a79438796b56f456dbfd8659191ac78
3
+ metadata.gz: a29e7883f12edfc3bd5d53e38920712122607db3dec46c68ff27eb3e6795ca97
4
+ data.tar.gz: 44ba92f62eb58df2eeff1a36dfa1f58526607028096b4c03d2e1363682b83f99
5
5
  SHA512:
6
- metadata.gz: 9299113acf4f48acbf3ebc7e9911df423808d9f3bd5ee18e199ed8f2135348cd56eb8196c3a2ba4b9476ec4518dee74be551689791008d9122989b8324d0cd17
7
- data.tar.gz: 4581bfc6106c4f3d141011b0ff454555f29ca83d06f64b9ea8732903974c8c615064e0270cca9c887513813bf30d9e7f8f34321c30002d81e5450417ba1c6223
6
+ metadata.gz: 1b41d07dcaa62be1902802f028142bce2fe9a9004afc40a57b4d26205a1b8eb2707ca59587ec7b79fd091d6f41439be81404371da73b7d6cbca0712dcda76339
7
+ data.tar.gz: 0245dfe4f75783146a8350d8bdc8677a4539df0110fdd9b47c38882a4382b6dbd17be615d23421a067ae81a6d2a75e39820ab239916b30fef2de2628a742522e
@@ -110,7 +110,9 @@ class ExtremeUnZip
110
110
  #/usr/local/share/gems/gems/EXtremeZip-2021.7.8/lib/extremeunzip.zzaqsu.rb:110:in `decode': end of buffer reached (EOFError)
111
111
 
112
112
  begin # 可能出错。
113
- wholeCbor = CBOR.decode(wholeCborByteArray) # 解码
113
+ options = {:tolerant => true}
114
+
115
+ wholeCbor = CBOR.decode(wholeCborByteArray, options) # 解码
114
116
 
115
117
  fileVersion = wholeCbor['version'] # 获取版本号
116
118
 
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: 2021.8.21
4
+ version: 2021.8.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: 2021-08-18 00:00:00.000000000 Z
11
+ date: 2021-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cod
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: 2021.5.28
89
+ - !ruby/object:Gem::Dependency
90
+ name: hx_cbor
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 2021.8.20
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 2021.8.20
89
103
  description: Extreme zip.
90
104
  email: caihuosheng@gmail.com
91
105
  executables: