rxfhelper 0.8.5 → 0.8.6

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: 7c971a80658d20c0d7468c527eca499847a40b575b12fc1af888b9b01205206a
4
- data.tar.gz: 0b362ce8961d7e10a1084bac66a839ad66df249bdf22aad49e4e3f3097e776bf
3
+ metadata.gz: f7adbfc596432f286973310e82ac89d0825b4f4106882b079fa735e4cc462e4d
4
+ data.tar.gz: 137e15731eed5b4f504caa01b7171d839234aa6d807b1e4a297109bba7f0f887
5
5
  SHA512:
6
- metadata.gz: b36491485a185fc830580a99a1aee217954783257abc0de34ce8ce6ce83517c955a9e4bc1a3e3ee2fc1d87165adc6aa35a38ed2c98db45c421042b2969c6fa90
7
- data.tar.gz: 34ed01ac4b3fd79a19dd1bde351db50b323fd15df4600619e3a41e3f5136c12b246dd0e1c34850c80ee7b4ba8bfe30cc296e317c96ed05b543e28dba4acaaf2e
6
+ metadata.gz: 378da29cef851494a3f563dfc26baa1bffb497b5850a523434ef0c0d0dd9996a17f38edc4fbc5e307f4f34711e46940ef6a89f2af5500527c9199a8d7c52ecaa
7
+ data.tar.gz: 4db6a04d9ff9b0434c314126a699513c75e4cfd8edc04cf82849f233faadacb11dbffc916b1f049f38b835bedadfa83d18e58d8f455a0f6e10b9afac59430250
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rxfhelper.rb CHANGED
@@ -60,7 +60,8 @@ module RXFHelperModule
60
60
  end
61
61
  end
62
62
 
63
- def self.cp(s, s2) RXFHelper.cp(s, s2) end
63
+ def self.cp(s, s2) RXFHelper.cp(s, s2) end
64
+ def self.ls(s) RXFHelper.ls(s) end
64
65
  def self.mkdir(s) RXFHelper.mkdir(s) end
65
66
  def self.mkdir_p(s) RXFHelper.mkdir_p(s) end
66
67
  def self.mv(s, s2) RXFHelper.mv(s, s2) end
@@ -116,7 +117,17 @@ class RXFHelper
116
117
  [x, :unknown]
117
118
  end
118
119
 
119
- end
120
+ end
121
+
122
+ def self.ls(x='*')
123
+
124
+ if x[/^file:\/\//] or File.exists?(File.dirname(x)) then
125
+ Dir[x]
126
+ elsif x[/^dfs:\/\//]
127
+ DfsFile.ls x
128
+ end
129
+
130
+ end
120
131
 
121
132
  def self.mkdir(x)
122
133
 
data.tar.gz.sig CHANGED
Binary file
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.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  8rLqizynNftXvmwVftEH2yQKlc6bsltIk+l2sNVht38tWANd/Zs0H6abD5zkVp2e
32
32
  h6ZEatzAI88gwQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2018-08-17 00:00:00.000000000 Z
34
+ date: 2018-08-21 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rsc
@@ -82,7 +82,7 @@ dependencies:
82
82
  version: '0.4'
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: 0.4.1
85
+ version: 0.4.2
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ dependencies:
92
92
  version: '0.4'
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: 0.4.1
95
+ version: 0.4.2
96
96
  description:
97
97
  email: james@jamesrobertson.eu
98
98
  executables: []
metadata.gz.sig CHANGED
@@ -1,2 +1,4 @@
1
- 1�;��eco������_"6Ved�n�V
2
- �'1�ir%!j������du������*m�O���
1
+ }w����E ��\rYF����r
2
+ �����=�n�;FHNs�2�\��s"�z��y+��
3
+ (�B�&�O��;��6o?*U;q5���q�����α�X�~8 �5
4
+ ��1p��m� ��"F��z:��A8n/��`b`s����� ��Gc�r�I�-6�8]�*�K?�h�C���BЂ��y&��P<BJ�&@�v\�u4�x�I\d%AVH�xD��*�whH�U{s����KZ/��?��gb[{|vKL<ٟk�v1