rxfreadwrite 0.1.2 → 0.1.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/rxfreadwrite.rb +16 -0
- 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: 95295c82220fac32aad607d93eb02499e847e50b10241c5988e501cfbe47836e
|
4
|
+
data.tar.gz: 321f4eb44aced8e168d4569794a729a2b0988ac84919692c4a62a9844c0205c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fe0e6d2836ac67e079630480e8fda469f042621c66312e67d8e766b2396235834befe0ccedfb8aeac57a7aec78cc31abb6e0ba6b33cab17f826d86bd8f4fa47
|
7
|
+
data.tar.gz: 7204f4795f43b7d45a82d1d5b99f948d355e8687e2428731ae143942228ce2db75f845a0b763079ad9acb8c453ff839793091266f8e6eee31f7436615462c58c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfreadwrite.rb
CHANGED
@@ -57,6 +57,10 @@ module RXFReadWriteModule
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
+
def FileX.touch(s, mtime: Time.now)
|
61
|
+
RXFReadWrite.touch(s, mtime: mtime)
|
62
|
+
end
|
63
|
+
|
60
64
|
def FileX.write(x, s)
|
61
65
|
RXFReadWrite.write(x, s)
|
62
66
|
end
|
@@ -78,6 +82,18 @@ class RXFReadWrite < RXFReader
|
|
78
82
|
end
|
79
83
|
|
80
84
|
end
|
85
|
+
|
86
|
+
def self.touch(filename, mtime: Time.now)
|
87
|
+
|
88
|
+
case filename[/^\w+(?=:\/\/)/]
|
89
|
+
when 'dfs'
|
90
|
+
DfsFile.touch filename, mtime: mtime
|
91
|
+
else
|
92
|
+
FileUtils.touch filename, mtime: mtime
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
81
97
|
def self.write(location, s=nil)
|
82
98
|
|
83
99
|
case location
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rxfreadwrite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
gnYmJHVhKvNaFwL4ryulhkA+n8o3Ve6Kzo/AGlO2+Ge6H0bqIUbS8UisqDa7IwlY
|
36
36
|
tvleW582+lzMrpAfWdGb4VFX
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-02-
|
38
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rxfreader
|
metadata.gz.sig
CHANGED
Binary file
|