rxfhelper 0.8.4 → 0.8.5
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/rxfhelper.rb +8 -4
- data.tar.gz.sig +0 -0
- metadata +6 -6
- 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: 7c971a80658d20c0d7468c527eca499847a40b575b12fc1af888b9b01205206a
|
4
|
+
data.tar.gz: 0b362ce8961d7e10a1084bac66a839ad66df249bdf22aad49e4e3f3097e776bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b36491485a185fc830580a99a1aee217954783257abc0de34ce8ce6ce83517c955a9e4bc1a3e3ee2fc1d87165adc6aa35a38ed2c98db45c421042b2969c6fa90
|
7
|
+
data.tar.gz: 34ed01ac4b3fd79a19dd1bde351db50b323fd15df4600619e3a41e3f5136c12b246dd0e1c34850c80ee7b4ba8bfe30cc296e317c96ed05b543e28dba4acaaf2e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfhelper.rb
CHANGED
@@ -88,6 +88,8 @@ end
|
|
88
88
|
#
|
89
89
|
class RXFHelper
|
90
90
|
|
91
|
+
@fs = :local
|
92
|
+
|
91
93
|
def self.cp(s1, s2)
|
92
94
|
DfsFile.cp(s1, s2)
|
93
95
|
end
|
@@ -95,8 +97,10 @@ class RXFHelper
|
|
95
97
|
def self.chdir(x)
|
96
98
|
|
97
99
|
if x[/^file:\/\//] or File.exists?(File.dirname(x)) then
|
100
|
+
@fs = :local
|
98
101
|
FileUtils.chdir x
|
99
102
|
elsif x[/^dfs:\/\//]
|
103
|
+
@fs = :dfs
|
100
104
|
DfsFile.chdir x
|
101
105
|
end
|
102
106
|
|
@@ -126,10 +130,10 @@ class RXFHelper
|
|
126
130
|
|
127
131
|
def self.mkdir_p(x)
|
128
132
|
|
129
|
-
if x[/^
|
130
|
-
FileUtils.mkdir_p x
|
131
|
-
elsif x[/^dfs:\/\//]
|
133
|
+
if x[/^dfs:\/\//] or @fs == :dfs then
|
132
134
|
DfsFile.mkdir_p x
|
135
|
+
else
|
136
|
+
FileUtils.mkdir_p x
|
133
137
|
end
|
134
138
|
|
135
139
|
end
|
@@ -226,7 +230,7 @@ class RXFHelper
|
|
226
230
|
case location
|
227
231
|
when /^dfs:\/\//
|
228
232
|
|
229
|
-
DfsFile.write
|
233
|
+
DfsFile.write location, s
|
230
234
|
|
231
235
|
when /^rse:\/\//
|
232
236
|
|
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.
|
4
|
+
version: 0.8.5
|
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-
|
34
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rsc
|
@@ -79,20 +79,20 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.4'
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
85
|
+
version: 0.4.1
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '0.
|
92
|
+
version: '0.4'
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
95
|
+
version: 0.4.1
|
96
96
|
description:
|
97
97
|
email: james@jamesrobertson.eu
|
98
98
|
executables: []
|
metadata.gz.sig
CHANGED
Binary file
|