fun_sftp 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module FunSftp
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fun_sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: