fun_sftp 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = FunSFTP (Version 0.0.4)
1
+ = FunSFTP (Version 0.0.5)
2
2
 
3
3
  Ruby Gem that provides a nice and easy to work with wrapper for the Net::SFTP library.
4
4
 
@@ -1,3 +1,3 @@
1
1
  module FunSftp
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/fun_sftp.rb CHANGED
@@ -1,7 +1,13 @@
1
1
  require 'fun_sftp/version'
2
+
3
+ #safe require to avoid any 'constant already init msg'
4
+ orig_verbose = $VERBOSE
5
+ $VERBOSE = nil
2
6
  require 'net/sftp'
7
+ $VERBOSE = orig_verbose
3
8
 
4
9
  module FunSftp
10
+
5
11
  class SFTPClient
6
12
  attr_accessor :server, :user, :password, :client
7
13
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fun_sftp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - George Diaz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-23 00:00:00 -06:00
18
+ date: 2012-02-24 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency