drb_fileclient-readwrite 0.1.3 → 0.1.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/drb_fileclient-readwrite.rb +12 -0
- data.tar.gz.sig +2 -6
- metadata +1 -1
- 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: 2aa95efb66b79c7c03e7d300fb89ef8847f6faf08635780d5eaa7492eed9b89a
|
4
|
+
data.tar.gz: c6b05ab0657e3479a42b4fac490ccfd0de858a46aba1beecd0fd05a8e495f5e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03f835196a52e120fed9f724df14df839a7182434b4ffb27b58b18e8d1f19deb1e884c8ef7b4012c38349f09566789fad12a0153bdbcc30c13ae5ffcbfb79447
|
7
|
+
data.tar.gz: 376b3abb7b233700fec31e7cf0f64aaab7f89f60acd2dc271fd5b8e5d4c427ea51b90258f711edb89eaa81ba11c7e31a75bca7468f0fd971185e17f679468e09
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -78,6 +78,14 @@ class DRbFileClientReadWrite < DRbFileClientReader
|
|
78
78
|
@file.mkdir_p filepath
|
79
79
|
end
|
80
80
|
|
81
|
+
def pwd()
|
82
|
+
|
83
|
+
return Dir.pwd unless @directory
|
84
|
+
|
85
|
+
'/' + @directory if @file
|
86
|
+
|
87
|
+
end
|
88
|
+
|
81
89
|
def rm(path)
|
82
90
|
|
83
91
|
return FileUtils.rm path unless @directory or path =~ /^dfs:\/\//
|
@@ -160,6 +168,10 @@ def DfsFile.mkdir_p(filename)
|
|
160
168
|
DRbFileClientReadWrite.new.mkdir_p(filename)
|
161
169
|
end
|
162
170
|
|
171
|
+
def DfsFile.pwd()
|
172
|
+
DRbFileClient.new.pwd()
|
173
|
+
end
|
174
|
+
|
163
175
|
def DfsFile.rm(filename)
|
164
176
|
DRbFileClientReadWrite.new.rm(filename)
|
165
177
|
end
|
data.tar.gz.sig
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��Z��Rn9v���L��5��F?�2Q���X��ĺ�
|
4
|
-
��2��Ԕ�I��!0Ӆ+��j�F!�Q�/n�ea�h�s�{o
|
5
|
-
k���?��D�>�0���W
|
6
|
-
o���9��U��j%��*<?p����<Q4��;U���ކd_s�#W5�^�Z�x�3�Uw�V�s���%��x��G;CJ}X�&&�������p��ۤ��*�p��>�e8�aY�l���)/@��Iә��pQ�A�l�r>h�g6XPm��W!z~ ]?�L�(c�,��&�L�8~f��_9(���?�
|
1
|
+
f4f���F�w|��e����&5�����'x���̺�Ǹ
|
2
|
+
Ƴ[`�C��oX�ڵ��a��K�VW"���d!��a���wђ��p�[��jџɷ�;��oT� �Ӏcq��B�ۤgS�6"��*h�;�Z(���!��z��5��� 蘸ơ]@�!Q}�Ƴ!�)2��$����^�\����w�`��'[�%K�Vܶ��hyNN���yj�a$��ʇ��VK+��>r7ns�7��<�3�3ӝ*a��U��jV�Z�Y��V+|k���ш����ydo&��og;�����
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|