forward 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,9 @@ Gem::Specification.new do |gem|
14
14
  gem.require_paths = ['lib']
15
15
  gem.version = Forward::VERSION
16
16
 
17
- gem.add_dependency 'json', '~> 1.7.3'
18
- gem.add_dependency 'highline', '~> 1.6.13'
19
- gem.add_dependency 'net-ssh', '~> 2.4.0'
17
+ gem.add_dependency 'json', '~> 1.7.7'
18
+ gem.add_dependency 'highline', '~> 1.6.18'
19
+ gem.add_dependency 'net-ssh', '~> 2.6.7'
20
20
 
21
21
  gem.add_development_dependency 'minitest', '~> 3.0.0'
22
22
  gem.add_development_dependency 'mocha', '~> 0.11.4'
@@ -88,10 +88,14 @@ module Forward
88
88
  @logdev ||= (windows? ? 'NUL:' : '/dev/null')
89
89
  end
90
90
 
91
- def self.log
91
+ def self.logger
92
92
  @log ||= Logger.new(logdev)
93
93
  end
94
94
 
95
+ def self.log
96
+ logger
97
+ end
98
+
95
99
  # Returns a string representing a detailed client version.
96
100
  #
97
101
  # Returns a String representing the client.
@@ -36,7 +36,9 @@ module Forward
36
36
  :keys_only => true,
37
37
  :keys => [],
38
38
  :key_data => [ @config.private_key ],
39
- :encryption => 'blowfish-cbc'
39
+ :encryption => 'blowfish-cbc',
40
+ :logger => Forward.logger,
41
+ :verbose => Forward.debug? ? :debug : :warn
40
42
  }
41
43
  end
42
44
 
@@ -1,3 +1,3 @@
1
1
  module Forward
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.7.3
21
+ version: 1.7.7
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.7.3
29
+ version: 1.7.7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: highline
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 1.6.13
37
+ version: 1.6.18
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 1.6.13
45
+ version: 1.6.18
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: net-ssh
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 2.4.0
53
+ version: 2.6.7
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 2.4.0
61
+ version: 2.6.7
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: minitest
64
64
  requirement: !ruby/object:Gem::Requirement