rxfhelper 0.9.3 → 0.9.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.tar.gz.sig +0 -0
- data/lib/rxfhelper.rb +19 -0
- metadata +4 -4
- 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: 9c485a9e7a4e37d9377576bdff66323f5dbc0e3fa5924c4df1d52244ef578878
|
4
|
+
data.tar.gz: d4af79b053c2db5b9064585df5bb298b2fdcc0edba6509160dad2d4b0cb92573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc51be43b05089a05aea0bc1123152b323abdbe5fad1d78e16c4858e8d33555bf3b7b35d4bebcd6a0dd8817c93f58b6a66c59870962e8b65d90d05efb557f28c
|
7
|
+
data.tar.gz: 6dbec76744339d2cee43ae14d6f6ff04c6f131308ce63b23cbaef75fc6d91f69c5a0e1cb51ed946f3742c9da314978b08c99a92c16e74184bb93e576737cbf8e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -17,6 +17,25 @@ module RXFHelperModule
|
|
17
17
|
|
18
18
|
def self.chdir(s) RXFHelper.chdir(s) end
|
19
19
|
|
20
|
+
def self.directory?(filename)
|
21
|
+
|
22
|
+
type = self.filetype(filename)
|
23
|
+
|
24
|
+
filex = case type
|
25
|
+
when :file
|
26
|
+
File
|
27
|
+
when :dfs
|
28
|
+
DfsFile
|
29
|
+
else
|
30
|
+
nil
|
31
|
+
end
|
32
|
+
|
33
|
+
return nil unless filex
|
34
|
+
|
35
|
+
filex.directory? filename
|
36
|
+
|
37
|
+
end
|
38
|
+
|
20
39
|
def self.exists?(filename)
|
21
40
|
|
22
41
|
type = self.filetype(filename)
|
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: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
+rB3ZZRITz3UYJX4CRAhjbCFz5Cxnpy9Vak6Qd9BWwl5Zv09QPxO3W+CIFDO+VpN
|
36
36
|
MnDB4XRJPLbz3OzpiLtqEWES
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-02-
|
38
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rsc
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0.4'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.4.
|
69
|
+
version: 0.4.6
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: '0.4'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.4.
|
79
|
+
version: 0.4.6
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: remote_dwsregistry
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|