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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc08e94405728b8ce7bcd30f2c33736b9f209131caac7d6fded3faf7a5488985
4
- data.tar.gz: d1625899121690c01ccb348f42ea31e04445a3177c2841b510222f8f8dd04414
3
+ metadata.gz: 4a2f7f9d0e410726761dbe92f6c6010e21341141239a6678dba24165479af459
4
+ data.tar.gz: 285b66a4741ccb039cd8cb9e3fc7b9943d1f88c4897354b01112adc0b4d706c0
5
5
  SHA512:
6
- metadata.gz: ed7fd7c023ec9fd526bfa6e6b7347980240ade785bf2dde4f80d0a4ddf5bd6238961e1dc549c0eba773d36dfdaed3f173b71412bb766d62c0e7a0581bb655e2f
7
- data.tar.gz: 1c80069ebddf99533700fe872f9b65dc324b2f78481fac3ffe7299ea764eb306e14d053f74c51005b4da22ed3d75e74d1bfe0aa8d069f78fa15def4402d3429a
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.2.6
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-09 00:00:00.000000000 Z
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.6'
66
+ version: '0.7'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.6.1
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.6'
76
+ version: '0.7'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.6.1
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: 2.1.2
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