rxfhelper 1.2.6 → 1.3.3
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 +39 -1
- data.tar.gz.sig +0 -0
- metadata +7 -7
- 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: 4a2f7f9d0e410726761dbe92f6c6010e21341141239a6678dba24165479af459
|
4
|
+
data.tar.gz: 285b66a4741ccb039cd8cb9e3fc7b9943d1f88c4897354b01112adc0b4d706c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965182721f1b4da5d03947ea3edd0ef180dd2932332a81ad68e4c6a6b06aa2c7a46776b574ccebb263a41fa3500502573432d1cbd907f98c72389eb7b2688d05
|
7
|
+
data.tar.gz: e3a455cc808d22150233455273523accd214eec38318339b27fbd98a61db3559caa002b17c387d5f660fde27b0d4788e3eff319630703283cda12bd25d3b24d8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -6,9 +6,12 @@ require 'rsc'
|
|
6
6
|
#require 'gpd-request'
|
7
7
|
require 'rest-client'
|
8
8
|
require 'mymedia_ftp'
|
9
|
-
require 'drb_fileclient'
|
10
9
|
require 'drb_reg_client'
|
11
10
|
require 'remote_dwsregistry'
|
11
|
+
# Commented the following out to resolve the *uninitialized constant
|
12
|
+
# Kvx::RXFHelperModule (NameError)*
|
13
|
+
#require 'drb_fileclient'
|
14
|
+
#require 'dir-to-xml'
|
12
15
|
|
13
16
|
|
14
17
|
|
@@ -115,6 +118,9 @@ module RXFHelperModule
|
|
115
118
|
RXFHelper.rm_r(s, force: force)
|
116
119
|
end
|
117
120
|
|
121
|
+
def self.ru(s) RXFHelper.ru(s) end
|
122
|
+
def self.ru_r(s) RXFHelper.ru_r(s) end
|
123
|
+
|
118
124
|
def self.touch(s, mtime: Time.now)
|
119
125
|
RXFHelper.touch(s, mtime: mtime)
|
120
126
|
end
|
@@ -457,6 +463,38 @@ class RXFHelper
|
|
457
463
|
|
458
464
|
end
|
459
465
|
|
466
|
+
# recently_updated
|
467
|
+
#
|
468
|
+
def self.ru(path='.')
|
469
|
+
|
470
|
+
case path[/^\w+(?=:\/\/)/]
|
471
|
+
when 'dfs'
|
472
|
+
DfsFile.ru path
|
473
|
+
|
474
|
+
else
|
475
|
+
|
476
|
+
DirToXML.new(path, recursive: false, verbose: false).latest
|
477
|
+
|
478
|
+
end
|
479
|
+
|
480
|
+
end
|
481
|
+
|
482
|
+
# recently updated recursively check directories
|
483
|
+
#
|
484
|
+
def self.ru_r(path='.')
|
485
|
+
|
486
|
+
case path[/^\w+(?=:\/\/)/]
|
487
|
+
when 'dfs'
|
488
|
+
DfsFile.ru_r path
|
489
|
+
|
490
|
+
else
|
491
|
+
|
492
|
+
DirToXML.new(path, recursive: true, verbose: false).latest
|
493
|
+
|
494
|
+
end
|
495
|
+
|
496
|
+
end
|
497
|
+
|
460
498
|
def self.touch(filename, mtime: Time.now)
|
461
499
|
|
462
500
|
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.3
|
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-11 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rsc
|
@@ -63,20 +63,20 @@ dependencies:
|
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0.
|
66
|
+
version: '0.7'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.7.1
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
76
|
+
version: '0.7'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.
|
79
|
+
version: 0.7.1
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mymedia_ftp
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
179
|
+
version: 3.0.2
|
180
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
182
|
- - ">="
|
metadata.gz.sig
CHANGED
Binary file
|