drb_fileclient-reader 0.1.5 → 0.1.6
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 +4 -3
- data/lib/drb_fileclient-reader.rb +5 -4
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 232fa62b301e0f22c918663addced5795431aa0403f2654d2e329c5cdab11d4f
|
4
|
+
data.tar.gz: 675fb32bc5cfe244242a63a9134382fb03ffcb7ea0e0de56aeb8397eeebfd3fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b98c0342db87fe17849b8d3010df85133b22d7bbc71c87c3d7793f03f682c988287715f8336c8d167233ca4a59d30a08c0f32b7a1959bdd9608b2ee0324f533
|
7
|
+
data.tar.gz: 68977c60b8a1ff865a4a16fdef7358cee5e18dd217952452069f123eaeefd58b405f5c6bcfc546a41719ecf78794f1f396956691d9b7096a38510837cd2680d8
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
�
|
2
|
-
|
3
|
-
|
1
|
+
2�X�7EԘ���m�t�U@U���$u9�E:v�GI����`Z�+��M�L+�J�Lx�3gV)�:��?�5��X���ډB��FŲdI��[z����;<Z����\����:LlD����d���''Db첂�͂��7_�u+@���
|
2
|
+
���&�,�
|
3
|
+
�C$�]�A 5�␉K�˗Ο��1�#b���_>�{��<�<����)�D��&M���]�?4���
|
4
|
+
��'��z/�+;k�K��$��
���Պ������c&X鰅r��Z�"6�7�%��lΦ�&O�Q&���DBs�zl�'hz�d e��������5\�V٤��:����ڼ�����45���<�
|
@@ -27,9 +27,9 @@ class DRbFileClientReader
|
|
27
27
|
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
30
|
+
def exist?(filename=@@filename)
|
31
31
|
|
32
|
-
return File.
|
32
|
+
return File.exist? filename unless @@directory or filename =~ /^dfs:\/\//
|
33
33
|
|
34
34
|
if filename =~ /^dfs:\/\// then
|
35
35
|
|
@@ -41,7 +41,7 @@ class DRbFileClientReader
|
|
41
41
|
filename2 = File.join(@@directory, filename)
|
42
42
|
end
|
43
43
|
|
44
|
-
@@file.
|
44
|
+
@@file.exist?(filename2)
|
45
45
|
|
46
46
|
end
|
47
47
|
|
@@ -81,7 +81,8 @@ class DfsFile
|
|
81
81
|
|
82
82
|
@client = DRbFileClientReader.new
|
83
83
|
|
84
|
-
def self.
|
84
|
+
def self.exist?(filename) @client.exist?(filename) end
|
85
|
+
def self.exists?(filename) @client.exist?(filename) end
|
85
86
|
def self.read(filename) @client.read(filename) end
|
86
87
|
|
87
88
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drb_fileclient-reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
im+YlEcJfPax42Av6oEBmm6oUqxICcrKX8DdDuNFC44LAC66kmOdMTNiVdeS82BG
|
36
36
|
CGf+32hX61V/Gw6Jiazh7a6L
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2023-01-16 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: c32
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
rubygems_version: 3.
|
86
|
+
rubygems_version: 3.4.1
|
87
87
|
signing_key:
|
88
88
|
specification_version: 4
|
89
89
|
summary: A DRb file reader client to access the DRb_fileserver service.
|
metadata.gz.sig
CHANGED
Binary file
|