rxfileio 0.2.2 → 0.2.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/lib/rxfileio.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +7 -7
- 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: e1eab2ec30f67d562f9eebffc7eae50235da3d468a25fa41aea15ce588276cb9
|
4
|
+
data.tar.gz: 01ff18dd6050c65e837c996941dcb4a27f94505d3a2973666ec24edc5ef9b459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c58c847c3973d19f8e6f5a10b3037deb077e7fb14ae472dffdab342202a3ddef677c7550d61cafe636037fbf4ddad39734bdfb3dbbed8f6565a12d4db4ead81
|
7
|
+
data.tar.gz: fa281481d74063625534b6ba952ed33a86a939bc3f0030b74d69e130d485ce9a23c99cf49a11d63484b37cb3619b6edaba9db336b05c6763db7f220e3929f67a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rxfileio.rb
CHANGED
@@ -11,7 +11,7 @@ require 'mymedia_ftp'
|
|
11
11
|
module RXFileIOModule
|
12
12
|
include RXFReadWriteModule
|
13
13
|
|
14
|
-
def FileX.exist?(filename)
|
14
|
+
def FileX.exist?(filename) RXFileIO.exist?(filename) end
|
15
15
|
def FileX.chmod(num, s) RXFileIO.chmod(num, s) end
|
16
16
|
def FileX.cp(s, s2) RXFileIO.cp(s, s2) end
|
17
17
|
def FileX.ls(s) RXFileIO.ls(s) end
|
@@ -86,7 +86,7 @@ class RXFileIO < RXFReadWrite
|
|
86
86
|
|
87
87
|
def self.ls(x='*')
|
88
88
|
|
89
|
-
return Dir[x] if File.
|
89
|
+
return Dir[x] if File.exist?(File.dirname(x))
|
90
90
|
|
91
91
|
case x[/^\w+(?=:\/\/)/]
|
92
92
|
when 'file'
|
@@ -164,7 +164,7 @@ class RXFileIO < RXFReadWrite
|
|
164
164
|
|
165
165
|
[MyMediaFTP.read(x), :ftp]
|
166
166
|
|
167
|
-
elsif x[/^file:\/\//] or File.
|
167
|
+
elsif x[/^file:\/\//] or File.exist?(x) then
|
168
168
|
|
169
169
|
contents = File.read(File.expand_path(x.sub(%r{^file://}, '')))
|
170
170
|
|
@@ -324,7 +324,7 @@ class RXFileIO < RXFReadWrite
|
|
324
324
|
|
325
325
|
if not source =~ /:\/\// then
|
326
326
|
|
327
|
-
return true if File.
|
327
|
+
return true if File.exist? source
|
328
328
|
|
329
329
|
else
|
330
330
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rxfileio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
yLO5YIYbN1F1F4bnaaoKLedXnnC+5VCarLA4HblYDwqrZ78CQIBelACSnxeY9gD3
|
36
36
|
oyr0nnshzqXtH7vQD0nI5kqL
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rxfreadwrite
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '0.2'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.2.
|
49
|
+
version: 0.2.7
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version: '0.2'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.2.
|
59
|
+
version: 0.2.7
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: drb_fileclient
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0.8'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.8.
|
69
|
+
version: 0.8.1
|
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.8'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.8.
|
79
|
+
version: 0.8.1
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mymedia_ftp
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
126
|
+
rubygems_version: 3.4.4
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Features remote file operations using the DFS protocol and more.
|
metadata.gz.sig
CHANGED
Binary file
|