VictoriaFreSh 2024.3.24 → 2024.9.15
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 +3 -0
- data/victoriafresh.example.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4fe7e93411178604fe5d047b7bf70b7e0d69c42a4333370a992bbf8197d2d37
|
4
|
+
data.tar.gz: 5c49124a663f2c8c3f551d37acdb809485f8040de442f7230ab17821fd482fb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70fae2a882fc632395a8c40e5db329288fd6ec18765c4512dabffad48b1f7f79284783136c08ab1dbc1be826f4bbe14018627f37736131eb1d9ead3dc90d232b
|
7
|
+
data.tar.gz: 75edb2e387d0d2a459d724124f609935dc28352d12c029608c6f85a1855b43cf2cefb85c4092e90a9d10876485d72acea7363e86a0d03328047be7e34aed1662
|
data/lib/victoriafresh.rb
CHANGED
@@ -377,6 +377,9 @@ class VictoriaFresh
|
|
377
377
|
current_paragraph << line.strip # 记录一行
|
378
378
|
end # if line.strip.empty? # 空行
|
379
379
|
end # File&.foreach(datastore).with_index do |line, _line_num|
|
380
|
+
rescue Errno::EACCES => e
|
381
|
+
# 处理权限不足的情况
|
382
|
+
puts e.message
|
380
383
|
rescue Errno::ENOENT
|
381
384
|
end
|
382
385
|
end # if @ignoreFileName # 设置了忽略列表
|
data/victoriafresh.example.rb
CHANGED
@@ -12,8 +12,8 @@ else #指定了命令行参数。
|
|
12
12
|
# $clipDownloader.diskFlush=false # Do not write disk cache.
|
13
13
|
$clipDownloader.diskFlush=true #write disk cache.
|
14
14
|
|
15
|
-
|
16
|
-
$clipDownloader.diskMultiFile = false # Write single file
|
15
|
+
$clipDownloader.diskMultiFile = true # Write multiple files
|
16
|
+
# $clipDownloader.diskMultiFile = false # Write single file
|
17
17
|
|
18
18
|
$clipDownloader.diskFileName='victoriafreshdata' #磁盘文件名前缀
|
19
19
|
$clipDownloader.diskFlushSize=32*1024*1024 #磁盘文件大小
|
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: 2024.
|
4
|
+
version: 2024.9.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hxcan Cai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hx_cbor
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
68
|
+
rubygems_version: 3.5.11
|
69
69
|
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: VictoriaFreSh
|