sshkit 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/sshkit/backends/netssh.rb +10 -1
- data/lib/sshkit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e6e753e52f903eae9ac0ecb2475a33ec5b96c31
|
4
|
+
data.tar.gz: 00e47def1aa6b84b43395c9ff39377a16c893de2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 223c11ff64f9a19d422e789883e66d7d48b4d0d7a143f5b60c3f03553c81655780c2e2f3070ac146f04ef9eb592eba5e453ed0ec7d9a6475dbccbaadb4c9ea76
|
7
|
+
data.tar.gz: 78b90ecb8e2cd4efd4c9760de40d5338b6d8cd4efc2034264a53bf15073301e2dd1b5347c24ba3ea2064050922caf07e47a954983051379191180f4774ddb8bd
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,16 @@ appear at the top.
|
|
7
7
|
|
8
8
|
* Your contribution here!
|
9
9
|
|
10
|
+
## [1.13.1][] (2017-03-31)
|
11
|
+
|
12
|
+
### Breaking changes
|
13
|
+
|
14
|
+
* None
|
15
|
+
|
16
|
+
### Bug fixes
|
17
|
+
|
18
|
+
* [#397](https://github.com/capistrano/sshkt/pull/397): Fix NoMethodError assign_defaults with net-ssh older than 4.0.0 - [@shirosaki](https://github.com/shirosaki)
|
19
|
+
|
10
20
|
## [1.13.0][] (2017-03-24)
|
11
21
|
|
12
22
|
### Breaking changes
|
@@ -687,7 +697,9 @@ version `0.0.5`.
|
|
687
697
|
|
688
698
|
First release.
|
689
699
|
|
690
|
-
[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.
|
700
|
+
[Unreleased]: https://github.com/capistrano/sshkit/compare/v1.13.1...HEAD
|
701
|
+
[1.13.1]: https://github.com/capistrano/sshkit/compare/v1.13.0...v1.13.1
|
702
|
+
[1.13.0]: https://github.com/capistrano/sshkit/compare/v1.12.0...v1.13.0
|
691
703
|
[1.12.0]: https://github.com/capistrano/sshkit/compare/v1.11.5...v1.12.0
|
692
704
|
[1.11.5]: https://github.com/capistrano/sshkit/compare/v1.11.4...v1.11.5
|
693
705
|
[1.11.4]: https://github.com/capistrano/sshkit/compare/v1.11.3...v1.11.4
|
@@ -47,7 +47,16 @@ module SSHKit
|
|
47
47
|
|
48
48
|
# Set default options early for ConnectionPool cache key
|
49
49
|
def assign_defaults
|
50
|
-
Net::SSH.assign_defaults
|
50
|
+
if Net::SSH.respond_to?(:assign_defaults)
|
51
|
+
Net::SSH.assign_defaults(@default_options)
|
52
|
+
else
|
53
|
+
# net-ssh < 4.0.0 doesn't have assign_defaults
|
54
|
+
unless @default_options.key?(:logger)
|
55
|
+
require 'logger'
|
56
|
+
@default_options[:logger] = ::Logger.new(STDERR)
|
57
|
+
@default_options[:logger].level = ::Logger::FATAL
|
58
|
+
end
|
59
|
+
end
|
51
60
|
@default_options
|
52
61
|
end
|
53
62
|
end
|
data/lib/sshkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sshkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Hambley
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|