rxfhelper 1.2.3 → 1.2.4
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 +11 -7
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 0b78603e8153b7dea1846f2eb4d0ea043f57b57482884427b6aace2084bbaf3e
|
4
|
+
data.tar.gz: 587c9eaacf707615a39dbad35b2710e90a1ca4210e9b9ec0fa10ccaddb32f23c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dda34bd5be25db3997aad0e216c16f96de4634079d595b58a0856b64d731040e51aae82eaa159b43f27980170dcb99244ca3a90e487141e1963858a54f458d7
|
7
|
+
data.tar.gz: 40e54dc7853bd4bbe6745ede8dd815aa8eb5f2f41be39f265d4e47ee1a9cdf55664abf8ea30deb86325487b2f2c1b408842f873053f7ffdc025fc02e4b8c99f3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -110,7 +110,11 @@ module RXFHelperModule
|
|
110
110
|
def self.pwd() RXFHelper.pwd() end
|
111
111
|
def self.read(x) RXFHelper.read(x).first end
|
112
112
|
def self.rm(s) RXFHelper.rm(s) end
|
113
|
-
|
113
|
+
|
114
|
+
def self.touch(s, mtime: Time.now)
|
115
|
+
RXFHelper.touch(s, mtime: mtime)
|
116
|
+
end
|
117
|
+
|
114
118
|
def self.write(x, s) RXFHelper.write(x, s) end
|
115
119
|
def self.zip(s, a) RXFHelper.zip(s, a) end
|
116
120
|
|
@@ -404,19 +408,19 @@ class RXFHelper
|
|
404
408
|
|
405
409
|
end
|
406
410
|
|
407
|
-
def self.touch(filename)
|
411
|
+
def self.touch(filename, mtime: Time.now)
|
408
412
|
|
409
413
|
if @fs[0..2] == 'dfs' then
|
410
|
-
return DfsFile.touch(@fs + pwd + '/' + filename)
|
414
|
+
return DfsFile.touch(@fs + pwd + '/' + filename, mtime: mtime)
|
411
415
|
end
|
412
416
|
|
413
417
|
case filename[/^\w+(?=:\/\/)/]
|
414
418
|
when 'dfs'
|
415
|
-
DfsFile.touch filename
|
416
|
-
when 'ftp'
|
417
|
-
|
419
|
+
DfsFile.touch filename, mtime: mtime
|
420
|
+
#when 'ftp'
|
421
|
+
# MyMediaFTP.touch filename
|
418
422
|
else
|
419
|
-
FileUtils.touch filename
|
423
|
+
FileUtils.touch filename, mtime: mtime
|
420
424
|
end
|
421
425
|
|
422
426
|
end
|
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.
|
4
|
+
version: 1.2.4
|
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-08 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rsc
|
metadata.gz.sig
CHANGED
Binary file
|