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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b75b32f3dacb08f9e07f4e372e8fdefdd593f5091c79a9eea168d92d75e859d4
4
- data.tar.gz: fa8f294001ea716daeacac43a9c27ecbd66b30ad9bbb4ecd53968c9eeb8eaebd
3
+ metadata.gz: 2aa95efb66b79c7c03e7d300fb89ef8847f6faf08635780d5eaa7492eed9b89a
4
+ data.tar.gz: c6b05ab0657e3479a42b4fac490ccfd0de858a46aba1beecd0fd05a8e495f5e8
5
5
  SHA512:
6
- metadata.gz: b935abfca5cb54d65bc2fecf8fc4545b6e1c185276d44c9fe517d798b675cd34494aac872098d79710c6489cacd65eab186ef60f84506e1c470961b780694a60
7
- data.tar.gz: 21edf6b3edc0a65fb5aee6252a3de64097bfa7d34265b3ceae181ceb0b2255f1e4dacaea425e307503d4906a501263299533298236299fb3377b13115dc2afac
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
- _w�z&I���L
2
- �6]�}mT\�_7rTf/�l�]j`���r|TKD ����̩˨�G
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���Fw׮|��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�`��'[ �%KVܶ��hyNN���yja$��ʇ��VK+��>r7ns7��<�3�3ӝ*a��U��jV�Z�Y��V+|k���ш����ydo&��og;�����
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drb_fileclient-readwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file