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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abeb6554e6a09e91baa0ffb9602cff0aab18e8598fcb0f7c21eaf2af2aaf2e70
4
- data.tar.gz: 2f0540e7aaf82a5672829eacdd91f0b5334ed9c3834a6d896eb9c92256941892
3
+ metadata.gz: 9c485a9e7a4e37d9377576bdff66323f5dbc0e3fa5924c4df1d52244ef578878
4
+ data.tar.gz: d4af79b053c2db5b9064585df5bb298b2fdcc0edba6509160dad2d4b0cb92573
5
5
  SHA512:
6
- metadata.gz: 6e97e927d88ad1bdd71b11df7f2cd0a09bd67c273c815b13118182e3e8a93df111503e913d7f3457cb2c8e29111c74ca6991f263c8dfba9ca8eb7694cbf77acb
7
- data.tar.gz: 467d47bc0481a0eb374ba40fc7067b212d6bd023c22b6f6c7e626f021764c45fd75081345dee835abfb88db028e6bab02b0a40026392b1848da47c014075f61b
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.3
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-16 00:00:00.000000000 Z
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.5
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.5
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