rxfreadwrite 0.2.1 → 0.2.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 +20 -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: '0568a7bd949343da576434a90ace51dc73726e21576d5219ba7be4c00487bdcc'
|
4
|
+
data.tar.gz: 27b26cb4c0b15e42724b97be4d77df4487479684a7e60a0605385370eb5eba45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6145972b5042a8c8d93be494ffbf300e51ee3e0490b6caa240fee03a85384ba31e1cd9e61ea540d668026ff0a5f2089ffeb20ab5139c1bc7cd802f0fb9be828
|
7
|
+
data.tar.gz: d7d50e11a221b906ed746ed3087c73e692c967f25abe0559c9d9a035cd4afd75df447353083be94f0e5f628b9cbbf7421f3c5a6514286be8bd88cc1502c1d901
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfreadwrite.rb
CHANGED
@@ -19,6 +19,26 @@ module RXFReadWriteModule
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def FileX.chdir(s) RXFReadWrite.chdir(s) end
|
22
|
+
|
23
|
+
def FileX.directory?(filename)
|
24
|
+
|
25
|
+
type = FileX.filetype(filename)
|
26
|
+
|
27
|
+
filex = case type
|
28
|
+
when :file
|
29
|
+
File
|
30
|
+
when :dfs
|
31
|
+
DfsFile
|
32
|
+
else
|
33
|
+
nil
|
34
|
+
end
|
35
|
+
|
36
|
+
return nil unless filex
|
37
|
+
|
38
|
+
filex.directory? filename
|
39
|
+
|
40
|
+
end
|
41
|
+
|
22
42
|
def FileX.mkdir(s) RXFReadWrite.mkdir(s) end
|
23
43
|
def FileX.mkdir_p(s) RXFReadWrite.mkdir_p(s) end
|
24
44
|
def FileX.rm(s) RXFReadWrite.rm(s) end
|
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.
|
4
|
+
version: 0.2.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-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rxfreader
|
metadata.gz.sig
CHANGED
Binary file
|