fun_sftp 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/fun_sftp/version.rb +1 -1
- data/lib/fun_sftp.rb +1 -1
- metadata +1 -1
data/lib/fun_sftp/version.rb
CHANGED
data/lib/fun_sftp.rb
CHANGED
@@ -58,7 +58,7 @@ module FunSftp
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def entries(dir, show_dot_files = false) #array of directory entries not caring for '.' files
|
61
|
-
entries_arr = @client.dir.entries(dir).collect(&:name)
|
61
|
+
entries_arr = @client.dir.entries(join_to_pwd(dir)).collect(&:name)
|
62
62
|
entries_arr.reject!{|a| a.match(/^\..*$/)} unless show_dot_files
|
63
63
|
entries_arr
|
64
64
|
end
|