rxfileio 0.2.2 → 0.2.3

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: e7db64c7d89309ab0d9eb3873d6a0e052c6e9727111d2901b3a2f23b807e6545
4
- data.tar.gz: 1958f065b57a9caac5d62eff33ffe095fd20b8d5f9740d2f85cd826b69af6f80
3
+ metadata.gz: '08d1e85a91de04e491f6ddc55f9b7a761c56528f8a05aa2629713067c8bb6dcf'
4
+ data.tar.gz: c06843254fd4e53b5d948e0f5f7c36d30c2b37f099790a775485bee5a0d8286c
5
5
  SHA512:
6
- metadata.gz: ae1d408d9aaf428e71d2009e4f9ef9885504179a2855b9dac6a4d04e910b86062581b3d49528053d0c7bd4007be4dadebbc8604769fa2f594e86b52370b1bc75
7
- data.tar.gz: b8b62bb03b42e9ede6ec223d7c3ab3fac01d30c8506b5e25a6efd6efa07971c2009bb51219441e89eb473d5b19832de0a6d423b89365a9d907ca8a14a04a780a
6
+ metadata.gz: bc554443fed2e90df5b85617eb7680bf8896d7e4600e800ad4730ac1a2e1aa737452c143f93d384ada94dc4be94a363eeb5c697c8f68bf23ed23469f149e0eed
7
+ data.tar.gz: 1790ea0632b76cf409f8159d8c0ed8a0f2232959dc8579a34c41584c00dd878bd3747e9500549f306a5b7ca3bca886639ae4a21c1b221d306eca3cda35819338
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) exists? filename end
14
+ def FileX.exist?(filename) 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.exists?(File.dirname(x))
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.exists?(x) then
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.exists? source
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.2
4
+ version: 0.2.3
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: 2022-02-28 00:00:00.000000000 Z
38
+ date: 2023-01-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rxfreadwrite
@@ -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.2.22
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