rxfhelper 1.2.6 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rxfhelper.rb +36 -0
- data.tar.gz.sig +0 -0
- metadata +25 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ee4ada6e5d55045940a454a0b5c9dfab3d2630c739e31bf952e465af40ea62b
|
4
|
+
data.tar.gz: 58ab749bec1edae0106076958b0a2889b14f16eccff12f585278e96d68a22a59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b513111d712f8073c031bf2f10f6959c4d8be8e0b735828b8d007da2e456a42e888c03a5e49c6638b04e352fe40e8b0a53fda11d27bec35e474e6a54ec398702
|
7
|
+
data.tar.gz: a243d9874ad7c158fa3adadfef5b8aec7f38be92c705210f2d75dfa9bc6fef5613d797c1362887dab04e44a275c806004c5cc12c2f04f6f5171443b10ad76091
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -9,6 +9,7 @@ require 'mymedia_ftp'
|
|
9
9
|
require 'drb_fileclient'
|
10
10
|
require 'drb_reg_client'
|
11
11
|
require 'remote_dwsregistry'
|
12
|
+
require 'dir-to-xml'
|
12
13
|
|
13
14
|
|
14
15
|
|
@@ -115,6 +116,9 @@ module RXFHelperModule
|
|
115
116
|
RXFHelper.rm_r(s, force: force)
|
116
117
|
end
|
117
118
|
|
119
|
+
def self.ru(s) RXFHelper.ru(s) end
|
120
|
+
def self.ru_r(s) RXFHelper.ru_r(s) end
|
121
|
+
|
118
122
|
def self.touch(s, mtime: Time.now)
|
119
123
|
RXFHelper.touch(s, mtime: mtime)
|
120
124
|
end
|
@@ -457,6 +461,38 @@ class RXFHelper
|
|
457
461
|
|
458
462
|
end
|
459
463
|
|
464
|
+
# recently_updated
|
465
|
+
#
|
466
|
+
def self.ru(path='.')
|
467
|
+
|
468
|
+
case path[/^\w+(?=:\/\/)/]
|
469
|
+
when 'dfs'
|
470
|
+
DfsFile.ru path
|
471
|
+
|
472
|
+
else
|
473
|
+
|
474
|
+
DirToXML.new(path, recursive: false, verbose: false).latest
|
475
|
+
|
476
|
+
end
|
477
|
+
|
478
|
+
end
|
479
|
+
|
480
|
+
# recently updated recursively check directories
|
481
|
+
#
|
482
|
+
def self.ru_r(path='.')
|
483
|
+
|
484
|
+
case path[/^\w+(?=:\/\/)/]
|
485
|
+
when 'dfs'
|
486
|
+
DfsFile.ru_r path
|
487
|
+
|
488
|
+
else
|
489
|
+
|
490
|
+
DirToXML.new(path, recursive: true, verbose: false).latest
|
491
|
+
|
492
|
+
end
|
493
|
+
|
494
|
+
end
|
495
|
+
|
460
496
|
def self.touch(filename, mtime: Time.now)
|
461
497
|
|
462
498
|
if @fs[0..2] == 'dfs' then
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rxfhelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
MrrH8cS6bqJRPQqEL1FsPmXfQpp86RvPSr0WqNSRnYEUCmqL0l2pYrXdPAyBLcji
|
36
36
|
X1jPyhH0sl/QdPdaUnsigze+
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-02-
|
38
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rsc
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0.6'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.6.
|
69
|
+
version: 0.6.3
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: '0.6'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.6.
|
79
|
+
version: 0.6.3
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mymedia_ftp
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,6 +157,26 @@ dependencies:
|
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '2.1'
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: dir-to-xml
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.1'
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 1.1.2
|
170
|
+
type: :runtime
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - "~>"
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '1.1'
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 1.1.2
|
160
180
|
description:
|
161
181
|
email: digital.robertson@gmail.com
|
162
182
|
executables: []
|
@@ -176,7 +196,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
196
|
requirements:
|
177
197
|
- - ">="
|
178
198
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
199
|
+
version: 3.0.2
|
180
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
201
|
requirements:
|
182
202
|
- - ">="
|
metadata.gz.sig
CHANGED
Binary file
|