rxfreadwrite 0.2.0 → 0.2.1
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 +6 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: ce12d520fd0882b7a49194ef341ff80d14551b9d3a32773605f74a3203a0bdda
|
4
|
+
data.tar.gz: 60579f92af1b9bd7e430521d22de70be7ae40f1d646e878decc0e66b56fe1ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26a3ac804405987b43ca015325c8b24e8d03db18713905e381f3631152f0c3f370e4ed9b372affea51106d222beafefd410f2f654690193e4c17c60507afd864
|
7
|
+
data.tar.gz: e6759d75ea0ec5009d0662ab46007cd4cc0c3a8f53d0c827f3f9aa160478b2c0e70ec4828b70c14ac35e59433533f095d685385aecc56339a566809de67a91b7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfreadwrite.rb
CHANGED
@@ -27,6 +27,8 @@ module RXFReadWriteModule
|
|
27
27
|
RXFReadWrite.rm_r(s, force: force)
|
28
28
|
end
|
29
29
|
|
30
|
+
def File.rm_rf(s) RXFReadWrite.rm_rf(s) end
|
31
|
+
|
30
32
|
def FileX.touch(s, mtime: Time.now)
|
31
33
|
RXFReadWrite.touch(s, mtime: mtime)
|
32
34
|
end
|
@@ -150,6 +152,10 @@ class RXFReadWrite < RXFReader
|
|
150
152
|
|
151
153
|
end
|
152
154
|
|
155
|
+
def self.rm_rf(filename)
|
156
|
+
rm_r(filename, force: true)
|
157
|
+
end
|
158
|
+
|
153
159
|
def self.touch(filename, mtime: Time.now)
|
154
160
|
|
155
161
|
case filename[/^\w+(?=:\/\/)/]
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|