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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c594f3df1caf879f53093a858f8558087a0b63989bfae2a7c5348830b1c7744d
4
- data.tar.gz: 5940444e89599f422adbab82d6b472d3df52089ecf5b73d724d6dde183157506
3
+ metadata.gz: d4fe7e93411178604fe5d047b7bf70b7e0d69c42a4333370a992bbf8197d2d37
4
+ data.tar.gz: 5c49124a663f2c8c3f551d37acdb809485f8040de442f7230ab17821fd482fb0
5
5
  SHA512:
6
- metadata.gz: 32e4f8e076d325a1d614881a01a1212322a1fbb7af3c43e520ce5c528852f6f7e73fd282acb677ca10d48158b8c814b5f7943b1998d17aac5d2c9384b5638b7f
7
- data.tar.gz: f8f69a849b538f329597dea163f8f9f04e0cca0dddde8774916c38e58724c407db49565f58621c4596d9414c40f55ed11af6c7e58259aa74d8af4456d6097b8d
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 # 设置了忽略列表
@@ -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
- # $clipDownloader.diskMultiFile = true # Write multiple files
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.3.24
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-03-23 00:00:00.000000000 Z
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.3.26
68
+ rubygems_version: 3.5.11
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: VictoriaFreSh