VictoriaFreSh 2022.1.15 → 2022.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/victoriafresh.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfb840c0cb2badb82e8518e77c2911bf0604533ee751a0292fe64a928fe68a42
|
4
|
+
data.tar.gz: 9a5c8667b3a714b922d22b638745526044cc0de79a265ce3f7d50dc08bcc47e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 314494a3924b7122ace2a3dbf3ce5facf217493e255c8b4628fb15125556b33fb8adce788c28d688ddfc604e0ba6e5c479e89c8901f560cab55709156a33febb
|
7
|
+
data.tar.gz: d494de1a1131a9514fa1c3bf90875ec6cdd2746a217d68c90c0d83b498d0593ecbe4388138a54a2a80e59e1cc3d7c99ced463743df3aaf542edecaf5bf16d5a6
|
data/lib/victoriafresh.rb
CHANGED
@@ -426,6 +426,7 @@ class VictoriaFresh
|
|
426
426
|
#读取文件内容:
|
427
427
|
fileToReadContent=File.new(directoryPath,"rb") #创建文件。
|
428
428
|
currentFileContent=fileToReadContent.read #全部读取
|
429
|
+
fileToReadContent.close # 关闭文件
|
429
430
|
|
430
431
|
currentContentMd5=calculateMd5(currentFileContent) # 计算文件内容的MD5。
|
431
432
|
|
@@ -486,7 +487,7 @@ class VictoriaFresh
|
|
486
487
|
|
487
488
|
end
|
488
489
|
|
489
|
-
rescue Errno::EMFILE #
|
490
|
+
rescue Errno::EMFILE # too many open Files in process
|
490
491
|
puts "Rescued by Errno::EMFILE statement. #{subFile}" #报告错误
|
491
492
|
end
|
492
493
|
end #directoryPathName.each_child do |subFile| #一个个文件地处理。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: VictoriaFreSh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2022.1.
|
4
|
+
version: 2022.1.27
|
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-01-
|
11
|
+
date: 2022-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hx_cbor
|