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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ce3e2d94948e994649b37b42b231ff4a153b9966b34df1a52b5a4ab384dfe15
4
- data.tar.gz: 62b36ab4f5b3a394ad8e022c5bea9cc6f6457411858c4d370c5653a14c6c6977
3
+ metadata.gz: ce12d520fd0882b7a49194ef341ff80d14551b9d3a32773605f74a3203a0bdda
4
+ data.tar.gz: 60579f92af1b9bd7e430521d22de70be7ae40f1d646e878decc0e66b56fe1ca8
5
5
  SHA512:
6
- metadata.gz: a37ea0d264edf3531b18e335b693d6e452d7f7a492e97dbf94211a321a751c53ed9b1880ebc1366fceb1992934e710ba8a733f7bc444675e5c9a6f3ae15a1a01
7
- data.tar.gz: fe40d75490bdab065e8146f1de7e60a0b0b0f8c9c636f9bf22cbe80777d013e97a56dec7062a8d223bba4339a2a44d934d0e6d628917dabab7bd12a4ed6f0060
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rxfreadwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file